com.phloxui
Version:
PhloxUI Ng2+ Framework
35 lines (34 loc) • 1.29 kB
TypeScript
import { OnInit, ElementRef } from '@angular/core';
import { IDialog } from './IDialog';
import { AbstractDialogController } from '../AbstractDialogController';
import { PhloxAppInfoService } from '../../service/PhloxAppInfoService.service';
export declare const YES: number;
export declare const NO: number;
export declare const CANCEL: number;
/**
* <p style="text-indent: 2em;">
* A <code>child-view</code> component class of [[PhloxDialog]] handling logic of <code>confirm dialog</code>. This class should be
* <b>internally used by the framework</b>. If you just want to show a <code>confirm dialog</code>. Please see [[DialogService.showConfirmDialog]]
* for more info.
* </p>
*
* @author shiorin, tee4cute
* @see [[PhloxDialog]]
* @see [[DialogService]]
*/
export declare class ConfirmDialog extends AbstractDialogController implements IDialog, OnInit {
static readonly TYPE_NAME: string;
private model;
private dialog;
private show;
private phloxAppInfo;
constructor(elementRef: ElementRef, phloxAppService: PhloxAppInfoService);
ngOnInit(): void;
private getI18NMessage(key);
_isShowCancelBtn(): boolean;
showDialog(): void;
hideDialog(): void;
isShow(): boolean;
getModel(): any;
setModel(model: any): void;
}