com.phloxui
Version:
PhloxUI Ng2+ Framework
40 lines (39 loc) • 1.53 kB
TypeScript
import { OnInit, OnChanges, ElementRef } from '@angular/core';
import { IDialog } from './IDialog';
import { PhloxAppInfoService } from '../../service/PhloxAppInfoService.service';
import { AbstractDialogController } from '../AbstractDialogController';
/**
* <p style="text-indent: 2em;">
* A <code>child-view</code> component class of [[PhloxDialog]] handling logic of <code>component dialog</code>. This class should be
* <b>internally used by the framework</b>. If you just want to show a <code>component dialog</code>. Please see [[DialogService.showComponentDialog]]
* for more info.
* </p>
*
* @author shiorin, tee4cute
* @see [[PhloxDialog]]
* @see [[DialogService]]
*/
export declare class ComponentDialog extends AbstractDialogController implements IDialog, OnInit, OnChanges {
static readonly TYPE_NAME: string;
private model;
private dialog;
private componentInstance;
private show;
private phloxAppInfo;
private componentHandler;
constructor(elementRef: ElementRef, phloxAppService: PhloxAppInfoService);
ngOnInit(): void;
ngOnChanges(changes: any): void;
private getResultFromComponentWrapper();
private refreshActionButtons();
private getI18NMessage(key);
_onXBtnClicked($event: Event): void;
_isShowXBtn(): boolean;
_getComponentHandler(): Function;
_getDefaultItemStyleClass(styleClass: String[]): String[];
showDialog(): void;
hideDialog(): void;
isShow(): boolean;
getModel(): any;
setModel(model: any): void;
}