@ibiz/model-core 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/out/app/logic/iapp-uilogic-ref-view.d.ts +1 -4
  2. package/out/app/logic/iapp-uinew-data-logic.d.ts +7 -0
  3. package/out/app/view/iapp-desearch-view.d.ts +0 -14
  4. package/out/app/view/iapp-desearch-view2.d.ts +1 -16
  5. package/out/app/view/iapp-deview.d.ts +48 -2
  6. package/out/app/view/iapp-view-logic.d.ts +0 -7
  7. package/out/app/view/iapp-view.d.ts +31 -10
  8. package/out/control/calendar/isys-calendar-item.d.ts +7 -7
  9. package/out/control/dashboard/idbraw-item-portlet-part.d.ts +3 -1
  10. package/out/control/form/ideform-button.d.ts +1 -2
  11. package/out/control/form/ideform-raw-item.d.ts +3 -1
  12. package/out/control/grid/idegrid.d.ts +14 -0
  13. package/out/control/icontrol-container.d.ts +0 -8
  14. package/out/control/icontrol-logic.d.ts +13 -5
  15. package/out/control/icontrol-mdata-container.d.ts +0 -34
  16. package/out/control/icontrol-xdata-container.d.ts +7 -7
  17. package/out/control/icontrol.d.ts +8 -6
  18. package/out/control/menu/iapp-menu-raw-item.d.ts +3 -1
  19. package/out/control/menu/icontext-menu.d.ts +1 -8
  20. package/out/control/panel/ipanel-button.d.ts +1 -2
  21. package/out/control/panel/ipanel-raw-item.d.ts +3 -1
  22. package/out/control/toolbar/idecmraw-item.d.ts +3 -1
  23. package/out/control/toolbar/idecmuiaction-item.d.ts +6 -8
  24. package/out/control/toolbar/idetbraw-item.d.ts +3 -1
  25. package/out/control/toolbar/idetbuiaction-item.d.ts +8 -10
  26. package/out/control/toolbar/idetoolbar.d.ts +6 -6
  27. package/out/exports.d.ts +1 -4
  28. package/out/res/ictrl-msg-item.d.ts +29 -0
  29. package/out/res/ictrl-msg.d.ts +8 -0
  30. package/package.json +1 -1
  31. package/src/app/logic/iapp-uilogic-ref-view.ts +1 -6
  32. package/src/app/logic/iapp-uinew-data-logic.ts +8 -0
  33. package/src/app/view/iapp-desearch-view.ts +0 -16
  34. package/src/app/view/iapp-desearch-view2.ts +1 -17
  35. package/src/app/view/iapp-deview.ts +82 -2
  36. package/src/app/view/iapp-view-logic.ts +0 -8
  37. package/src/app/view/iapp-view.ts +35 -11
  38. package/src/control/calendar/isys-calendar-item.ts +8 -8
  39. package/src/control/dashboard/idbraw-item-portlet-part.ts +4 -1
  40. package/src/control/form/ideform-button.ts +1 -5
  41. package/src/control/form/ideform-raw-item.ts +2 -1
  42. package/src/control/grid/idegrid.ts +16 -0
  43. package/src/control/icontrol-container.ts +0 -9
  44. package/src/control/icontrol-logic.ts +34 -5
  45. package/src/control/icontrol-mdata-container.ts +0 -39
  46. package/src/control/icontrol-xdata-container.ts +8 -8
  47. package/src/control/icontrol.ts +9 -7
  48. package/src/control/menu/iapp-menu-raw-item.ts +2 -1
  49. package/src/control/menu/icontext-menu.ts +1 -8
  50. package/src/control/panel/ipanel-button.ts +1 -2
  51. package/src/control/panel/ipanel-raw-item.ts +2 -1
  52. package/src/control/toolbar/idecmraw-item.ts +2 -1
  53. package/src/control/toolbar/idecmuiaction-item.ts +6 -11
  54. package/src/control/toolbar/idetbraw-item.ts +2 -1
  55. package/src/control/toolbar/idetbuiaction-item.ts +9 -14
  56. package/src/control/toolbar/idetoolbar.ts +7 -7
  57. package/src/exports.ts +1 -4
  58. package/src/res/ictrl-msg-item.ts +32 -0
  59. package/src/res/ictrl-msg.ts +9 -0
  60. package/out/app/res/iapp-css.d.ts +0 -7
  61. package/out/app/res/iapp-image.d.ts +0 -7
  62. package/out/app/res/iapp-image.js +0 -1
  63. package/out/app/view/iapp-deview-base.d.ts +0 -61
  64. package/out/app/view/iapp-deview-base.js +0 -1
  65. package/out/app/view/iapp-view-base.d.ts +0 -237
  66. package/out/app/view/iapp-view-base.js +0 -1
  67. package/out/app/view/iapp-view-uiaction.d.ts +0 -48
  68. package/out/app/view/iapp-view-uiaction.js +0 -1
  69. package/out/app/view/ideuiaction-item.d.ts +0 -7
  70. package/out/app/view/ideuiaction-item.js +0 -1
  71. package/out/app/view/iuiaction-item.d.ts +0 -15
  72. package/out/app/view/iuiaction-item.js +0 -1
  73. package/out/app/view/iwfuiaction-item.d.ts +0 -7
  74. package/out/app/view/iwfuiaction-item.js +0 -1
  75. package/out/control/iraw-item.d.ts +0 -49
  76. package/out/control/iraw-item.js +0 -1
  77. package/out/control/panel/ipanel-param.d.ts +0 -7
  78. package/out/control/panel/ipanel-param.js +0 -1
  79. package/out/control/panel/isys-panel-param.d.ts +0 -7
  80. package/out/control/panel/isys-panel-param.js +0 -1
  81. package/out/control/panel/isys-view-layout-panel-param.d.ts +0 -7
  82. package/out/control/panel/isys-view-layout-panel-param.js +0 -1
  83. package/out/control/reportpanel/idereport-panel-param.d.ts +0 -7
  84. package/out/control/reportpanel/idereport-panel-param.js +0 -1
  85. package/src/app/res/iapp-css.ts +0 -8
  86. package/src/app/res/iapp-image.ts +0 -8
  87. package/src/app/view/iapp-deview-base.ts +0 -96
  88. package/src/app/view/iapp-view-base.ts +0 -270
  89. package/src/app/view/iapp-view-uiaction.ts +0 -60
  90. package/src/app/view/ideuiaction-item.ts +0 -8
  91. package/src/app/view/iuiaction-item.ts +0 -16
  92. package/src/app/view/iwfuiaction-item.ts +0 -8
  93. package/src/control/iraw-item.ts +0 -68
  94. package/src/control/panel/ipanel-param.ts +0 -8
  95. package/src/control/panel/isys-panel-param.ts +0 -8
  96. package/src/control/panel/isys-view-layout-panel-param.ts +0 -8
  97. package/src/control/reportpanel/idereport-panel-param.ts +0 -8
  98. /package/out/{app/res/iapp-css.js → res/ictrl-msg-item.js} +0 -0
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IAppMenuItem } from './iapp-menu-item';
2
3
 
