@ibiz/model-core 0.1.72 → 0.1.74

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
@@ -5,6 +5,18 @@
5
5
  此日志格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
6
6
  并且此项目遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/).
7
7
 
8
+ ## [0.1.74] - 2025-05-23
9
+
10
+ ### Added
11
+
12
+ - 实体自动填充模型、实体行为附加逻辑模型、实体行为模型、实体数据导出模型、实体数据导入模型、实体处理逻辑模型、实体属性值规则模型、系统预置值规则模型增加行为所有者模型
13
+
14
+ ## [0.1.73] - 2025-05-20
15
+
16
+ ### Added
17
+
18
+ - 直接内容增加操作提示信息
19
+
8
20
  ## [0.1.72] - 2025-05-13
9
21
 
10
22
  ### Added
@@ -1,5 +1,6 @@
1
1
  import { INavigateParamContainer } from '../inavigate-param-container';
2
2
  import { IDEFormDetail } from './ideform-detail';
3
+ import { ILanguageRes } from '../../res/ilanguage-res';
3
4
  import { IUIAction } from '../../view/iuiaction';
4
5
  /**
5
6
  *
@@ -83,6 +84,13 @@ export interface IDEFormButton extends IDEFormDetail, INavigateParamContainer {
83
84
  * 来源 getTooltip
84
85
  */
85
86
  tooltip?: string;
87
+ /**
88
+ * 操作提示语言资源
89
+ *
90
+ * @type {ILanguageRes}
91
+ * 来源 getTooltipPSLanguageRes
92
+ */
93
+ tooltipLanguageRes?: ILanguageRes;
86
94
  /**
87
95
  * 界面行为操作目标
88
96
  * @description 值模式 [界面行为操作目标] {SINGLEDATA:单项数据、 SINGLEKEY:单项数据(主键)、 MULTIDATA:多项数据、 MULTIKEY:多项数据(主键)、 NONE:无数据 }
@@ -1,3 +1,4 @@
1
+ import { ILanguageRes } from '../res/ilanguage-res';
1
2
  import { IModelObject } from '../imodel-object';
2
3
  /**
3
4
  *
@@ -67,4 +68,11 @@ export interface IButtonBase extends IModelObject {
67
68
  * 来源 getTooltip
68
69
  */
69
70
  tooltip?: string;
71
+ /**
72
+ * 操作提示语言资源
73
+ *
74
+ * @type {ILanguageRes}
75
+ * 来源 getTooltipPSLanguageRes
76
+ */
77
+ tooltipLanguageRes?: ILanguageRes;
70
78
  }
@@ -2,6 +2,7 @@ import { IControlAttribute } from './icontrol-attribute';
2
2
  import { IControlLogic } from './icontrol-logic';
3
3
  import { IControlRender } from './icontrol-render';
4
4
  import { IRawItemParam } from './iraw-item-param';
5
+ import { ILanguageRes } from '../res/ilanguage-res';
5
6
  import { ISysCss } from '../res/isys-css';
6
7
  import { IModelObject } from '../imodel-object';
7
8
  /**
@@ -85,6 +86,19 @@ export interface IRawItemBase extends IModelObject {
85
86
  * 来源 getRawItemWidth
86
87
  */
87
88
  rawItemWidth?: number;
89
+ /**
90
+ * 操作提示信息
91
+ * @type {string}
92
+ * 来源 getTooltip
93
+ */
94
+ tooltip?: string;
95
+ /**
96
+ * 操作提示语言资源
97
+ *
98
+ * @type {ILanguageRes}
99
+ * 来源 getTooltipPSLanguageRes
100
+ */
101
+ tooltipLanguageRes?: ILanguageRes;
88
102
  /**
89
103
  * 模板模式
90
104
  * @type {boolean}
@@ -90,6 +90,13 @@ export interface IDEACMode extends IModelObject {
90
90
  * 来源 isDefaultMode
91
91
  */
92
92
  defaultMode?: boolean;
93
+ /**
94
+ * 支持后台执行
95
+ * @type {boolean}
96
+ * @default false
97
+ * 来源 isEnableBackend
98
+ */
99
+ enableBackend?: boolean;
93
100
  /**
94
101
  * 支持分页栏
95
102
  * @type {boolean}
@@ -41,6 +41,13 @@ export interface IDEActionLogic extends IModelObject {
41
41
  * 来源 isCloneParam
42
42
  */
