import * as i0 from '@angular/core'; import { OnChanges, OnInit, AfterContentInit, AfterViewInit, ChangeDetectorRef, EventEmitter, ElementRef, QueryList, Renderer2, SimpleChanges, OnDestroy } from '@angular/core'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { ContextMenuComponent } from '@usitsdasdesign/dds-ng/context-menu'; import { DestroyCtor, I18nCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { Themes, TabThemeType, Size, PositionState } from '@usitsdasdesign/dds-ng/shared'; import { I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n'; import { StickerDirective } from '@usitsdasdesign/dds-ng/sticker'; interface TabOptions { label?: string; customClass?: string; counter?: number; isActive?: boolean; icon?: string; disabled?: boolean; } interface TabsOptions { theme?: Themes | string; themeType?: TabThemeType | string; size?: Size | string; ariaLabel?: string; customClass?: string; disabled?: boolean; activeIndex?: number; isResponsive?: boolean; isInverse?: boolean; stickerPosition?: PositionState | string; stickerIndent?: number; stickerShift?: number; stickerWidth?: number | string; stickerMaxHeight?: number | string; stickerCustomClass?: string; stickerIsDynamic?: boolean; } interface MainTab { label?: string; children?: TabComponent[]; counter?: number; isActive?: boolean; isExpanded?: boolean; icon?: string; } declare const TabsBase: DestroyCtor & I18nCtor; declare class TabsComponent extends TabsBase implements OnChanges, OnInit, AfterContentInit, AfterViewInit { cdr: ChangeDetectorRef; i18n: I18nService; private renderer; private ddsConfig; disabled: boolean | undefined; ariaLabel: string | undefined; theme: Themes | string | undefined; themeType: TabThemeType | string | undefined; size: Size | string | undefined; customClass: string | undefined; activeIndex: number | undefined; isResponsive: boolean | undefined; isInverse: boolean | undefined; stickerPosition: PositionState | string | undefined; stickerIndent: number | undefined; stickerShift: number | undefined; stickerWidth: number | string | undefined; stickerMaxHeight: number | string | undefined; stickerCustomClass: string | undefined; stickerIsDynamic: boolean | undefined; onDropdown: EventEmitter; tabsWrap: ElementRef; tabsHeader: ElementRef; sticker: StickerDirective; tabHeaderItems: QueryList>; tabItems: TabComponent[]; mainTab: MainTab; themeConfig: ThemeClassesMap; popupAriaLabel: string; isFocusedFirstEl: boolean; private openedSticker; private keyboardTrigger; private isFocusedTabEl; private isMouseFocus; private selectedTab; constructor(cdr: ChangeDetectorRef, i18n: I18nService, renderer: Renderer2, ddsConfig: DdsConfigService); ngOnInit(): void; ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; keydownHandler(event: KeyboardEvent, sticker: StickerDirective): void; onHidden(): void; isExpandedText(state: boolean): string; addTabItem(tabItem: TabComponent): void; removeTabItem(tabItem: TabComponent): void; dropdownTab(value: boolean, item: TabComponent, el: HTMLElement, sticker?: StickerDirective): void; getContextMenu(contextMenu: ContextMenuComponent, tabsList: TabComponent[]): void; mainTabDropdownOpened(value: boolean, el: HTMLElement, sticker?: StickerDirective): void; focusOut(): void; selectTab(tab: TabComponent, tabParent?: TabComponent): void; setActiveTab(items: TabComponent[], selectedTab: TabComponent): void; checkWidthTab(): void; headerFocusHandler(): void; headerMouseHandler(): void; btnBlurHandler(): void; headerKeydownHandler(event: KeyboardEvent): void; private getIndexFocusedItem; private focusNextItem; private focusPrevItem; private setFocus; private focusReset; protected setI18nTexts(translation: ITranslation): void; private checkWidthOnResize; private changeActiveTab; private checkActiveCombinedTab; private setTabsDisabled; private checkActiveTab; private setHeadingWidth; private combineTabs; private checkEmptyPlace; private cutOutCombinedTab; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabComponent implements OnInit, OnChanges, OnDestroy { cdr: ChangeDetectorRef; tabs: TabsComponent; private ddsConfig; label: string | undefined; icon: string | undefined; customClass: string | undefined; counter: number | undefined; disabled: boolean | undefined; children: TabComponent[] | undefined; set isActive(value: boolean | undefined); get isActive(): boolean | undefined; tabChanged: EventEmitter; onDropdown: EventEmitter; tabContentTemplate: any; headingWidth: number; isChild: boolean; isMain: boolean; isExpanded: boolean; private _isActive; constructor(cdr: ChangeDetectorRef, tabs: TabsComponent, ddsConfig: DdsConfigService); ngOnInit(): void; ngOnChanges(change: SimpleChanges): void; ngOnDestroy(): void; private markChildTabs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { TabComponent, TabsComponent, TabsModule }; export type { MainTab, TabOptions, TabsOptions };