3
4
  /**
@@ -6,4 +7,4 @@ import { IAppMenuItem } from './iapp-menu-item';
6
7
  * @export
7
8
  * @interface IAppMenuRawItem
8
9
  */
9
- export type IAppMenuRawItem = IAppMenuItem
10
+ export interface IAppMenuRawItem extends IAppMenuItem, IRawItemContainer {}
@@ -5,11 +5,4 @@ import { IMenu } from './imenu';
5
5
  * @export
6
6
  * @interface IContextMenu
7
7
  */
8
- export interface IContextMenu extends IMenu {
9
- /**
10
- * 菜单所有者
11
- * @type {IModel}
12
- * 来源 getOwner
13
- */
14
- owner?: IModel;
15
- }
8
+ export type IContextMenu = IMenu
@@ -1,4 +1,3 @@
1
- import { IUIActionItem } from '../../app/view/iuiaction-item';
2
1
  import { IButtonBase } from '../ibutton-base';
3
2
  import { IPanelItem } from './ipanel-item';
4
3
 
@@ -8,7 +7,7 @@ import { IPanelItem } from './ipanel-item';
8
7
  * @export
9
8
  * @interface IPanelButton
10
9
  */
11
- export interface IPanelButton extends IPanelItem, IUIActionItem, IButtonBase {
10
+ export interface IPanelButton extends IPanelItem, IButtonBase {
12
11
  /**
13
12
  * 按钮行为类型
14
13
  * @description 值模式 [面板按钮行为类型] {NONE:无处理、 UIACTION:界面行为、 UILOGIC:界面逻辑、 OPENVIEW:打开应用视图、 OPENDEVIEW:打开实体视图、 OPENSYSPDTVIEW:打开系统预置视图、 OPENHTMLPAGE:打开链接、 DATA_CREATEOBJECT:建立数据、 DATA_SAVECHANGES:保存变更、 DATA_CANCELCHANGES:取消变更、 DATA_REMOVEOBJECT:删除数据、 DATA_SYNCHRONIZE:同步数据、 APP_LOGIN:登录操作、 APP_LOGOUT:登出操作、 CUSTOM:自定义代码 }
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IPanelItem } from './ipanel-item';
2
3
 
3
4
  /**
@@ -6,4 +7,4 @@ import { IPanelItem } from './ipanel-item';
6
7
  * @export
7
8
  * @interface IPanelRawItem
8
9
  */
9
- export type IPanelRawItem = IPanelItem
10
+ export interface IPanelRawItem extends IPanelItem, IRawItemContainer {}
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IDEContextMenuItem } from './idecontext-menu-item';
2
3
 
3
4
  /**
@@ -6,4 +7,4 @@ import { IDEContextMenuItem } from './idecontext-menu-item';
6
7
  * @export
7
8
  * @interface IDECMRawItem
8
9
  */
9
- export type IDECMRawItem = IDEContextMenuItem
10
+ export interface IDECMRawItem extends IDEContextMenuItem, IRawItemContainer {}
@@ -1,5 +1,3 @@
1
- import { IDEUIActionItem } from '../../app/view/ideuiaction-item';
2
- import { IWFUIActionItem } from '../../app/view/iwfuiaction-item';
3
1
  import { IDEContextMenuItem } from './idecontext-menu-item';
4
2
 
5
3
  /**
@@ -8,10 +6,7 @@ import { IDEContextMenuItem } from './idecontext-menu-item';
8
6
  * @export
9
7
  * @interface IDECMUIActionItem
10
8
  */
11
- export interface IDECMUIActionItem
12
- extends IDEContextMenuItem,
13
- IDEUIActionItem,
14
- IWFUIActionItem {
9
+ export interface IDECMUIActionItem extends IDEContextMenuItem {
15
10
  /**
16
11
  * 行为级别
17
12
  * @description 值模式 [界面行为行为级别] {50:不常用、 100:一般操作、 200:常用操作、 250:关键操作 }
@@ -22,12 +17,12 @@ export interface IDECMUIActionItem
22
17
  actionLevel?: number | 50 | 100 | 200 | 250;
23
18
 
24
19
  /**
25
- * 界面行为组展开模式
26
- * @description 值模式 [界面行为组展开模式] {ITEM:按项展开(默认)、 ITEMS:按分组展开 }
27
- * @type {( string | 'ITEM' | 'ITEMS')}
28
- * 来源 getGroupExtractMode
20
+ * 界面行为对象
21
+ *
22
+ * @type {string}
23
+ * 来源 getPSUIAction
29
24
  */
30
- groupExtractMode?: string | 'ITEM' | 'ITEMS';
25
+ uiactionId?: string;
31
26
 
32
27
  /**
33
28
  * 界面行为操作目标
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IDEToolbarItem } from './idetoolbar-item';
2
3
 
3
4
  /**
@@ -6,4 +7,4 @@ import { IDEToolbarItem } from './idetoolbar-item';
6
7
  * @export
7
8
  * @interface IDETBRawItem
8
9
  */
9
- export type IDETBRawItem = IDEToolbarItem
10
+ export interface IDETBRawItem extends IDEToolbarItem, IRawItemContainer {}
@@ -1,5 +1,3 @@
1
- import { IDEUIActionItem } from '../../app/view/ideuiaction-item';
2
- import { IWFUIActionItem } from '../../app/view/iwfuiaction-item';
3
1
  import { IDEToolbarItem } from './idetoolbar-item';
4
2
 
5
3
  /**
@@ -8,10 +6,7 @@ import { IDEToolbarItem } from './idetoolbar-item';
8
6
  * @export
9
7
  * @interface IDETBUIActionItem
10
8
  */
11
- export interface IDETBUIActionItem
12
- extends IDEToolbarItem,
13
- IDEUIActionItem,
14
- IWFUIActionItem {
9
+ export interface IDETBUIActionItem extends IDEToolbarItem {
15
10
  /**
16
11
  * 行为级别
17
12
  * @description 值模式 [界面行为行为级别] {50:不常用、 100:一般操作、 200:常用操作、 250:关键操作 }
@@ -21,14 +16,6 @@ export interface IDETBUIActionItem
21
16
  */
22
17
  actionLevel?: number | 50 | 100 | 200 | 250;
23
18
 
24
- /**
25
- * 界面行为组展开模式
26
- * @description 值模式 [界面行为组展开模式] {ITEM:按项展开(默认)、 ITEMS:按分组展开 }
27
- * @type {( string | 'ITEM' | 'ITEMS')}
28
- * 来源 getGroupExtractMode
29
- */
30
- groupExtractMode?: string | 'ITEM' | 'ITEMS';
31
-
32
19
  /**
33
20
  * 无权限显示模式
34
21
  * @description 值模式 [无权限按钮显示模式] {1:禁用、 2:隐藏、 6:隐藏且默认隐藏 }
@@ -45,6 +32,14 @@ export interface IDETBUIActionItem
45
32
  */
46
33
  detoolbarItems?: IDEToolbarItem[];
47
34
 
35
+ /**
36
+ * 界面行为对象
37
+ *
38
+ * @type {string}
39
+ * 来源 getPSUIAction
40
+ */
41
+ uiactionId?: string;
42
+
48
43
  /**
49
44
  * 界面行为操作目标
50
45
  * @description 值模式 [云实体界面行为_操作数据范围] {SINGLEDATA:单项数据、 SINGLEKEY:单项数据(主键)、 MULTIDATA:多项数据、 MULTIKEY:多项数据(主键)、 NONE:无数据 }
@@ -8,13 +8,6 @@ import { IDEToolbarItem } from './idetoolbar-item';
8
8
  * @interface IDEToolbar
9
9
  */
10
10
  export interface IDEToolbar extends IControl {
11
- /**
12
- * 工具栏所有者
13
- * @type {IModel}
14
- * 来源 getOwner
15
- */
16
- owner?: IModel;
17
-
18
11
  /**
19
12
  * 工具栏项集合
20
13
  *
@@ -29,4 +22,11 @@ export interface IDEToolbar extends IControl {
29
22
  * 来源 getToolbarStyle
30
23
  */
31
24
  toolbarStyle?: string;
25
+
26
+ /**
27
+ * 界面行为数据部件名称
28
+ * @type {string}
29
+ * 来源 getXDataControlName
30
+ */
31
+ xdataControlName?: string;
32
32
  }
package/src/exports.ts CHANGED
@@ -185,10 +185,6 @@ export { IAppViewNavContext } from './app/view/iapp-view-nav-context';
185
185
  export { IAppViewNavParam } from './app/view/iapp-view-nav-param';
186
186
  export { IAppViewParam } from './app/view/iapp-view-param';
187
187
  export { IAppViewRef } from './app/view/iapp-view-ref';
188
- export { IAppViewUIAction } from './app/view/iapp-view-uiaction';
189
- export { IDEUIActionItem } from './app/view/ideuiaction-item';
190
- export { IUIActionItem } from './app/view/iuiaction-item';
191
- export { IWFUIActionItem } from './app/view/iwfuiaction-item';
192
188
  export { IAppWF } from './app/wf/iapp-wf';
193
189
  export { IAppWFDE } from './app/wf/iapp-wfde';
194
190
  export { IAppWFUIAction } from './app/wf/iapp-wfuiaction';
@@ -687,6 +683,7 @@ export { IDEWizardForm } from './dataentity/wizard/idewizard-form';
687
683
  export { IDEWizardStep } from './dataentity/wizard/idewizard-step';
688
684
  export { ISysMsgTempl } from './msg/isys-msg-templ';
689
685
  export { ICtrlMsg } from './res/ictrl-msg';
686
+ export { ICtrlMsgItem } from './res/ictrl-msg-item';
690
687
  export { ILanguageItem } from './res/ilanguage-item';
691
688
  export { ILanguageRes } from './res/ilanguage-res';
692
689
  export { ISubViewType } from './res/isub-view-type';
@@ -0,0 +1,32 @@
1
+ import { ILanguageRes } from './ilanguage-res';
2
+ import { IModelObject } from '../imodel-object';
3
+
4
+ /**
5
+ *
6
+ * @export
7
+ * @interface ICtrlMsgItem
8
+ */
9
+ export interface ICtrlMsgItem extends IModelObject {
10
+ /**
11
+ * 内容
12
+ * @type {string}
13
+ * 来源 getContent
14
+ */
15
+ content?: string;
16
+
17
+ /**
18
+ * 内容语言资源
19
+ *
20
+ * @type {ILanguageRes}
21
+ * 来源 getContentPSLanguageRes
22
+ */
23
+ contentLanguageRes?: ILanguageRes;
24
+
25
+ /**
26
+ * 显示时长(毫秒)
27
+ * @type {number}
28
+ * @default -1
29
+ * 来源 getTimeout
30
+ */
31
+ timeout?: number;
32
+ }
@@ -1,3 +1,4 @@
1
+ import { ICtrlMsgItem } from './ictrl-msg-item';
1
2
  import { IModelObject } from '../imodel-object';
2
3
 
3
4
  /**
@@ -19,4 +20,12 @@ export interface ICtrlMsg extends IModelObject {
19
20
  * 来源 getMsgModel
20
21
  */
21
22
  msgModel?: string;
23
+
24
+ /**
25
+ * 部件消息项集合
26
+ *
27
+ * @type {ICtrlMsgItem[]}
28
+ * 来源 getPSCtrlMsgItems
29
+ */
30
+ ctrlMsgItems?: ICtrlMsgItem[];
22
31
  }
@@ -1,7 +0,0 @@
1
- import { ISysCss } from '../../res/isys-css';
2
- /**
3
- *
4
- * @export
5
- * @interface IAppCss
6
- */
7
- export type IAppCss = ISysCss;
@@ -1,7 +0,0 @@
1
- import { ISysImage } from '../../res/isys-image';
2
- /**
3
- *
4
- * @export
5
- * @interface IAppImage
6
- */
7
- export type IAppImage = ISysImage;
@@ -1 +0,0 @@
1
- export {};
@@ -1,61 +0,0 @@
1
- import { IModelObject } from '../../imodel-object';
2
- /**
3
- *
4
- * @export
5
- * @interface IAppDEViewBase
6
- */
7
- export interface IAppDEViewBase extends IModelObject {
8
- /**
9
- * 功能视图模式
10
- * @description 值模式 [实体视图预置类型] {PICKUPVIEW:默认单选视图、 EDITVIEW:默认编辑视图、 MAINVIEW:默认主视图、 INDEXDEPICKUPVIEW:默认索引实体选择视图、 FORMPICKUPVIEW:默认多表单选择视图、 MPICKUPVIEW:默认多选视图、 MDATAVIEW:默认多项视图、 WFEDITVIEW:默认流程编辑视图、 WFMDATAVIEW:默认流程多项视图、 WFSTARTVIEW:默认流程启动视图、 WFACTIONVIEW:默认流程操作视图、 WFUTILACTIONVIEW:默认流程功能操作视图、 REDIRECTVIEW:默认数据重定向视图、 MOBPICKUPVIEW:移动端默认单选视图、 MOBEDITVIEW:移动端默认编辑视图、 MOBMAINVIEW:移动端默认主视图、 MOBINDEXDEPICKUPVIEW:移动端默认索引实体选择视图、 MOBFORMPICKUPVIEW:移动端默认多表单选择视图、 MOBMPICKUPVIEW:移动端默认多选视图、 MOBMDATAVIEW:移动端默认多项视图、 MOBWFEDITVIEW:移动端默认流程编辑视图、 MOBWFMDATAVIEW:移动端默认流程多项视图、 MOBWFSTARTVIEW:移动端默认流程启动视图、 MOBWFACTIONVIEW:移动端默认流程操作视图、 MOBWFUTILACTIONVIEW:移动端默认流程功能操作视图、 MOBREDIRECTVIEW:移动端默认数据重定向视图 }
11
- * @type {( string | 'PICKUPVIEW' | 'EDITVIEW' | 'MAINVIEW' | 'INDEXDEPICKUPVIEW' | 'FORMPICKUPVIEW' | 'MPICKUPVIEW' | 'MDATAVIEW' | 'WFEDITVIEW' | 'WFMDATAVIEW' | 'WFSTARTVIEW' | 'WFACTIONVIEW' | 'WFUTILACTIONVIEW' | 'REDIRECTVIEW' | 'MOBPICKUPVIEW' | 'MOBEDITVIEW' | 'MOBMAINVIEW' | 'MOBINDEXDEPICKUPVIEW' | 'MOBFORMPICKUPVIEW' | 'MOBMPICKUPVIEW' | 'MOBMDATAVIEW' | 'MOBWFEDITVIEW' | 'MOBWFMDATAVIEW' | 'MOBWFSTARTVIEW' | 'MOBWFACTIONVIEW' | 'MOBWFUTILACTIONVIEW' | 'MOBREDIRECTVIEW')}
12
- * 来源 getFuncViewMode
13
- */
14
- funcViewMode?: string | 'PICKUPVIEW' | 'EDITVIEW' | 'MAINVIEW' | 'INDEXDEPICKUPVIEW' | 'FORMPICKUPVIEW' | 'MPICKUPVIEW' | 'MDATAVIEW' | 'WFEDITVIEW' | 'WFMDATAVIEW' | 'WFSTARTVIEW' | 'WFACTIONVIEW' | 'WFUTILACTIONVIEW' | 'REDIRECTVIEW' | 'MOBPICKUPVIEW' | 'MOBEDITVIEW' | 'MOBMAINVIEW' | 'MOBINDEXDEPICKUPVIEW' | 'MOBFORMPICKUPVIEW' | 'MOBMPICKUPVIEW' | 'MOBMDATAVIEW' | 'MOBWFEDITVIEW' | 'MOBWFMDATAVIEW' | 'MOBWFSTARTVIEW' | 'MOBWFACTIONVIEW' | 'MOBWFUTILACTIONVIEW' | 'MOBREDIRECTVIEW';
15
- /**
16
- * 功能视图参数
17
- * @type {string}
18
- * 来源 getFuncViewParam
19
- */
20
- funcViewParam?: string;
21
- /**
22
- * 应用计数器引用
23
- *
24
- * @type {string}
25
- * 来源 getPSAppCounterRef
26
- */
27
- appCounterRefId?: string;
28
- /**
29
- * 实体视图代码名称
30
- * @type {string}
31
- * 来源 getPSDEViewCodeName
32
- */
33
- deviewCodeName?: string;
34
- /**
35
- * 实体视图标识
36
- * @type {string}
37
- * 来源 getPSDEViewId
38
- */
39
- deviewId?: string;
40
- /**
41
- * 父应用实体
42
- *
43
- * @type {string}
44
- * 来源 getParentPSAppDataEntity
45
- */
46
- parentAppDataEntityId?: string;
47
- /**
48
- * 临时数据模式
49
- * @description 值模式 [平台部件处理器临时数据模式] {0:无临时数据模式、 1:主数据模式、 2:从数据模式 }
50
- * @type {( number | 0 | 1 | 2)}
51
- * @default 0
52
- * 来源 getTempMode
53
- */
54
- tempMode?: number | 0 | 1 | 2;
55
- /**
56
- * 支持工作流
57
- * @type {boolean}
58
- * 来源 isEnableWF
59
- */
60
- enableWF?: boolean;
61
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,237 +0,0 @@
1
- import { IAppViewLogic } from './iapp-view-logic';
2
- import { IAppViewMsgGroup } from './iapp-view-msg-group';
3
- import { IAppViewNavContext } from './iapp-view-nav-context';
4
- import { IAppViewNavParam } from './iapp-view-nav-param';
5
- import { IAppViewParam } from './iapp-view-param';
6
- import { IAppViewRef } from './iapp-view-ref';
7
- import { IControl } from '../../control/icontrol';
8
- import { ILanguageRes } from '../../res/ilanguage-res';
9
- import { ISysCss } from '../../res/isys-css';
10
- import { ISysImage } from '../../res/isys-image';
11
- import { IModelObject } from '../../imodel-object';
12
- /**
13
- *
14
- * @export
15
- * @interface IAppViewBase
16
- */
17
- export interface IAppViewBase extends IModelObject {
18
- /**
19
- * 访问用户模式
20
- * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
21
- * @type {( number | 0 | 2 | 3 | 4)}
22
- * 来源 getAccUserMode
23
- */
24
- accUserMode?: number | 0 | 2 | 3 | 4;
25
- /**
26
- * 访问标识
27
- * @type {string}
28
- * 来源 getAccessKey
29
- */
30
- accessKey?: string;
31
- /**
32
- * 标题语言资源
33
- *
34
- * @type {ILanguageRes}
35
- * 来源 getCapPSLanguageRes
36
- */
37
- capLanguageRes?: ILanguageRes;
38
- /**
39
- * 视图标题
40
- * @type {string}
41
- * 来源 getCaption
42
- */
43
- caption?: string;
44
- /**
45
- * 代码标识
46
- * @type {string}
47
- * 来源 getCodeName
48
- */
49
- codeName?: string;
50
- /**
51
- * 完整代码标识
52
- * @type {string}
53
- * 来源 getFullCodeName
54
- */
55
- fullCodeName?: string;
56
- /**
57
- * 视图高度
58
- * @type {number}
59
- * @default 0
60
- * 来源 getHeight
61
- */
62
- height?: number;
63
- /**
64
- * @type {string}
65
- * 来源 getMainMenuAlign
66
- */
67
- mainMenuAlign?: string;
68
- /**
69
- * 视图打开模式
70
- * @type {string}
71
- * 来源 getOpenMode
72
- */
73
- openMode?: string;
74
- /**
75
- * 视图应用实体
76
- *
77
- * @type {string}
78
- * 来源 getPSAppDataEntity
79
- */
80
- appDataEntityId?: string;
81
- /**
82
- * 视图逻辑集合
83
- *
84
- * @type {IAppViewLogic[]}
85
- * 来源 getPSAppViewLogics
86
- */
87
- appViewLogics?: IAppViewLogic[];
88
- /**
89
- *
90
- * @type {IAppViewMsgGroup}
91
- * 来源 getPSAppViewMsgGroup
92
- */
93
- appViewMsgGroup?: IAppViewMsgGroup;
94
- /**
95
- * 视图导航上下文集合
96
- *
97
- * @type {IAppViewNavContext[]}
98
- * 来源 getPSAppViewNavContexts
99
- */
100
- appViewNavContexts?: IAppViewNavContext[];
101
- /**
102
- * 视图导航参数集合
103
- *
104
- * @type {IAppViewNavParam[]}
105
- * 来源 getPSAppViewNavParams
106
- */
107
- appViewNavParams?: IAppViewNavParam[];
108
- /**
109
- * 视图参数集合
110
- *
111
- * @type {IAppViewParam[]}
112
- * 来源 getPSAppViewParams
113
- */
114
- appViewParams?: IAppViewParam[];
115
- /**
116
- * 视图对象引用
117
- *
118
- * @type {IAppViewRef[]}
119
- * 来源 getPSAppViewRefs
120
- */
121
- appViewRefs?: IAppViewRef[];
122
- /**
123
- * 根部件集合
124
- *
125
- * @type {IControl[]}
126
- * 来源 getPSControls
127
- */
128
- controls?: IControl[];
129
- /**
130
- * 视图界面样式对象
131
- *
132
- * @type {ISysCss}
133
- * 来源 getPSSysCss
134
- */
135
- sysCss?: ISysCss;
136
- /**
137
- * 视图图标对象
138
- *
139
- * @type {ISysImage}
140
- * 来源 getPSSysImage
141
- */
142
- sysImage?: ISysImage;
143
- /**
144
- * 前端应用插件
145
- *
146
- * @type {string}
147
- * 来源 getPSSysPFPlugin
148
- */
149
- sysPFPluginId?: string;
150
- /**
151
- * 视图优先级
152
- * @type {number}
153
- * @default -1
154
- * 来源 getPriority
155
- */
156
- priority?: number;
157
- /**
158
- * 实际引用视图
159
- *
160
- * @type {string}
161
- * 来源 getRefPSAppView
162
- */
163
- refAppViewId?: string;
164
- /**
165
- * 子标题语言资源
166
- *
167
- * @type {ILanguageRes}
168
- * 来源 getSubCapPSLanguageRes
169
- */
170
- subCapLanguageRes?: ILanguageRes;
171
- /**
172
- * 视图子标题
173
- * @type {string}
174
- * 来源 getSubCaption
175
- */
176
- subCaption?: string;
177
- /**
178
- * 视图抬头
179
- * @type {string}
180
- * 来源 getTitle
181
- */
182
- title?: string;
183
- /**
184
- * 抬头语言资源
185
- *
186
- * @type {ILanguageRes}
187
- * 来源 getTitlePSLanguageRes
188
- */
189
- titleLanguageRes?: ILanguageRes;
190
- /**
191
- * 视图类型
192
- * @description 值模式 [平台视图类型]
193
- * @type {string}
194
- * 来源 getViewType
195
- */
196
- viewType?: string;
197
- /**
198
- * 视图宽度
199
- * @type {number}
200
- * @default 0
201
- * 来源 getWidth
202
- */
203
- width?: number;
204
- /**
205
- * 启用数据权限
206
- * @type {boolean}
207
- * 来源 isEnableDP
208
- */
209
- enableDP?: boolean;
210
- /**
211
- * 支持工作流
212
- * @type {boolean}
213
- * 来源 isEnableWF
214
- */
215
- enableWF?: boolean;
216
- /**
217
- * 数据选择视图
218
- * @type {boolean}
219
- * @default false
220
- * 来源 isPickupMode
221
- */
222
- pickupMode?: boolean;
223
- /**
224
- * 重定向视图
225
- * @type {boolean}
226
- * @default false
227
- * 来源 isRedirectView
228
- */
229
- redirectView?: boolean;
230
- /**
231
- * 显示标题栏
232
- * @type {boolean}
233
- * @default true
234
- * 来源 isShowCaptionBar
235
- */
236
- showCaptionBar?: boolean;
237
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,48 +0,0 @@
1
- import { IModelObject } from '../../imodel-object';
2
- /**
3
- *
4
- * @export
5
- * @interface IAppViewUIAction
6
- */
7
- export interface IAppViewUIAction extends IModelObject {
8
- /**
9
- * 应用计数器引用
10
- *
11
- * @type {string}
12
- * 来源 getPSAppCounterRef
13
- */
14
- appCounterRefId?: string;
15
- /**
16
- * 界面行为对象
17
- *
18
- * @type {string}
19
- * 来源 getPSUIAction
20
- */
21
- uiactionId?: string;
22
- /**
23
- * 界面行为参数
24
- * @type {IModel}
25
- * 来源 getUIActionParamJO
26
- */
27
- uiactionParamJO?: IModel;
28
- /**
29
- * 界面行为操作目标
30
- * @description 值模式 [云实体界面行为_操作数据范围] {SINGLEDATA:单项数据、 SINGLEKEY:单项数据(主键)、 MULTIDATA:多项数据、 MULTIKEY:多项数据(主键)、 NONE:无数据 }
31
- * @type {( string | 'SINGLEDATA' | 'SINGLEKEY' | 'MULTIDATA' | 'MULTIKEY' | 'NONE')}
32
- * 来源 getUIActionTarget
33
- */
34
- uiactionTarget?: string | 'SINGLEDATA' | 'SINGLEKEY' | 'MULTIDATA' | 'MULTIKEY' | 'NONE';
35
- /**
36
- * 界面行为数据部件名称
37
- * @type {string}
38
- * 来源 getXDataControlName
39
- */
40
- xdataControlName?: string;
41
- /**
42
- * 先保存目标数据
43
- * @type {boolean}
44
- * @default false
45
- * 来源 isSaveTargetFirst
46
- */
47
- saveTargetFirst?: boolean;
48
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { IUIActionItem } from './iuiaction-item';
2
- /**
3
- *
4
- * @export
5
- * @interface IDEUIActionItem
6
- */
7
- export type IDEUIActionItem = IUIActionItem;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { IAppViewUIAction } from './iapp-view-uiaction';
2
- /**
3
- *
4
- * @export
5
- * @interface IUIActionItem
6
- */
7
- export interface IUIActionItem extends IAppViewUIAction {
8
- /**
9
- * 应用视图界面行为
10
- *
11
- * @type {string}
12
- * 来源 getPSAppViewUIAction
13
- */
14
- appViewUIActionId?: string;
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { IUIActionItem } from './iuiaction-item';
2
- /**
3
- *
4
- * @export
5
- * @interface IWFUIActionItem
6
- */
7
- export type IWFUIActionItem = IUIActionItem;
@@ -1 +0,0 @@
1
- export {};