@ibiz/model-core 0.1.16 → 0.1.17

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,13 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.17] - 2024-03-19
11
+
12
+ ### Added
13
+
14
+ - 关系界面组成员增加启用判断数据访问标识和启用模式
15
+ - 实体表格、树节点增加支持行编辑仅提交变化值
16
+
10
17
  ## [0.1.13] - 2024-02-27
11
18
 
12
19
  ### 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}
@@ -68,4 +68,11 @@ export interface IDETreeNodeColumn extends IControlItem {
68
68
  * 来源 isEnableRowEdit
69
69
  */
70
70
  enableRowEdit?: boolean;
71
+ /**
72
+ * 行编辑仅提交变化值
73
+ * @type {boolean}
74
+ * @default false
75
+ * 来源 isEnableRowEditChangedOnly
76
+ */
77
+ enableRowEditChangedOnly?: boolean;
71
78
  }
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.17",
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}
@@ -77,4 +77,12 @@ export interface IDETreeNodeColumn extends IControlItem {
77
77
  * 来源 isEnableRowEdit
78
78
  */
79
79
  enableRowEdit?: boolean;
80
+
81
+ /**
82
+ * 行编辑仅提交变化值
83
+ * @type {boolean}
84
+ * @default false
85
+ * 来源 isEnableRowEditChangedOnly
86
+ */
87
+ enableRowEditChangedOnly?: boolean;
80
88
  }