[59329aa] | 1 | import { ElementRef, AfterContentInit, OnDestroy, EventEmitter, QueryList, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
---|
| 2 | import { Header, BlockableUI } from 'primeng/api';
|
---|
| 3 | import { Subscription } from 'rxjs';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | import * as i2 from "primeng/api";
|
---|
| 7 | export declare class AccordionTab implements AfterContentInit, OnDestroy {
|
---|
| 8 | changeDetector: ChangeDetectorRef;
|
---|
| 9 | header: string;
|
---|
| 10 | disabled: boolean;
|
---|
| 11 | cache: boolean;
|
---|
| 12 | selectedChange: EventEmitter<any>;
|
---|
| 13 | transitionOptions: string;
|
---|
| 14 | headerFacet: QueryList<Header>;
|
---|
| 15 | templates: QueryList<any>;
|
---|
| 16 | private _selected;
|
---|
| 17 | get selected(): any;
|
---|
| 18 | set selected(val: any);
|
---|
| 19 | contentTemplate: TemplateRef<any>;
|
---|
| 20 | headerTemplate: TemplateRef<any>;
|
---|
| 21 | id: string;
|
---|
| 22 | loaded: boolean;
|
---|
| 23 | accordion: Accordion;
|
---|
| 24 | constructor(accordion: any, changeDetector: ChangeDetectorRef);
|
---|
| 25 | ngAfterContentInit(): void;
|
---|
| 26 | toggle(event: any): boolean;
|
---|
| 27 | findTabIndex(): number;
|
---|
| 28 | get hasHeaderFacet(): boolean;
|
---|
| 29 | onKeydown(event: KeyboardEvent): void;
|
---|
| 30 | ngOnDestroy(): void;
|
---|
| 31 | static ɵfac: i0.ɵɵFactoryDeclaration<AccordionTab, never>;
|
---|
| 32 | static ɵcmp: i0.ɵɵComponentDeclaration<AccordionTab, "p-accordionTab", never, { "header": "header"; "disabled": "disabled"; "cache": "cache"; "transitionOptions": "transitionOptions"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, ["headerFacet", "templates"], ["p-header", "*"]>;
|
---|
| 33 | }
|
---|
| 34 | export declare class Accordion implements BlockableUI, AfterContentInit, OnDestroy {
|
---|
| 35 | el: ElementRef;
|
---|
| 36 | changeDetector: ChangeDetectorRef;
|
---|
| 37 | multiple: boolean;
|
---|
| 38 | onClose: EventEmitter<any>;
|
---|
| 39 | onOpen: EventEmitter<any>;
|
---|
| 40 | style: any;
|
---|
| 41 | styleClass: string;
|
---|
| 42 | expandIcon: string;
|
---|
| 43 | collapseIcon: string;
|
---|
| 44 | activeIndexChange: EventEmitter<any>;
|
---|
| 45 | tabList: QueryList<AccordionTab>;
|
---|
| 46 | tabListSubscription: Subscription;
|
---|
| 47 | private _activeIndex;
|
---|
| 48 | preventActiveIndexPropagation: boolean;
|
---|
| 49 | tabs: AccordionTab[];
|
---|
| 50 | constructor(el: ElementRef, changeDetector: ChangeDetectorRef);
|
---|
| 51 | ngAfterContentInit(): void;
|
---|
| 52 | initTabs(): any;
|
---|
| 53 | getBlockableElement(): HTMLElement;
|
---|
| 54 | get activeIndex(): any;
|
---|
| 55 | set activeIndex(val: any);
|
---|
| 56 | updateSelectionState(): void;
|
---|
| 57 | updateActiveIndex(): void;
|
---|
| 58 | ngOnDestroy(): void;
|
---|
| 59 | static ɵfac: i0.ɵɵFactoryDeclaration<Accordion, never>;
|
---|
| 60 | static ɵcmp: i0.ɵɵComponentDeclaration<Accordion, "p-accordion", never, { "multiple": "multiple"; "style": "style"; "styleClass": "styleClass"; "expandIcon": "expandIcon"; "collapseIcon": "collapseIcon"; "activeIndex": "activeIndex"; }, { "onClose": "onClose"; "onOpen": "onOpen"; "activeIndexChange": "activeIndexChange"; }, ["tabList"], ["*"]>;
|
---|
| 61 | }
|
---|
| 62 | export declare class AccordionModule {
|
---|
| 63 | static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
|
---|
| 64 | static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, [typeof Accordion, typeof AccordionTab], [typeof i1.CommonModule], [typeof Accordion, typeof AccordionTab, typeof i2.SharedModule]>;
|
---|
| 65 | static ɵinj: i0.ɵɵInjectorDeclaration<AccordionModule>;
|
---|
| 66 | }
|
---|