UNPKG

1.13 kBTypeScriptView Raw
1import type { BeanCollection, IAfterGuiAttachedParams } from 'ag-grid-community';
2import { TabGuardComp } from 'ag-grid-community';
3import type { TabbedItem, TabbedLayoutParams } from './iTabbedLayout';
4export declare class TabbedLayout extends TabGuardComp {
5 private focusService;
6 wireBeans(beans: BeanCollection): void;
7 private readonly eHeader;
8 private readonly eBody;
9 private eTabHeader;
10 private eCloseButton?;
11 private params;
12 private afterAttachedParams;
13 private items;
14 private activeItem;
15 private lastScrollListener;
16 private readonly tabbedItemScrollMap;
17 constructor(params: TabbedLayoutParams);
18 postConstruct(): void;
19 private setupHeader;
20 private setupCloseButton;
21 protected handleKeyDown(e: KeyboardEvent): void;
22 protected onTabKeyDown(e: KeyboardEvent): void;
23 private focusInnerElement;
24 focusHeader(preventScroll?: boolean): void;
25 private focusBody;
26 setAfterAttachedParams(params: IAfterGuiAttachedParams): void;
27 showFirstItem(): void;
28 private addItem;
29 showItem(tabbedItem: TabbedItem): void;
30 private showItemWrapper;
31}