1 | import { ElementRef, ChangeDetectorRef, OnDestroy, Renderer2 } from '@angular/core';
|
---|
2 | import { Confirmation, ConfirmationService, OverlayService, PrimeNGConfig } from 'primeng/api';
|
---|
3 | import { Subscription } from 'rxjs';
|
---|
4 | import { AnimationEvent } from '@angular/animations';
|
---|
5 | import * as i0 from "@angular/core";
|
---|
6 | import * as i1 from "@angular/common";
|
---|
7 | import * as i2 from "primeng/button";
|
---|
8 | export declare class ConfirmPopup implements OnDestroy {
|
---|
9 | el: ElementRef;
|
---|
10 | private confirmationService;
|
---|
11 | renderer: Renderer2;
|
---|
12 | private cd;
|
---|
13 | config: PrimeNGConfig;
|
---|
14 | overlayService: OverlayService;
|
---|
15 | key: string;
|
---|
16 | defaultFocus: string;
|
---|
17 | showTransitionOptions: string;
|
---|
18 | hideTransitionOptions: string;
|
---|
19 | autoZIndex: boolean;
|
---|
20 | baseZIndex: number;
|
---|
21 | style: any;
|
---|
22 | styleClass: string;
|
---|
23 | container: HTMLDivElement;
|
---|
24 | subscription: Subscription;
|
---|
25 | confirmation: Confirmation;
|
---|
26 | _visible: boolean;
|
---|
27 | documentClickListener: any;
|
---|
28 | documentResizeListener: any;
|
---|
29 | scrollHandler: any;
|
---|
30 | get visible(): any;
|
---|
31 | set visible(value: any);
|
---|
32 | constructor(el: ElementRef, confirmationService: ConfirmationService, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig, overlayService: OverlayService);
|
---|
33 | onAnimationStart(event: AnimationEvent): void;
|
---|
34 | onAnimationEnd(event: AnimationEvent): void;
|
---|
35 | getElementToFocus(): any;
|
---|
36 | align(): void;
|
---|
37 | hide(): void;
|
---|
38 | accept(): void;
|
---|
39 | reject(): void;
|
---|
40 | onOverlayClick(event: any): void;
|
---|
41 | bindListeners(): void;
|
---|
42 | unbindListeners(): void;
|
---|
43 | bindDocumentClickListener(): void;
|
---|
44 | unbindDocumentClickListener(): void;
|
---|
45 | onWindowResize(): void;
|
---|
46 | bindDocumentResizeListener(): void;
|
---|
47 | unbindDocumentResizeListener(): void;
|
---|
48 | bindScrollListener(): void;
|
---|
49 | unbindScrollListener(): void;
|
---|
50 | unsubscribeConfirmationSubscriptions(): void;
|
---|
51 | onContainerDestroy(): void;
|
---|
52 | restoreAppend(): void;
|
---|
53 | get acceptButtonLabel(): string;
|
---|
54 | get rejectButtonLabel(): string;
|
---|
55 | ngOnDestroy(): void;
|
---|
56 | static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPopup, never>;
|
---|
57 | static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmPopup, "p-confirmPopup", never, { "key": "key"; "defaultFocus": "defaultFocus"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "style": "style"; "styleClass": "styleClass"; "visible": "visible"; }, {}, never, never>;
|
---|
58 | }
|
---|
59 | export declare class ConfirmPopupModule {
|
---|
60 | static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPopupModule, never>;
|
---|
61 | static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmPopupModule, [typeof ConfirmPopup], [typeof i1.CommonModule, typeof i2.ButtonModule], [typeof ConfirmPopup]>;
|
---|
62 | static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmPopupModule>;
|
---|
63 | }
|
---|