@ibiz/model-core 0.1.11 → 0.1.12

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,15 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.12] - 2024-02-21
11
+
12
+ ### Added
13
+
14
+ - 系统计数器、应用计数器新增参数 navigateContexts、navigateParams、uniqueTag
15
+ - 实体界面行为组新增参数 appDataEntityId
16
+ - 编辑表单新增参数 appCounterRefId
17
+ - 表单新增参数 counterId、counterMode、appCounterRefId
18
+
10
19
  ## [0.1.11] - 2024-02-04
11
20
 
12
21
  ### Added
@@ -5,6 +5,13 @@ import { IDEUIActionGroup } from '../../dataentity/uiaction/ideuiaction-group';
5
5
  * @interface IAppDEUIActionGroup
6
6
  */
7
7
  export interface IAppDEUIActionGroup extends IDEUIActionGroup {
8
+ /**
9
+ * 应用实体
10
+ *
11
+ * @type {string}
12
+ * 来源 getPSAppDataEntity
13
+ */
14
+ appDataEntityId?: string;
8
15
  /**
9
16
  * 唯一标记
10
17
  * @type {string}
@@ -26,7 +26,7 @@ export interface IAppDEEditView extends IAppDEView, IAppDataRelationView, IAppDE
26
26
  /**
27
27
  * 启用脏检查
28
28
  * @type {boolean}
29
- * @default false
29
+ * @default true
30
30
  * 来源 isEnableDirtyChecking
31
31
  */
32
32
  enableDirtyChecking?: boolean;
@@ -1,10 +1,10 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
2
2
  /**
3
3
  *
4
4
  * @export
5
5
  * @interface ISysCounter
6
6
  */
7
- export interface ISysCounter extends IModelObject {
7
+ export interface ISysCounter extends INavigateParamContainer {
8
8
  /**
9
9
  * 代码标识
10
10
  * @type {string}
@@ -56,4 +56,10 @@ export interface ISysCounter extends IModelObject {
56
56
  * 来源 getTimer
57
57
  */
58
58
  timer?: number;
59
+ /**
60
+ * 计数器标记
61
+ * @type {string}
62
+ * 来源 getUniqueTag
63
+ */
64
+ uniqueTag?: string;
59
65
  }
@@ -43,6 +43,13 @@ export interface IDEEditForm extends IDEForm, ISDAjaxControl {
43
43
  * 来源 getGetPSControlAction
44
44
  */
45
45
  getControlAction?: IControlAction;
46
+ /**
47
+ * 应用计数器引用
48
+ *
49
+ * @type {string}
50
+ * 来源 getPSAppCounterRef
51
+ */
52
+ appCounterRefId?: string;
46
53
  /**
47
54
  * 删除数据行为
48
55
  *
@@ -52,6 +52,20 @@ export interface IDEFormDetail extends IControlItem {
52
52
  * 来源 getContentWidth
53
53
  */
54
54
  contentWidth?: number;
55
+ /**
56
+ * 计数器标识
57
+ * @type {string}
58
+ * 来源 getCounterId
59
+ */
60
+ counterId?: string;
61
+ /**
62
+ * 计数器模式
63
+ * @description 值模式 [树节点计数器类型] {0:默认、 1:0 值时隐藏 }
64
+ * @type {( number | 0 | 1)}
65
+ * @default 0
66
+ * 来源 getCounterMode
67
+ */
68
+ counterMode?: number | 0 | 1;
55
69
  /**
56
70
  * 成员直接样式
57
71
  * @type {string}
@@ -104,6 +118,13 @@ export interface IDEFormDetail extends IControlItem {
104
118
  * 来源 getLabelPSSysCss
105
119
  */
106
120
  labelSysCss?: ISysCss;
121
+ /**
122
+ * 应用计数器引用
123
+ *
124
+ * @type {string}
125
+ * 来源 getPSAppCounterRef
126
+ */
127
+ appCounterRefId?: string;
107
128
  /**
108
129
  * 表单成员动态逻辑
109
130
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -6,6 +6,14 @@ import { IDEUIActionGroup } from '../../dataentity/uiaction/ideuiaction-group';
6
6
  * @interface IAppDEUIActionGroup
7
7
  */
8
8
  export interface IAppDEUIActionGroup extends IDEUIActionGroup {
9
+ /**
10
+ * 应用实体
11
+ *
12
+ * @type {string}
13
+ * 来源 getPSAppDataEntity
14
+ */
15
+ appDataEntityId?: string;
16
+
9
17
  /**
10
18
  * 唯一标记
11
19
  * @type {string}
@@ -37,7 +37,7 @@ export interface IAppDEEditView
37
37
  /**
38
38
  * 启用脏检查
39
39
  * @type {boolean}
40
- * @default false
40
+ * @default true
41
41
  * 来源 isEnableDirtyChecking
42
42
  */
43
43
  enableDirtyChecking?: boolean;
@@ -1,11 +1,11 @@
1
- import { IModelObject } from '../../imodel-object';
1
+ import { INavigateParamContainer } from '../inavigate-param-container';
2
2
 
3
3
  /**
4
4
  *
5
5
  * @export
6
6
  * @interface ISysCounter
7
7
  */
8
- export interface ISysCounter extends IModelObject {
8
+ export interface ISysCounter extends INavigateParamContainer {
9
9
  /**
10
10
  * 代码标识
11
11
  * @type {string}
@@ -64,4 +64,11 @@ export interface ISysCounter extends IModelObject {
64
64
  * 来源 getTimer
65
65
  */
66
66
  timer?: number;
67
+
68
+ /**
69
+ * 计数器标记
70
+ * @type {string}
71
+ * 来源 getUniqueTag
72
+ */
73
+ uniqueTag?: string;
67
74
  }
@@ -49,6 +49,14 @@ export interface IDEEditForm extends IDEForm, ISDAjaxControl {
49
49
  */
50
50
  getControlAction?: IControlAction;
51
51
 
52
+ /**
53
+ * 应用计数器引用
54
+ *
55
+ * @type {string}
56
+ * 来源 getPSAppCounterRef
57
+ */
58
+ appCounterRefId?: string;
59
+
52
60
  /**
53
61
  * 删除数据行为
54
62
  *
@@ -59,6 +59,22 @@ export interface IDEFormDetail extends IControlItem {
59
59
  */
60
60
  contentWidth?: number;
61
61
 
62
+ /**
63
+ * 计数器标识
64
+ * @type {string}
65
+ * 来源 getCounterId
66
+ */
67
+ counterId?: string;
68
+
69
+ /**
70
+ * 计数器模式
71
+ * @description 值模式 [树节点计数器类型] {0:默认、 1:0 值时隐藏 }
72
+ * @type {( number | 0 | 1)}
73
+ * @default 0
74
+ * 来源 getCounterMode
75
+ */
76
+ counterMode?: number | 0 | 1;
77
+
62
78
  /**
63
79
  * 成员直接样式
64
80
  * @type {string}
@@ -133,6 +149,14 @@ export interface IDEFormDetail extends IControlItem {
133
149
  */
134
150
  labelSysCss?: ISysCss;
135
151
 
152
+ /**
153
+ * 应用计数器引用
154
+ *
155
+ * @type {string}
156
+ * 来源 getPSAppCounterRef
157
+ */
158
+ appCounterRefId?: string;
159
+
136
160
  /**
137
161
  * 表单成员动态逻辑
138
162
  *