43
43
  cloneParam?: boolean;
44
+ /**
45
+ * 支持后台执行
46
+ * @type {boolean}
47
+ * @default true
48
+ * 来源 isEnableBackend
49
+ */
50
+ enableBackend?: boolean;
44
51
  /**
45
52
  * 忽略异常
46
53
  * @type {boolean}
@@ -183,6 +183,20 @@ export interface IDEAction extends IModelObject {
183
183
  * 来源 isCustomParam
184
184
  */
185
185
  customParam?: boolean;
186
+ /**
187
+ * 支持后台执行
188
+ * @type {boolean}
189
+ * @default true
190
+ * 来源 isEnableBackend
191
+ */
192
+ enableBackend?: boolean;
193
+ /**
194
+ * 支持前台执行
195
+ * @type {boolean}
196
+ * @default true
197
+ * 来源 isEnableFront
198
+ */
199
+ enableFront?: boolean;
186
200
  /**
187
201
  * 支持临时数据
188
202
  * @type {boolean}
@@ -52,6 +52,12 @@ export interface IDEDataExport extends IModelObject {
52
52
  * 来源 isDefaultMode
53
53
  */
54
54
  defaultMode?: boolean;
55
+ /**
56
+ * 支持后台执行
57
+ * @type {boolean}
58
+ * 来源 isEnableBackend
59
+ */
60
+ enableBackend?: boolean;
55
61
  /**
56
62
  * 支持自定义
57
63
  * @type {boolean}
@@ -59,4 +65,10 @@ export interface IDEDataExport extends IModelObject {
59
65
  * 来源 isEnableCustomized
60
66
  */
61
67
  enableCustomized?: boolean;
68
+ /**
69
+ * 支持前台执行
70
+ * @type {boolean}
71
+ * 来源 isEnableFront
72
+ */
73
+ enableFront?: boolean;
62
74
  }
@@ -64,6 +64,12 @@ export interface IDEDataImport extends IModelObject {
64
64
  * 来源 isDefaultMode
65
65
  */
66
66
  defaultMode?: boolean;
67
+ /**
68
+ * 支持后台执行
69
+ * @type {boolean}
70
+ * 来源 isEnableBackend
71
+ */
72
+ enableBackend?: boolean;
67
73
  /**
68
74
  * 支持自定义
69
75
  * @type {boolean}
@@ -71,6 +77,12 @@ export interface IDEDataImport extends IModelObject {
71
77
  * 来源 isEnableCustomized
72
78
  */
73
79
  enableCustomized?: boolean;
80
+ /**
81
+ * 支持前台执行
82
+ * @type {boolean}
83
+ * 来源 isEnableFront
84
+ */
85
+ enableFront?: boolean;
74
86
  /**
75
87
  * 忽略导入错误
76
88
  * @type {boolean}
@@ -84,4 +84,16 @@ export interface IDEFValueRule extends IModelObject {
84
84
  * 来源 isDefaultMode
85
85
  */
86
86
  defaultMode?: boolean;
87
+ /**
88
+ * 支持后台执行
89
+ * @type {boolean}
90
+ * 来源 isEnableBackend
91
+ */
92
+ enableBackend?: boolean;
93
+ /**
94
+ * 支持前台执行
95
+ * @type {boolean}
96
+ * 来源 isEnableFront
97
+ */
98
+ enableFront?: boolean;
87
99
  }
