UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.sv

60 lines (59 loc) 2.58 kB
import { ElementRef, ChangeDetectorRef, OnDestroy, Renderer2 } from '@angular/core'; import { Confirmation, ConfirmationService, PrimeNGConfig } from 'primeng/api'; import { Subscription } from 'rxjs'; import { AnimationEvent } from '@angular/animations'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "primeng/button"; export declare class ConfirmPopup implements OnDestroy { el: ElementRef; private confirmationService; renderer: Renderer2; private cd; config: PrimeNGConfig; key: string; showTransitionOptions: string; hideTransitionOptions: string; autoZIndex: boolean; baseZIndex: number; style: any; styleClass: string; container: HTMLDivElement; subscription: Subscription; confirmation: Confirmation; _visible: boolean; documentClickListener: any; documentResizeListener: any; scrollHandler: any; get visible(): any; set visible(value: any); constructor(el: ElementRef, confirmationService: ConfirmationService, renderer: Renderer2, cd: ChangeDetectorRef, config: PrimeNGConfig); onAnimationStart(event: AnimationEvent): void; onAnimationEnd(event: AnimationEvent): void; align(): void; hide(): void; accept(): void; reject(): void; bindListeners(): void; unbindListeners(): void; bindDocumentClickListener(): void; unbindDocumentClickListener(): void; onWindowResize(): void; bindDocumentResizeListener(): void; unbindDocumentResizeListener(): void; bindScrollListener(): void; unbindScrollListener(): void; unsubscribeConfirmationSubscriptions(): void; onContainerDestroy(): void; restoreAppend(): void; get acceptButtonLabel(): string; get rejectButtonLabel(): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPopup, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmPopup, "p-confirmPopup", never, { "key": "key"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "style": "style"; "styleClass": "styleClass"; "visible": "visible"; }, {}, never, never>; } export declare class ConfirmPopupModule { static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPopupModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmPopupModule, [typeof ConfirmPopup], [typeof i1.CommonModule, typeof i2.ButtonModule], [typeof ConfirmPopup]>; static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmPopupModule>; }