1 | import { Type, ComponentFactoryResolver, OnDestroy, ComponentRef, AfterViewInit, ChangeDetectorRef, Renderer2, NgZone, ElementRef } from '@angular/core';
|
---|
2 | import { AnimationEvent } from '@angular/animations';
|
---|
3 | import { DynamicDialogContent } from './dynamicdialogcontent';
|
---|
4 | import { DynamicDialogConfig } from './dynamicdialog-config';
|
---|
5 | import { DynamicDialogRef } from './dynamicdialog-ref';
|
---|
6 | import { PrimeNGConfig } from 'primeng/api';
|
---|
7 | import * as i0 from "@angular/core";
|
---|
8 | import * as i1 from "./dynamicdialogcontent";
|
---|
9 | import * as i2 from "@angular/common";
|
---|
10 | export declare class DynamicDialogComponent implements AfterViewInit, OnDestroy {
|
---|
11 | private componentFactoryResolver;
|
---|
12 | private cd;
|
---|
13 | renderer: Renderer2;
|
---|
14 | config: DynamicDialogConfig;
|
---|
15 | private dialogRef;
|
---|
16 | zone: NgZone;
|
---|
17 | primeNGConfig: PrimeNGConfig;
|
---|
18 | visible: boolean;
|
---|
19 | componentRef: ComponentRef<any>;
|
---|
20 | mask: HTMLDivElement;
|
---|
21 | insertionPoint: DynamicDialogContent;
|
---|
22 | maskViewChild: ElementRef;
|
---|
23 | childComponentType: Type<any>;
|
---|
24 | container: HTMLDivElement;
|
---|
25 | wrapper: HTMLElement;
|
---|
26 | documentKeydownListener: any;
|
---|
27 | documentEscapeListener: Function;
|
---|
28 | maskClickListener: Function;
|
---|
29 | transformOptions: string;
|
---|
30 | constructor(componentFactoryResolver: ComponentFactoryResolver, cd: ChangeDetectorRef, renderer: Renderer2, config: DynamicDialogConfig, dialogRef: DynamicDialogRef, zone: NgZone, primeNGConfig: PrimeNGConfig);
|
---|
31 | ngAfterViewInit(): void;
|
---|
32 | loadChildComponent(componentType: Type<any>): void;
|
---|
33 | moveOnTop(): void;
|
---|
34 | onAnimationStart(event: AnimationEvent): void;
|
---|
35 | onAnimationEnd(event: AnimationEvent): void;
|
---|
36 | onContainerDestroy(): void;
|
---|
37 | close(): void;
|
---|
38 | hide(): void;
|
---|
39 | enableModality(): void;
|
---|
40 | disableModality(): void;
|
---|
41 | onKeydown(event: KeyboardEvent): void;
|
---|
42 | focus(): void;
|
---|
43 | bindGlobalListeners(): void;
|
---|
44 | unbindGlobalListeners(): void;
|
---|
45 | bindDocumentKeydownListener(): void;
|
---|
46 | unbindDocumentKeydownListener(): void;
|
---|
47 | bindDocumentEscapeListener(): void;
|
---|
48 | unbindDocumentEscapeListener(): void;
|
---|
49 | unbindMaskClickListener(): void;
|
---|
50 | ngOnDestroy(): void;
|
---|
51 | static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDialogComponent, never>;
|
---|
52 | static ɵcmp: i0.ɵɵComponentDeclaration<DynamicDialogComponent, "p-dynamicDialog", never, {}, {}, never, never>;
|
---|
53 | }
|
---|
54 | export declare class DynamicDialogModule {
|
---|
55 | static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDialogModule, never>;
|
---|
56 | static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicDialogModule, [typeof DynamicDialogComponent, typeof i1.DynamicDialogContent], [typeof i2.CommonModule], never>;
|
---|
57 | static ɵinj: i0.ɵɵInjectorDeclaration<DynamicDialogModule>;
|
---|
58 | }
|
---|