@byteluck-fe/model-driven-shared 2.3.13 → 2.3.20

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.
@@ -1,10 +1,10 @@
1
- function _arrayLikeToArray(arr, len) {
1
+ function _array_like_to_array(arr, len) {
2
2
  if (len == null || len > arr.length) len = arr.length;
3
3
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
4
  return arr2;
5
5
  }
6
- function _arrayWithoutHoles(arr) {
7
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
6
+ function _array_without_holes(arr) {
7
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
8
8
  }
9
9
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
10
10
  try {
@@ -20,7 +20,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
20
20
  Promise.resolve(value).then(_next, _throw);
21
21
  }
22
22
  }
23
- function _asyncToGenerator(fn) {
23
+ function _async_to_generator(fn) {
24
24
  return function() {
25
25
  var self = this, args = arguments;
26
26
  return new Promise(function(resolve, reject) {
@@ -35,7 +35,7 @@ function _asyncToGenerator(fn) {
35
35
  });
36
36
  };
37
37
  }
38
- function _classCallCheck(instance, Constructor) {
38
+ function _class_call_check(instance, Constructor) {
39
39
  if (!(instance instanceof Constructor)) {
40
40
  throw new TypeError("Cannot call a class as a function");
41
41
  }
@@ -49,40 +49,147 @@ function _defineProperties(target, props) {
49
49
  Object.defineProperty(target, descriptor.key, descriptor);
50
50
  }
51
51
  }
52
- function _createClass(Constructor, protoProps, staticProps) {
52
+ function _create_class(Constructor, protoProps, staticProps) {
53
53
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
54
54
  if (staticProps) _defineProperties(Constructor, staticProps);
55
55
  return Constructor;
56
56
  }
57
- function _iterableToArray(iter) {
57
+ function _define_property(obj, key, value) {
58
+ if (key in obj) {
59
+ Object.defineProperty(obj, key, {
60
+ value: value,
61
+ enumerable: true,
62
+ configurable: true,
63
+ writable: true
64
+ });
65
+ } else {
66
+ obj[key] = value;
67
+ }
68
+ return obj;
69
+ }
70
+ function _iterable_to_array(iter) {
58
71
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
59
72
  }
60
- function _nonIterableSpread() {
73
+ function _non_iterable_spread() {
61
74
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
62
75
  }
63
- function _toConsumableArray(arr) {
64
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
76
+ function _to_consumable_array(arr) {
77
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
65
78
  }
66
- function _unsupportedIterableToArray(o, minLen) {
79
+ function _unsupported_iterable_to_array(o, minLen) {
67
80
  if (!o) return;
68
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
81
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
69
82
  var n = Object.prototype.toString.call(o).slice(8, -1);
70
83
  if (n === "Object" && o.constructor) n = o.constructor.name;
71
84
  if (n === "Map" || n === "Set") return Array.from(n);
72
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
85
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
73
86
  }
74
- import regeneratorRuntime from "regenerator-runtime";
75
- import { log, logerror } from './log';
76
- var Watcher = // 通信总线
77
- /*#__PURE__*/ function() {
87
+ function _ts_generator(thisArg, body) {
88
+ var f, y, t, g, _ = {
89
+ label: 0,
90
+ sent: function() {
91
+ if (t[0] & 1) throw t[1];
92
+ return t[1];
93
+ },
94
+ trys: [],
95
+ ops: []
96
+ };
97
+ return g = {
98
+ next: verb(0),
99
+ "throw": verb(1),
100
+ "return": verb(2)
101
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
102
+ return this;
103
+ }), g;
104
+ function verb(n) {
105
+ return function(v) {
106
+ return step([
107
+ n,
108
+ v
109
+ ]);
110
+ };
111
+ }
112
+ function step(op) {
113
+ if (f) throw new TypeError("Generator is already executing.");
114
+ while(_)try {
115
+ 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;
116
+ if (y = 0, t) op = [
117
+ op[0] & 2,
118
+ t.value
119
+ ];
120
+ switch(op[0]){
121
+ case 0:
122
+ case 1:
123
+ t = op;
124
+ break;
125
+ case 4:
126
+ _.label++;
127
+ return {
128
+ value: op[1],
129
+ done: false
130
+ };
131
+ case 5:
132
+ _.label++;
133
+ y = op[1];
134
+ op = [
135
+ 0
136
+ ];
137
+ continue;
138
+ case 7:
139
+ op = _.ops.pop();
140
+ _.trys.pop();
141
+ continue;
142
+ default:
143
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
144
+ _ = 0;
145
+ continue;
146
+ }
147
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
148
+ _.label = op[1];
149
+ break;
150
+ }
151
+ if (op[0] === 6 && _.label < t[1]) {
152
+ _.label = t[1];
153
+ t = op;
154
+ break;
155
+ }
156
+ if (t && _.label < t[2]) {
157
+ _.label = t[2];
158
+ _.ops.push(op);
159
+ break;
160
+ }
161
+ if (t[2]) _.ops.pop();
162
+ _.trys.pop();
163
+ continue;
164
+ }
165
+ op = body.call(thisArg, _);
166
+ } catch (e) {
167
+ op = [
168
+ 6,
169
+ e
170
+ ];
171
+ y = 0;
172
+ } finally{
173
+ f = t = 0;
174
+ }
175
+ if (op[0] & 5) throw op[1];
176
+ return {
177
+ value: op[0] ? op[1] : void 0,
178
+ done: true
179
+ };
180
+ }
181
+ }
182
+ import { log, logerror } from "./log";
183
+ // 通信总线
184
+ var Watcher = /*#__PURE__*/ function() {
78
185
  "use strict";
79
186
  function Watcher() {
80
- _classCallCheck(this, Watcher);
187
+ _class_call_check(this, Watcher);
81
188
  // 全局事件维护
82
- this._events = new Map();
83
- this.debug = false;
189
+ _define_property(this, "_events", new Map());
190
+ _define_property(this, "debug", false);
84
191
  }
85
- _createClass(Watcher, [
192
+ _create_class(Watcher, [
86
193
  {
87
194
  key: "emit",
88
195
  value: // 发布,触发事件
@@ -91,117 +198,127 @@ var Watcher = // 通信总线
91
198
  payload[_key - 1] = arguments[_key];
92
199
  }
93
200
  var _this = this;
94
- return _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
95
- var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result;
96
- return regeneratorRuntime.wrap(function _callee$(_ctx) {
97
- while(1)switch(_ctx.prev = _ctx.next){
201
+ return _async_to_generator(function() {
202
+ var callbacksOrigin, results, _callbacks, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, callback, result, e, err;
203
+ return _ts_generator(this, function(_state) {
204
+ switch(_state.label){
98
205
  case 0:
99
206
  callbacksOrigin = _this._events.get(key);
100
207
  results = [];
101
- if (!callbacksOrigin) {
102
- _ctx.next = 42;
103
- break;
104
- }
208
+ if (!callbacksOrigin) return [
209
+ 3,
210
+ 10
211
+ ];
212
+ // 由于执行回调是异步队列的形式,所以需要复制一份原来的callbacks,确保不会因为循环过程中卸载了一些事件导致的事件执行错误问题
105
213
  _callbacks = callbacksOrigin.slice();
106
214
  _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
107
- _ctx.prev = 5;
215
+ _state.label = 1;
216
+ case 1:
217
+ _state.trys.push([
218
+ 1,
219
+ 8,
220
+ 9,
221
+ 10
222
+ ]);
108
223
  _iterator = _callbacks[Symbol.iterator]();
109
- case 7:
110
- if (_iteratorNormalCompletion = (_step = _iterator.next()).done) {
111
- _ctx.next = 28;
112
- break;
113
- }
224
+ _state.label = 2;
225
+ case 2:
226
+ if (!!(_iteratorNormalCompletion = (_step = _iterator.next()).done)) return [
227
+ 3,
228
+ 7
229
+ ];
114
230
  callback = _step.value;
115
- if (callbacksOrigin.includes(callback)) {
116
- _ctx.next = 11;
117
- break;
231
+ // 如果在执行期间卸载了对应的事件,则callback在origin里就不存在了,就不再执行
232
+ if (!callbacksOrigin.includes(callback)) {
233
+ return [
234
+ 3,
235
+ 6
236
+ ];
118
237
  }
119
- return _ctx.abrupt("continue", 25);
120
- case 11:
121
- _ctx.prev = 11;
238
+ _state.label = 3;
239
+ case 3:
240
+ _state.trys.push([
241
+ 3,
242
+ 5,
243
+ ,
244
+ 6
245
+ ]);
122
246
  _this.debug && log.apply(void 0, [
123
- "正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? '当前执行的插件为:' + callback.applyingPluginName : '', ", 当前执行函数的参数为").concat(payload.map(function() {
124
- return '%o';
125
- }).join(','), "。")
126
- ].concat(_toConsumableArray(payload)));
127
- _ctx.next = 15;
128
- return callback.apply(null, _toConsumableArray(payload));
129
- case 15:
130
- result = _ctx.sent;
247
+ "正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
248
+ return "%o";
249
+ }).join(","), "。")
250
+ ].concat(_to_consumable_array(payload)));
251
+ return [
252
+ 4,
253
+ callback.apply(null, _to_consumable_array(payload))
254
+ ];
255
+ case 4:
256
+ result = _state.sent();
131
257
  _this.debug && log.apply(void 0, [
132
- "正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? '当前执行的插件为:' + callback.applyingPluginName : '', ", 当前执行函数的参数为").concat(payload.map(function() {
133
- return '%o';
134
- }).join(','), "; 函数的返回结果为%o")
135
- ].concat(_toConsumableArray(payload), [
258
+ "正在执行 ".concat(key, " 事件: ").concat(callback.applyingPluginName ? "当前执行的插件为:" + callback.applyingPluginName : "", ", 当前执行函数的参数为").concat(payload.map(function() {
259
+ return "%o";
260
+ }).join(","), "; 函数的返回结果为%o")
261
+ ].concat(_to_consumable_array(payload), [
136
262
  result
137
263
  ]));
138
264
  results.push(result);
139
- if (!(result === false)) {
140
- _ctx.next = 20;
141
- break;
265
+ if (result === false) {
266
+ return [
267
+ 3,
268
+ 7
269
+ ];
142
270
  }
143
- return _ctx.abrupt("break", 28);
144
- case 20:
145
- _ctx.next = 25;
146
- break;
147
- case 22:
148
- _ctx.prev = 22;
149
- _ctx.t0 = _ctx["catch"](11);
150
- logerror(String(_ctx.t0) + ':' + String(_ctx.t0.stack));
151
- case 25:
271
+ return [
272
+ 3,
273
+ 6
274
+ ];
275
+ case 5:
276
+ e = _state.sent();
277
+ logerror(String(e) + ":" + String(e.stack));
278
+ return [
279
+ 3,
280
+ 6
281
+ ];
282
+ case 6:
152
283
  _iteratorNormalCompletion = true;
153
- _ctx.next = 7;
154
- break;
155
- case 28:
156
- _ctx.next = 34;
157
- break;
158
- case 30:
159
- _ctx.prev = 30;
160
- _ctx.t1 = _ctx["catch"](5);
284
+ return [
285
+ 3,
286
+ 2
287
+ ];
288
+ case 7:
289
+ return [
290
+ 3,
291
+ 10
292
+ ];
293
+ case 8:
294
+ err = _state.sent();
161
295
  _didIteratorError = true;
162
- _iteratorError = _ctx.t1;
163
- case 34:
164
- _ctx.prev = 34;
165
- _ctx.prev = 35;
166
- if (!_iteratorNormalCompletion && _iterator.return != null) {
167
- _iterator.return();
296
+ _iteratorError = err;
297
+ return [
298
+ 3,
299
+ 10
300
+ ];
301
+ case 9:
302
+ try {
303
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
304
+ _iterator.return();
305
+ }
306
+ } finally{
307
+ if (_didIteratorError) {
308
+ throw _iteratorError;
309
+ }
168
310
  }
169
- case 37:
170
- _ctx.prev = 37;
171
- if (!_didIteratorError) {
172
- _ctx.next = 40;
173
- break;
174
- }
175
- throw _iteratorError;
176
- case 40:
177
- return _ctx.finish(37);
178
- case 41:
179
- return _ctx.finish(34);
180
- case 42:
181
- return _ctx.abrupt("return", results);
182
- case 43:
183
- case "end":
184
- return _ctx.stop();
311
+ return [
312
+ 7
313
+ ];
314
+ case 10:
315
+ return [
316
+ 2,
317
+ results
318
+ ];
185
319
  }
186
- }, _callee, null, [
187
- [
188
- 5,
189
- 30,
190
- 34,
191
- 42
192
- ],
193
- [
194
- 11,
195
- 22
196
- ],
197
- [
198
- 35,
199
- ,
200
- 37,
201
- 41
202
- ]
203
- ]);
204
- }))();
320
+ });
321
+ })();
205
322
  }
206
323
  },
