import { IPSDEUILogicNode } from './ipsdeuilogic-node'; import { IPSDEUILogicParam } from './ipsdeuilogic-param'; /** * * 继承父接口类型值[MSGBOX] * @export * @interface IPSDEUIMsgBoxLogic */ export interface IPSDEUIMsgBoxLogic extends IPSDEUILogicNode { /** * 按钮集类型 * @description 值模式 [消息框按钮类型] {YESNO:是、否、 YESNOCANCEL:是、否、取消、 OK:确定、 OKCANCEL:确定、取消 } * @type {( string | 'YESNO' | 'YESNOCANCEL' | 'OK' | 'OKCANCEL')} */ buttonsType: string | 'YESNO' | 'YESNOCANCEL' | 'OK' | 'OKCANCEL'; /** * 消息内容 * @type {string} */ message: string; /** * 消息框参数对象 * * @type {IPSDEUILogicParam} */ getMsgBoxParam(): IPSDEUILogicParam | null; /** * 消息框参数对象 * * @type {IPSDEUILogicParam} */ get msgBoxParam(): IPSDEUILogicParam | null; /** * 消息框参数对象(必须存在) * * @type {IPSDEUILogicParam} */ getMsgBoxParamMust(): IPSDEUILogicParam; /** * 消息框类型 * @description 值模式 [消息框类型] {INFO:常规、 QUESTION:询问、 WARNING:警告、 ERROR:错误 } * @type {( string | 'INFO' | 'QUESTION' | 'WARNING' | 'ERROR')} */ msgBoxType: string | 'INFO' | 'QUESTION' | 'WARNING' | 'ERROR'; /** * 显示模式 * @description 值模式 [消息框显示模式] {CENTER:居中 } * @type {( string | 'CENTER')} */ showMode: string | 'CENTER'; /** * 消息抬头 * @type {string} */ title: string; }