UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

25 lines (24 loc) 1.03 kB
import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { IModalDialog, IDialogConfig } from './modal-interfaces'; import * as i0 from "@angular/core"; /** * Internal. The default modal dialog component. Should not be directly used as a component in a view. It * should only every be instantiated by the ModalService.dialog() method. */ export declare class ModalDialog implements IModalDialog { private sanitizer; closeFn: (val: any) => void; cancelFn: (val?: any) => void; safeBody: SafeHtml; config: IDialogConfig; constructor(sanitizer: DomSanitizer); setConfig(config: IDialogConfig): void; onClick(button: { returnValue: any; shouldReject: boolean; }): void; registerCloseFn(close: (val: any) => void): void; registerCancelFn(cancel: (val?: any) => void): void; static ɵfac: i0.ɵɵFactoryDeclaration<ModalDialog, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ModalDialog, "gtx-modal-dialog", never, {}, {}, never, never>; }