1 | import { ElementRef, OnDestroy, EventEmitter, AfterContentInit, QueryList, TemplateRef, EmbeddedViewRef, ViewContainerRef, ChangeDetectorRef, AfterViewChecked } from '@angular/core';
|
---|
2 | import { BlockableUI } from 'primeng/api';
|
---|
3 | import * as i0 from "@angular/core";
|
---|
4 | import * as i1 from "@angular/common";
|
---|
5 | import * as i2 from "primeng/api";
|
---|
6 | import * as i3 from "primeng/tooltip";
|
---|
7 | import * as i4 from "primeng/ripple";
|
---|
8 | export declare class TabPanel implements AfterContentInit, OnDestroy {
|
---|
9 | viewContainer: ViewContainerRef;
|
---|
10 | cd: ChangeDetectorRef;
|
---|
11 | closable: boolean;
|
---|
12 | headerStyle: any;
|
---|
13 | headerStyleClass: string;
|
---|
14 | cache: boolean;
|
---|
15 | tooltip: any;
|
---|
16 | tooltipPosition: string;
|
---|
17 | tooltipPositionStyle: string;
|
---|
18 | tooltipStyleClass: string;
|
---|
19 | templates: QueryList<any>;
|
---|
20 | closed: boolean;
|
---|
21 | view: EmbeddedViewRef<any>;
|
---|
22 | _selected: boolean;
|
---|
23 | _disabled: boolean;
|
---|
24 | _header: string;
|
---|
25 | _leftIcon: string;
|
---|
26 | _rightIcon: string;
|
---|
27 | loaded: boolean;
|
---|
28 | id: string;
|
---|
29 | contentTemplate: TemplateRef<any>;
|
---|
30 | headerTemplate: TemplateRef<any>;
|
---|
31 | tabView: TabView;
|
---|
32 | constructor(tabView: any, viewContainer: ViewContainerRef, cd: ChangeDetectorRef);
|
---|
33 | ngAfterContentInit(): void;
|
---|
34 | get selected(): boolean;
|
---|
35 | set selected(val: boolean);
|
---|
36 | get disabled(): boolean;
|
---|
37 | set disabled(disabled: boolean);
|
---|
38 | get header(): string;
|
---|
39 | set header(header: string);
|
---|
40 | get leftIcon(): string;
|
---|
41 | set leftIcon(leftIcon: string);
|
---|
42 | get rightIcon(): string;
|
---|
43 | set rightIcon(rightIcon: string);
|
---|
44 | ngOnDestroy(): void;
|
---|
45 | static ɵfac: i0.ɵɵFactoryDeclaration<TabPanel, never>;
|
---|
46 | static ɵcmp: i0.ɵɵComponentDeclaration<TabPanel, "p-tabPanel", never, { "closable": "closable"; "headerStyle": "headerStyle"; "headerStyleClass": "headerStyleClass"; "cache": "cache"; "tooltip": "tooltip"; "tooltipPosition": "tooltipPosition"; "tooltipPositionStyle": "tooltipPositionStyle"; "tooltipStyleClass": "tooltipStyleClass"; "selected": "selected"; "disabled": "disabled"; "header": "header"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; }, {}, ["templates"], ["*"]>;
|
---|
47 | }
|
---|
48 | export declare class TabView implements AfterContentInit, AfterViewChecked, BlockableUI {
|
---|
49 | el: ElementRef;
|
---|
50 | cd: ChangeDetectorRef;
|
---|
51 | orientation: string;
|
---|
52 | style: any;
|
---|
53 | styleClass: string;
|
---|
54 | controlClose: boolean;
|
---|
55 | scrollable: boolean;
|
---|
56 | content: ElementRef;
|
---|
57 | navbar: ElementRef;
|
---|
58 | prevBtn: ElementRef;
|
---|
59 | nextBtn: ElementRef;
|
---|
60 | inkbar: ElementRef;
|
---|
61 | tabPanels: QueryList<TabPanel>;
|
---|
62 | onChange: EventEmitter<any>;
|
---|
63 | onClose: EventEmitter<any>;
|
---|
64 | activeIndexChange: EventEmitter<number>;
|
---|
65 | initialized: boolean;
|
---|
66 | tabs: TabPanel[];
|
---|
67 | _activeIndex: number;
|
---|
68 | preventActiveIndexPropagation: boolean;
|
---|
69 | tabChanged: boolean;
|
---|
70 | backwardIsDisabled: boolean;
|
---|
71 | forwardIsDisabled: boolean;
|
---|
72 | constructor(el: ElementRef, cd: ChangeDetectorRef);
|
---|
73 | ngAfterContentInit(): void;
|
---|
74 | ngAfterViewChecked(): void;
|
---|
75 | initTabs(): void;
|
---|
76 | open(event: Event, tab: TabPanel): void;
|
---|
77 | close(event: Event, tab: TabPanel): void;
|
---|
78 | closeTab(tab: TabPanel): void;
|
---|
79 | findSelectedTab(): TabPanel;
|
---|
80 | findTabIndex(tab: TabPanel): number;
|
---|
81 | getBlockableElement(): HTMLElement;
|
---|
82 | get activeIndex(): number;
|
---|
83 | set activeIndex(val: number);
|
---|
84 | updateInkBar(): void;
|
---|
85 | updateScrollBar(index: any): void;
|
---|
86 | updateButtonState(): void;
|
---|
87 | onScroll(event: any): void;
|
---|
88 | getVisibleButtonWidths(): any;
|
---|
89 | navBackward(): void;
|
---|
90 | navForward(): void;
|
---|
91 | static ɵfac: i0.ɵɵFactoryDeclaration<TabView, never>;
|
---|
92 | static ɵcmp: i0.ɵɵComponentDeclaration<TabView, "p-tabView", never, { "orientation": "orientation"; "style": "style"; "styleClass": "styleClass"; "controlClose": "controlClose"; "scrollable": "scrollable"; "activeIndex": "activeIndex"; }, { "onChange": "onChange"; "onClose": "onClose"; "activeIndexChange": "activeIndexChange"; }, ["tabPanels"], ["*"]>;
|
---|
93 | }
|
---|
94 | export declare class TabViewModule {
|
---|
95 | static ɵfac: i0.ɵɵFactoryDeclaration<TabViewModule, never>;
|
---|
96 | static ɵmod: i0.ɵɵNgModuleDeclaration<TabViewModule, [typeof TabView, typeof TabPanel], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.TooltipModule, typeof i4.RippleModule], [typeof TabView, typeof TabPanel, typeof i2.SharedModule]>;
|
---|
97 | static ɵinj: i0.ɵɵInjectorDeclaration<TabViewModule>;
|
---|
98 | }
|
---|