207
324
  {
@@ -209,8 +326,8 @@ var Watcher = // 通信总线
209
326
  value: // 订阅事件
210
327
  function on(key, callback) {
211
328
  if (this._events.has(key)) {
212
- var ref;
213
- (ref = this._events.get(key)) === null || ref === void 0 ? void 0 : ref.push(callback);
329
+ var _this__events_get;
330
+ (_this__events_get = this._events.get(key)) === null || _this__events_get === void 0 ? void 0 : _this__events_get.push(callback);
214
331
  } else {
215
332
  this._events.set(key, [
216
333
  callback
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var te=(n,A,m)=>new Promise((f,g)=>{var b=B=>{try{h(m.next(B))}catch(d){g(d)}},S=B=>{try{h(m.throw(B))}catch(d){g(d)}},h=B=>B.done?f(B.value):Promise.resolve(B.value).then(b,S);h((m=m.apply(n,A)).next())});(function(n,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(n=typeof globalThis!="undefined"?globalThis:n||self,A(n.modelDrivenShared={}))})(this,function(n){"use strict";class A{}class m{}var f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",g="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",S="\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",ae="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ne="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",re="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",le="\u8BF7\u7ED1\u5B9A\u5217\u8868",ie="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",oe="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ee="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ce="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Be="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",me="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",he="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",de="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ve="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",De="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ge="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ce="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fe="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",be="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Se="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ie="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ye="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Me="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",we="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Le="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ne="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_e="\u8BF7\u9009\u62E9\u7701",Re="\u8BF7\u9009\u62E9\u5E02",Ue="\u8BF7\u9009\u62E9\u533A",Ve="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ke="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Te="\u8BF7\u8F93\u5165\u5217\u5BBD",ze="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",je="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xe="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ge="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ke="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",He="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pe="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",We="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Je="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Oe="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",au="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",nu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ru="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ou={isNotNumber:f,isNotString:g,isNotObject:b,isNotArray:S,isNotBoolean:h,runtimeRequired:B,pleaseEnterCaption:d,pleaseEnterCaptionTip:ae,pleaseEnterPlaceholder:ne,pleaseEnterFieldCode:re,pleaseEnterForm:se,pleaseEnterList:le,pleaseEnterProcess:ie,pleaseEnterLabel:oe,pleaseEnterValue:Ee,bizKeyNotBindFiled:ce,pleaseSelectOneField:Be,pleaseEnterNumberRange:Fe,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:me,numberRangeSetError:pe,stringRangeError:he,attachmentMaxSize:de,pleaseEnterTotalScoreSetting:ve,theTotalScoreMustNotBeLessThan1:De,scoreDefaultValueRange:ge,attachmentLimitError:Ce,PleaseReselectTheOptionalQuantity:fe,TheMaximumLengthIsGreaterThanTheMinimumLength:be,TheMinimumLengthIsGreaterThanTheMaximumLength:Se,PleaseSelectTheCorrectOptionSettings:Ie,optionIdIsRepeat:ye,optionIsRequired:Me,pleaseEnterDataCode:$e,pleaseEnterValueFieldCode:we,pleaseEnterSvcCode:Le,pleaseBindAtLeastOneDisplayValue:Ne,pleaseSelectProvince:_e,pleaseSelectCity:Re,pleaseSelectDistrict:Ue,limitRowsCannotBeLessThan0:Ve,TheNumberOfRowsCannotBeLessThanMinRows:ke,pleaseEnterColumnWidth:Te,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ze,pleaseCompleteAllRulesAndConditions:je,pleaseSelectControl:xe,pleaseSelectAtLeastOneColumn:Ge,pleaseSelectFillBackMode:Ke,pleaseSelectDashboard:He,rootNodeIsRequired:Pe,theViewNameCannotBeEmpty:qe,pleaseSelectOcrType:We,pleaseSelectAtLeastOneFieldToFillIn:Xe,pleaseChooseAtLeastOne:Je,pleaseEnterButtonContent:Oe,pleaseEnterDataCodeInDataSetting:Qe,pleaseEnterValueFieldCodeInDataSetting:Ze,pleaseEnterSvcCodeInDataSetting:Ye,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:uu,pleaseEnterMaxHeight:tu,pleaseEnter:au,pleaseEnterWatermark:nu,pleaseEnterFileName:ru,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:lu,pleaseAssignExternal:iu},Eu="Please enter a number",cu="Please enter a string",Bu="Please enter an object",Fu="Please enter an array",Au="Please enter a boolean",mu="{caption} Required",pu="Please enter the title",hu="Please enter the bubble prompt",du="Please enter the prompt text",vu="Please bind data items",Du="Please bind the form",gu="Please bind the list",Cu="Please bind the process",fu="Please enter the displayed value",bu="Please enter the stored value",Su="The document number is not bound to the data item",Iu="Please select at least one display field",yu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Mu="Please enter a value greater than or equal to {min}",$u="Please enter a value less than or equal to {max}",wu="The value range is set incorrectly",Lu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nu="The attachment size must be between 0MB and 1000MB",_u="Please fill in the total score setting",Ru="The total score cannot be less than 1",Uu="The default value must be between {min} and {max}",Vu="The number of attachments uploaded must be between {min} and {max}",ku="Please re-select the optional quantity",Tu="The maximum length of the control must be greater than the minimum length",zu="The minimum length of the control must be less than the maximum length",ju="Please select the correct option setting",xu="Option ID cannot be repeated",Gu="Please enter at least one option",Ku="Please bind the data source",Hu="Please bind the stored value",Pu="Please bind the service",qu="At least one display value must be bound",Wu="Please select a province",Xu="Please select a city",Ju="Please select a district",Ou="The minimum number of lines to fill in cannot be less than 0",Qu="The number of rows cannot be less than {min} rows",Zu="Please enter the column width",Yu="Please set the logical relationship of all rule conditions",et="Please complete all rules and conditions",ut="please select control",tt="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",at="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nt="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rt="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",st="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lt="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",it="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ot="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Et="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ct="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ft="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",At="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mt="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pt="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ht="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vt="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dt={isNotNumber:Eu,isNotString:cu,isNotObject:Bu,isNotArray:Fu,isNotBoolean:Au,runtimeRequired:mu,pleaseEnterCaption:pu,pleaseEnterCaptionTip:hu,pleaseEnterPlaceholder:du,pleaseEnterFieldCode:vu,pleaseEnterForm:Du,pleaseEnterList:gu,pleaseEnterProcess:Cu,pleaseEnterLabel:fu,pleaseEnterValue:bu,bizKeyNotBindFiled:Su,pleaseSelectOneField:Iu,pleaseEnterNumberRange:yu,pleaseEnterAValueGreaterThanMin:Mu,pleaseEnterAValueLessThanMax:$u,numberRangeSetError:wu,stringRangeError:Lu,attachmentMaxSize:Nu,pleaseEnterTotalScoreSetting:_u,theTotalScoreMustNotBeLessThan1:Ru,scoreDefaultValueRange:Uu,attachmentLimitError:Vu,PleaseReselectTheOptionalQuantity:ku,TheMaximumLengthIsGreaterThanTheMinimumLength:Tu,TheMinimumLengthIsGreaterThanTheMaximumLength:zu,PleaseSelectTheCorrectOptionSettings:ju,optionIdIsRepeat:xu,optionIsRequired:Gu,pleaseEnterDataCode:Ku,pleaseEnterValueFieldCode:Hu,pleaseEnterSvcCode:Pu,pleaseBindAtLeastOneDisplayValue:qu,pleaseSelectProvince:Wu,pleaseSelectCity:Xu,pleaseSelectDistrict:Ju,limitRowsCannotBeLessThan0:Ou,TheNumberOfRowsCannotBeLessThanMinRows:Qu,pleaseEnterColumnWidth:Zu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yu,pleaseCompleteAllRulesAndConditions:et,pleaseSelectControl:ut,pleaseSelectDashboard:tt,theViewNameCannotBeEmpty:at,pleaseSelectOcrType:nt,pleaseSelectAtLeastOneFieldToFillIn:rt,pleaseChooseAtLeastOne:st,pleaseEnterButtonContent:lt,pleaseEnterDataCodeInDataSetting:it,pleaseEnterValueFieldCodeInDataSetting:ot,pleaseEnterSvcCodeInDataSetting:Et,pleaseBindAtLeastOneDisplayValueInDataSetting:ct,rootNodeIsRequiredInDataSetting:Bt,pleaseEnterMaxHeight:Ft,pleaseEnter:At,pleaseEnterWatermark:mt,pleaseEnterFileName:pt,pleaseUploadAtLeastOnePrintTemplate:ht,pleaseAssignBusiness:dt,pleaseAssignExternal:vt},gt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ct="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ft="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="{caption}\u5FC5\u9808",yt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mt="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$t="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nt="\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",Rt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ut="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Tt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zt="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jt="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xt="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Gt="\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",Ht="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pt="\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",Wt="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jt="\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",Ot="\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",Qt="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zt="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yt="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ea="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ua="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ta="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",na="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ra="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sa="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",la="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ia="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ca="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ba="please select control",Fa="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Aa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ma="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ha="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",da="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",va="\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",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ba="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Sa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ia="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ya="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ma="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$a="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wa="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",La={isNotNumber:gt,isNotString:Ct,isNotObject:ft,isNotArray:bt,isNotBoolean:St,runtimeRequired:It,pleaseEnterCaption:yt,pleaseEnterCaptionTip:Mt,pleaseEnterPlaceholder:$t,pleaseEnterFieldCode:wt,pleaseEnterForm:Lt,pleaseEnterList:Nt,pleaseEnterProcess:_t,pleaseEnterLabel:Rt,pleaseEnterValue:Ut,bizKeyNotBindFiled:Vt,pleaseSelectOneField:kt,pleaseEnterNumberRange:Tt,pleaseEnterAValueGreaterThanMin:zt,pleaseEnterAValueLessThanMax:jt,numberRangeSetError:xt,stringRangeError:Gt,attachmentMaxSize:Kt,pleaseEnterTotalScoreSetting:Ht,theTotalScoreMustNotBeLessThan1:Pt,scoreDefaultValueRange:qt,attachmentLimitError:Wt,PleaseReselectTheOptionalQuantity:Xt,TheMaximumLengthIsGreaterThanTheMinimumLength:Jt,TheMinimumLengthIsGreaterThanTheMaximumLength:Ot,PleaseSelectTheCorrectOptionSettings:Qt,optionIdIsRepeat:Zt,optionIsRequired:Yt,pleaseEnterDataCode:ea,pleaseEnterValueFieldCode:ua,pleaseEnterSvcCode:ta,pleaseBindAtLeastOneDisplayValue:aa,pleaseSelectProvince:na,pleaseSelectCity:ra,pleaseSelectDistrict:sa,limitRowsCannotBeLessThan0:la,TheNumberOfRowsCannotBeLessThanMinRows:ia,pleaseEnterColumnWidth:oa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ea,pleaseCompleteAllRulesAndConditions:ca,pleaseSelectControl:Ba,pleaseSelectDashboard:Fa,theViewNameCannotBeEmpty:Aa,pleaseSelectOcrType:ma,pleaseSelectAtLeastOneFieldToFillIn:pa,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:da,pleaseEnterDataCodeInDataSetting:va,pleaseEnterValueFieldCodeInDataSetting:Da,pleaseEnterSvcCodeInDataSetting:ga,pleaseBindAtLeastOneDisplayValueInDataSetting:Ca,rootNodeIsRequiredInDataSetting:fa,pleaseEnterMaxHeight:ba,pleaseEnter:Sa,pleaseEnterWatermark:Ia,pleaseEnterFileName:ya,pleaseUploadAtLeastOnePrintTemplate:Ma,pleaseAssignBusiness:$a,pleaseAssignExternal:wa},Na={zhCN:ou,enUS:Dt,jaJP:La},V=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(V||{}),k=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(k||{});class _a{constructor(u){var t,a,l,o,i,E;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(a=u==null?void 0:u.id)!=null?a:"",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",Ra=()=>{};var z=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(z||{}),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||{}),j=(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))(j||{});const Ua={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 x=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(x||{});const G="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Va=G+"0123456789";function ka(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?G:Va,l=Math.random()*a.length;u+=a[parseInt(String(l),10)]}return u}const y=console;function K(...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 Ta(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?Ta(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class za extends ${constructor(u){super(u);this.name="\u{1F6A8} Driven Reference Error"}}function ja(e){throw new $(e)}function xa(e){throw new za(e)}function H(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 Ga=Object.prototype.toString;function P(e,u){return Ga.call(e)==="[object "+u+"]"}function Ka(e){return P(e,"String")}function Ha(e){return P(e,"Promise")}var Pa=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),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 a=this.getMessageData();Ha(a)?a.then(function(l){t._messageCache.clear(),t.messages[t.localeInMessageKey]=l}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var l=this.getMessage(u);return l?this.formatMessage(l,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(l,o,i,E){if(l!==void 0){var p=l[o];if(!(i===E.length-1&&!Ka(p)))return p}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,l){var o=t[l];return o!==void 0?String(o):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=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 q=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=T){return new Pa({locale:e,messages:Na})}static setLocale(e){return this.$i18n.setLocale(e)}};let W=q;W.$i18n=q.resetI18n();function qa(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let l=!1;return a.reduce((o,i,E,p)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){K(`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 Wa=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)||mn(s)||pn(s)||hn(s)||p(s))return s;var F,D=0,ue=0;if(An(s))for(F=[],ue=s.length;D<ue;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},a=function(r,s){s=s||{};var c=s.separator||"_",F=s.split||/(?=[A-Z])/;return r.split(F).join(c)},l=function(r){return dn(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 a(r,s).toLowerCase()},E=Object.prototype.toString,p=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},An=function(r){return E.call(r)=="[object Array]"},mn=function(r){return E.call(r)=="[object Date]"},pn=function(r){return E.call(r)=="[object RegExp]"},hn=function(r){return E.call(r)=="[object Boolean]"},dn=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)}},ee={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=ee:u.humps=ee})(Wa)})(L);var X={};Object.defineProperty(X,"__esModule",{value:!0});function N(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:N(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:N(a)}return u}}var Xa=X.default=N;function Ja(e){if(e!==void 0)return typeof e=="object"?Xa(e):e}function Oa(e){return J(e)&&"zh"in e}function J(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qa(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function C(e){return Array.isArray(e)}function O(e){return typeof e=="string"}function _(e){return typeof e=="number"}function Za(e){return typeof e=="function"}function Ya(e){return C(e)&&e.every(u=>O(u))}function en(e){return C(e)&&e.every(u=>_(u))}function un(e){return C(e)&&e.every(u=>_(u)||u==="")}function tn(e){return/^\[.*?]$/.test(e)}function an(e){return/^{.*?}$/.test(e)}function nn(e){return isNaN(parseFloat(e))?"":Number(e)}function rn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function sn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function ln(e=0){return new Promise(u=>{setTimeout(u,e)})}function Q(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let l=a;return Array.isArray(a==null?void 0:a.children)&&(l.children=Q(a.children,u)),u(l)})),t}function on(e){return L.exports.camelizeKeys(e)}function En(e){return L.exports.decamelizeKeys(e)}function cn(e){return Object.values(I).includes(e)}class Bn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return te(this,null,function*(){const a=this._events.get(u),l=[];if(a){const o=a.slice();for(const i of o)if(!!a.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){H(String(E)+":"+String(E.stack))}}return l})}on(u,t){var a;this._events.has(u)?(a=this._events.get(u))==null||a.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const a=this._events.get(u),l=a==null?void 0:a.indexOf(t);a==null||a.splice(l,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Fn=[{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_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{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"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Z=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return Z.events.filter(t=>u.includes(t.key))}};let Y=Z;Y.events=Fn,n.CALC_AGGREGATE_TYPE=k,n.CALC_TOKEN_TYPE=V,n.CONTROL_BASE_TYPE=z,n.CONTROL_TYPE=I,n.CalcScriptEchoItem=_a,n.DEFAULT_LOCALE=T,n.DateType=x,n.DepartmentEntity=A,n.EventLogic=Y,n.FieldTypeToColumnType=Ua,n.FieldTypes=j,n.JSONCopy=Ja,n.RulesMessage=W,n.UserEntity=m,n.Watcher=Bn,n.camelizeKeys=on,n.debounce=sn,n.decamelizeKeys=En,n.error=ja,n.genNonDuplicateId=ka,n.getNotRepeatItems=rn,n.isArray=C,n.isBuiltInControls=cn,n.isFunction=Za,n.isJSONArray=tn,n.isJSONObject=an,n.isLanguageObject=Oa,n.isNumber=_,n.isNumberAndEmptyStringArray=un,n.isNumberArray=en,n.isObject=Qa,n.isPlainObject=J,n.isString=O,n.isStringArray=Ya,n.log=M,n.logerror=H,n.loop=Q,n.loopFormSchema=w,n.noop=Ra,n.referenceError=xa,n.toNumberOrEmpty=nn,n.updateValueFromKeys=qa,n.wait=ln,n.warn=K,Object.defineProperty(n,"__esModule",{value:!0})});
1
+ var te=(n,A,m)=>new Promise((f,g)=>{var b=B=>{try{h(m.next(B))}catch(d){g(d)}},S=B=>{try{h(m.throw(B))}catch(d){g(d)}},h=B=>B.done?f(B.value):Promise.resolve(B.value).then(b,S);h((m=m.apply(n,A)).next())});(function(n,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(n=typeof globalThis!="undefined"?globalThis:n||self,A(n.modelDrivenShared={}))})(this,function(n){"use strict";class A{}class m{}var f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",g="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",S="\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",ae="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ne="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",re="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",le="\u8BF7\u7ED1\u5B9A\u5217\u8868",ie="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",oe="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ee="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ce="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Be="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",me="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",he="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",de="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ve="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",De="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ge="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ce="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fe="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",be="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Se="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ie="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ye="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Me="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",we="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Le="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ne="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_e="\u8BF7\u9009\u62E9\u7701",Re="\u8BF7\u9009\u62E9\u5E02",Ue="\u8BF7\u9009\u62E9\u533A",Ve="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ke="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Te="\u8BF7\u8F93\u5165\u5217\u5BBD",ze="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",je="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xe="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ge="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ke="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",He="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pe="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",We="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Je="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Oe="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",au="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",nu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ru="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ou={isNotNumber:f,isNotString:g,isNotObject:b,isNotArray:S,isNotBoolean:h,runtimeRequired:B,pleaseEnterCaption:d,pleaseEnterCaptionTip:ae,pleaseEnterPlaceholder:ne,pleaseEnterFieldCode:re,pleaseEnterForm:se,pleaseEnterList:le,pleaseEnterProcess:ie,pleaseEnterLabel:oe,pleaseEnterValue:Ee,bizKeyNotBindFiled:ce,pleaseSelectOneField:Be,pleaseEnterNumberRange:Fe,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:me,numberRangeSetError:pe,stringRangeError:he,attachmentMaxSize:de,pleaseEnterTotalScoreSetting:ve,theTotalScoreMustNotBeLessThan1:De,scoreDefaultValueRange:ge,attachmentLimitError:Ce,PleaseReselectTheOptionalQuantity:fe,TheMaximumLengthIsGreaterThanTheMinimumLength:be,TheMinimumLengthIsGreaterThanTheMaximumLength:Se,PleaseSelectTheCorrectOptionSettings:Ie,optionIdIsRepeat:ye,optionIsRequired:Me,pleaseEnterDataCode:$e,pleaseEnterValueFieldCode:we,pleaseEnterSvcCode:Le,pleaseBindAtLeastOneDisplayValue:Ne,pleaseSelectProvince:_e,pleaseSelectCity:Re,pleaseSelectDistrict:Ue,limitRowsCannotBeLessThan0:Ve,TheNumberOfRowsCannotBeLessThanMinRows:ke,pleaseEnterColumnWidth:Te,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ze,pleaseCompleteAllRulesAndConditions:je,pleaseSelectControl:xe,pleaseSelectAtLeastOneColumn:Ge,pleaseSelectFillBackMode:Ke,pleaseSelectDashboard:He,rootNodeIsRequired:Pe,theViewNameCannotBeEmpty:qe,pleaseSelectOcrType:We,pleaseSelectAtLeastOneFieldToFillIn:Xe,pleaseChooseAtLeastOne:Je,pleaseEnterButtonContent:Oe,pleaseEnterDataCodeInDataSetting:Qe,pleaseEnterValueFieldCodeInDataSetting:Ze,pleaseEnterSvcCodeInDataSetting:Ye,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:uu,pleaseEnterMaxHeight:tu,pleaseEnter:au,pleaseEnterWatermark:nu,pleaseEnterFileName:ru,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:lu,pleaseAssignExternal:iu},Eu="Please enter a number",cu="Please enter a string",Bu="Please enter an object",Fu="Please enter an array",Au="Please enter a boolean",mu="{caption} Required",pu="Please enter the title",hu="Please enter the bubble prompt",du="Please enter the prompt text",vu="Please bind data items",Du="Please bind the form",gu="Please bind the list",Cu="Please bind the process",fu="Please enter the displayed value",bu="Please enter the stored value",Su="The document number is not bound to the data item",Iu="Please select at least one display field",yu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Mu="Please enter a value greater than or equal to {min}",$u="Please enter a value less than or equal to {max}",wu="The value range is set incorrectly",Lu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nu="The attachment size must be between 0MB and 1000MB",_u="Please fill in the total score setting",Ru="The total score cannot be less than 1",Uu="The default value must be between {min} and {max}",Vu="The number of attachments uploaded must be between {min} and {max}",ku="Please re-select the optional quantity",Tu="The maximum length of the control must be greater than the minimum length",zu="The minimum length of the control must be less than the maximum length",ju="Please select the correct option setting",xu="Option ID cannot be repeated",Gu="Please enter at least one option",Ku="Please bind the data source",Hu="Please bind the stored value",Pu="Please bind the service",qu="At least one display value must be bound",Wu="Please select a province",Xu="Please select a city",Ju="Please select a district",Ou="The minimum number of lines to fill in cannot be less than 0",Qu="The number of rows cannot be less than {min} rows",Zu="Please enter the column width",Yu="Please set the logical relationship of all rule conditions",et="Please complete all rules and conditions",ut="please select control",tt="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",at="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nt="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rt="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",st="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lt="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",it="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ot="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Et="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ct="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ft="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",At="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mt="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pt="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ht="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vt="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dt={isNotNumber:Eu,isNotString:cu,isNotObject:Bu,isNotArray:Fu,isNotBoolean:Au,runtimeRequired:mu,pleaseEnterCaption:pu,pleaseEnterCaptionTip:hu,pleaseEnterPlaceholder:du,pleaseEnterFieldCode:vu,pleaseEnterForm:Du,pleaseEnterList:gu,pleaseEnterProcess:Cu,pleaseEnterLabel:fu,pleaseEnterValue:bu,bizKeyNotBindFiled:Su,pleaseSelectOneField:Iu,pleaseEnterNumberRange:yu,pleaseEnterAValueGreaterThanMin:Mu,pleaseEnterAValueLessThanMax:$u,numberRangeSetError:wu,stringRangeError:Lu,attachmentMaxSize:Nu,pleaseEnterTotalScoreSetting:_u,theTotalScoreMustNotBeLessThan1:Ru,scoreDefaultValueRange:Uu,attachmentLimitError:Vu,PleaseReselectTheOptionalQuantity:ku,TheMaximumLengthIsGreaterThanTheMinimumLength:Tu,TheMinimumLengthIsGreaterThanTheMaximumLength:zu,PleaseSelectTheCorrectOptionSettings:ju,optionIdIsRepeat:xu,optionIsRequired:Gu,pleaseEnterDataCode:Ku,pleaseEnterValueFieldCode:Hu,pleaseEnterSvcCode:Pu,pleaseBindAtLeastOneDisplayValue:qu,pleaseSelectProvince:Wu,pleaseSelectCity:Xu,pleaseSelectDistrict:Ju,limitRowsCannotBeLessThan0:Ou,TheNumberOfRowsCannotBeLessThanMinRows:Qu,pleaseEnterColumnWidth:Zu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yu,pleaseCompleteAllRulesAndConditions:et,pleaseSelectControl:ut,pleaseSelectDashboard:tt,theViewNameCannotBeEmpty:at,pleaseSelectOcrType:nt,pleaseSelectAtLeastOneFieldToFillIn:rt,pleaseChooseAtLeastOne:st,pleaseEnterButtonContent:lt,pleaseEnterDataCodeInDataSetting:it,pleaseEnterValueFieldCodeInDataSetting:ot,pleaseEnterSvcCodeInDataSetting:Et,pleaseBindAtLeastOneDisplayValueInDataSetting:ct,rootNodeIsRequiredInDataSetting:Bt,pleaseEnterMaxHeight:Ft,pleaseEnter:At,pleaseEnterWatermark:mt,pleaseEnterFileName:pt,pleaseUploadAtLeastOnePrintTemplate:ht,pleaseAssignBusiness:dt,pleaseAssignExternal:vt},gt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ct="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ft="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="{caption}\u5FC5\u9808",yt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mt="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$t="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nt="\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",Rt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ut="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Tt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zt="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jt="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xt="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Gt="\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",Ht="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pt="\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",Wt="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jt="\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",Ot="\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",Qt="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zt="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yt="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ea="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ua="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ta="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",na="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ra="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sa="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",la="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ia="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ca="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ba="please select control",Fa="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Aa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ma="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ha="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",da="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",va="\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",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ba="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Sa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ia="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ya="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ma="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$a="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wa="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",La={isNotNumber:gt,isNotString:Ct,isNotObject:ft,isNotArray:bt,isNotBoolean:St,runtimeRequired:It,pleaseEnterCaption:yt,pleaseEnterCaptionTip:Mt,pleaseEnterPlaceholder:$t,pleaseEnterFieldCode:wt,pleaseEnterForm:Lt,pleaseEnterList:Nt,pleaseEnterProcess:_t,pleaseEnterLabel:Rt,pleaseEnterValue:Ut,bizKeyNotBindFiled:Vt,pleaseSelectOneField:kt,pleaseEnterNumberRange:Tt,pleaseEnterAValueGreaterThanMin:zt,pleaseEnterAValueLessThanMax:jt,numberRangeSetError:xt,stringRangeError:Gt,attachmentMaxSize:Kt,pleaseEnterTotalScoreSetting:Ht,theTotalScoreMustNotBeLessThan1:Pt,scoreDefaultValueRange:qt,attachmentLimitError:Wt,PleaseReselectTheOptionalQuantity:Xt,TheMaximumLengthIsGreaterThanTheMinimumLength:Jt,TheMinimumLengthIsGreaterThanTheMaximumLength:Ot,PleaseSelectTheCorrectOptionSettings:Qt,optionIdIsRepeat:Zt,optionIsRequired:Yt,pleaseEnterDataCode:ea,pleaseEnterValueFieldCode:ua,pleaseEnterSvcCode:ta,pleaseBindAtLeastOneDisplayValue:aa,pleaseSelectProvince:na,pleaseSelectCity:ra,pleaseSelectDistrict:sa,limitRowsCannotBeLessThan0:la,TheNumberOfRowsCannotBeLessThanMinRows:ia,pleaseEnterColumnWidth:oa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ea,pleaseCompleteAllRulesAndConditions:ca,pleaseSelectControl:Ba,pleaseSelectDashboard:Fa,theViewNameCannotBeEmpty:Aa,pleaseSelectOcrType:ma,pleaseSelectAtLeastOneFieldToFillIn:pa,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:da,pleaseEnterDataCodeInDataSetting:va,pleaseEnterValueFieldCodeInDataSetting:Da,pleaseEnterSvcCodeInDataSetting:ga,pleaseBindAtLeastOneDisplayValueInDataSetting:Ca,rootNodeIsRequiredInDataSetting:fa,pleaseEnterMaxHeight:ba,pleaseEnter:Sa,pleaseEnterWatermark:Ia,pleaseEnterFileName:ya,pleaseUploadAtLeastOnePrintTemplate:Ma,pleaseAssignBusiness:$a,pleaseAssignExternal:wa},Na={zhCN:ou,enUS:Dt,jaJP:La},V=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(V||{}),k=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(k||{});class _a{constructor(u){var t,a,l,o,i,E;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(a=u==null?void 0:u.id)!=null?a:"",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",Ra=()=>{};var z=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(z||{}),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||{}),j=(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))(j||{});const Ua={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 x=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(x||{});const G="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Va=G+"0123456789";function ka(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?G:Va,l=Math.random()*a.length;u+=a[parseInt(String(l),10)]}return u}const y=console;function K(...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 Ta(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?Ta(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class za extends ${constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function ja(e){throw new $(e)}function xa(e){throw new za(e)}function H(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 Ga=Object.prototype.toString;function P(e,u){return Ga.call(e)==="[object "+u+"]"}function Ka(e){return P(e,"String")}function Ha(e){return P(e,"Promise")}var Pa=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),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 a=this.getMessageData();Ha(a)?a.then(function(l){t._messageCache.clear(),t.messages[t.localeInMessageKey]=l}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var l=this.getMessage(u);return l?this.formatMessage(l,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(l,o,i,E){if(l!==void 0){var p=l[o];if(!(i===E.length-1&&!Ka(p)))return p}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,l){var o=t[l];return o!==void 0?String(o):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=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 q=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=T){return new Pa({locale:e,messages:Na})}static setLocale(e){return this.$i18n.setLocale(e)}};let W=q;W.$i18n=q.resetI18n();function qa(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let l=!1;return a.reduce((o,i,E,p)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){K(`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 Wa=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)||mn(s)||pn(s)||hn(s)||p(s))return s;var F,D=0,ue=0;if(An(s))for(F=[],ue=s.length;D<ue;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},a=function(r,s){s=s||{};var c=s.separator||"_",F=s.split||/(?=[A-Z])/;return r.split(F).join(c)},l=function(r){return dn(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 a(r,s).toLowerCase()},E=Object.prototype.toString,p=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},An=function(r){return E.call(r)=="[object Array]"},mn=function(r){return E.call(r)=="[object Date]"},pn=function(r){return E.call(r)=="[object RegExp]"},hn=function(r){return E.call(r)=="[object Boolean]"},dn=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)}},ee={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=ee:u.humps=ee})(Wa)})(L);var X={};Object.defineProperty(X,"__esModule",{value:!0});function N(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:N(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:N(a)}return u}}var Xa=X.default=N;function Ja(e){if(e!==void 0)return typeof e=="object"?Xa(e):e}function Oa(e){return J(e)&&"zh"in e}function J(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qa(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function C(e){return Array.isArray(e)}function O(e){return typeof e=="string"}function _(e){return typeof e=="number"}function Za(e){return typeof e=="function"}function Ya(e){return C(e)&&e.every(u=>O(u))}function en(e){return C(e)&&e.every(u=>_(u))}function un(e){return C(e)&&e.every(u=>_(u)||u==="")}function tn(e){return/^\[.*?]$/.test(e)}function an(e){return/^{.*?}$/.test(e)}function nn(e){return isNaN(parseFloat(e))?"":Number(e)}function rn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function sn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function ln(e=0){return new Promise(u=>{setTimeout(u,e)})}function Q(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let l=a;return Array.isArray(a==null?void 0:a.children)&&(l.children=Q(a.children,u)),u(l)})),t}function on(e){return L.exports.camelizeKeys(e)}function En(e){return L.exports.decamelizeKeys(e)}function cn(e){return Object.values(I).includes(e)}class Bn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return te(this,null,function*(){const a=this._events.get(u),l=[];if(a){const o=a.slice();for(const i of o)if(!!a.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){H(String(E)+":"+String(E.stack))}}return l})}on(u,t){var a;this._events.has(u)?(a=this._events.get(u))==null||a.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const a=this._events.get(u),l=a==null?void 0:a.indexOf(t);a==null||a.splice(l,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Fn=[{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_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{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"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Z=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return Z.events.filter(t=>u.includes(t.key))}};let Y=Z;Y.events=Fn,n.CALC_AGGREGATE_TYPE=k,n.CALC_TOKEN_TYPE=V,n.CONTROL_BASE_TYPE=z,n.CONTROL_TYPE=I,n.CalcScriptEchoItem=_a,n.DEFAULT_LOCALE=T,n.DateType=x,n.DepartmentEntity=A,n.EventLogic=Y,n.FieldTypeToColumnType=Ua,n.FieldTypes=j,n.JSONCopy=Ja,n.RulesMessage=W,n.UserEntity=m,n.Watcher=Bn,n.camelizeKeys=on,n.debounce=sn,n.decamelizeKeys=En,n.error=ja,n.genNonDuplicateId=ka,n.getNotRepeatItems=rn,n.isArray=C,n.isBuiltInControls=cn,n.isFunction=Za,n.isJSONArray=tn,n.isJSONObject=an,n.isLanguageObject=Oa,n.isNumber=_,n.isNumberAndEmptyStringArray=un,n.isNumberArray=en,n.isObject=Qa,n.isPlainObject=J,n.isString=O,n.isStringArray=Ya,n.log=M,n.logerror=H,n.loop=Q,n.loopFormSchema=w,n.noop=Ra,n.referenceError=xa,n.toNumberOrEmpty=nn,n.updateValueFromKeys=qa,n.wait=ln,n.warn=K,Object.defineProperty(n,"__esModule",{value:!0})});
@@ -109,7 +109,7 @@ declare const eventMap: readonly [{
109
109
  readonly name: "弹窗确认时";
110
110
  readonly code: "modal-ok";
111
111
  }];
112
- export declare type InnerEventCode = (typeof eventMap)[number]['code'];
112
+ export type InnerEventCode = (typeof eventMap)[number]['code'];
113
113
  export declare class EventLogic {
114
114
  static readonly events: readonly [{
115
115
  readonly key: "on_click";
@@ -1,8 +1,8 @@
1
1
  import OkI18n from 'ok-i18n';
2
2
  import messages from './locales';
3
- declare type Message = Partial<(typeof messages)['zhCN']>;
4
- declare type Keys = 'caption' | 'placeholder' | 'max' | 'min';
5
- declare type Variable = {
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 {