@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
@@ -7,12 +7,6 @@ import { IDEToolbarItem } from './idetoolbar-item';
7
7
  * @interface IDEToolbar
8
8
  */
9
9
  export interface IDEToolbar extends IControl {
10
- /**
11
- * 工具栏所有者
12
- * @type {IModel}
13
- * 来源 getOwner
14
- */
15
- owner?: IModel;
16
10
  /**
17
11
  * 工具栏项集合
18
12
  *
@@ -26,4 +20,10 @@ export interface IDEToolbar extends IControl {
26
20
  * 来源 getToolbarStyle
27
21
  */
28
22
  toolbarStyle?: string;
23
+ /**
24
+ * 界面行为数据部件名称
25
+ * @type {string}
26
+ * 来源 getXDataControlName
27
+ */
28
+ xdataControlName?: string;
29
29
  }
package/out/exports.d.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,29 @@
1
+ import { ILanguageRes } from './ilanguage-res';
2
+ import { IModelObject } from '../imodel-object';
3
+ /**
4
+ *
5
+ * @export
6
+ * @interface ICtrlMsgItem
7
+ */
8
+ export interface ICtrlMsgItem extends IModelObject {
9
+ /**
10
+ * 内容
11
+ * @type {string}
12
+ * 来源 getContent
13
+ */
14
+ content?: string;
15
+ /**
16
+ * 内容语言资源
17
+ *
18
+ * @type {ILanguageRes}
19
+ * 来源 getContentPSLanguageRes
20
+ */
21
+ contentLanguageRes?: ILanguageRes;
22
+ /**
23
+ * 显示时长(毫秒)
24
+ * @type {number}
25
+ * @default -1
26
+ * 来源 getTimeout
27
+ */
28
+ timeout?: number;
29
+ }
@@ -1,3 +1,4 @@
1
+ import { ICtrlMsgItem } from './ictrl-msg-item';
1
2
  import { IModelObject } from '../imodel-object';
2
3
  /**
3
4
  *
@@ -17,4 +18,11 @@ export interface ICtrlMsg extends IModelObject {
17
18
  * 来源 getMsgModel
18
19
  */
19
20
  msgModel?: string;
21
+ /**
22
+ * 部件消息项集合
23
+ *
24
+ * @type {ICtrlMsgItem[]}
25
+ * 来源 getPSCtrlMsgItems
26
+ */
27
+ ctrlMsgItems?: ICtrlMsgItem[];
20
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -1,13 +1,8 @@
1
1
  import { IAppUILogicRefViewBase } from './iapp-uilogic-ref-view-base';
2
- import { IAppDEViewBase } from '../view/iapp-deview-base';
3
- import { IAppViewBase } from '../view/iapp-view-base';
4
2
 
5
3
  /**
6
4
  *
7
5
  * @export
8
6
  * @interface IAppUILogicRefView
9
7
  */
