UNPKG

@obliczeniowo/elementary

Version:
29 lines (28 loc) 1.22 kB
import { OverlayContainer } from '@angular/cdk/overlay'; import { EventEmitter, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core'; import { Subject } from 'rxjs'; import { DialogOverlayRef } from '../../class/dialog-overlay-ref'; import * as i0 from "@angular/core"; export declare class DialogComponent implements OnInit { private readonly ref; private readonly overlayContainer; private static dialogsCount; private static onOpen; static onClose(overlayContainer: HTMLElement): void; closed: EventEmitter<any>; afterClosed: Subject<any>; contentType: 'template' | 'string' | 'component'; content: string | TemplateRef<any> | Type<any>; context: any; viewContainerRef: ViewContainerRef; protected component: any; constructor(ref: DialogOverlayRef, overlayContainer: OverlayContainer); close(): void; ngOnInit(): void; ngOnDestroy(): void; get template(): TemplateRef<any>; private createComponent; private _close; static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "obl-dialog", never, {}, { "closed": "closed"; }, never, never, false, never>; }