[59329aa] | 1 | import { OnDestroy, EventEmitter, Renderer2, ElementRef, ChangeDetectorRef, NgZone, TemplateRef, AfterContentInit, QueryList } from '@angular/core';
|
---|
| 2 | import { PrimeNGConfig, OverlayService } from 'primeng/api';
|
---|
| 3 | import { AnimationEvent } from '@angular/animations';
|
---|
| 4 | import { Subscription } from 'rxjs';
|
---|
| 5 | import * as i0 from "@angular/core";
|
---|
| 6 | import * as i1 from "@angular/common";
|
---|
| 7 | import * as i2 from "primeng/ripple";
|
---|
| 8 | import * as i3 from "primeng/api";
|
---|
| 9 | export declare class OverlayPanel implements AfterContentInit, OnDestroy {
|
---|
| 10 | el: ElementRef;
|
---|
| 11 | renderer: Renderer2;
|
---|
| 12 | cd: ChangeDetectorRef;
|
---|
| 13 | private zone;
|
---|
| 14 | config: PrimeNGConfig;
|
---|
| 15 | overlayService: OverlayService;
|
---|
| 16 | dismissable: boolean;
|
---|
| 17 | showCloseIcon: boolean;
|
---|
| 18 | style: any;
|
---|
| 19 | styleClass: string;
|
---|
| 20 | appendTo: any;
|
---|
| 21 | autoZIndex: boolean;
|
---|
| 22 | ariaCloseLabel: string;
|
---|
| 23 | baseZIndex: number;
|
---|
| 24 | focusOnShow: boolean;
|
---|
| 25 | showTransitionOptions: string;
|
---|
| 26 | hideTransitionOptions: string;
|
---|
| 27 | onShow: EventEmitter<any>;
|
---|
| 28 | onHide: EventEmitter<any>;
|
---|
| 29 | templates: QueryList<any>;
|
---|
| 30 | container: HTMLDivElement;
|
---|
| 31 | overlayVisible: boolean;
|
---|
| 32 | render: boolean;
|
---|
| 33 | selfClick: boolean;
|
---|
| 34 | documentClickListener: any;
|
---|
| 35 | target: any;
|
---|
| 36 | willHide: boolean;
|
---|
| 37 | scrollHandler: any;
|
---|
| 38 | documentResizeListener: any;
|
---|
| 39 | contentTemplate: TemplateRef<any>;
|
---|
| 40 | destroyCallback: Function;
|
---|
| 41 | overlayEventListener: any;
|
---|
| 42 | overlaySubscription: Subscription;
|
---|
| 43 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone, config: PrimeNGConfig, overlayService: OverlayService);
|
---|
| 44 | ngAfterContentInit(): void;
|
---|
| 45 | bindDocumentClickListener(): void;
|
---|
| 46 | unbindDocumentClickListener(): void;
|
---|
| 47 | toggle(event: any, target?: any): void;
|
---|
| 48 | show(event: any, target?: any): void;
|
---|
| 49 | onOverlayClick(event: any): void;
|
---|
| 50 | onContentClick(): void;
|
---|
| 51 | hasTargetChanged(event: any, target: any): boolean;
|
---|
| 52 | appendContainer(): void;
|
---|
| 53 | restoreAppend(): void;
|
---|
| 54 | align(): void;
|
---|
| 55 | onAnimationStart(event: AnimationEvent): void;
|
---|
| 56 | onAnimationEnd(event: AnimationEvent): void;
|
---|
| 57 | focus(): void;
|
---|
| 58 | hide(): void;
|
---|
| 59 | onCloseClick(event: any): void;
|
---|
| 60 | onWindowResize(event: any): void;
|
---|
| 61 | bindDocumentResizeListener(): void;
|
---|
| 62 | unbindDocumentResizeListener(): void;
|
---|
| 63 | bindScrollListener(): void;
|
---|
| 64 | unbindScrollListener(): void;
|
---|
| 65 | onContainerDestroy(): void;
|
---|
| 66 | ngOnDestroy(): void;
|
---|
| 67 | static ɵfac: i0.ɵɵFactoryDeclaration<OverlayPanel, never>;
|
---|
| 68 | static ɵcmp: i0.ɵɵComponentDeclaration<OverlayPanel, "p-overlayPanel", never, { "dismissable": "dismissable"; "showCloseIcon": "showCloseIcon"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "autoZIndex": "autoZIndex"; "ariaCloseLabel": "ariaCloseLabel"; "baseZIndex": "baseZIndex"; "focusOnShow": "focusOnShow"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onShow": "onShow"; "onHide": "onHide"; }, ["templates"], ["*"]>;
|
---|
| 69 | }
|
---|
| 70 | export declare class OverlayPanelModule {
|
---|
| 71 | static ɵfac: i0.ɵɵFactoryDeclaration<OverlayPanelModule, never>;
|
---|
| 72 | static ɵmod: i0.ɵɵNgModuleDeclaration<OverlayPanelModule, [typeof OverlayPanel], [typeof i1.CommonModule, typeof i2.RippleModule, typeof i3.SharedModule], [typeof OverlayPanel, typeof i3.SharedModule]>;
|
---|
| 73 | static ɵinj: i0.ɵɵInjectorDeclaration<OverlayPanelModule>;
|
---|
| 74 | }
|
---|