10
- export interface IAppUILogicRefView
11
- extends IAppUILogicRefViewBase,
12
- IAppViewBase,
13
- IAppDEViewBase {}
8
+ export type IAppUILogicRefView = IAppUILogicRefViewBase
@@ -15,6 +15,14 @@ export interface IAppUINewDataLogic extends IAppUILogic {
15
15
  */
16
16
  actionAfterWizard?: string;
17
17
 
18
+ /**
19
+ * 批添加应用实体方法
20
+ *
21
+ * @type {string}
22
+ * 来源 getBatchAddPSAppDEAction
23
+ */
24
+ batchAddAppDEActionId?: string;
25
+
18
26
  /**
19
27
  * 批添加新建数据视图集合
20
28
  *
@@ -7,22 +7,6 @@ import { IModelObject } from '../../imodel-object';
7
7
  * @interface IAppDESearchView
8
8
  */
9
9
  export interface IAppDESearchView extends IModelObject {
10
- /**
11
- * 支持快速搜索
12
- * @type {boolean}
13
- * @default false
14
- * 来源 isEnableQuickSearch
15
- */
16
- enableQuickSearch?: boolean;
17
-
18
- /**
19
- * 支持搜索
20
- * @type {boolean}
21
- * @default false
22
- * 来源 isEnableSearch
23
- */
24
- enableSearch?: boolean;
25
-
26
10
  /**
27
11
  * 默认展开搜索表单
28
12
  * @type {boolean}
@@ -5,20 +5,4 @@ import { IModelObject } from '../../imodel-object';
5
5
  * @export
6
6
  * @interface IAppDESearchView2
7
7
  */
8
- export interface IAppDESearchView2 extends IModelObject {
9
- /**
10
- * 快速分组代码表
11
- *
12
- * @type {string}
13
- * 来源 getQuickGroupPSCodeList
14
- */
15
- quickGroupCodeListId?: string;
16
-
17
- /**
18
- * 支持快速分组搜索
19
- * @type {boolean}
20
- * @default false
21
- * 来源 isEnableQuickGroup
22
- */
23
- enableQuickGroup?: boolean;
24
- }
8
+ export type IAppDESearchView2 = IModelObject
@@ -1,5 +1,4 @@
1
1
  import { IAppDERS } from '../dataentity/iapp-ders';
2
- import { IAppDEViewBase } from './iapp-deview-base';
3
2
  import { IAppView } from './iapp-view';
4
3
 
5
4
  /**
@@ -9,9 +8,90 @@ import { IAppView } from './iapp-view';
9
8
  * @export
10
9
  * @interface IAppDEView
11
10
  */
12
- export interface IAppDEView extends IAppView, IAppDEViewBase {
11
+ export interface IAppDEView extends IAppView {
13
12
  /**
14
13
  * 获取应用实体视图的关系集合
15
14
  */
16
15
  appDERSPaths: IAppDERS[][];
16
+
17
+ /**
18
+ * 功能视图模式
19
+ * @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:移动端默认数据重定向视图 }
20
+ * @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')}
21
+ * 来源 getFuncViewMode
22
+ */
23
+ funcViewMode?:
24
+ | string
25
+ | 'PICKUPVIEW'
26
+ | 'EDITVIEW'
27
+ | 'MAINVIEW'
28
+ | 'INDEXDEPICKUPVIEW'
29
+ | 'FORMPICKUPVIEW'
30
+ | 'MPICKUPVIEW'
31
+ | 'MDATAVIEW'
32
+ | 'WFEDITVIEW'
33
+ | 'WFMDATAVIEW'
34
+ | 'WFSTARTVIEW'
35
+ | 'WFACTIONVIEW'
36
+ | 'WFUTILACTIONVIEW'
37
+ | 'REDIRECTVIEW'
38
+ | 'MOBPICKUPVIEW'
39
+ | 'MOBEDITVIEW'
40
+ | 'MOBMAINVIEW'
41
+ | 'MOBINDEXDEPICKUPVIEW'
42
+ | 'MOBFORMPICKUPVIEW'
43
+ | 'MOBMPICKUPVIEW'
44
+ | 'MOBMDATAVIEW'
45
+ | 'MOBWFEDITVIEW'
46
+ | 'MOBWFMDATAVIEW'
47
+ | 'MOBWFSTARTVIEW'
48
+ | 'MOBWFACTIONVIEW'
49
+ | 'MOBWFUTILACTIONVIEW'
50
+ | 'MOBREDIRECTVIEW';
51
+
52
+ /**
53
+ * 功能视图参数
54
+ * @type {string}
55
+ * 来源 getFuncViewParam
56
+ */
57
+ funcViewParam?: string;
58
+
59
+ /**
60
+ * 应用计数器引用
61
+ *
62
+ * @type {string}
63
+ * 来源 getPSAppCounterRef
64
+ */
65
+ appCounterRefId?: string;
66
+
67
+ /**
68
+ * 实体视图代码名称
69
+ * @type {string}
70
+ * 来源 getPSDEViewCodeName
71
+ */
72
+ deviewCodeName?: string;
73
+
74
+ /**
75
+ * 实体视图标识
76
+ * @type {string}
77
+ * 来源 getPSDEViewId
78
+ */
79
+ deviewId?: string;
80
+
81
+ /**
82
+ * 临时数据模式
83
+ * @description 值模式 [平台部件处理器临时数据模式] {0:无临时数据模式、 1:主数据模式、 2:从数据模式 }
84
+ * @type {( number | 0 | 1 | 2)}
85
+ * @default 0
86
+ * 来源 getTempMode
87
+ */
88
+ tempMode?: number | 0 | 1 | 2;
89
+
90
+ /**
91
+ * 支持工作流
92
+ * @type {boolean}
93
+ * @default false
94
+ * 来源 isEnableWF
95
+ */
96
+ enableWF?: boolean;
17
97
  }
@@ -133,14 +133,6 @@ export interface IAppViewLogic extends IModelObject {
133
133
  */
134
134
  appViewLogicId?: string;
135
135
 
136
- /**
137
- * 视图界面行为
138
- *
139
- * @type {string}
140
- * 来源 getPSAppViewUIAction
141
- */
142
- appViewUIActionId?: string;
143
-
144
136
  /**
145
137
  * 部件名称
146
138
  * @type {string}
@@ -1,9 +1,9 @@
1
- import { IAppViewBase } from './iapp-view-base';
2
1
  import { IAppViewEngine } from './iapp-view-engine';
3
2
  import { IAppViewLogic } from './iapp-view-logic';
3
+ import { IAppViewNavContext } from './iapp-view-nav-context';
4
+ import { IAppViewNavParam } from './iapp-view-nav-param';
4
5
  import { IAppViewParam } from './iapp-view-param';
5
6
  import { IAppViewRef } from './iapp-view-ref';
6
- import { IAppViewUIAction } from './iapp-view-uiaction';
7
7
  import { IControl } from '../../control/icontrol';
8
8
  import { IControlContainer } from '../../control/icontrol-container';
9
9
  import { IViewLayoutPanel } from '../../control/panel/iview-layout-panel';
@@ -17,7 +17,7 @@ import { ISysImage } from '../../res/isys-image';
17
17
  * @export
18
18
  * @interface IAppView
19
19
  */
20
- export interface IAppView extends IAppViewBase, IControlContainer {
20
+ export interface IAppView extends IControlContainer {
21
21
  /**
22
22
  * 访问用户模式
23
23
  * @description 值模式 [视图访问用户] {0:未指定、 2:登录用户、 3:匿名用户及登录用户、 4:登录用户且拥有指定资源能力 }
@@ -103,6 +103,14 @@ export interface IAppView extends IAppViewBase, IControlContainer {
103
103
  | 'USER3'
104
104
  | 'USER4';
105
105
 
106
+ /**
107
+ * 视图应用实体
108
+ *
109
+ * @type {string}
110
+ * 来源 getPSAppDataEntity
111
+ */
112
+ appDataEntityId?: string;
113
+
106
114
  /**
107
115
  * 视图界面引擎集合
108
116
  *
@@ -127,6 +135,22 @@ export interface IAppView extends IAppViewBase, IControlContainer {
127
135
  */
128
136
  appViewMsgGroupId?: string;
129
137
 
138
+ /**
139
+ * 视图导航上下文集合
140
+ *
141
+ * @type {IAppViewNavContext[]}
142
+ * 来源 getPSAppViewNavContexts
143
+ */
144
+ appViewNavContexts?: IAppViewNavContext[];
145
+
146
+ /**
147
+ * 视图导航参数集合
148
+ *
149
+ * @type {IAppViewNavParam[]}
150
+ * 来源 getPSAppViewNavParams
151
+ */
152
+ appViewNavParams?: IAppViewNavParam[];
153
+
130
154
  /**
131
155
  * 视图参数集合
132
156
  *
@@ -143,14 +167,6 @@ export interface IAppView extends IAppViewBase, IControlContainer {
143
167
  */
144
168
  appViewRefs?: IAppViewRef[];
145
169
 
146
- /**
147
- * 视图界面行为集合
148
- *
149
- * @type {IAppViewUIAction[]}
150
- * 来源 getPSAppViewUIActions
151
- */
152
- appViewUIActions?: IAppViewUIAction[];
153
-
154
170
  /**
155
171
  * 根部件集合
156
172
  *
@@ -191,6 +207,14 @@ export interface IAppView extends IAppViewBase, IControlContainer {
191
207
  */
192
208
  viewLayoutPanel?: IViewLayoutPanel;
193
209
 
210
+ /**
211
+ * 视图优先级
212
+ * @type {number}
213
+ * @default -1
214
+ * 来源 getPriority
215
+ */
216
+ priority?: number;
217
+
194
218
  /**
195
219
  * 子标题语言资源
196
220
  *
@@ -54,14 +54,6 @@ export interface ISysCalendarItem extends IDECalendarItem {
54
54
  */
55
55
  createDEOPPrivId?: string;
56
56
 
57
- /**
58
- * 日历项默认行为
59
- *
60
- * @type {string}
61
- * 来源 getDefaultPSUIAction
62
- */
63
- defaultUIActionId?: string;
64
-
65
57
  /**
66
58
  * 结束时间应用实体属性
67
59
  *
@@ -110,6 +102,14 @@ export interface ISysCalendarItem extends IDECalendarItem {
110
102
  */
111
103
  sysPFPluginId?: string;
112
104
 
105
+ /**
106
+ * 日历项默认行为
107
+ *
108
+ * @type {string}
109
+ * 来源 getPSUIAction
110
+ */
111
+ uiactionId?: string;
112
+
113
113
  /**
114
114
  * 删除数据应用实体行为
115
115
  *
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IDBPortletPart } from './idbportlet-part';
2
3
 
3
4
  /**
@@ -6,4 +7,6 @@ import { IDBPortletPart } from './idbportlet-part';
6
7
  * @export
7
8
  * @interface IDBRawItemPortletPart
8
9
  */
9
- export type IDBRawItemPortletPart = IDBPortletPart
10
+ export interface IDBRawItemPortletPart
11
+ extends IDBPortletPart,
12
+ IRawItemContainer {}
@@ -1,4 +1,3 @@
1
- import { IUIActionItem } from '../../app/view/iuiaction-item';
2
1
  import { INavigateParamContainer } from '../inavigate-param-container';
3
2
  import { IDEFormDetail } from './ideform-detail';
4
3
 
@@ -8,10 +7,7 @@ import { IDEFormDetail } from './ideform-detail';
8
7
  * @export
9
8
  * @interface IDEFormButton
10
9
  */
11
- export interface IDEFormButton
12
- extends IDEFormDetail,
13
- IUIActionItem,
14
- INavigateParamContainer {
10
+ export interface IDEFormButton extends IDEFormDetail, INavigateParamContainer {
15
11
  /**
16
12
  * 按钮行为类型
17
13
  * @description 值模式 [实体表单按钮行为类型] {UIACTION:界面行为、 FIUPDATE:表单项更新 }
@@ -1,3 +1,4 @@
1
+ import { IRawItemContainer } from '../iraw-item-container';
1
2
  import { IDEFormDetail } from './ideform-detail';
2
3
 
3
4
  /**
@@ -6,4 +7,4 @@ import { IDEFormDetail } from './ideform-detail';
6
7
  * @export
7
8
  * @interface IDEFormRawItem
8
9
  */
9
- export type IDEFormRawItem = IDEFormDetail
10
+ export interface IDEFormRawItem extends IDEFormDetail, IRawItemContainer {}
@@ -93,6 +93,22 @@ export interface IDEGrid
93
93
  */
94
94
  emptyTextLanguageRes?: ILanguageRes;
95
95
 
96
+ /**
97
+ * 固定起始列数
98
+ * @type {number}
99
+ * @default 0
100
+ * 来源 getFrozenFirstColumn
101
+ */
102
+ frozenFirstColumn?: number;
103
+
104
+ /**
105
+ * 固定末尾列数
106
+ * @type {number}
107
+ * @default 0
108
+ * 来源 getFrozenLastColumn
109
+ */
110
+ frozenLastColumn?: number;
111
+
96
112
  /**
97
113
  * 获取草稿数据行为(拷贝)
98
114
  *
@@ -2,7 +2,6 @@ import { IAppCounterRef } from '../app/control/iapp-counter-ref';
2
2
  import { IAppViewEngine } from '../app/view/iapp-view-engine';
3
3
  import { IAppViewLogic } from '../app/view/iapp-view-logic';
4
4
  import { IAppViewRef } from '../app/view/iapp-view-ref';
5
- import { IAppViewUIAction } from '../app/view/iapp-view-uiaction';
6
5
  import { IControl } from './icontrol';
7
6
  import { IModelObject } from '../imodel-object';
8
7
 
@@ -44,14 +43,6 @@ export interface IControlContainer extends IModelObject {
44
43
  */
45
44
  appViewRefs?: IAppViewRef[];
46
45
 
47
- /**
48
- * 视图界面行为集合
49
- *
50
- * @type {IAppViewUIAction[]}
51
- * 来源 getPSAppViewUIActions
52
- */
53
- appViewUIActions?: IAppViewUIAction[];
54
-
55
46
  /**
56
47
  * 根部件集合
57
48
  *
@@ -50,10 +50,22 @@ export interface IControlLogic extends IModelObject {
50
50
 
51
51
  /**
52
52
  * 触发逻辑类型
53
- * @type {string}
53
+ * @description 值模式 [部件逻辑目标类型] {APPDEUILOGIC:应用实体界面逻辑、 APPDEUIACTION:应用实体界面行为、 APPUILOGIC:应用预置界面逻辑、 APPVIEWLOGIC:视图逻辑、 APPVIEWENGINE:视图引擎、 PFPLUGIN:前端扩展插件、 SCRIPT:脚本代码、 DEUILOGIC:实体界面逻辑(兼容)、 DEUIACTION:实体界面行为(兼容)、 SYSVIEWLOGIC:系统预置界面逻辑(兼容) }
54
+ * @type {( string | 'APPDEUILOGIC' | 'APPDEUIACTION' | 'APPUILOGIC' | 'APPVIEWLOGIC' | 'APPVIEWENGINE' | 'PFPLUGIN' | 'SCRIPT' | 'DEUILOGIC' | 'DEUIACTION' | 'SYSVIEWLOGIC')}
54
55
  * 来源 getLogicType
55
56
  */
56
- logicType?: string;
57
+ logicType?:
58
+ | string
59
+ | 'APPDEUILOGIC'
60
+ | 'APPDEUIACTION'
61
+ | 'APPUILOGIC'
62
+ | 'APPVIEWLOGIC'
63
+ | 'APPVIEWENGINE'
64
+ | 'PFPLUGIN'
65
+ | 'SCRIPT'
66
+ | 'DEUILOGIC'
67
+ | 'DEUIACTION'
68
+ | 'SYSVIEWLOGIC';
57
69
 
58
70
  /**
59
71
  * 逻辑名称
@@ -62,6 +74,14 @@ export interface IControlLogic extends IModelObject {
62
74
  */
63
75
  name?: string;
64
76
 
77
+ /**
78
+ * 触发应用实体界面行为
79
+ *
80
+ * @type {string}
81
+ * 来源 getPSAppDEUIAction
82
+ */
83
+ appDEUIActionId?: string;
84
+
65
85
  /**
66
86
  * 触发应用实体界面逻辑
67
87
  *
@@ -119,10 +139,19 @@ export interface IControlLogic extends IModelObject {
119
139
 
120
140
  /**
121
141
  * 触发器类型
122
- * @description 值模式 [部件逻辑类型] {TIMER:定时器触发、 CTRLEVENT:部件事件触发、 CUSTOM:只挂接(外部调用) }
123
- * @type {( string | 'TIMER' | 'CTRLEVENT' | 'CUSTOM')}
142
+ * @description 值模式 [部件逻辑类型] {TIMER:定时器触发、 CTRLEVENT:部件事件触发、 ITEMVISIBLE:项显示逻辑、 ITEMENABLE:项启用逻辑、 ITEMBLANK:项空输入逻辑、 ATTRIBUTE:注入属性、 CUSTOM:只挂接(外部调用)、 VUE_DIRECTIVE:VUE指令 }
143
+ * @type {( string | 'TIMER' | 'CTRLEVENT' | 'ITEMVISIBLE' | 'ITEMENABLE' | 'ITEMBLANK' | 'ATTRIBUTE' | 'CUSTOM' | 'VUE_DIRECTIVE')}
124
144
  * @default CTRLEVENT
125
145
  * 来源 getTriggerType
126
146
  */
127
- triggerType?: string | 'TIMER' | 'CTRLEVENT' | 'CUSTOM';
147
+ triggerType?:
148
+ | string
149
+ | 'TIMER'
150
+ | 'CTRLEVENT'
151
+ | 'ITEMVISIBLE'
152
+ | 'ITEMENABLE'
153
+ | 'ITEMBLANK'
154
+ | 'ATTRIBUTE'
155
+ | 'CUSTOM'
156
+ | 'VUE_DIRECTIVE';
128
157
  }
@@ -6,29 +6,6 @@ import { IControlXDataContainer } from './icontrol-xdata-container';
6
6
  * @interface IControlMDataContainer
7
7
  */
8
8
  export interface IControlMDataContainer extends IControlXDataContainer {
9
- /**
10
- * 支持数据导出
11
- * @type {boolean}
12
- * @default false
13
- * 来源 isEnableExport
14
- */
15
- enableExport?: boolean;
16
-
17
- /**
18
- * 支持数据过滤
19
- * @type {boolean}
20
- * 来源 isEnableFilter
21
- */
22
- enableFilter?: boolean;
23
-
24
- /**
25
- * 支持数据导入
26
- * @type {boolean}
27
- * @default false
28
- * 来源 isEnableImport
29
- */
30
- enableImport?: boolean;
31
-
32
9
  /**
33
10
  * 启用快速建立
34
11
  * @type {boolean}
@@ -36,22 +13,6 @@ export interface IControlMDataContainer extends IControlXDataContainer {
36
13
  */
37
14
  enableQuickCreate?: boolean;
38
15
 
39
- /**
40
- * 支持快速搜索
41
- * @type {boolean}
42
- * @default false
43
- * 来源 isEnableQuickSearch
44
- */
45
- enableQuickSearch?: boolean;
46
-
47
- /**
48
- * 支持搜索
49
- * @type {boolean}
50
- * @default false
51
- * 来源 isEnableSearch
52
- */
53
- enableSearch?: boolean;
54
-
55
16
  /**
56
17
  * 支持查看数据
57
18
  * @type {boolean}
@@ -6,6 +6,14 @@ import { IModelObject } from '../imodel-object';
6
6
  * @interface IControlXDataContainer
7
7
  */
8
8
  export interface IControlXDataContainer extends IModelObject {
9
+ /**
10
+ * 应用实体对象
11
+ *
12
+ * @type {string}
13
+ * 来源 getPSAppDataEntity
14
+ */
15
+ appDataEntityId?: string;
16
+
9
17
  /**
10
18
  * 支持编辑数据
11
19
  * @type {boolean}
@@ -34,12 +42,4 @@ export interface IControlXDataContainer extends IModelObject {
34
42
  * 来源 isLoadDefault
35
43
  */
36
44
  loadDefault?: boolean;
37
-
38
- /**
39
- * 只读模式
40
- * @type {boolean}
41
- * @default false
42
- * 来源 isReadOnly
43
- */
44
- readOnly?: boolean;
45
45
  }
@@ -1,6 +1,7 @@
1
1
  import { IControlAction } from './icontrol-action';
2
2
  import { IControlLogic } from './icontrol-logic';
3
3
  import { IControlParam } from './icontrol-param';
4
+ import { ICtrlMsg } from '../res/ictrl-msg';
4
5
  import { ISysCss } from '../res/isys-css';
5
6
  import { IModelObject } from '../imodel-object';
6
7
 
@@ -82,13 +83,6 @@ export interface IControl extends IModelObject {
82
83
  */
83
84
  height?: number;
84
85
 
85
- /**
86
- * 监控事件名称集合
87
- *
88
- * 来源 getHookEventNames
89
- */
90
- hookEventNames?: string[];
91
-
92
86
  /**
93
87
  * 部件逻辑名称
94
88
  * @type {string}
@@ -120,6 +114,14 @@ export interface IControl extends IModelObject {
120
114
  */
121
115
  controlParam?: IControlParam;
122
116
 
117
+ /**
118
+ * 部件消息
119
+ *
120
+ * @type {ICtrlMsg}
121
+ * 来源 getPSCtrlMsg
122
+ */
123
+ ctrlMsg?: ICtrlMsg;
124
+
123
125
  /**
124
126
  * 界面样式
125
127
  *