@ibiz/model-core 0.1.16 → 0.1.18

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.18] - 2024-03-20
11
+
12
+ ### Added
13
+
14
+ - 树节点增加支持行编辑仅提交变化值
15
+
16
+ ## [0.1.17] - 2024-03-19
17
+
18
+ ### Added
19
+
20
+ - 关系界面组成员增加启用判断数据访问标识和启用模式
21
+ - 实体表格、树节点增加支持行编辑仅提交变化值
22
+
10
23
  ## [0.1.13] - 2024-02-27
11
24
 
12
25
  ### Added
@@ -27,6 +27,19 @@ export interface IDEDRCtrlItem extends IControlItem, INavigateParamContainer {
27
27
  * 来源 getCounterId
28
28
  */
29
29
  counterId?: string;
30
+ /**
31
+ * 启用判断数据访问标识
32
+ * @type {string}
33
+ * 来源 getDataAccessAction
34
+ */
35
+ dataAccessAction?: string;
36
+ /**
37
+ * 启用模式
38
+ * @description 值模式 [关系界面组成员启用模式] {ALL:全部启用、 INWF:流程中启用、 ALLWF:全部流程状态启用、 EDIT:编辑时启用、 DEOPPRIV:实体操作标识、 CUSTOM:自定义 }
39
+ * @type {( string | 'ALL' | 'INWF' | 'ALLWF' | 'EDIT' | 'DEOPPRIV' | 'CUSTOM')}
40
+ * 来源 getEnableMode
41
+ */
42
+ enableMode?: string | 'ALL' | 'INWF' | 'ALLWF' | 'EDIT' | 'DEOPPRIV' | 'CUSTOM';
30
43
  /**
31
44
  * 关联视图
32
45
  *
@@ -255,6 +255,13 @@ export interface IDEGrid extends IMDAjaxControl, IControlContainer, IControlNavi
255
255
  * 来源 isEnableRowEdit
256
256
  */
257
257
  enableRowEdit?: boolean;
258
+ /**
259
+ * 支持行编辑仅提交变化值
260
+ * @type {boolean}
261
+ * @default false
262
+ * 来源 isEnableRowEditChangedOnly
263
+ */
264
+ enableRowEditChangedOnly?: boolean;
258
265
  /**
259
266
  * 支持行次序调整
260
267
  * @type {boolean}
@@ -218,6 +218,20 @@ export interface IDETreeNode extends IControlItem, IControlXDataContainer, ICont
218
218
  * 来源 isEnableQuickSearch
219
219
  */
220
220
  enableQuickSearch?: boolean;
221
+ /**
222
+ * 支持行编辑
223
+ * @type {boolean}
224
+ * @default false
225
+ * 来源 isEnableRowEdit
226
+ */
227
+ enableRowEdit?: boolean;
228
+ /**
229
+ * 行编辑仅提交变化值
230
+ * @type {boolean}
231
+ * @default false
232
+ * 来源 isEnableRowEditChangedOnly
233
+ */
234
+ enableRowEditChangedOnly?: boolean;
221
235
  /**
222
236
  * 仅展开首节点
223
237
  * @type {boolean}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -31,6 +31,28 @@ export interface IDEDRCtrlItem extends IControlItem, INavigateParamContainer {
31
31
  */
32
32
  counterId?: string;
33
33
 
34
+ /**
35
+ * 启用判断数据访问标识
36
+ * @type {string}
37
+ * 来源 getDataAccessAction
38
+ */
39
+ dataAccessAction?: string;
40
+
41
+ /**
42
+ * 启用模式
43
+ * @description 值模式 [关系界面组成员启用模式] {ALL:全部启用、 INWF:流程中启用、 ALLWF:全部流程状态启用、 EDIT:编辑时启用、 DEOPPRIV:实体操作标识、 CUSTOM:自定义 }
44
+ * @type {( string | 'ALL' | 'INWF' | 'ALLWF' | 'EDIT' | 'DEOPPRIV' | 'CUSTOM')}
45
+ * 来源 getEnableMode
46
+ */
47
+ enableMode?:
48
+ | string
49
+ | 'ALL'
50
+ | 'INWF'
51
+ | 'ALLWF'
52
+ | 'EDIT'
53
+ | 'DEOPPRIV'
54
+ | 'CUSTOM';
55
+
34
56
  /**
35
57
  * 关联视图
36
58
  *
@@ -302,6 +302,14 @@ export interface IDEGrid
302
302
  */
303
303
  enableRowEdit?: boolean;
304
304
 
305
+ /**
306
+ * 支持行编辑仅提交变化值
307
+ * @type {boolean}
308
+ * @default false
309
+ * 来源 isEnableRowEditChangedOnly
310
+ */
311
+ enableRowEditChangedOnly?: boolean;
312
+
305
313
  /**
306
314
  * 支持行次序调整
307
315
  * @type {boolean}
@@ -253,6 +253,22 @@ export interface IDETreeNode
253
253
  */
254
254
  enableQuickSearch?: boolean;
255
255
 
256
+ /**
257
+ * 支持行编辑
258
+ * @type {boolean}
259
+ * @default false
260
+ * 来源 isEnableRowEdit
261
+ */
262
+ enableRowEdit?: boolean;
263
+
264
+ /**
265
+ * 行编辑仅提交变化值
266
+ * @type {boolean}
267
+ * @default false
268
+ * 来源 isEnableRowEditChangedOnly
269
+ */
270
+ enableRowEditChangedOnly?: boolean;
271
+
256
272
  /**
257
273
  * 仅展开首节点
258
274
  * @type {boolean}