1 | import { ElementRef, OnDestroy, EventEmitter, Renderer2, QueryList, NgZone, ChangeDetectorRef, AfterContentInit, TemplateRef, OnInit } from '@angular/core';
|
---|
2 | import { AnimationEvent } from '@angular/animations';
|
---|
3 | import { Header, Footer, PrimeNGConfig } from 'primeng/api';
|
---|
4 | import * as i0 from "@angular/core";
|
---|
5 | import * as i1 from "@angular/common";
|
---|
6 | import * as i2 from "primeng/focustrap";
|
---|
7 | import * as i3 from "primeng/ripple";
|
---|
8 | import * as i4 from "primeng/api";
|
---|
9 | export declare class Dialog implements AfterContentInit, OnInit, OnDestroy {
|
---|
10 | el: ElementRef;
|
---|
11 | renderer: Renderer2;
|
---|
12 | zone: NgZone;
|
---|
13 | private cd;
|
---|
14 | config: PrimeNGConfig;
|
---|
15 | header: string;
|
---|
16 | draggable: boolean;
|
---|
17 | resizable: boolean;
|
---|
18 | get positionLeft(): number;
|
---|
19 | set positionLeft(_positionLeft: number);
|
---|
20 | get positionTop(): number;
|
---|
21 | set positionTop(_positionTop: number);
|
---|
22 | contentStyle: any;
|
---|
23 | contentStyleClass: string;
|
---|
24 | modal: boolean;
|
---|
25 | closeOnEscape: boolean;
|
---|
26 | dismissableMask: boolean;
|
---|
27 | rtl: boolean;
|
---|
28 | closable: boolean;
|
---|
29 | get responsive(): boolean;
|
---|
30 | set responsive(_responsive: boolean);
|
---|
31 | appendTo: any;
|
---|
32 | breakpoints: any;
|
---|
33 | styleClass: string;
|
---|
34 | maskStyleClass: string;
|
---|
35 | showHeader: boolean;
|
---|
36 | get breakpoint(): number;
|
---|
37 | set breakpoint(_breakpoint: number);
|
---|
38 | blockScroll: boolean;
|
---|
39 | autoZIndex: boolean;
|
---|
40 | baseZIndex: number;
|
---|
41 | minX: number;
|
---|
42 | minY: number;
|
---|
43 | focusOnShow: boolean;
|
---|
44 | maximizable: boolean;
|
---|
45 | keepInViewport: boolean;
|
---|
46 | focusTrap: boolean;
|
---|
47 | transitionOptions: string;
|
---|
48 | closeIcon: string;
|
---|
49 | closeAriaLabel: string;
|
---|
50 | closeTabindex: string;
|
---|
51 | minimizeIcon: string;
|
---|
52 | maximizeIcon: string;
|
---|
53 | headerFacet: QueryList<Header>;
|
---|
54 | footerFacet: QueryList<Footer>;
|
---|
55 | templates: QueryList<any>;
|
---|
56 | headerViewChild: ElementRef;
|
---|
57 | contentViewChild: ElementRef;
|
---|
58 | footerViewChild: ElementRef;
|
---|
59 | onShow: EventEmitter<any>;
|
---|
60 | onHide: EventEmitter<any>;
|
---|
61 | visibleChange: EventEmitter<any>;
|
---|
62 | onResizeInit: EventEmitter<any>;
|
---|
63 | onResizeEnd: EventEmitter<any>;
|
---|
64 | onDragEnd: EventEmitter<any>;
|
---|
65 | onMaximize: EventEmitter<any>;
|
---|
66 | headerTemplate: TemplateRef<any>;
|
---|
67 | contentTemplate: TemplateRef<any>;
|
---|
68 | footerTemplate: TemplateRef<any>;
|
---|
69 | _visible: boolean;
|
---|
70 | maskVisible: boolean;
|
---|
71 | container: HTMLDivElement;
|
---|
72 | wrapper: HTMLElement;
|
---|
73 | dragging: boolean;
|
---|
74 | documentDragListener: any;
|
---|
75 | documentDragEndListener: any;
|
---|
76 | resizing: boolean;
|
---|
77 | documentResizeListener: any;
|
---|
78 | documentResizeEndListener: any;
|
---|
79 | documentEscapeListener: Function;
|
---|
80 | maskClickListener: Function;
|
---|
81 | lastPageX: number;
|
---|
82 | lastPageY: number;
|
---|
83 | preventVisibleChangePropagation: boolean;
|
---|
84 | maximized: boolean;
|
---|
85 | preMaximizeContentHeight: number;
|
---|
86 | preMaximizeContainerWidth: number;
|
---|
87 | preMaximizeContainerHeight: number;
|
---|
88 | preMaximizePageX: number;
|
---|
89 | preMaximizePageY: number;
|
---|
90 | id: string;
|
---|
91 | _style: any;
|
---|
92 | _position: string;
|
---|
93 | originalStyle: any;
|
---|
94 | transformOptions: any;
|
---|
95 | styleElement: any;
|
---|
96 | constructor(el: ElementRef, renderer: Renderer2, zone: NgZone, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
---|
97 | ngAfterContentInit(): void;
|
---|
98 | ngOnInit(): void;
|
---|
99 | get visible(): any;
|
---|
100 | set visible(value: any);
|
---|
101 | get style(): any;
|
---|
102 | set style(value: any);
|
---|
103 | get position(): string;
|
---|
104 | set position(value: string);
|
---|
105 | focus(): void;
|
---|
106 | close(event: Event): void;
|
---|
107 | enableModality(): void;
|
---|
108 | disableModality(): void;
|
---|
109 | maximize(): void;
|
---|
110 | unbindMaskClickListener(): void;
|
---|
111 | moveOnTop(): void;
|
---|
112 | createStyle(): void;
|
---|
113 | initDrag(event: MouseEvent): void;
|
---|
114 | onKeydown(event: KeyboardEvent): void;
|
---|
115 | onDrag(event: MouseEvent): void;
|
---|
116 | endDrag(event: MouseEvent): void;
|
---|
117 | resetPosition(): void;
|
---|
118 | center(): void;
|
---|
119 | initResize(event: MouseEvent): void;
|
---|
120 | onResize(event: MouseEvent): void;
|
---|
121 | resizeEnd(event: any): void;
|
---|
122 | bindGlobalListeners(): void;
|
---|
123 | unbindGlobalListeners(): void;
|
---|
124 | bindDocumentDragListener(): void;
|
---|
125 | unbindDocumentDragListener(): void;
|
---|
126 | bindDocumentDragEndListener(): void;
|
---|
127 | unbindDocumentDragEndListener(): void;
|
---|
128 | bindDocumentResizeListeners(): void;
|
---|
129 | unbindDocumentResizeListeners(): void;
|
---|
130 | bindDocumentEscapeListener(): void;
|
---|
131 | unbindDocumentEscapeListener(): void;
|
---|
132 | appendContainer(): void;
|
---|
133 | restoreAppend(): void;
|
---|
134 | onAnimationStart(event: AnimationEvent): void;
|
---|
135 | onAnimationEnd(event: AnimationEvent): void;
|
---|
136 | onContainerDestroy(): void;
|
---|
137 | destroyStyle(): void;
|
---|
138 | ngOnDestroy(): void;
|
---|
139 | static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
---|
140 | static ɵcmp: i0.ɵɵComponentDeclaration<Dialog, "p-dialog", never, { "header": "header"; "draggable": "draggable"; "resizable": "resizable"; "positionLeft": "positionLeft"; "positionTop": "positionTop"; "contentStyle": "contentStyle"; "contentStyleClass": "contentStyleClass"; "modal": "modal"; "closeOnEscape": "closeOnEscape"; "dismissableMask": "dismissableMask"; "rtl": "rtl"; "closable": "closable"; "responsive": "responsive"; "appendTo": "appendTo"; "breakpoints": "breakpoints"; "styleClass": "styleClass"; "maskStyleClass": "maskStyleClass"; "showHeader": "showHeader"; "breakpoint": "breakpoint"; "blockScroll": "blockScroll"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "minX": "minX"; "minY": "minY"; "focusOnShow": "focusOnShow"; "maximizable": "maximizable"; "keepInViewport": "keepInViewport"; "focusTrap": "focusTrap"; "transitionOptions": "transitionOptions"; "closeIcon": "closeIcon"; "closeAriaLabel": "closeAriaLabel"; "closeTabindex": "closeTabindex"; "minimizeIcon": "minimizeIcon"; "maximizeIcon": "maximizeIcon"; "visible": "visible"; "style": "style"; "position": "position"; }, { "onShow": "onShow"; "onHide": "onHide"; "visibleChange": "visibleChange"; "onResizeInit": "onResizeInit"; "onResizeEnd": "onResizeEnd"; "onDragEnd": "onDragEnd"; "onMaximize": "onMaximize"; }, ["headerFacet", "footerFacet", "templates"], ["p-header", "*", "p-footer"]>;
|
---|
141 | }
|
---|
142 | export declare class DialogModule {
|
---|
143 | static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
---|
144 | static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof Dialog], [typeof i1.CommonModule, typeof i2.FocusTrapModule, typeof i3.RippleModule], [typeof Dialog, typeof i4.SharedModule]>;
|
---|
145 | static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
---|
146 | }
|
---|