@@ -85,6 +85,18 @@ export interface IDELogic extends IDELogicBase {
85
85
  * 来源 isCustomCode
86
86
  */
87
87
  customCode?: boolean;
88
+ /**
89
+ * 支持后台执行
90
+ * @type {boolean}
91
+ * 来源 isEnableBackend
92
+ */
93
+ enableBackend?: boolean;
94
+ /**
95
+ * 支持前台执行
96
+ * @type {boolean}
97
+ * 来源 isEnableFront
98
+ */
99
+ enableFront?: boolean;
88
100
  /**
89
101
  * 忽略异常
90
102
  * @type {boolean}
@@ -106,4 +106,16 @@ export interface ISysValueRule extends IModelObject {
106
106
  * 来源 getUniqueTag
107
107
  */
108
108
  uniqueTag?: string;
109
+ /**
110
+ * 支持后台执行
111
+ * @type {boolean}
112
+ * 来源 isEnableBackend
113
+ */
114
+ enableBackend?: boolean;
115
+ /**
116
+ * 支持前台执行
117
+ * @type {boolean}
118
+ * 来源 isEnableFront
119
+ */
120
+ enableFront?: boolean;
109
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
4
4
  "license": "MIT",
5
5
  "description": "iBiz网页端模型接口",
6
6
  "author": "iBiz",
@@ -1,5 +1,6 @@
1
1
  import { INavigateParamContainer } from '../inavigate-param-container';
2
2
  import { IDEFormDetail } from './ideform-detail';
3
+ import { ILanguageRes } from '../../res/ilanguage-res';
3
4
  import { IUIAction } from '../../view/iuiaction';
4
5
 
5
6
  /**
@@ -106,6 +107,14 @@ export interface IDEFormButton extends IDEFormDetail, INavigateParamContainer {
106
107
  */
107
108
  tooltip?: string;
108
109
 
110
+ /**
111
+ * 操作提示语言资源
112
+ *
113
+ * @type {ILanguageRes}
114
+ * 来源 getTooltipPSLanguageRes
115
+ */
116
+ tooltipLanguageRes?: ILanguageRes;
117
+
109
118
  /**
110
119
  * 界面行为操作目标
111
120
  * @description 值模式 [界面行为操作目标] {SINGLEDATA:单项数据、 SINGLEKEY:单项数据(主键)、 MULTIDATA:多项数据、 MULTIKEY:多项数据(主键)、 NONE:无数据 }
@@ -1,3 +1,4 @@
1
+ import { ILanguageRes } from '../res/ilanguage-res';
1
2
  import { IModelObject } from '../imodel-object';
2
3
 
3
4
  /**
@@ -87,4 +88,12 @@ export interface IButtonBase extends IModelObject {
87
88
  * 来源 getTooltip
88
89
  */
89
90
  tooltip?: string;
91
+
92
+ /**
93
+ * 操作提示语言资源
94
+ *
95
+ * @type {ILanguageRes}
96
+ * 来源 getTooltipPSLanguageRes
97
+ */
98
+ tooltipLanguageRes?: ILanguageRes;
90
99
  }
@@ -2,6 +2,7 @@ import { IControlAttribute } from './icontrol-attribute';
2
2
  import { IControlLogic } from './icontrol-logic';
3
3
  import { IControlRender } from './icontrol-render';
4
4
  import { IRawItemParam } from './iraw-item-param';
5
+ import { ILanguageRes } from '../res/ilanguage-res';
5
6
  import { ISysCss } from '../res/isys-css';
6
7
  import { IModelObject } from '../imodel-object';
7
8
 
