UNPKG

design-angular-kit

Version:

Un toolkit Angular conforme alle linee guida di design per i servizi web della PA

61 lines (60 loc) 2.5 kB
import { AfterViewInit, EventEmitter, OnDestroy, QueryList } from '@angular/core'; import { ItTabItemComponent } from '../tab-item/tab-item.component'; import { ItAbstractComponent } from '../../../../abstracts/abstract.component'; import * as i0 from "@angular/core"; import * as i1 from "../../../../utils/coercion"; export declare class ItTabContainerComponent extends ItAbstractComponent implements OnDestroy, AfterViewInit { /** * Tabs automatically occupy the entire available width * @default false */ auto?: boolean; /** * To obtain the correct margin between text and icon in the horizontally developed tab */ iconText?: boolean; /** * Dark style */ dark?: boolean; /** * Show items as cards */ cards?: boolean; /** * Show vertical navigation */ vertical?: boolean; /** * The tab position */ inverted?: boolean; /** * If tabs are editable */ editable?: boolean; /** * The tab items */ tabs?: QueryList<ItTabItemComponent>; private tabNavLinks?; tabSelected: EventEmitter<ItTabItemComponent>; tabClosed: EventEmitter<any>; tabAdded: EventEmitter<any>; private tabSubscriptions?; constructor(); ngAfterViewInit(): void; ngOnDestroy(): void; onTab(tab: ItTabItemComponent): void; clickToClose(index: number): void; clickToAdd($event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<ItTabContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ItTabContainerComponent, "it-tab-container", never, { "auto": { "alias": "auto"; "required": false; }; "iconText": { "alias": "iconText"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "cards": { "alias": "cards"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, { "tabSelected": "tabSelected"; "tabClosed": "tabClosed"; "tabAdded": "tabAdded"; }, ["tabs"], never, true, never>; static ngAcceptInputType_auto: i1.BooleanInput; static ngAcceptInputType_iconText: i1.BooleanInput; static ngAcceptInputType_dark: i1.BooleanInput; static ngAcceptInputType_cards: i1.BooleanInput; static ngAcceptInputType_vertical: i1.BooleanInput; static ngAcceptInputType_inverted: i1.BooleanInput; static ngAcceptInputType_editable: i1.BooleanInput; }