@byteluck-fe/model-driven-shared 2.0.1 → 2.0.9
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/dist/esm/EventLogic.js +1 -1
- package/dist/esm/calc.js +12 -12
- package/dist/esm/locales/en-US.json +1 -0
- package/dist/esm/locales/ja-JP.json +1 -0
- package/dist/esm/locales/zh-CN.json +1 -0
- package/dist/esm/watcher.js +191 -88
- package/dist/index.umd.js +1 -1
- package/dist/types/EventLogic.d.ts +1 -1
- package/dist/types/RulesMessage.d.ts +3 -3
- package/dist/types/locales/index.d.ts +3 -0
- package/package.json +2 -2
package/dist/esm/EventLogic.js
CHANGED
package/dist/esm/calc.js
CHANGED
|
@@ -45,16 +45,16 @@ export var CALC_AGGREGATE_TYPE;
|
|
|
45
45
|
export var CalcScriptEchoItem = function CalcScriptEchoItem(props) {
|
|
46
46
|
"use strict";
|
|
47
47
|
_classCallCheck(this, CalcScriptEchoItem);
|
|
48
|
-
var
|
|
49
|
-
this.name = (
|
|
50
|
-
var
|
|
51
|
-
this.id = (
|
|
52
|
-
var
|
|
53
|
-
this.type = (
|
|
54
|
-
var
|
|
55
|
-
this.subTableId = (
|
|
56
|
-
var
|
|
57
|
-
this.subTableName = (
|
|
58
|
-
var
|
|
59
|
-
this.aggregateType = (
|
|
48
|
+
var _props_name;
|
|
49
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
50
|
+
var _props_id;
|
|
51
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
52
|
+
var _props_type;
|
|
53
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : CALC_TOKEN_TYPE.Number;
|
|
54
|
+
var _props_subTableId;
|
|
55
|
+
this.subTableId = (_props_subTableId = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _props_subTableId !== void 0 ? _props_subTableId : undefined;
|
|
56
|
+
var _props_subTableId1;
|
|
57
|
+
this.subTableName = (_props_subTableId1 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _props_subTableId1 !== void 0 ? _props_subTableId1 : undefined;
|
|
58
|
+
var _props_aggregateType;
|
|
59
|
+
this.aggregateType = (_props_aggregateType = props === null || props === void 0 ? void 0 : props.aggregateType) !== null && _props_aggregateType !== void 0 ? _props_aggregateType : undefined;
|
|
60
60
|
};
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"pleaseEnterLabel": "Please enter the displayed value",
|
|
16
16
|
"pleaseEnterValue": "Please enter the stored value",
|
|
17
17
|
"bizKeyNotBindFiled": "The document number is not bound to the data item",
|
|
18
|
+
"pleaseSelectOneField":"Please select at least one display field",
|
|
18
19
|
"pleaseEnterNumberRange": "Please enter a value greater than or equal to {min} and less than or equal to {max}",
|
|
19
20
|
"pleaseEnterAValueGreaterThanMin": "Please enter a value greater than or equal to {min}",
|
|
20
21
|
"pleaseEnterAValueLessThanMax": "Please enter a value less than or equal to {max}",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"pleaseEnterLabel": "表示値を入力して下さい",
|
|
16
16
|
"pleaseEnterValue": "保存値を入力して下さい",
|
|
17
17
|
"bizKeyNotBindFiled": "シート番号がデータにリンクされていません。",
|
|
18
|
+
"pleaseSelectOneField":"少なくとも1つの表示フィールドを選択してください",
|
|
18
19
|
"pleaseEnterNumberRange": "{min}以上{max}以下の値を入力してください",
|
|
19
20
|
"pleaseEnterAValueGreaterThanMin": "{min}以上の値を入力してください",
|
|
20
21
|
"pleaseEnterAValueLessThanMax": "{max}未満の値を入力してください",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"pleaseEnterLabel": "请输入显示值",
|
|
16
16
|
"pleaseEnterValue": "请输入存储值",
|
|
17
17
|
"bizKeyNotBindFiled": "单据编号未绑定数据项",
|
|
18
|
+
"pleaseSelectOneField":"请至少选择一个显示字段!",
|
|
18
19
|
"pleaseEnterNumberRange": "请输入大于等于{min}且小于等于{max}的数值",
|
|
19
20
|
"pleaseEnterAValueGreaterThanMin": "请输入大于等于{min}的数值",
|
|
20
21
|
"pleaseEnterAValueLessThanMax": "请输入小于等于{max}的数值",
|
package/dist/esm/watcher.js
CHANGED
|
@@ -57,7 +57,101 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
57
57
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
58
58
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
var __generator = this && this.__generator || function(thisArg, body) {
|
|
61
|
+
var f, y, t, g, _ = {
|
|
62
|
+
label: 0,
|
|
63
|
+
sent: function() {
|
|
64
|
+
if (t[0] & 1) throw t[1];
|
|
65
|
+
return t[1];
|
|
66
|
+
},
|
|
67
|
+
trys: [],
|
|
68
|
+
ops: []
|
|
69
|
+
};
|
|
70
|
+
return g = {
|
|
71
|
+
next: verb(0),
|
|
72
|
+
"throw": verb(1),
|
|
73
|
+
"return": verb(2)
|
|
74
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
75
|
+
return this;
|
|
76
|
+
}), g;
|
|
77
|
+
function verb(n) {
|
|
78
|
+
return function(v) {
|
|
79
|
+
return step([
|
|
80
|
+
n,
|
|
81
|
+
v
|
|
82
|
+
]);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function step(op) {
|
|
86
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
87
|
+
while(_)try {
|
|
88
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
89
|
+
if (y = 0, t) op = [
|
|
90
|
+
op[0] & 2,
|
|
91
|
+
t.value
|
|
92
|
+
];
|
|
93
|
+
switch(op[0]){
|
|
94
|
+
case 0:
|
|
95
|
+
case 1:
|
|
96
|
+
t = op;
|
|
97
|
+
break;
|
|
98
|
+
case 4:
|
|
99
|
+
_.label++;
|
|
100
|
+
return {
|
|
101
|
+
value: op[1],
|
|
102
|
+
done: false
|
|
103
|
+
};
|
|
104
|
+
case 5:
|
|
105
|
+
_.label++;
|
|
106
|
+
y = op[1];
|
|
107
|
+
op = [
|
|
108
|
+
0
|
|
109
|
+
];
|
|
110
|
+
continue;
|
|
111
|
+
case 7:
|
|
112
|
+
op = _.ops.pop();
|
|
113
|
+
_.trys.pop();
|
|
114
|
+
continue;
|
|
115
|
+
default:
|
|
116
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
117
|
+
_ = 0;
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
121
|
+
_.label = op[1];
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
125
|
+
_.label = t[1];
|
|
126
|
+
t = op;
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
if (t && _.label < t[2]) {
|
|
130
|
+
_.label = t[2];
|
|
131
|
+
_.ops.push(op);
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
if (t[2]) _.ops.pop();
|
|
135
|
+
_.trys.pop();
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
op = body.call(thisArg, _);
|
|
139
|
+
} catch (e) {
|
|
140
|
+
op = [
|
|
141
|
+
6,
|
|
142
|
+
e
|
|
143
|
+
];
|
|
144
|
+
y = 0;
|
|
145
|
+
} finally{
|
|
146
|
+
f = t = 0;
|
|
147
|
+
}
|
|
148
|
+
if (op[0] & 5) throw op[1];
|
|
149
|
+
return {
|
|
150
|
+
value: op[0] ? op[1] : void 0,
|
|
151
|
+
done: true
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
};
|
|
61
155
|
import { log, logerror } from "./log";
|
|
62
156
|
// 通信总线
|
|
63
157
|
var Watcher = /*#__PURE__*/ function() {
|
|
@@ -75,43 +169,61 @@ var Watcher = /*#__PURE__*/ function() {
|
|
|
75
169
|
payload[_key - 1] = arguments[_key];
|
|
76
170
|
}
|
|
77
171
|
var _this = this;
|
|
78
|
-
return _asyncToGenerator(
|
|
79
|
-
var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result;
|
|
80
|
-
return
|
|
81
|
-
|
|
172
|
+
return _asyncToGenerator(function() {
|
|
173
|
+
var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result, e, err;
|
|
174
|
+
return __generator(this, function(_state) {
|
|
175
|
+
switch(_state.label){
|
|
82
176
|
case 0:
|
|
83
177
|
callbacksOrigin = _this._events.get(key);
|
|
84
178
|
results = [];
|
|
85
|
-
if (!callbacksOrigin)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
179
|
+
if (!callbacksOrigin) return [
|
|
180
|
+
3,
|
|
181
|
+
10
|
|
182
|
+
];
|
|
89
183
|
_callbacks = callbacksOrigin.slice();
|
|
90
184
|
_iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
91
|
-
|
|
185
|
+
_state.label = 1;
|
|
186
|
+
case 1:
|
|
187
|
+
_state.trys.push([
|
|
188
|
+
1,
|
|
189
|
+
8,
|
|
190
|
+
9,
|
|
191
|
+
10
|
|
192
|
+
]);
|
|
92
193
|
_iterator = _callbacks[Symbol.iterator]();
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
194
|
+
_state.label = 2;
|
|
195
|
+
case 2:
|
|
196
|
+
if (!!(_iteratorNormalCompletion = (_step = _iterator.next()).done)) return [
|
|
197
|
+
3,
|
|
198
|
+
7
|
|
199
|
+
];
|
|
98
200
|
callback = _step.value;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
201
|
+
// 如果在执行期间卸载了对应的事件,则callback在origin里就不存在了,就不再执行
|
|
202
|
+
if (!callbacksOrigin.includes(callback)) {
|
|
203
|
+
return [
|
|
204
|
+
3,
|
|
205
|
+
6
|
|
206
|
+
];
|
|
102
207
|
}
|
|
103
|
-
|
|
104
|
-
case
|
|
105
|
-
|
|
208
|
+
_state.label = 3;
|
|
209
|
+
case 3:
|
|
210
|
+
_state.trys.push([
|
|
211
|
+
3,
|
|
212
|
+
5,
|
|
213
|
+
,
|
|
214
|
+
6
|
|
215
|
+
]);
|
|
106
216
|
_this.debug && log.apply(void 0, [
|
|
107
217
|
"正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
|
|
108
218
|
return "%o";
|
|
109
219
|
}).join(","), "。")
|
|
110
220
|
].concat(_toConsumableArray(payload)));
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
221
|
+
return [
|
|
222
|
+
4,
|
|
223
|
+
callback.apply(null, _toConsumableArray(payload))
|
|
224
|
+
];
|
|
225
|
+
case 4:
|
|
226
|
+
result = _state.sent();
|
|
115
227
|
_this.debug && log.apply(void 0, [
|
|
116
228
|
"正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
|
|
117
229
|
return "%o";
|
|
@@ -120,78 +232,69 @@ var Watcher = /*#__PURE__*/ function() {
|
|
|
120
232
|
result
|
|
121
233
|
]));
|
|
122
234
|
results.push(result);
|
|
123
|
-
if (
|
|
124
|
-
|
|
125
|
-
|
|
235
|
+
if (result === false) {
|
|
236
|
+
return [
|
|
237
|
+
3,
|
|
238
|
+
7
|
|
239
|
+
];
|
|
126
240
|
}
|
|
127
|
-
return
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
case
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
241
|
+
return [
|
|
242
|
+
3,
|
|
243
|
+
6
|
|
244
|
+
];
|
|
245
|
+
case 5:
|
|
246
|
+
e = _state.sent();
|
|
247
|
+
logerror(String(e));
|
|
248
|
+
return [
|
|
249
|
+
3,
|
|
250
|
+
6
|
|
251
|
+
];
|
|
252
|
+
case 6:
|
|
136
253
|
_iteratorNormalCompletion = true;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
254
|
+
return [
|
|
255
|
+
3,
|
|
256
|
+
2
|
|
257
|
+
];
|
|
258
|
+
case 7:
|
|
259
|
+
return [
|
|
260
|
+
3,
|
|
261
|
+
10
|
|
262
|
+
];
|
|
263
|
+
case 8:
|
|
264
|
+
err = _state.sent();
|
|
145
265
|
_didIteratorError = true;
|
|
146
|
-
_iteratorError =
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
266
|
+
_iteratorError = err;
|
|
267
|
+
return [
|
|
268
|
+
3,
|
|
269
|
+
10
|
|
270
|
+
];
|
|
271
|
+
case 9:
|
|
272
|
+
try {
|
|
273
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
274
|
+
_iterator.return();
|
|
275
|
+
}
|
|
276
|
+
} finally{
|
|
277
|
+
if (_didIteratorError) {
|
|
278
|
+
throw _iteratorError;
|
|
279
|
+
}
|
|
152
280
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
return _ctx.finish(37);
|
|
162
|
-
case 41:
|
|
163
|
-
return _ctx.finish(34);
|
|
164
|
-
case 42:
|
|
165
|
-
return _ctx.abrupt("return", results);
|
|
166
|
-
case 43:
|
|
167
|
-
case "end":
|
|
168
|
-
return _ctx.stop();
|
|
281
|
+
return [
|
|
282
|
+
7
|
|
283
|
+
];
|
|
284
|
+
case 10:
|
|
285
|
+
return [
|
|
286
|
+
2,
|
|
287
|
+
results
|
|
288
|
+
];
|
|
169
289
|
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
5,
|
|
173
|
-
30,
|
|
174
|
-
34,
|
|
175
|
-
42
|
|
176
|
-
],
|
|
177
|
-
[
|
|
178
|
-
11,
|
|
179
|
-
22
|
|
180
|
-
],
|
|
181
|
-
[
|
|
182
|
-
35,
|
|
183
|
-
,
|
|
184
|
-
37,
|
|
185
|
-
41
|
|
186
|
-
]
|
|
187
|
-
]);
|
|
188
|
-
}))();
|
|
290
|
+
});
|
|
291
|
+
})();
|
|
189
292
|
};
|
|
190
293
|
// 订阅事件
|
|
191
294
|
_proto.on = function on(key, callback) {
|
|
192
295
|
if (this._events.has(key)) {
|
|
193
|
-
var
|
|
194
|
-
(
|
|
296
|
+
var _this__events_get;
|
|
297
|
+
(_this__events_get = this._events.get(key)) === null || _this__events_get === void 0 ? void 0 : _this__events_get.push(callback);
|
|
195
298
|
} else {
|
|
196
299
|
this._events.set(key, [
|
|
197
300
|
callback
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ee=(a,m,A)=>new Promise((f,g)=>{var S=B=>{try{h(A.next(B))}catch(d){g(d)}},b=B=>{try{h(A.throw(B))}catch(d){g(d)}},h=B=>B.done?f(B.value):Promise.resolve(B.value).then(S,b);h((A=A.apply(a,m)).next())});(function(a,m){typeof exports=="object"&&typeof module!="undefined"?m(exports):typeof define=="function"&&define.amd?define(["exports"],m):(a=typeof globalThis!="undefined"?globalThis:a||self,m(a.modelDrivenShared={}))})(this,function(a){"use strict";class m{}class A{}var f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",g="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",S="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",h="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",B="{caption}\u5FC5\u586B",d="\u8BF7\u8F93\u5165\u6807\u9898",ue="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",te="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ae="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ne="\u8BF7\u7ED1\u5B9A\u8868\u5355",re="\u8BF7\u7ED1\u5B9A\u5217\u8868",se="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ie="\u8BF7\u8F93\u5165\u663E\u793A\u503C",le="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",oe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ee="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ce="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Be="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",me="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ae="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",pe="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",he="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",de="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ve="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",De="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ge="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ce="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",fe="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Se="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",be="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ie="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ye="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Me="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$e="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",we="\u8BF7\u9009\u62E9\u7701",Le="\u8BF7\u9009\u62E9\u5E02",Ne="\u8BF7\u9009\u62E9\u533A",Re="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ue="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_e="\u8BF7\u8F93\u5165\u5217\u5BBD",Ve="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Te="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ke="\u8BF7\u9009\u62E9\u63A7\u4EF6",xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ze="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",je="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ge="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ke="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",He="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Pe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",We="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Xe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Je="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Oe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ye="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",eu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",tu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",au="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",nu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ru="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",su={isNotNumber:f,isNotString:g,isNotObject:S,isNotArray:b,isNotBoolean:h,runtimeRequired:B,pleaseEnterCaption:d,pleaseEnterCaptionTip:ue,pleaseEnterPlaceholder:te,pleaseEnterFieldCode:ae,pleaseEnterForm:ne,pleaseEnterList:re,pleaseEnterProcess:se,pleaseEnterLabel:ie,pleaseEnterValue:le,bizKeyNotBindFiled:oe,pleaseEnterNumberRange:Ee,pleaseEnterAValueGreaterThanMin:ce,pleaseEnterAValueLessThanMax:Be,numberRangeSetError:Fe,stringRangeError:me,attachmentMaxSize:Ae,pleaseEnterTotalScoreSetting:pe,theTotalScoreMustNotBeLessThan1:he,scoreDefaultValueRange:de,attachmentLimitError:ve,PleaseReselectTheOptionalQuantity:De,TheMaximumLengthIsGreaterThanTheMinimumLength:ge,TheMinimumLengthIsGreaterThanTheMaximumLength:Ce,PleaseSelectTheCorrectOptionSettings:fe,optionIdIsRepeat:Se,optionIsRequired:be,pleaseEnterDataCode:Ie,pleaseEnterValueFieldCode:ye,pleaseEnterSvcCode:Me,pleaseBindAtLeastOneDisplayValue:$e,pleaseSelectProvince:we,pleaseSelectCity:Le,pleaseSelectDistrict:Ne,limitRowsCannotBeLessThan0:Re,TheNumberOfRowsCannotBeLessThanMinRows:Ue,pleaseEnterColumnWidth:_e,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ve,pleaseCompleteAllRulesAndConditions:Te,pleaseSelectControl:ke,pleaseSelectAtLeastOneColumn:xe,pleaseSelectFillBackMode:ze,pleaseSelectDashboard:je,rootNodeIsRequired:Ge,theViewNameCannotBeEmpty:Ke,pleaseSelectOcrType:qe,pleaseSelectAtLeastOneFieldToFillIn:He,pleaseChooseAtLeastOne:Pe,pleaseEnterButtonContent:We,pleaseEnterDataCodeInDataSetting:Xe,pleaseEnterValueFieldCodeInDataSetting:Je,pleaseEnterSvcCodeInDataSetting:Qe,pleaseBindAtLeastOneDisplayValueInDataSetting:Oe,rootNodeIsRequiredInDataSetting:Ze,pleaseEnterMaxHeight:Ye,pleaseEnter:eu,pleaseEnterWatermark:uu,pleaseEnterFileName:tu,pleaseUploadAtLeastOnePrintTemplate:au,pleaseAssignBusiness:nu,pleaseAssignExternal:ru},iu="Please enter a number",lu="Please enter a string",ou="Please enter an object",Eu="Please enter an array",cu="Please enter a boolean",Bu="{caption} Required",Fu="Please enter the title",mu="Please enter the bubble prompt",Au="Please enter the prompt text",pu="Please bind data items",hu="Please bind the form",du="Please bind the list",vu="Please bind the process",Du="Please enter the displayed value",gu="Please enter the stored value",Cu="The document number is not bound to the data item",fu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Su="Please enter a value greater than or equal to {min}",bu="Please enter a value less than or equal to {max}",Iu="The value range is set incorrectly",yu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Mu="The attachment size must be between 0MB and 1000MB",$u="Please fill in the total score setting",wu="The total score cannot be less than 1",Lu="The default value must be between {min} and {max}",Nu="The number of attachments uploaded must be between {min} and {max}",Ru="Please re-select the optional quantity",Uu="The maximum length of the control must be greater than the minimum length",_u="The minimum length of the control must be less than the maximum length",Vu="Please select the correct option setting",Tu="Option ID cannot be repeated",ku="Please enter at least one option",xu="Please bind the data source",zu="Please bind the stored value",ju="Please bind the service",Gu="At least one display value must be bound",Ku="Please select a province",qu="Please select a city",Hu="Please select a district",Pu="The minimum number of lines to fill in cannot be less than 0",Wu="The number of rows cannot be less than {min} rows",Xu="Please enter the column width",Ju="Please set the logical relationship of all rule conditions",Qu="Please complete all rules and conditions",Ou="please select control",Zu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Yu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",et="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ut="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tt="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",at="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",nt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",rt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",st="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",it="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ot="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Et="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ct="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Bt="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ft="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",mt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",At="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pt={isNotNumber:iu,isNotString:lu,isNotObject:ou,isNotArray:Eu,isNotBoolean:cu,runtimeRequired:Bu,pleaseEnterCaption:Fu,pleaseEnterCaptionTip:mu,pleaseEnterPlaceholder:Au,pleaseEnterFieldCode:pu,pleaseEnterForm:hu,pleaseEnterList:du,pleaseEnterProcess:vu,pleaseEnterLabel:Du,pleaseEnterValue:gu,bizKeyNotBindFiled:Cu,pleaseEnterNumberRange:fu,pleaseEnterAValueGreaterThanMin:Su,pleaseEnterAValueLessThanMax:bu,numberRangeSetError:Iu,stringRangeError:yu,attachmentMaxSize:Mu,pleaseEnterTotalScoreSetting:$u,theTotalScoreMustNotBeLessThan1:wu,scoreDefaultValueRange:Lu,attachmentLimitError:Nu,PleaseReselectTheOptionalQuantity:Ru,TheMaximumLengthIsGreaterThanTheMinimumLength:Uu,TheMinimumLengthIsGreaterThanTheMaximumLength:_u,PleaseSelectTheCorrectOptionSettings:Vu,optionIdIsRepeat:Tu,optionIsRequired:ku,pleaseEnterDataCode:xu,pleaseEnterValueFieldCode:zu,pleaseEnterSvcCode:ju,pleaseBindAtLeastOneDisplayValue:Gu,pleaseSelectProvince:Ku,pleaseSelectCity:qu,pleaseSelectDistrict:Hu,limitRowsCannotBeLessThan0:Pu,TheNumberOfRowsCannotBeLessThanMinRows:Wu,pleaseEnterColumnWidth:Xu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ju,pleaseCompleteAllRulesAndConditions:Qu,pleaseSelectControl:Ou,pleaseSelectDashboard:Zu,theViewNameCannotBeEmpty:Yu,pleaseSelectOcrType:et,pleaseSelectAtLeastOneFieldToFillIn:ut,pleaseChooseAtLeastOne:tt,pleaseEnterButtonContent:at,pleaseEnterDataCodeInDataSetting:nt,pleaseEnterValueFieldCodeInDataSetting:rt,pleaseEnterSvcCodeInDataSetting:st,pleaseBindAtLeastOneDisplayValueInDataSetting:it,rootNodeIsRequiredInDataSetting:lt,pleaseEnterMaxHeight:ot,pleaseEnter:Et,pleaseEnterWatermark:ct,pleaseEnterFileName:Bt,pleaseUploadAtLeastOnePrintTemplate:Ft,pleaseAssignBusiness:mt,pleaseAssignExternal:At},ht="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ct="{caption}\u5FC5\u9808",ft="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$t="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Rt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ut="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_t="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vt="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Tt="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kt="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jt="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gt="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qt="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ht="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pt="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wt="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xt="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Jt="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qt="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zt="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Yt="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ea="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ua="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ta="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",aa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",na="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ia="please select control",la="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",oa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ea="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ca="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ba="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fa="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Aa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ha="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",va="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Da="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ga="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ca="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fa="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ba="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ia={isNotNumber:ht,isNotString:dt,isNotObject:vt,isNotArray:Dt,isNotBoolean:gt,runtimeRequired:Ct,pleaseEnterCaption:ft,pleaseEnterCaptionTip:St,pleaseEnterPlaceholder:bt,pleaseEnterFieldCode:It,pleaseEnterForm:yt,pleaseEnterList:Mt,pleaseEnterProcess:$t,pleaseEnterLabel:wt,pleaseEnterValue:Lt,bizKeyNotBindFiled:Nt,pleaseEnterNumberRange:Rt,pleaseEnterAValueGreaterThanMin:Ut,pleaseEnterAValueLessThanMax:_t,numberRangeSetError:Vt,stringRangeError:Tt,attachmentMaxSize:kt,pleaseEnterTotalScoreSetting:xt,theTotalScoreMustNotBeLessThan1:zt,scoreDefaultValueRange:jt,attachmentLimitError:Gt,PleaseReselectTheOptionalQuantity:Kt,TheMaximumLengthIsGreaterThanTheMinimumLength:qt,TheMinimumLengthIsGreaterThanTheMaximumLength:Ht,PleaseSelectTheCorrectOptionSettings:Pt,optionIdIsRepeat:Wt,optionIsRequired:Xt,pleaseEnterDataCode:Jt,pleaseEnterValueFieldCode:Qt,pleaseEnterSvcCode:Ot,pleaseBindAtLeastOneDisplayValue:Zt,pleaseSelectProvince:Yt,pleaseSelectCity:ea,pleaseSelectDistrict:ua,limitRowsCannotBeLessThan0:ta,TheNumberOfRowsCannotBeLessThanMinRows:aa,pleaseEnterColumnWidth:na,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ra,pleaseCompleteAllRulesAndConditions:sa,pleaseSelectControl:ia,pleaseSelectDashboard:la,theViewNameCannotBeEmpty:oa,pleaseSelectOcrType:Ea,pleaseSelectAtLeastOneFieldToFillIn:ca,pleaseChooseAtLeastOne:Ba,pleaseEnterButtonContent:Fa,pleaseEnterDataCodeInDataSetting:ma,pleaseEnterValueFieldCodeInDataSetting:Aa,pleaseEnterSvcCodeInDataSetting:pa,pleaseBindAtLeastOneDisplayValueInDataSetting:ha,rootNodeIsRequiredInDataSetting:da,pleaseEnterMaxHeight:va,pleaseEnter:Da,pleaseEnterWatermark:ga,pleaseEnterFileName:Ca,pleaseUploadAtLeastOnePrintTemplate:fa,pleaseAssignBusiness:Sa,pleaseAssignExternal:ba},ya={zhCN:su,enUS:pt,jaJP:Ia},_=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(_||{}),V=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(V||{});class Ma{constructor(u){var t,n,i,o,l,E;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(n=u==null?void 0:u.id)!=null?n:"",this.type=(i=u==null?void 0:u.type)!=null?i:"Number",this.subTableId=(o=u==null?void 0:u.subTableId)!=null?o:void 0,this.subTableName=(l=u==null?void 0:u.subTableId)!=null?l:void 0,this.aggregateType=(E=u==null?void 0:u.aggregateType)!=null?E:void 0}}const T="zh-CN",$a=()=>{};var k=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(k||{}),I=(e=>(e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e))(I||{}),x=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e))(x||{});const wa={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",department:"department-column",file:"file-column",image:"image-column",location:"location-column",people:"employee-column",text:"text-column",timescope:"timescope-column",timestamp:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var z=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime",e))(z||{});const j="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",La=j+"0123456789";function Na(e=15){let u="";for(let t=0;t<e;t++){const n=t===0?j:La,i=Math.random()*n.length;u+=n[parseInt(String(i),10)]}return u}const y=console;function G(...e){const u=e.slice(1);y.warn("\u{1F9D0} Driven Warning:"+e[0],...u)}function M(...e){const u=e.slice(1);y.log("\u{1F680} Driven Log:"+e[0],...u)}function Ra(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class $ extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?Ra(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class Ua extends ${constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function _a(e){throw new $(e)}function Va(e){throw new Ua(e)}function K(e){y.error(new $(e))}function w(e,u){Array.isArray(e)&&e.map(t=>{switch(t.controlType){case"layout":w(t==null?void 0:t.children,u);break;case"search":w(t==null?void 0:t.children,u);break;case"form":u(t)}})}var Ta=Object.prototype.toString;function q(e,u){return Ta.call(e)==="[object "+u+"]"}function ka(e){return q(e,"String")}function xa(e){return q(e,"Promise")}var za=function(){function e(u){var t,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&n!==void 0?n:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var n=this.getMessageData();xa(n)?n.then(function(i){t._messageCache.clear(),t.messages[t.localeInMessageKey]=i}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,n){var i=this.getMessage(u);return i?this.formatMessage(i,n):this.formatMessage(t,n)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),n=t.reduce(function(i,o,l,E){if(i!==void 0){var p=i[o];if(!(l===E.length-1&&!ka(p)))return p}},this.message);return this._messageCache.set(u,n),n},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(n,i){var o=t[i];return o!==void 0?String(o):n}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(t={},t[n]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();const H=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=T){return new za({locale:e,messages:ya})}static setLocale(e){return this.$i18n.setLocale(e)}};let P=H;P.$i18n=H.resetI18n();function ja(e,u,t){const n=u.replace(/\[(\d)]/g,(o,l)=>"."+l).split(".");let i=!1;return n.reduce((o,l,E,p)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,l)){G(`Can not set ${u}'s ${l} property in current %o, Because there is no ${l} property on the %o`,o,o);return}return E===p.length-1&&!Object.is(v[l],t)&&(v[l]=t,i=!0),v[l]}},e),i}var Ga=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L={exports:{}};(function(e){(function(u){var t=function(r,s,c){if(!v(s)||on(s)||En(s)||cn(s)||p(s))return s;var F,D=0,Y=0;if(ln(s))for(F=[],Y=s.length;D<Y;D++)F.push(t(r,s[D],c));else{F={};for(var U in s)Object.prototype.hasOwnProperty.call(s,U)&&(F[r(U,c)]=t(r,s[U],c))}return F},n=function(r,s){s=s||{};var c=s.separator||"_",F=s.split||/(?=[A-Z])/;return r.split(F).join(c)},i=function(r){return Bn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(s,c){return c?c.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var s=i(r);return s.substr(0,1).toUpperCase()+s.substr(1)},l=function(r,s){return n(r,s).toLowerCase()},E=Object.prototype.toString,p=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},ln=function(r){return E.call(r)=="[object Array]"},on=function(r){return E.call(r)=="[object Date]"},En=function(r){return E.call(r)=="[object RegExp]"},cn=function(r){return E.call(r)=="[object Boolean]"},Bn=function(r){return r=r-0,r===r},R=function(r,s){var c=s&&"process"in s?s.process:s;return typeof c!="function"?r:function(F,D){return c(F,r,D)}},Z={camelize:i,decamelize:l,pascalize:o,depascalize:l,camelizeKeys:function(r,s){return t(R(i,s),r)},decamelizeKeys:function(r,s){return t(R(l,s),r,s)},pascalizeKeys:function(r,s){return t(R(o,s),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=Z:u.humps=Z})(Ga)})(L);function Ka(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function qa(e){return W(e)&&"zh"in e}function W(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ha(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function C(e){return Array.isArray(e)}function X(e){return typeof e=="string"}function N(e){return typeof e=="number"}function Pa(e){return typeof e=="function"}function Wa(e){return C(e)&&e.every(u=>X(u))}function Xa(e){return C(e)&&e.every(u=>N(u))}function Ja(e){return C(e)&&e.every(u=>N(u)||u==="")}function Qa(e){return/^\[.*?]$/.test(e)}function Oa(e){return/^{.*?}$/.test(e)}function Za(e){return isNaN(parseFloat(e))?"":Number(e)}function Ya(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function en(e,u=500){let t;return function(...n){t||(t=setTimeout(()=>{e.apply(this,n),clearTimeout(t),t=null},u))}}function un(e=0){return new Promise(u=>{setTimeout(u,e)})}function J(e,u){let t=[];return Array.isArray(e)&&(t=e.map(n=>{let i=n;return Array.isArray(n==null?void 0:n.children)&&(i.children=J(n.children,u)),u(i)})),t}function tn(e){return L.exports.camelizeKeys(e)}function an(e){return L.exports.decamelizeKeys(e)}function nn(e){return Object.values(I).includes(e)}class rn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return ee(this,null,function*(){const n=this._events.get(u),i=[];if(n){const o=n.slice();for(const l of o)if(!!n.includes(l))try{this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${l.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+l.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}\u3002`,...t);const E=yield l.apply(null,[...t]);if(this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${l.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+l.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o`,...t,E),i.push(E),E===!1)break}catch(E){K(String(E))}}return i})}on(u,t){var n;this._events.has(u)?(n=this._events.get(u))==null||n.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const n=this._events.get(u),i=n==null?void 0:n.indexOf(t);n==null||n.splice(i,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const sn=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"}],Q=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return Q.events.filter(t=>u.includes(t.key))}};let O=Q;O.events=sn,a.CALC_AGGREGATE_TYPE=V,a.CALC_TOKEN_TYPE=_,a.CONTROL_BASE_TYPE=k,a.CONTROL_TYPE=I,a.CalcScriptEchoItem=Ma,a.DEFAULT_LOCALE=T,a.DateType=z,a.DepartmentEntity=m,a.EventLogic=O,a.FieldTypeToColumnType=wa,a.FieldTypes=x,a.JSONCopy=Ka,a.RulesMessage=P,a.UserEntity=A,a.Watcher=rn,a.camelizeKeys=tn,a.debounce=en,a.decamelizeKeys=an,a.error=_a,a.genNonDuplicateId=Na,a.getNotRepeatItems=Ya,a.isArray=C,a.isBuiltInControls=nn,a.isFunction=Pa,a.isJSONArray=Qa,a.isJSONObject=Oa,a.isLanguageObject=qa,a.isNumber=N,a.isNumberAndEmptyStringArray=Ja,a.isNumberArray=Xa,a.isObject=Ha,a.isPlainObject=W,a.isString=X,a.isStringArray=Wa,a.log=M,a.logerror=K,a.loop=J,a.loopFormSchema=w,a.noop=$a,a.referenceError=Va,a.toNumberOrEmpty=Za,a.updateValueFromKeys=ja,a.wait=un,a.warn=G,Object.defineProperty(a,"__esModule",{value:!0})});
|
|
1
|
+
var ee=(a,A,m)=>new Promise((f,g)=>{var S=B=>{try{h(m.next(B))}catch(d){g(d)}},b=B=>{try{h(m.throw(B))}catch(d){g(d)}},h=B=>B.done?f(B.value):Promise.resolve(B.value).then(S,b);h((m=m.apply(a,A)).next())});(function(a,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(a=typeof globalThis!="undefined"?globalThis:a||self,A(a.modelDrivenShared={}))})(this,function(a){"use strict";class A{}class m{}var f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",g="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",S="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",h="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",B="{caption}\u5FC5\u586B",d="\u8BF7\u8F93\u5165\u6807\u9898",ue="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",te="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ae="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ne="\u8BF7\u7ED1\u5B9A\u8868\u5355",re="\u8BF7\u7ED1\u5B9A\u5217\u8868",se="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",le="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ie="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",oe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ee="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ce="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Be="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Fe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",me="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",pe="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",he="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",de="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ve="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",De="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ge="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ce="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",fe="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Se="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",be="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ie="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ye="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Me="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$e="\u8BF7\u7ED1\u5B9A\u670D\u52A1",we="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Le="\u8BF7\u9009\u62E9\u7701",Ne="\u8BF7\u9009\u62E9\u5E02",Re="\u8BF7\u9009\u62E9\u533A",Ue="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",_e="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ve="\u8BF7\u8F93\u5165\u5217\u5BBD",Te="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ke="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xe="\u8BF7\u9009\u62E9\u63A7\u4EF6",ze="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",je="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ge="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ke="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",He="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Pe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",We="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Xe="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Je="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Oe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",eu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",tu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",au="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ru="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lu={isNotNumber:f,isNotString:g,isNotObject:S,isNotArray:b,isNotBoolean:h,runtimeRequired:B,pleaseEnterCaption:d,pleaseEnterCaptionTip:ue,pleaseEnterPlaceholder:te,pleaseEnterFieldCode:ae,pleaseEnterForm:ne,pleaseEnterList:re,pleaseEnterProcess:se,pleaseEnterLabel:le,pleaseEnterValue:ie,bizKeyNotBindFiled:oe,pleaseSelectOneField:Ee,pleaseEnterNumberRange:ce,pleaseEnterAValueGreaterThanMin:Be,pleaseEnterAValueLessThanMax:Fe,numberRangeSetError:Ae,stringRangeError:me,attachmentMaxSize:pe,pleaseEnterTotalScoreSetting:he,theTotalScoreMustNotBeLessThan1:de,scoreDefaultValueRange:ve,attachmentLimitError:De,PleaseReselectTheOptionalQuantity:ge,TheMaximumLengthIsGreaterThanTheMinimumLength:Ce,TheMinimumLengthIsGreaterThanTheMaximumLength:fe,PleaseSelectTheCorrectOptionSettings:Se,optionIdIsRepeat:be,optionIsRequired:Ie,pleaseEnterDataCode:ye,pleaseEnterValueFieldCode:Me,pleaseEnterSvcCode:$e,pleaseBindAtLeastOneDisplayValue:we,pleaseSelectProvince:Le,pleaseSelectCity:Ne,pleaseSelectDistrict:Re,limitRowsCannotBeLessThan0:Ue,TheNumberOfRowsCannotBeLessThanMinRows:_e,pleaseEnterColumnWidth:Ve,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Te,pleaseCompleteAllRulesAndConditions:ke,pleaseSelectControl:xe,pleaseSelectAtLeastOneColumn:ze,pleaseSelectFillBackMode:je,pleaseSelectDashboard:Ge,rootNodeIsRequired:Ke,theViewNameCannotBeEmpty:qe,pleaseSelectOcrType:He,pleaseSelectAtLeastOneFieldToFillIn:Pe,pleaseChooseAtLeastOne:We,pleaseEnterButtonContent:Xe,pleaseEnterDataCodeInDataSetting:Je,pleaseEnterValueFieldCodeInDataSetting:Oe,pleaseEnterSvcCodeInDataSetting:Qe,pleaseBindAtLeastOneDisplayValueInDataSetting:Ze,rootNodeIsRequiredInDataSetting:Ye,pleaseEnterMaxHeight:eu,pleaseEnter:uu,pleaseEnterWatermark:tu,pleaseEnterFileName:au,pleaseUploadAtLeastOnePrintTemplate:nu,pleaseAssignBusiness:ru,pleaseAssignExternal:su},iu="Please enter a number",ou="Please enter a string",Eu="Please enter an object",cu="Please enter an array",Bu="Please enter a boolean",Fu="{caption} Required",Au="Please enter the title",mu="Please enter the bubble prompt",pu="Please enter the prompt text",hu="Please bind data items",du="Please bind the form",vu="Please bind the list",Du="Please bind the process",gu="Please enter the displayed value",Cu="Please enter the stored value",fu="The document number is not bound to the data item",Su="Please select at least one display field",bu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Iu="Please enter a value greater than or equal to {min}",yu="Please enter a value less than or equal to {max}",Mu="The value range is set incorrectly",$u="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",wu="The attachment size must be between 0MB and 1000MB",Lu="Please fill in the total score setting",Nu="The total score cannot be less than 1",Ru="The default value must be between {min} and {max}",Uu="The number of attachments uploaded must be between {min} and {max}",_u="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",Tu="The minimum length of the control must be less than the maximum length",ku="Please select the correct option setting",xu="Option ID cannot be repeated",zu="Please enter at least one option",ju="Please bind the data source",Gu="Please bind the stored value",Ku="Please bind the service",qu="At least one display value must be bound",Hu="Please select a province",Pu="Please select a city",Wu="Please select a district",Xu="The minimum number of lines to fill in cannot be less than 0",Ju="The number of rows cannot be less than {min} rows",Ou="Please enter the column width",Qu="Please set the logical relationship of all rule conditions",Zu="Please complete all rules and conditions",Yu="please select control",et="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ut="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tt="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",at="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",nt="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",rt="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",st="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",it="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ot="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Et="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ct="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bt="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ft="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",At="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mt="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",pt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ht="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",dt={isNotNumber:iu,isNotString:ou,isNotObject:Eu,isNotArray:cu,isNotBoolean:Bu,runtimeRequired:Fu,pleaseEnterCaption:Au,pleaseEnterCaptionTip:mu,pleaseEnterPlaceholder:pu,pleaseEnterFieldCode:hu,pleaseEnterForm:du,pleaseEnterList:vu,pleaseEnterProcess:Du,pleaseEnterLabel:gu,pleaseEnterValue:Cu,bizKeyNotBindFiled:fu,pleaseSelectOneField:Su,pleaseEnterNumberRange:bu,pleaseEnterAValueGreaterThanMin:Iu,pleaseEnterAValueLessThanMax:yu,numberRangeSetError:Mu,stringRangeError:$u,attachmentMaxSize:wu,pleaseEnterTotalScoreSetting:Lu,theTotalScoreMustNotBeLessThan1:Nu,scoreDefaultValueRange:Ru,attachmentLimitError:Uu,PleaseReselectTheOptionalQuantity:_u,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:Tu,PleaseSelectTheCorrectOptionSettings:ku,optionIdIsRepeat:xu,optionIsRequired:zu,pleaseEnterDataCode:ju,pleaseEnterValueFieldCode:Gu,pleaseEnterSvcCode:Ku,pleaseBindAtLeastOneDisplayValue:qu,pleaseSelectProvince:Hu,pleaseSelectCity:Pu,pleaseSelectDistrict:Wu,limitRowsCannotBeLessThan0:Xu,TheNumberOfRowsCannotBeLessThanMinRows:Ju,pleaseEnterColumnWidth:Ou,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qu,pleaseCompleteAllRulesAndConditions:Zu,pleaseSelectControl:Yu,pleaseSelectDashboard:et,theViewNameCannotBeEmpty:ut,pleaseSelectOcrType:tt,pleaseSelectAtLeastOneFieldToFillIn:at,pleaseChooseAtLeastOne:nt,pleaseEnterButtonContent:rt,pleaseEnterDataCodeInDataSetting:st,pleaseEnterValueFieldCodeInDataSetting:lt,pleaseEnterSvcCodeInDataSetting:it,pleaseBindAtLeastOneDisplayValueInDataSetting:ot,rootNodeIsRequiredInDataSetting:Et,pleaseEnterMaxHeight:ct,pleaseEnter:Bt,pleaseEnterWatermark:Ft,pleaseEnterFileName:At,pleaseUploadAtLeastOnePrintTemplate:mt,pleaseAssignBusiness:pt,pleaseAssignExternal:ht},vt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ct="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ft="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="{caption}\u5FC5\u9808",bt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$t="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ut="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",_t="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tt="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kt="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xt="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",zt="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jt="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qt="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ht="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Pt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wt="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jt="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ot="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qt="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Zt="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yt="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ea="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ua="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ta="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",na="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ra="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",la="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ia="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ea="please select control",ca="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ba="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Aa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ma="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",pa="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ha="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",va="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ca="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",fa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Sa="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ba="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ia="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ya="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ma="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$a={isNotNumber:vt,isNotString:Dt,isNotObject:gt,isNotArray:Ct,isNotBoolean:ft,runtimeRequired:St,pleaseEnterCaption:bt,pleaseEnterCaptionTip:It,pleaseEnterPlaceholder:yt,pleaseEnterFieldCode:Mt,pleaseEnterForm:$t,pleaseEnterList:wt,pleaseEnterProcess:Lt,pleaseEnterLabel:Nt,pleaseEnterValue:Rt,bizKeyNotBindFiled:Ut,pleaseSelectOneField:_t,pleaseEnterNumberRange:Vt,pleaseEnterAValueGreaterThanMin:Tt,pleaseEnterAValueLessThanMax:kt,numberRangeSetError:xt,stringRangeError:zt,attachmentMaxSize:jt,pleaseEnterTotalScoreSetting:Gt,theTotalScoreMustNotBeLessThan1:Kt,scoreDefaultValueRange:qt,attachmentLimitError:Ht,PleaseReselectTheOptionalQuantity:Pt,TheMaximumLengthIsGreaterThanTheMinimumLength:Wt,TheMinimumLengthIsGreaterThanTheMaximumLength:Xt,PleaseSelectTheCorrectOptionSettings:Jt,optionIdIsRepeat:Ot,optionIsRequired:Qt,pleaseEnterDataCode:Zt,pleaseEnterValueFieldCode:Yt,pleaseEnterSvcCode:ea,pleaseBindAtLeastOneDisplayValue:ua,pleaseSelectProvince:ta,pleaseSelectCity:aa,pleaseSelectDistrict:na,limitRowsCannotBeLessThan0:ra,TheNumberOfRowsCannotBeLessThanMinRows:sa,pleaseEnterColumnWidth:la,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ia,pleaseCompleteAllRulesAndConditions:oa,pleaseSelectControl:Ea,pleaseSelectDashboard:ca,theViewNameCannotBeEmpty:Ba,pleaseSelectOcrType:Fa,pleaseSelectAtLeastOneFieldToFillIn:Aa,pleaseChooseAtLeastOne:ma,pleaseEnterButtonContent:pa,pleaseEnterDataCodeInDataSetting:ha,pleaseEnterValueFieldCodeInDataSetting:da,pleaseEnterSvcCodeInDataSetting:va,pleaseBindAtLeastOneDisplayValueInDataSetting:Da,rootNodeIsRequiredInDataSetting:ga,pleaseEnterMaxHeight:Ca,pleaseEnter:fa,pleaseEnterWatermark:Sa,pleaseEnterFileName:ba,pleaseUploadAtLeastOnePrintTemplate:Ia,pleaseAssignBusiness:ya,pleaseAssignExternal:Ma},wa={zhCN:lu,enUS:dt,jaJP:$a},_=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(_||{}),V=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(V||{});class La{constructor(u){var t,n,l,o,i,E;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(n=u==null?void 0:u.id)!=null?n:"",this.type=(l=u==null?void 0:u.type)!=null?l:"Number",this.subTableId=(o=u==null?void 0:u.subTableId)!=null?o:void 0,this.subTableName=(i=u==null?void 0:u.subTableId)!=null?i:void 0,this.aggregateType=(E=u==null?void 0:u.aggregateType)!=null?E:void 0}}const T="zh-CN",Na=()=>{};var k=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(k||{}),I=(e=>(e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e))(I||{}),x=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e))(x||{});const Ra={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",department:"department-column",file:"file-column",image:"image-column",location:"location-column",people:"employee-column",text:"text-column",timescope:"timescope-column",timestamp:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var z=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime",e))(z||{});const j="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ua=j+"0123456789";function _a(e=15){let u="";for(let t=0;t<e;t++){const n=t===0?j:Ua,l=Math.random()*n.length;u+=n[parseInt(String(l),10)]}return u}const y=console;function G(...e){const u=e.slice(1);y.warn("\u{1F9D0} Driven Warning:"+e[0],...u)}function M(...e){const u=e.slice(1);y.log("\u{1F680} Driven Log:"+e[0],...u)}function Va(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class $ extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?Va(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class Ta extends ${constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function ka(e){throw new $(e)}function xa(e){throw new Ta(e)}function K(e){y.error(new $(e))}function w(e,u){Array.isArray(e)&&e.map(t=>{switch(t.controlType){case"layout":w(t==null?void 0:t.children,u);break;case"search":w(t==null?void 0:t.children,u);break;case"form":u(t)}})}var za=Object.prototype.toString;function q(e,u){return za.call(e)==="[object "+u+"]"}function ja(e){return q(e,"String")}function Ga(e){return q(e,"Promise")}var Ka=function(){function e(u){var t,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&n!==void 0?n:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var n=this.getMessageData();Ga(n)?n.then(function(l){t._messageCache.clear(),t.messages[t.localeInMessageKey]=l}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,n){var l=this.getMessage(u);return l?this.formatMessage(l,n):this.formatMessage(t,n)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),n=t.reduce(function(l,o,i,E){if(l!==void 0){var p=l[o];if(!(i===E.length-1&&!ja(p)))return p}},this.message);return this._messageCache.set(u,n),n},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(n,l){var o=t[l];return o!==void 0?String(o):n}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(t={},t[n]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();const H=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=T){return new Ka({locale:e,messages:wa})}static setLocale(e){return this.$i18n.setLocale(e)}};let P=H;P.$i18n=H.resetI18n();function qa(e,u,t){const n=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let l=!1;return n.reduce((o,i,E,p)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){G(`Can not set ${u}'s ${i} property in current %o, Because there is no ${i} property on the %o`,o,o);return}return E===p.length-1&&!Object.is(v[i],t)&&(v[i]=t,l=!0),v[i]}},e),l}var Ha=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L={exports:{}};(function(e){(function(u){var t=function(r,s,c){if(!v(s)||Bn(s)||Fn(s)||An(s)||p(s))return s;var F,D=0,Y=0;if(cn(s))for(F=[],Y=s.length;D<Y;D++)F.push(t(r,s[D],c));else{F={};for(var U in s)Object.prototype.hasOwnProperty.call(s,U)&&(F[r(U,c)]=t(r,s[U],c))}return F},n=function(r,s){s=s||{};var c=s.separator||"_",F=s.split||/(?=[A-Z])/;return r.split(F).join(c)},l=function(r){return mn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(s,c){return c?c.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var s=l(r);return s.substr(0,1).toUpperCase()+s.substr(1)},i=function(r,s){return n(r,s).toLowerCase()},E=Object.prototype.toString,p=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},cn=function(r){return E.call(r)=="[object Array]"},Bn=function(r){return E.call(r)=="[object Date]"},Fn=function(r){return E.call(r)=="[object RegExp]"},An=function(r){return E.call(r)=="[object Boolean]"},mn=function(r){return r=r-0,r===r},R=function(r,s){var c=s&&"process"in s?s.process:s;return typeof c!="function"?r:function(F,D){return c(F,r,D)}},Z={camelize:l,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(r,s){return t(R(l,s),r)},decamelizeKeys:function(r,s){return t(R(i,s),r,s)},pascalizeKeys:function(r,s){return t(R(o,s),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=Z:u.humps=Z})(Ha)})(L);function Pa(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function Wa(e){return W(e)&&"zh"in e}function W(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xa(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function C(e){return Array.isArray(e)}function X(e){return typeof e=="string"}function N(e){return typeof e=="number"}function Ja(e){return typeof e=="function"}function Oa(e){return C(e)&&e.every(u=>X(u))}function Qa(e){return C(e)&&e.every(u=>N(u))}function Za(e){return C(e)&&e.every(u=>N(u)||u==="")}function Ya(e){return/^\[.*?]$/.test(e)}function en(e){return/^{.*?}$/.test(e)}function un(e){return isNaN(parseFloat(e))?"":Number(e)}function tn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function an(e,u=500){let t;return function(...n){t||(t=setTimeout(()=>{e.apply(this,n),clearTimeout(t),t=null},u))}}function nn(e=0){return new Promise(u=>{setTimeout(u,e)})}function J(e,u){let t=[];return Array.isArray(e)&&(t=e.map(n=>{let l=n;return Array.isArray(n==null?void 0:n.children)&&(l.children=J(n.children,u)),u(l)})),t}function rn(e){return L.exports.camelizeKeys(e)}function sn(e){return L.exports.decamelizeKeys(e)}function ln(e){return Object.values(I).includes(e)}class on{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return ee(this,null,function*(){const n=this._events.get(u),l=[];if(n){const o=n.slice();for(const i of o)if(!!n.includes(i))try{this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}\u3002`,...t);const E=yield i.apply(null,[...t]);if(this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o`,...t,E),l.push(E),E===!1)break}catch(E){K(String(E))}}return l})}on(u,t){var n;this._events.has(u)?(n=this._events.get(u))==null||n.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const n=this._events.get(u),l=n==null?void 0:n.indexOf(t);n==null||n.splice(l,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const En=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"}],O=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return O.events.filter(t=>u.includes(t.key))}};let Q=O;Q.events=En,a.CALC_AGGREGATE_TYPE=V,a.CALC_TOKEN_TYPE=_,a.CONTROL_BASE_TYPE=k,a.CONTROL_TYPE=I,a.CalcScriptEchoItem=La,a.DEFAULT_LOCALE=T,a.DateType=z,a.DepartmentEntity=A,a.EventLogic=Q,a.FieldTypeToColumnType=Ra,a.FieldTypes=x,a.JSONCopy=Pa,a.RulesMessage=P,a.UserEntity=m,a.Watcher=on,a.camelizeKeys=rn,a.debounce=an,a.decamelizeKeys=sn,a.error=ka,a.genNonDuplicateId=_a,a.getNotRepeatItems=tn,a.isArray=C,a.isBuiltInControls=ln,a.isFunction=Ja,a.isJSONArray=Ya,a.isJSONObject=en,a.isLanguageObject=Wa,a.isNumber=N,a.isNumberAndEmptyStringArray=Za,a.isNumberArray=Qa,a.isObject=Xa,a.isPlainObject=W,a.isString=X,a.isStringArray=Oa,a.log=M,a.logerror=K,a.loop=J,a.loopFormSchema=w,a.noop=Na,a.referenceError=xa,a.toNumberOrEmpty=un,a.updateValueFromKeys=qa,a.wait=nn,a.warn=G,Object.defineProperty(a,"__esModule",{value:!0})});
|
|
@@ -97,7 +97,7 @@ declare const eventMap: readonly [{
|
|
|
97
97
|
readonly name: "行选中时";
|
|
98
98
|
readonly code: "list-rows-checked";
|
|
99
99
|
}];
|
|
100
|
-
export
|
|
100
|
+
export type InnerEventCode = typeof eventMap[number]['code'];
|
|
101
101
|
export declare class EventLogic {
|
|
102
102
|
static readonly events: readonly [{
|
|
103
103
|
readonly key: "on_click";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import OkI18n from 'ok-i18n';
|
|
2
2
|
import messages from './locales';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
type Message = Partial<typeof messages['zhCN']>;
|
|
4
|
+
type Keys = 'caption' | 'placeholder' | 'max' | 'min';
|
|
5
|
+
type Variable = {
|
|
6
6
|
[key in Keys]?: string | number;
|
|
7
7
|
};
|
|
8
8
|
export declare class RulesMessage {
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
pleaseEnterLabel: string;
|
|
17
17
|
pleaseEnterValue: string;
|
|
18
18
|
bizKeyNotBindFiled: string;
|
|
19
|
+
pleaseSelectOneField: string;
|
|
19
20
|
pleaseEnterNumberRange: string;
|
|
20
21
|
pleaseEnterAValueGreaterThanMin: string;
|
|
21
22
|
pleaseEnterAValueLessThanMax: string;
|
|
@@ -84,6 +85,7 @@ declare const _default: {
|
|
|
84
85
|
pleaseEnterLabel: string;
|
|
85
86
|
pleaseEnterValue: string;
|
|
86
87
|
bizKeyNotBindFiled: string;
|
|
88
|
+
pleaseSelectOneField: string;
|
|
87
89
|
pleaseEnterNumberRange: string;
|
|
88
90
|
pleaseEnterAValueGreaterThanMin: string;
|
|
89
91
|
pleaseEnterAValueLessThanMax: string;
|
|
@@ -149,6 +151,7 @@ declare const _default: {
|
|
|
149
151
|
pleaseEnterLabel: string;
|
|
150
152
|
pleaseEnterValue: string;
|
|
151
153
|
bizKeyNotBindFiled: string;
|
|
154
|
+
pleaseSelectOneField: string;
|
|
152
155
|
pleaseEnterNumberRange: string;
|
|
153
156
|
pleaseEnterAValueGreaterThanMin: string;
|
|
154
157
|
pleaseEnterAValueLessThanMax: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"humps": "^2.0.1",
|
|
26
26
|
"ok-i18n": "^3.0.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "12c89d4e0ed0ab4fef302afe303a669bb0085a58"
|
|
29
29
|
}
|