@@ -97,6 +98,21 @@ export interface IRawItemBase extends IModelObject {
97
98
  */
98
99
  rawItemWidth?: number;
99
100
 
101
+ /**
102
+ * 操作提示信息
103
+ * @type {string}
104
+ * 来源 getTooltip
105
+ */
106
+ tooltip?: string;
107
+
108
+ /**
109
+ * 操作提示语言资源
110
+ *
111
+ * @type {ILanguageRes}
112
+ * 来源 getTooltipPSLanguageRes
113
+ */
114
+ tooltipLanguageRes?: ILanguageRes;
115
+
100
116
  /**
101
117
  * 模板模式
102
118
  * @type {boolean}
@@ -103,6 +103,14 @@ export interface IDEACMode extends IModelObject {
103
103
  */
104
104
  defaultMode?: boolean;
105
105
 
106
+ /**
107
+ * 支持后台执行
108
+ * @type {boolean}
109
+ * @default false
110
+ * 来源 isEnableBackend
111
+ */
112
+ enableBackend?: boolean;
113
+
106
114
  /**
107
115
  * 支持分页栏
108
116
  * @type {boolean}
@@ -67,6 +67,14 @@ export interface IDEActionLogic extends IModelObject {
67
67
  */
68
68
  cloneParam?: boolean;
69
69
 
70
+ /**
71
+ * 支持后台执行
72
+ * @type {boolean}
73
+ * @default true
74
+ * 来源 isEnableBackend
75
+ */
76
+ enableBackend?: boolean;
77
+
70
78
  /**
71
79
  * 忽略异常
72
80
  * @type {boolean}
@@ -235,6 +235,22 @@ export interface IDEAction extends IModelObject {
235
235
  */
236
236
  customParam?: boolean;
237
237
 
238
+ /**
239
+ * 支持后台执行
240
+ * @type {boolean}
241
+ * @default true
242
+ * 来源 isEnableBackend
243
+ */
244
+ enableBackend?: boolean;
245
+
246
+ /**
247
+ * 支持前台执行
248
+ * @type {boolean}
249
+ * @default true
250
+ * 来源 isEnableFront
251
+ */
252
+ enableFront?: boolean;
253
+
238
254
  /**
239
255
  * 支持临时数据
240
256
  * @type {boolean}
@@ -60,6 +60,13 @@ export interface IDEDataExport extends IModelObject {
60
60
  */
61
61
  defaultMode?: boolean;
62
62
 
63
+ /**
64
+ * 支持后台执行
65
+ * @type {boolean}
66
+ * 来源 isEnableBackend
67
+ */
68
+ enableBackend?: boolean;
69
+
63
70
  /**
64
71
  * 支持自定义
65
72
  * @type {boolean}
@@ -67,4 +74,11 @@ export interface IDEDataExport extends IModelObject {
67
74
  * 来源 isEnableCustomized
68
75
  */
69
76
  enableCustomized?: boolean;
77
+
78
+ /**
79
+ * 支持前台执行
80
+ * @type {boolean}
81
+ * 来源 isEnableFront
82
+ */
83
+ enableFront?: boolean;
70
84
  }
@@ -74,6 +74,13 @@ export interface IDEDataImport extends IModelObject {
74
74
  */
75
75
  defaultMode?: boolean;
76
76
 
77
+ /**
78
+ * 支持后台执行
79
+ * @type {boolean}
80
+ * 来源 isEnableBackend
81
+ */
82
+ enableBackend?: boolean;
83
+
77
84
  /**
78
85
  * 支持自定义
79
86
  * @type {boolean}
@@ -82,6 +89,13 @@ export interface IDEDataImport extends IModelObject {
82
89
  */
83
90
  enableCustomized?: boolean;
84
91
 
92
+ /**
93
+ * 支持前台执行
94
+ * @type {boolean}
95
+ * 来源 isEnableFront
96
+ */
97
+ enableFront?: boolean;
98
+
85
99
  /**
86
100
  * 忽略导入错误
87
101
  * @type {boolean}
@@ -96,4 +96,18 @@ export interface IDEFValueRule extends IModelObject {
96
96
  * 来源 isDefaultMode
97
97
  */
98
98
  defaultMode?: boolean;
99
+
100
+ /**
101
+ * 支持后台执行
102
+ * @type {boolean}
103
+ * 来源 isEnableBackend
104
+ */
105
+ enableBackend?: boolean;
106
+
107
+ /**
108
+ * 支持前台执行
109
+ * @type {boolean}
110
+ * 来源 isEnableFront
111
+ */
112
+ enableFront?: boolean;
99
113
  }
@@ -111,6 +111,20 @@ export interface IDELogic extends IDELogicBase {
111
111
  */
112
112
  customCode?: boolean;
113
113
 
114
+ /**
115
+ * 支持后台执行
116
+ * @type {boolean}
117
+ * 来源 isEnableBackend
118
+ */
119
+ enableBackend?: boolean;
120
+
121
+ /**
122
+ * 支持前台执行
123
+ * @type {boolean}
124
+ * 来源 isEnableFront
125
+ */
126
+ enableFront?: boolean;
127
+
114
128
  /**
115
129
  * 忽略异常
116
130
  * @type {boolean}
@@ -122,4 +122,18 @@ export interface ISysValueRule extends IModelObject {
122
122
  * 来源 getUniqueTag
123
123
  */
124
124
  uniqueTag?: string;
125
+
126
+ /**
127
+ * 支持后台执行
128
+ * @type {boolean}
129
+ * 来源 isEnableBackend
130
+ */
131
+ enableBackend?: boolean;
132
+
133
+ /**
134
+ * 支持前台执行
135
+ * @type {boolean}
136
+ * 来源 isEnableFront
137
+ */
138
+ enableFront?: boolean;
125
139
  }