import { IPSAppModule } from '../ipsapp-module'; import { IPSApplicationObject } from '../ipsapplication-object'; import { IPSAppDataEntity } from '../dataentity/ipsapp-data-entity'; import { IPSAppView } from './ipsapp-view'; import { IPSAppViewLogic } from './ipsapp-view-logic'; import { IPSAppViewMsgGroup } from './ipsapp-view-msg-group'; import { IPSAppViewNavContext } from './ipsapp-view-nav-context'; import { IPSAppViewNavParam } from './ipsapp-view-nav-param'; import { IPSAppViewParam } from './ipsapp-view-param'; import { IPSAppViewRef } from './ipsapp-view-ref'; import { IPSControl } from '../../control/ipscontrol'; import { IPSLanguageRes } from '../../res/ipslanguage-res'; import { IPSSysCss } from '../../res/ipssys-css'; import { IPSSysImage } from '../../res/ipssys-image'; import { IPSSysPFPlugin } from '../../res/ipssys-pfplugin'; /** * * 子接口类型识别属性[] * @export * @interface IPSAppViewBase */ export interface IPSAppViewBase extends IPSApplicationObject { /** * 访问用户模式 * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 } * @type {( number | 0 | 2 | 3 | 4)} */ accUserMode: number | 0 | 2 | 3 | 4; /** * 访问标识 * @type {string} */ accessKey: string; /** * 标题语言资源 * * @type {IPSLanguageRes} */ getCapPSLanguageRes(): IPSLanguageRes | null; /** * 标题语言资源 * * @type {IPSLanguageRes} */ get capPSLanguageRes(): IPSLanguageRes | null; /** * 标题语言资源(必须存在) * * @type {IPSLanguageRes} */ getCapPSLanguageResMust(): IPSLanguageRes; /** * 视图标题 * @type {string} */ caption: string; /** * 代码标识 * @type {string} */ codeName: string; /** * 完整代码标识 * @type {string} */ fullCodeName: string; /** * 视图高度 * @type {number} * @default 0 */ height: number; /** * @type {string} */ mainMenuAlign: string; /** * 视图打开模式 * @type {string} */ openMode: string; /** * * @type {IPSAppDataEntity} */ getPSAppDataEntity(): IPSAppDataEntity | null; /** * * @type {IPSAppDataEntity} */ get psAppDataEntity(): IPSAppDataEntity | null; /** * * @type {IPSAppDataEntity} */ getPSAppDataEntityMust(): IPSAppDataEntity; /** * * @type {IPSAppModule} */ getPSAppModule(): IPSAppModule | null; /** * * @type {IPSAppModule} */ get psAppModule(): IPSAppModule | null; /** * * @type {IPSAppModule} */ getPSAppModuleMust(): IPSAppModule; /** * 视图逻辑集合 * * @type {IPSAppViewLogic[]} */ getPSAppViewLogics(): IPSAppViewLogic[] | null; /** * 视图逻辑集合 * * @type {IPSAppViewLogic[]} */ get psAppViewLogics(): IPSAppViewLogic[] | null; findPSAppViewLogic(objKey: any): IPSAppViewLogic | null; /** * * @type {IPSAppViewMsgGroup} */ getPSAppViewMsgGroup(): IPSAppViewMsgGroup | null; /** * * @type {IPSAppViewMsgGroup} */ get psAppViewMsgGroup(): IPSAppViewMsgGroup | null; /** * * @type {IPSAppViewMsgGroup} */ getPSAppViewMsgGroupMust(): IPSAppViewMsgGroup; /** * 视图导航上下文集合 * * @type {IPSAppViewNavContext[]} */ getPSAppViewNavContexts(): IPSAppViewNavContext[] | null; /** * 视图导航上下文集合 * * @type {IPSAppViewNavContext[]} */ get psAppViewNavContexts(): IPSAppViewNavContext[] | null; findPSAppViewNavContext(objKey: any): IPSAppViewNavContext | null; /** * 视图导航参数集合 * * @type {IPSAppViewNavParam[]} */ getPSAppViewNavParams(): IPSAppViewNavParam[] | null; /** * 视图导航参数集合 * * @type {IPSAppViewNavParam[]} */ get psAppViewNavParams(): IPSAppViewNavParam[] | null; findPSAppViewNavParam(objKey: any): IPSAppViewNavParam | null; /** * 视图参数集合 * * @type {IPSAppViewParam[]} */ getPSAppViewParams(): IPSAppViewParam[] | null; /** * 视图参数集合 * * @type {IPSAppViewParam[]} */ get psAppViewParams(): IPSAppViewParam[] | null; findPSAppViewParam(objKey: any): IPSAppViewParam | null; /** * 视图对象引用 * * @type {IPSAppViewRef[]} */ getPSAppViewRefs(): IPSAppViewRef[] | null; /** * 视图对象引用 * * @type {IPSAppViewRef[]} */ get psAppViewRefs(): IPSAppViewRef[] | null; findPSAppViewRef(objKey: any): IPSAppViewRef | null; /** * 根部件集合 * * @type {IPSControl[]} */ getPSControls(): IPSControl[] | null; /** * 根部件集合 * * @type {IPSControl[]} */ get psControls(): IPSControl[] | null; findPSControl(objKey: any): IPSControl | null; /** * 视图界面样式对象 * * @type {IPSSysCss} */ getPSSysCss(): IPSSysCss | null; /** * 视图界面样式对象 * * @type {IPSSysCss} */ get psSysCss(): IPSSysCss | null; /** * 视图界面样式对象(必须存在) * * @type {IPSSysCss} */ getPSSysCssMust(): IPSSysCss; /** * 视图图标对象 * * @type {IPSSysImage} */ getPSSysImage(): IPSSysImage | null; /** * 视图图标对象 * * @type {IPSSysImage} */ get psSysImage(): IPSSysImage | null; /** * 视图图标对象(必须存在) * * @type {IPSSysImage} */ getPSSysImageMust(): IPSSysImage; /** * 前端应用插件 * * @type {IPSSysPFPlugin} */ getPSSysPFPlugin(): IPSSysPFPlugin | null; /** * 前端应用插件 * * @type {IPSSysPFPlugin} */ get psSysPFPlugin(): IPSSysPFPlugin | null; /** * 前端应用插件(必须存在) * * @type {IPSSysPFPlugin} */ getPSSysPFPluginMust(): IPSSysPFPlugin; /** * 视图优先级 * @type {number} * @default -1 */ priority: number; /** * 视图被引用 * @type {boolean} * @default true */ refFlag: boolean; /** * 实际引用视图 * * @type {IPSAppView} */ getRefPSAppView(): IPSAppView | null; /** * 实际引用视图 * * @type {IPSAppView} */ get refPSAppView(): IPSAppView | null; /** * 实际引用视图(必须存在) * * @type {IPSAppView} */ getRefPSAppViewMust(): IPSAppView; /** * 子标题语言资源 * * @type {IPSLanguageRes} */ getSubCapPSLanguageRes(): IPSLanguageRes | null; /** * 子标题语言资源 * * @type {IPSLanguageRes} */ get subCapPSLanguageRes(): IPSLanguageRes | null; /** * 子标题语言资源(必须存在) * * @type {IPSLanguageRes} */ getSubCapPSLanguageResMust(): IPSLanguageRes; /** * 视图子标题 * @type {string} */ subCaption: string; /** * 视图抬头 * @type {string} */ title: string; /** * 抬头语言资源 * * @type {IPSLanguageRes} */ getTitlePSLanguageRes(): IPSLanguageRes | null; /** * 抬头语言资源 * * @type {IPSLanguageRes} */ get titlePSLanguageRes(): IPSLanguageRes | null; /** * 抬头语言资源(必须存在) * * @type {IPSLanguageRes} */ getTitlePSLanguageResMust(): IPSLanguageRes; /** * 视图类型 * @description 值模式 [平台视图类型] * @type {string} */ viewType: string; /** * 视图宽度 * @type {number} * @default 0 */ width: number; /** * 启用数据权限 * @type {boolean} */ enableDP: boolean; /** * 支持工作流 * @type {boolean} */ enableWF: boolean; /** * 数据选择视图 * @type {boolean} * @default false */ pickupMode: boolean; /** * 重定向视图 * @type {boolean} * @default false */ redirectView: boolean; /** * 显示标题栏 * @type {boolean} * @default true */ showCaptionBar: boolean; }