@byteluck-fe/model-driven-shared 1.8.0-beta.2 → 2.0.1
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 +6 -1
- package/dist/esm/calc.js +12 -12
- package/dist/esm/watcher.js +88 -191
- package/dist/index.umd.js +1 -1
- package/dist/types/EventLogic.d.ts +13 -1
- package/dist/types/RulesMessage.d.ts +3 -3
- package/package.json +2 -2
package/dist/esm/EventLogic.js
CHANGED
|
@@ -80,6 +80,11 @@ var eventMap = [
|
|
|
80
80
|
name: "点击操作按钮时",
|
|
81
81
|
code: "list-actions"
|
|
82
82
|
},
|
|
83
|
+
{
|
|
84
|
+
key: "on_list_render_operation",
|
|
85
|
+
name: "操作列渲染时",
|
|
86
|
+
code: "list-render-operation"
|
|
87
|
+
},
|
|
83
88
|
{
|
|
84
89
|
key: "on_list_rowclick",
|
|
85
90
|
name: "行点击时",
|
|
@@ -99,7 +104,7 @@ var eventMap = [
|
|
|
99
104
|
key: "on_list_rows_checked",
|
|
100
105
|
name: "行选中时",
|
|
101
106
|
code: "list-rows-checked"
|
|
102
|
-
}
|
|
107
|
+
},
|
|
103
108
|
];
|
|
104
109
|
export var EventLogic = /*#__PURE__*/ function() {
|
|
105
110
|
"use strict";
|
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 ref;
|
|
49
|
+
this.name = (ref = props === null || props === void 0 ? void 0 : props.name) !== null && ref !== void 0 ? ref : "";
|
|
50
|
+
var ref1;
|
|
51
|
+
this.id = (ref1 = props === null || props === void 0 ? void 0 : props.id) !== null && ref1 !== void 0 ? ref1 : "";
|
|
52
|
+
var ref2;
|
|
53
|
+
this.type = (ref2 = props === null || props === void 0 ? void 0 : props.type) !== null && ref2 !== void 0 ? ref2 : CALC_TOKEN_TYPE.Number;
|
|
54
|
+
var ref3;
|
|
55
|
+
this.subTableId = (ref3 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && ref3 !== void 0 ? ref3 : undefined;
|
|
56
|
+
var ref4;
|
|
57
|
+
this.subTableName = (ref4 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && ref4 !== void 0 ? ref4 : undefined;
|
|
58
|
+
var ref5;
|
|
59
|
+
this.aggregateType = (ref5 = props === null || props === void 0 ? void 0 : props.aggregateType) !== null && ref5 !== void 0 ? ref5 : undefined;
|
|
60
60
|
};
|
package/dist/esm/watcher.js
CHANGED
|
@@ -57,101 +57,7 @@ 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
|
-
|
|
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
|
-
};
|
|
60
|
+
import regeneratorRuntime from "regenerator-runtime";
|
|
155
61
|
import { log, logerror } from "./log";
|
|
156
62
|
// 通信总线
|
|
157
63
|
var Watcher = /*#__PURE__*/ function() {
|
|
@@ -169,61 +75,43 @@ var Watcher = /*#__PURE__*/ function() {
|
|
|
169
75
|
payload[_key - 1] = arguments[_key];
|
|
170
76
|
}
|
|
171
77
|
var _this = this;
|
|
172
|
-
return _asyncToGenerator(function() {
|
|
173
|
-
var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result
|
|
174
|
-
return
|
|
175
|
-
switch(
|
|
78
|
+
return _asyncToGenerator(/*#__PURE__*/ regeneratorRuntime.mark(function _callee() {
|
|
79
|
+
var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result;
|
|
80
|
+
return regeneratorRuntime.wrap(function _callee$(_ctx) {
|
|
81
|
+
while(1)switch(_ctx.prev = _ctx.next){
|
|
176
82
|
case 0:
|
|
177
83
|
callbacksOrigin = _this._events.get(key);
|
|
178
84
|
results = [];
|
|
179
|
-
if (!callbacksOrigin)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
85
|
+
if (!callbacksOrigin) {
|
|
86
|
+
_ctx.next = 42;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
183
89
|
_callbacks = callbacksOrigin.slice();
|
|
184
90
|
_iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
185
|
-
|
|
186
|
-
case 1:
|
|
187
|
-
_state.trys.push([
|
|
188
|
-
1,
|
|
189
|
-
8,
|
|
190
|
-
9,
|
|
191
|
-
10
|
|
192
|
-
]);
|
|
91
|
+
_ctx.prev = 5;
|
|
193
92
|
_iterator = _callbacks[Symbol.iterator]();
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
];
|
|
93
|
+
case 7:
|
|
94
|
+
if (_iteratorNormalCompletion = (_step = _iterator.next()).done) {
|
|
95
|
+
_ctx.next = 28;
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
200
98
|
callback = _step.value;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
3,
|
|
205
|
-
6
|
|
206
|
-
];
|
|
99
|
+
if (callbacksOrigin.includes(callback)) {
|
|
100
|
+
_ctx.next = 11;
|
|
101
|
+
break;
|
|
207
102
|
}
|
|
208
|
-
|
|
209
|
-
case
|
|
210
|
-
|
|
211
|
-
3,
|
|
212
|
-
5,
|
|
213
|
-
,
|
|
214
|
-
6
|
|
215
|
-
]);
|
|
103
|
+
return _ctx.abrupt("continue", 25);
|
|
104
|
+
case 11:
|
|
105
|
+
_ctx.prev = 11;
|
|
216
106
|
_this.debug && log.apply(void 0, [
|
|
217
107
|
"正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
|
|
218
108
|
return "%o";
|
|
219
109
|
}).join(","), "。")
|
|
220
110
|
].concat(_toConsumableArray(payload)));
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
case 4:
|
|
226
|
-
result = _state.sent();
|
|
111
|
+
_ctx.next = 15;
|
|
112
|
+
return callback.apply(null, _toConsumableArray(payload));
|
|
113
|
+
case 15:
|
|
114
|
+
result = _ctx.sent;
|
|
227
115
|
_this.debug && log.apply(void 0, [
|
|
228
116
|
"正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
|
|
229
117
|
return "%o";
|
|
@@ -232,69 +120,78 @@ var Watcher = /*#__PURE__*/ function() {
|
|
|
232
120
|
result
|
|
233
121
|
]));
|
|
234
122
|
results.push(result);
|
|
235
|
-
if (result === false) {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
7
|
|
239
|
-
];
|
|
123
|
+
if (!(result === false)) {
|
|
124
|
+
_ctx.next = 20;
|
|
125
|
+
break;
|
|
240
126
|
}
|
|
241
|
-
return
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
case
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
6
|
|
251
|
-
];
|
|
252
|
-
case 6:
|
|
127
|
+
return _ctx.abrupt("break", 28);
|
|
128
|
+
case 20:
|
|
129
|
+
_ctx.next = 25;
|
|
130
|
+
break;
|
|
131
|
+
case 22:
|
|
132
|
+
_ctx.prev = 22;
|
|
133
|
+
_ctx.t0 = _ctx["catch"](11);
|
|
134
|
+
logerror(String(_ctx.t0));
|
|
135
|
+
case 25:
|
|
253
136
|
_iteratorNormalCompletion = true;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
];
|
|
263
|
-
case 8:
|
|
264
|
-
err = _state.sent();
|
|
137
|
+
_ctx.next = 7;
|
|
138
|
+
break;
|
|
139
|
+
case 28:
|
|
140
|
+
_ctx.next = 34;
|
|
141
|
+
break;
|
|
142
|
+
case 30:
|
|
143
|
+
_ctx.prev = 30;
|
|
144
|
+
_ctx.t1 = _ctx["catch"](5);
|
|
265
145
|
_didIteratorError = true;
|
|
266
|
-
_iteratorError =
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
try {
|
|
273
|
-
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
274
|
-
_iterator.return();
|
|
275
|
-
}
|
|
276
|
-
} finally{
|
|
277
|
-
if (_didIteratorError) {
|
|
278
|
-
throw _iteratorError;
|
|
279
|
-
}
|
|
146
|
+
_iteratorError = _ctx.t1;
|
|
147
|
+
case 34:
|
|
148
|
+
_ctx.prev = 34;
|
|
149
|
+
_ctx.prev = 35;
|
|
150
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
151
|
+
_iterator.return();
|
|
280
152
|
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
153
|
+
case 37:
|
|
154
|
+
_ctx.prev = 37;
|
|
155
|
+
if (!_didIteratorError) {
|
|
156
|
+
_ctx.next = 40;
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
throw _iteratorError;
|
|
160
|
+
case 40:
|
|
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();
|
|
289
169
|
}
|
|
290
|
-
}
|
|
291
|
-
|
|
170
|
+
}, _callee, null, [
|
|
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
|
+
}))();
|
|
292
189
|
};
|
|
293
190
|
// 订阅事件
|
|
294
191
|
_proto.on = function on(key, callback) {
|
|
295
192
|
if (this._events.has(key)) {
|
|
296
|
-
var
|
|
297
|
-
(
|
|
193
|
+
var ref;
|
|
194
|
+
(ref = this._events.get(key)) === null || ref === void 0 ? void 0 : ref.push(callback);
|
|
298
195
|
} else {
|
|
299
196
|
this._events.set(key, [
|
|
300
197
|
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_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,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})});
|
|
@@ -76,6 +76,10 @@ declare const eventMap: readonly [{
|
|
|
76
76
|
readonly key: "on_list_actions";
|
|
77
77
|
readonly name: "点击操作按钮时";
|
|
78
78
|
readonly code: "list-actions";
|
|
79
|
+
}, {
|
|
80
|
+
readonly key: "on_list_render_operation";
|
|
81
|
+
readonly name: "操作列渲染时";
|
|
82
|
+
readonly code: "list-render-operation";
|
|
79
83
|
}, {
|
|
80
84
|
readonly key: "on_list_rowclick";
|
|
81
85
|
readonly name: "行点击时";
|
|
@@ -93,7 +97,7 @@ declare const eventMap: readonly [{
|
|
|
93
97
|
readonly name: "行选中时";
|
|
94
98
|
readonly code: "list-rows-checked";
|
|
95
99
|
}];
|
|
96
|
-
export type InnerEventCode = typeof eventMap[number]['code'];
|
|
100
|
+
export declare type InnerEventCode = typeof eventMap[number]['code'];
|
|
97
101
|
export declare class EventLogic {
|
|
98
102
|
static readonly events: readonly [{
|
|
99
103
|
readonly key: "on_click";
|
|
@@ -155,6 +159,10 @@ export declare class EventLogic {
|
|
|
155
159
|
readonly key: "on_list_actions";
|
|
156
160
|
readonly name: "点击操作按钮时";
|
|
157
161
|
readonly code: "list-actions";
|
|
162
|
+
}, {
|
|
163
|
+
readonly key: "on_list_render_operation";
|
|
164
|
+
readonly name: "操作列渲染时";
|
|
165
|
+
readonly code: "list-render-operation";
|
|
158
166
|
}, {
|
|
159
167
|
readonly key: "on_list_rowclick";
|
|
160
168
|
readonly name: "行点击时";
|
|
@@ -232,6 +240,10 @@ export declare class EventLogic {
|
|
|
232
240
|
readonly key: "on_list_actions";
|
|
233
241
|
readonly name: "点击操作按钮时";
|
|
234
242
|
readonly code: "list-actions";
|
|
243
|
+
} | {
|
|
244
|
+
readonly key: "on_list_render_operation";
|
|
245
|
+
readonly name: "操作列渲染时";
|
|
246
|
+
readonly code: "list-render-operation";
|
|
235
247
|
} | {
|
|
236
248
|
readonly key: "on_list_rowclick";
|
|
237
249
|
readonly name: "行点击时";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import OkI18n from 'ok-i18n';
|
|
2
2
|
import messages from './locales';
|
|
3
|
-
type Message = Partial<typeof messages['zhCN']>;
|
|
4
|
-
type Keys = 'caption' | 'placeholder' | 'max' | 'min';
|
|
5
|
-
type Variable = {
|
|
3
|
+
declare type Message = Partial<typeof messages['zhCN']>;
|
|
4
|
+
declare type Keys = 'caption' | 'placeholder' | 'max' | 'min';
|
|
5
|
+
declare type Variable = {
|
|
6
6
|
[key in Keys]?: string | number;
|
|
7
7
|
};
|
|
8
8
|
export declare class RulesMessage {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
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": "935fe6ee64cd5930493650e92d4eccf03c610966"
|
|
29
29
|
}
|