/** get some code from https://github.com/angular/material2 */ import { Direction, Directionality } from '@angular/cdk/bidi'; import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core'; import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import { VtsConfigKey, VtsConfigService } from '@ui-vts-kit/ng-vts/core/config'; import { BooleanInput, NumberInput, VtsSafeAny, VtsSizeXLMSType } from '@ui-vts-kit/ng-vts/core/types'; import { VtsAnimatedInterface, VtsTabChangeEvent, VtsTabPosition, VtsTabPositionMode, VtsTabsCanDeactivateFn, VtsTabScrollEvent, VtsTabType } from './interfaces'; import { VtsTabNavBarComponent } from './tab-nav-bar.component'; import { VtsTabComponent, VtsDropdownPositionType } from './tab.component'; import * as i0 from "@angular/core"; export declare class VtsTabSetComponent implements OnInit, AfterContentChecked, OnDestroy, AfterContentInit { vtsConfigService: VtsConfigService; private cdr; private directionality; private router; readonly _vtsModuleName: VtsConfigKey; static ngAcceptInputType_vtsHideAdd: BooleanInput; static ngAcceptInputType_vtsHideAll: BooleanInput; static ngAcceptInputType_vtsCentered: BooleanInput; static ngAcceptInputType_vtsLinkRouter: BooleanInput; static ngAcceptInputType_vtsLinkExact: BooleanInput; static ngAcceptInputType_vtsSelectedIndex: NumberInput; static ngAcceptInputType_vtsShowMoreTabs: BooleanInput; get vtsSelectedIndex(): number | null; set vtsSelectedIndex(value: null | number); vtsTabPosition: VtsTabPosition; vtsTabBarExtraContent?: TemplateRef; vtsCanDeactivate: VtsTabsCanDeactivateFn | null; vtsAddIcon: string | TemplateRef; vtsTabBarStyle: { [key: string]: string; } | null; vtsDropdownPosition: VtsDropdownPositionType; vtsDropdownContent?: TemplateRef; vtsDropdownClass: string; vtsType: VtsTabType; vtsSize: VtsSizeXLMSType; vtsAnimated: VtsAnimatedInterface | boolean; vtsTabBarGutter?: number; vtsHideAdd: boolean; vtsCentered: boolean; vtsHideAll: boolean; vtsLinkRouter: boolean; vtsLinkExact: boolean; vtsShowMoreTabs: boolean; readonly vtsSelectChange: EventEmitter; readonly vtsSelectedIndexChange: EventEmitter; readonly vtsTabListScroll: EventEmitter; readonly vtsClose: EventEmitter<{ index: number; }>; readonly vtsAdd: EventEmitter; get position(): VtsTabPositionMode; get addable(): boolean; get closable(): boolean; get line(): boolean; get inkBarAnimated(): boolean; get tabPaneAnimated(): boolean; allTabs: QueryList; tabNavBarRef: VtsTabNavBarComponent; tabs: QueryList; dir: Direction; private readonly tabSetId; private destroy$; private indexToSelect; private selectedIndex; private tabLabelSubscription; private tabsSubscription; private canDeactivateSubscription; constructor(vtsConfigService: VtsConfigService, cdr: ChangeDetectorRef, directionality: Directionality, router: Router); ngOnInit(): void; ngOnDestroy(): void; ngAfterContentInit(): void; ngAfterContentChecked(): void; onClose(index: number, e: MouseEvent): void; onAdd(): void; private clampTabIndex; private createChangeEvent; private subscribeToTabLabels; private subscribeToAllTabChanges; canDeactivateFun(pre: number, next: number): Observable; clickNavItem(tab: VtsTabComponent, index: number, e: MouseEvent): void; private isRouterLinkClickEvent; contextmenuNavItem(tab: VtsTabComponent, e: MouseEvent): void; setSelectedIndex(index: number): void; getTabIndex(tab: VtsTabComponent, index: number): number | null; getTabContentId(i: number): string; private setUpRouter; private updateRouterActive; private findShouldActiveTabIndex; private isLinkActive; private getTabContentMarginValue; getTabContentMarginLeft(): string; getTabContentMarginRight(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }