@byteluck-fe/model-driven-driven 3.0.0-beta.5 → 4.34.0-lx2
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/Builder.js +31 -46
- package/dist/esm/Driven.js +1 -2
- package/dist/esm/Store.js +9 -9
- package/dist/esm/constants.js +6 -7
- package/dist/esm/designerUtils.js +3 -8
- package/dist/esm/utils.js +75 -8
- package/dist/index.umd.js +3 -3
- package/dist/types/Builder.d.ts +1 -2
- package/dist/types/Driven.d.ts +0 -2
- package/dist/types/designerUtils.d.ts +1 -0
- package/dist/types/utils.d.ts +15 -1
- package/package.json +6 -6
package/dist/esm/Builder.js
CHANGED
|
@@ -30,7 +30,6 @@ function _define_property(obj, key, value) {
|
|
|
30
30
|
}
|
|
31
31
|
return obj;
|
|
32
32
|
}
|
|
33
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
34
33
|
import Designer from './Designer';
|
|
35
34
|
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
36
35
|
export var Builder = /*#__PURE__*/ function() {
|
|
@@ -98,53 +97,39 @@ export var Builder = /*#__PURE__*/ function() {
|
|
|
98
97
|
listview.children.push(simpleSearch);
|
|
99
98
|
// @ts-ignore
|
|
100
99
|
listview.children.push(gridTable);
|
|
101
|
-
listview.props.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
rules: [
|
|
100
|
+
listview.props.rowStyleRules.push({
|
|
101
|
+
id: 'default',
|
|
102
|
+
name: '审批通过单据',
|
|
103
|
+
color: 'theme',
|
|
104
|
+
filters: [
|
|
107
105
|
{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
],
|
|
128
|
-
displayBos: []
|
|
129
|
-
},
|
|
130
|
-
isLowPerformance: false,
|
|
131
|
-
isMoreRelation: false
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"settings": [
|
|
135
|
-
{
|
|
136
|
-
"color": "theme",
|
|
137
|
-
"field_codes": [
|
|
138
|
-
"process_status"
|
|
139
|
-
],
|
|
140
|
-
"type": "fontColor",
|
|
141
|
-
"scope": "col"
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
script: "(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"
|
|
106
|
+
ruleId: 1,
|
|
107
|
+
symbol: 'op_equal',
|
|
108
|
+
leftVariableBo: {
|
|
109
|
+
type: 'varchar',
|
|
110
|
+
value: 'process_status',
|
|
111
|
+
name: '流程状态'
|
|
112
|
+
},
|
|
113
|
+
checked: false,
|
|
114
|
+
describe: 'ruleLine',
|
|
115
|
+
type: 'condition',
|
|
116
|
+
rightVariableBo: {
|
|
117
|
+
type: 'custom',
|
|
118
|
+
value: [
|
|
119
|
+
'COMPLETE'
|
|
120
|
+
],
|
|
121
|
+
displayBos: []
|
|
122
|
+
},
|
|
123
|
+
isLowPerformance: false,
|
|
124
|
+
isMoreRelation: false
|
|
145
125
|
}
|
|
146
126
|
]
|
|
147
|
-
};
|
|
127
|
+
});
|
|
128
|
+
listview.props.rowStyleRulesScript.push({
|
|
129
|
+
id: 'default',
|
|
130
|
+
script: "(params.data['process_status']==='COMPLETE')",
|
|
131
|
+
color: 'theme'
|
|
132
|
+
});
|
|
148
133
|
return listview;
|
|
149
134
|
}
|
|
150
135
|
},
|
|
@@ -172,7 +157,7 @@ export var Builder = /*#__PURE__*/ function() {
|
|
|
172
157
|
var grid = this.designer.createControlInstance(// @ts-ignore
|
|
173
158
|
CONTROL_TYPE.GRID);
|
|
174
159
|
var vueFormItem = this.designer.createControlInstance(// @ts-ignore
|
|
175
|
-
CONTROL_TYPE.
|
|
160
|
+
CONTROL_TYPE.VUE_FORM_ITEM);
|
|
176
161
|
// @ts-ignore
|
|
177
162
|
vueFormItem.props.isHideCaption = true;
|
|
178
163
|
// @ts-ignore
|
package/dist/esm/Driven.js
CHANGED
|
@@ -186,7 +186,6 @@ import { Designer } from './Designer';
|
|
|
186
186
|
import EventLogic from './EventLogic';
|
|
187
187
|
import { checkSchema, generatePermissions, getModelBindInfoList, toSchema } from './utils';
|
|
188
188
|
import { Group, initSettings, Tab } from '@byteluck-fe/model-driven-settings';
|
|
189
|
-
import { DEFAULT_LOCALE } from '@byteluck-fe/model-driven-shared';
|
|
190
189
|
// 当前正在注册的插件名称
|
|
191
190
|
var applyingPluginName = '';
|
|
192
191
|
/**
|
|
@@ -212,7 +211,7 @@ var applyingPluginName = '';
|
|
|
212
211
|
_define_property(_this, "getModelBindInfoList", getModelBindInfoList), // TODO 拿到permission_controls
|
|
213
212
|
_define_property(_this, "generatePermissions", generatePermissions);
|
|
214
213
|
_this.$options = Object.freeze(options);
|
|
215
|
-
var _this_$options = _this.$options, _this_$options_autoMount = _this_$options.autoMount, autoMount = _this_$options_autoMount === void 0 ? false : _this_$options_autoMount, tmp = _this_$options.Designer, DesignerClass = tmp === void 0 ? Designer : tmp, schema = _this_$options.schema, _this_$options_mode = _this_$options.mode, mode = _this_$options_mode === void 0 ? 'form' : _this_$options_mode, tmp1 = _this_$options.store, storeOptions = tmp1 === void 0 ? {} : tmp1
|
|
214
|
+
var _this_$options = _this.$options, _this_$options_autoMount = _this_$options.autoMount, autoMount = _this_$options_autoMount === void 0 ? false : _this_$options_autoMount, tmp = _this_$options.Designer, DesignerClass = tmp === void 0 ? Designer : tmp, schema = _this_$options.schema, _this_$options_mode = _this_$options.mode, mode = _this_$options_mode === void 0 ? 'form' : _this_$options_mode, tmp1 = _this_$options.store, storeOptions = tmp1 === void 0 ? {} : tmp1;
|
|
216
215
|
_this.eventLogic = new EventLogic();
|
|
217
216
|
_this.designer = new DesignerClass();
|
|
218
217
|
_this.store = new Store(_object_spread({
|
package/dist/esm/Store.js
CHANGED
|
@@ -89,7 +89,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
89
89
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
90
90
|
}
|
|
91
91
|
import { isDataBind } from '@byteluck-fe/model-driven-core';
|
|
92
|
-
import { hasChildrenControl, hasHeaderControl } from './designerUtils';
|
|
92
|
+
import { hasChildrenControl, hasFooterControl, hasHeaderControl } from './designerUtils';
|
|
93
93
|
import { CONTROL_BASE_TYPE, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
94
94
|
// 维护当前selected,。。 selectedControlSetting
|
|
95
95
|
export var Store = /*#__PURE__*/ function() {
|
|
@@ -294,11 +294,9 @@ function setInstanceInDataFieldCodeMap(instance, dataFieldCodeMap) {
|
|
|
294
294
|
if (isDataBind(dataBind)) {
|
|
295
295
|
setDataFieldCodeMap(dataFieldCodeMap, dataBind, instance);
|
|
296
296
|
} else {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
});
|
|
301
|
-
}
|
|
297
|
+
Object.values(dataBind).forEach(function(subDataBind) {
|
|
298
|
+
setDataFieldCodeMap(dataFieldCodeMap, subDataBind, instance);
|
|
299
|
+
});
|
|
302
300
|
}
|
|
303
301
|
}
|
|
304
302
|
}
|
|
@@ -314,9 +312,11 @@ export function loop(instances, callback) {
|
|
|
314
312
|
if (hasHeaderControl(item)) {
|
|
315
313
|
loop(item.props.headers, callback);
|
|
316
314
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
315
|
+
if (hasFooterControl(item)) {
|
|
316
|
+
var _item_props;
|
|
317
|
+
var _item_props_footers;
|
|
318
|
+
loop((_item_props_footers = (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.footers) !== null && _item_props_footers !== void 0 ? _item_props_footers : [], callback);
|
|
319
|
+
}
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
export function isDataScopeInstance(instance) {
|
package/dist/esm/constants.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
2
1
|
import { CONTROL_TYPE, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
3
2
|
// 使用ObjectDataBind 的控件
|
|
4
3
|
export var objectDataBindControlTypes = [
|
|
@@ -8,27 +7,27 @@ export var objectDataBindControlTypes = [
|
|
|
8
7
|
];
|
|
9
8
|
export var objectDataBindKeyToFieldType = {
|
|
10
9
|
amount: {
|
|
11
|
-
caption:
|
|
10
|
+
caption: '金额',
|
|
12
11
|
fieldType: FieldTypes.DECIMAL
|
|
13
12
|
},
|
|
14
13
|
currency: {
|
|
15
|
-
caption:
|
|
14
|
+
caption: '币种',
|
|
16
15
|
fieldType: FieldTypes.VARCHAR
|
|
17
16
|
},
|
|
18
17
|
result: {
|
|
19
|
-
caption:
|
|
18
|
+
caption: '结果',
|
|
20
19
|
fieldType: FieldTypes.DECIMAL
|
|
21
20
|
},
|
|
22
21
|
unit: {
|
|
23
|
-
caption:
|
|
22
|
+
caption: '单位',
|
|
24
23
|
fieldType: FieldTypes.VARCHAR
|
|
25
24
|
},
|
|
26
25
|
min: {
|
|
27
|
-
caption:
|
|
26
|
+
caption: '开始时间',
|
|
28
27
|
fieldType: FieldTypes.TIMESTAMP
|
|
29
28
|
},
|
|
30
29
|
max: {
|
|
31
|
-
caption:
|
|
30
|
+
caption: '结束时间',
|
|
32
31
|
fieldType: FieldTypes.TIMESTAMP
|
|
33
32
|
}
|
|
34
33
|
};
|
|
@@ -5,14 +5,9 @@ export function hasChildrenControl(instance) {
|
|
|
5
5
|
export function hasHeaderControl(instance) {
|
|
6
6
|
return 'headers' in instance.props && isArray(instance.props.headers);
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// return (
|
|
12
|
-
// 'footers' in instance.props &&
|
|
13
|
-
// isArray((instance as DesignerListControl).props.footers)
|
|
14
|
-
// )
|
|
15
|
-
// }
|
|
8
|
+
export function hasFooterControl(instance) {
|
|
9
|
+
return 'footers' in instance.props && isArray(instance.props.footers);
|
|
10
|
+
}
|
|
16
11
|
export function loopFormControl(control, callback) {
|
|
17
12
|
if (Array.isArray(control)) {
|
|
18
13
|
control.map(function(item) {
|
package/dist/esm/utils.js
CHANGED
|
@@ -181,11 +181,9 @@ function _ts_generator(thisArg, body) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
import { loopFormControl } from './designerUtils';
|
|
184
|
-
import { CONTROL_BASE_TYPE, CONTROL_TYPE,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
import { objectDataBindControlTypes } from './constants';
|
|
188
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
184
|
+
import { CONTROL_BASE_TYPE, CONTROL_TYPE, FieldTypeToColumnType, isArray } from '@byteluck-fe/model-driven-shared';
|
|
185
|
+
import Designer from './Designer';
|
|
186
|
+
import { objectDataBindControlTypes, objectDataBindKeyToFieldType } from './constants';
|
|
189
187
|
export function getMasterFormControls(controls) {
|
|
190
188
|
var formctls = [];
|
|
191
189
|
// @ts-ignore
|
|
@@ -231,6 +229,75 @@ function fieldCodeBeforeAddPrefix(fieldCode) {
|
|
|
231
229
|
}
|
|
232
230
|
return prefix + fieldCode;
|
|
233
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* @description 通过fieldType获取列表表头的type
|
|
234
|
+
* */ export function getColumnTypeFromFiledType(fieldType) {
|
|
235
|
+
return FieldTypeToColumnType[fieldType];
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @description 通过modelBindInfoList生成多个columns
|
|
239
|
+
* */ export function getColumnsFromModelBindInfoList(modelBindInfoList) {
|
|
240
|
+
var designer = new Designer();
|
|
241
|
+
var columns = [];
|
|
242
|
+
modelBindInfoList.forEach(function(item) {
|
|
243
|
+
// 控件在明细子表内或者没有dataBind的话 不做生成
|
|
244
|
+
if (item.parentId || !item.dataBind) return;
|
|
245
|
+
// 如果是对象形式的dataBind的话
|
|
246
|
+
if (objectDataBindControlTypes.includes(item.type)) {
|
|
247
|
+
var objectDataBind = item.dataBind;
|
|
248
|
+
var datasourceBind = item.datasourceBind;
|
|
249
|
+
// 对象的每一个key生成一个column
|
|
250
|
+
Object.keys(objectDataBind).forEach(function(key) {
|
|
251
|
+
// 对应的dataBind
|
|
252
|
+
var dataBind = objectDataBind[key];
|
|
253
|
+
// 当前key对应的fieldType
|
|
254
|
+
var fieldType = objectDataBindKeyToFieldType[key].fieldType;
|
|
255
|
+
// 拼接当前列的caption
|
|
256
|
+
var caption = item.caption + '_' + objectDataBindKeyToFieldType[key].caption;
|
|
257
|
+
// 通过fieldType获取列类型
|
|
258
|
+
var controlType = getColumnTypeFromFiledType(fieldType);
|
|
259
|
+
if (!controlType) return;
|
|
260
|
+
var props = {
|
|
261
|
+
caption: caption,
|
|
262
|
+
dataBind: dataBind
|
|
263
|
+
};
|
|
264
|
+
if (key === 'currency') {
|
|
265
|
+
props.optionConfig = 'datasource';
|
|
266
|
+
props.datasourceBind = datasourceBind;
|
|
267
|
+
}
|
|
268
|
+
// @ts-ignore
|
|
269
|
+
var column = designer.createControlInstance(controlType, {
|
|
270
|
+
props: props
|
|
271
|
+
});
|
|
272
|
+
column && columns.push(column);
|
|
273
|
+
});
|
|
274
|
+
} else {
|
|
275
|
+
var controlType = getColumnTypeFromFiledType(item.fieldType);
|
|
276
|
+
if (!controlType) return;
|
|
277
|
+
// @ts-ignore
|
|
278
|
+
var column = designer.createControlInstance(controlType, {
|
|
279
|
+
props: {
|
|
280
|
+
caption: item.caption,
|
|
281
|
+
dataBind: item.dataBind,
|
|
282
|
+
datasourceBind: item.datasourceBind
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
column && columns.push(column);
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
return columns;
|
|
289
|
+
}
|
|
290
|
+
export function getColumnsFromFiledType(fieldTypes) {
|
|
291
|
+
var designer = new Designer();
|
|
292
|
+
var fieldTypesMap = Array.isArray(fieldTypes) ? fieldTypes : [
|
|
293
|
+
fieldTypes
|
|
294
|
+
];
|
|
295
|
+
var result = fieldTypesMap.map(function(fieldType) {
|
|
296
|
+
var columnType = getColumnTypeFromFiledType(fieldType);
|
|
297
|
+
return designer.createControlInstance(columnType);
|
|
298
|
+
});
|
|
299
|
+
return Array.isArray(fieldTypes) ? result : result[0];
|
|
300
|
+
}
|
|
234
301
|
function toSchema(schema) {
|
|
235
302
|
if (Array.isArray(schema)) {
|
|
236
303
|
return schema.map(function(item) {
|
|
@@ -324,15 +391,15 @@ var cannotEditControlTypes = [
|
|
|
324
391
|
var LIST_OPERATION_BUTTON_PERMISSIONS_MAPS = {
|
|
325
392
|
check: {
|
|
326
393
|
id: 'listPageCheckBtnId',
|
|
327
|
-
caption:
|
|
394
|
+
caption: '查看'
|
|
328
395
|
},
|
|
329
396
|
edit: {
|
|
330
397
|
id: 'listPageEditBtnId',
|
|
331
|
-
caption:
|
|
398
|
+
caption: '编辑'
|
|
332
399
|
},
|
|
333
400
|
delete: {
|
|
334
401
|
id: 'listPageDeleteBtnId',
|
|
335
|
-
caption:
|
|
402
|
+
caption: '删除'
|
|
336
403
|
}
|
|
337
404
|
};
|
|
338
405
|
// 生成权限字段
|
package/dist/index.umd.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var D5=Object.defineProperty;var Yr=Object.getOwnPropertySymbols;var $5=Object.prototype.hasOwnProperty,I5=Object.prototype.propertyIsEnumerable;var eu=(B,I,O)=>I in B?D5(B,I,{enumerable:!0,configurable:!0,writable:!0,value:O}):B[I]=O,le=(B,I)=>{for(var O in I||(I={}))$5.call(I,O)&&eu(B,O,I[O]);if(Yr)for(var O of Yr(I))I5.call(I,O)&&eu(B,O,I[O]);return B};var cn=(B,I,O)=>new Promise((Xe,we)=>{var Je=H=>{try{se(O.next(H))}catch(ce){we(ce)}},Qe=H=>{try{se(O.throw(H))}catch(ce){we(ce)}},se=H=>H.done?Xe(H.value):Promise.resolve(H.value).then(Je,Qe);se((O=O.apply(B,I)).next())});(function(B,I){typeof exports=="object"&&typeof module!="undefined"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(B=typeof globalThis!="undefined"?globalThis:B||self,I(B.modelDrivenDriven={}))})(this,function(B){"use strict";var I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Xe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",we="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Je="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Qe="{caption}\u5FC5\u586B",se="\u8BF7\u8F93\u5165\u6807\u9898",H="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ce="\u8BF7\u8F93\u5165\u884C\u6807\u9898",tu="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",nu="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ru="\u8BF7\u7ED1\u5B9A\u8868\u5355",uu="\u8BF7\u7ED1\u5B9A\u5217\u8868",iu="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ou="\u8BF7\u8F93\u5165\u663E\u793A\u503C",au="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",lu="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",su="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",cu="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fu="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",du="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pu="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",vu="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",hu="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",yu="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mu="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gu="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_u="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Eu="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bu="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Bu="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fu="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cu="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Au="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",wu="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Su="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Du="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$u="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Iu="\u8BF7\u9009\u62E9\u7701",Ou="\u8BF7\u9009\u62E9\u5E02",Pu="\u8BF7\u9009\u62E9\u533A",Ru="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Lu="\u8BF7\u8F93\u5165\u5217\u5BBD",Mu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Tu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ju="\u8BF7\u9009\u62E9\u63A7\u4EF6",Vu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Uu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Hu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Gu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ku="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ju="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Qu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ei="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ti="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ni="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ri="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ui="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ii="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",oi="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ai="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",li="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",si="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",ci="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",fi="\u6279\u91CF\u5220\u9664",di="\u6279\u91CF\u6253\u5370",pi="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",vi="\u6309\u94AE",hi="\u521B\u5EFA\u5355\u636E",yi="\u4EEA\u8868\u76D8",mi="\u5206\u5272\u7EBF",gi="\u5BFC\u51FA",_i="\u8868\u5355\u64CD\u4F5C",Ei="\u5BFC\u5165",bi="\u53D1\u7968\u8BC6\u522B",Bi="\u94FE\u63A5",Fi="\u5217\u8868\u9009\u62E9",Ci="\u5217\u8868\u89C6\u56FE",Ai="\u64CD\u4F5C\u6309\u94AE",wi="\u5206\u9875",Si="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Di="\u8BF4\u660E\u6587\u5B57",$i="\u6587\u5B57\u8BC6\u522B",Ii="\u6807\u9898\u7EC4\u4EF6",Oi="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Pi="\u6570\u7EC4",Ri="\u81EA\u52A8\u7F16\u53F7",xi="\u81EA\u5B9A\u4E49",Li="\u6570\u503C",Mi="\u90E8\u95E8",Ti="\u4EBA\u5458",ji="\u9644\u4EF6",Vi="\u56FE\u7247",qi="\u5730\u5740",ki="\u64CD\u4F5C",Ui="\u5E8F\u53F7",Hi="\u4EBA\u5458",Wi="\u957F\u6587\u672C",Ni="\u65E5\u671F\u533A\u95F4",zi="\u65E5\u671F",Gi="\u77ED\u6587\u672C",Ki="\u6362\u884C\u5BB9\u5668Wrap",Xi="\u8868\u683C",Ji="\u660E\u7EC6\u5B50\u8868",Qi="\u5730\u5740",Zi="\u91D1\u989D",Yi="\u8BA1\u7B97\u516C\u5F0F",eo="\u591A\u9009",to="\u7535\u5B50\u7B7E\u7AE0",no="\u5355\u884C\u6587\u672C",ro="\u6570\u5B57",uo="\u4E1A\u52A1\u7EC4\u7EC7",io="\u5355\u9009",oo="\u5BCC\u6587\u672C",ao="\u8BC4\u5206",lo="\u6570\u5B57\u533A\u95F4",so="\u4E0B\u62C9\u5355\u9009",co="\u4E0B\u62C9\u591A\u9009",fo="\u5173\u8054\u5355\u9009",po="\u591A\u884C\u6587\u672C",vo="\u6811",ho="Vue\u5BB9\u5668",yo="Vue\u9875\u9762",mo="\u5728\u7EBF\u6587\u6863",go="\u6309\u94AE\u64CD\u4F5C\u680F",_o="\u9AD8\u7EA7\u5BB9\u5668",Eo="\u5206\u7EC4",bo="\u6805\u683C\u5217",Bo="\u6570\u636E\u5BB9\u5668",Fo="\u753B\u5E03",Co="\u6362\u884C\u5BB9\u5668",Ao="\u6805\u683C\u7B49\u5206\u884C",wo="\u5217\u8868\u5BB9\u5668",So="\u81EA\u7531\u9875\u9762",Do="\u5B9A\u4F4D\u5B50\u5BB9\u5668",$o="\u5B9A\u4F4D\u5BB9\u5668",Io="\u6805\u683C\u5E03\u5C40",Oo="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Po="\u660E\u7EC6\u5B50\u8868\u884C",Ro="\u6807\u7B7E\u9875",xo="\u6807\u7B7E\u5355\u5143",Lo="\u5DE5\u5177\u680F",Mo="\u6279\u91CF\u63D0\u4EA4",To="\u5BFC\u51FA\u8BB0\u5F55",jo="\u5217\u8868\u89C6\u56FE",Vo="\u7ED3\u675F\u65F6\u95F4",qo="\u5F00\u59CB\u65F6\u95F4",ko="\u5355\u4F4D",Uo="\u7ED3\u679C",Ho="\u5E01\u79CD",Wo="\u7ED3\u675F\u65E5\u671F",No="\u5F00\u59CB\u65E5\u671F",zo="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Go="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ko="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Xo="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Jo="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Qo="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Zo="\u8BF7\u9009\u62E9",Yo="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ea="\u8BF7\u9009\u62E9\u90E8\u95E8",ta="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",na="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ra="\u8BF7\u9009\u62E9\u5730\u5740",ua="\u5F39\u7A97\u786E\u8BA4\u65F6",ia="\u6807\u7B7E\u9875\u5207\u6362\u65F6",oa="\u884C\u9009\u4E2D\u65F6",aa="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",la="\u884C\u5220\u9664\u524D",sa="\u884C\u70B9\u51FB\u65F6",ca="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",fa="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",da="\u91CD\u547D\u540D\u65F6",pa="\u4FDD\u5B58\u6587\u4EF6\u65F6",va="\u6253\u5F00\u6587\u4EF6\u65F6",ha="\u83B7\u53D6\u7126\u70B9\u65F6",ya="\u5931\u53BB\u7126\u70B9\u65F6",ma="\u7528\u6237\u8F93\u5165\u65F6",ga="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",_a="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ea="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",ba="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ba="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Fa="\u641C\u7D22\u65F6",Ca="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Aa="\u6267\u884C\u5B8C\u6210\u65F6",wa="\u70B9\u51FB\u65F6",Sa="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Da="\u8BF7\u8F93\u5165\u65E5\u671F",$a="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ia="\u8BF7\u8F93\u5165",Oa="\u9ED8\u8BA4\u6A21\u7248",Pa="\u5DE6\u53F3\u5E03\u5C40",Ra="\u4E0A\u4E0B\u5E03\u5C40",xa="\u53EA\u8BFB",La="\u5FC5\u586B",Ma="\u63D0\u793A\u6587\u5B57",Ta="\u9690\u85CF\u6807\u9898",ja="\u6807\u9898\u5FC5\u586B",Va="\u7EC4\u7EC7\u5F62\u6001",qa="\u4E1A\u52A1\u7C7B\u578B",ka="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Ua="\u9690\u85CF",Ha="\u6D41\u7A0B\u72B6\u6001",Wa="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Na="\u5220\u9664",za="\u7F16\u8F91",Ga="\u67E5\u770B",Ka="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Xa="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Ja="\u5145\u6EE1\u6574\u884C",Qa="\u6700\u5C0F\u503C",Za="\u6700\u5927\u503C",Ya="\u65B0\u5EFA\u6587\u6863",el="\u91CD\u7F6E",tl="\u67E5\u8BE2",nl="\u660E\u7EC6",rl="\u6253\u5370",ul="\u4FDD\u5B58\u8349\u7A3F",il="\u4FDD\u5B58",ol="\u53D6\u6D88",al="\u4E0A\u4F20\u56FE\u7247",ll="\u53D1\u8D77\u7B7E\u7F72",sl="\u4E0A\u4F20\u9644\u4EF6",cl="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",fl="\u5F15\u7528\u5217\u8868",dl="\u9009\u9879\u4E00",pl="\u9009\u9879\u4E8C",vl="\u9009\u9879\u4E09",hl={isNotNumber:I,isNotString:O,isNotObject:Xe,isNotArray:we,isNotBoolean:Je,runtimeRequired:Qe,pleaseEnterCaption:se,pleaseEnterCaptionTip:H,pleaseEnterRowCaption:ce,pleaseEnterPlaceholder:tu,pleaseEnterFieldCode:nu,pleaseEnterForm:ru,pleaseEnterList:uu,pleaseEnterProcess:iu,pleaseEnterLabel:ou,pleaseEnterValue:au,bizKeyNotBindFiled:lu,pleaseSelectOneField:su,pleaseEnterNumberRange:cu,pleaseEnterAValueGreaterThanMin:fu,pleaseEnterAValueLessThanMax:du,numberRangeSetError:pu,stringRangeError:vu,attachmentMaxSize:hu,pleaseEnterTotalScoreSetting:yu,theTotalScoreMustNotBeLessThan1:mu,scoreDefaultValueRange:gu,attachmentLimitError:_u,PleaseReselectTheOptionalQuantity:Eu,TheMaximumLengthIsGreaterThanTheMinimumLength:bu,TheMinimumLengthIsGreaterThanTheMaximumLength:Bu,PleaseSelectTheCorrectOptionSettings:Fu,optionIdIsRepeat:Cu,optionIsRequired:Au,pleaseEnterDataCode:wu,pleaseEnterValueFieldCode:Su,pleaseEnterSvcCode:Du,pleaseBindAtLeastOneDisplayValue:$u,pleaseSelectProvince:Iu,pleaseSelectCity:Ou,pleaseSelectDistrict:Pu,limitRowsCannotBeLessThan0:Ru,TheNumberOfRowsCannotBeLessThanMinRows:xu,pleaseEnterColumnWidth:Lu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mu,pleaseCompleteAllRulesAndConditions:Tu,pleaseSelectControl:ju,pleaseSelectAtLeastOneColumn:Vu,pleaseSelectFillBackMode:qu,pleaseSelectDashboard:ku,rootNodeIsRequired:Uu,theViewNameCannotBeEmpty:Hu,pleaseSelectOcrType:Wu,pleaseSelectAtLeastOneFieldToFillIn:Nu,pleaseChooseAtLeastOne:zu,pleaseEnterButtonContent:Gu,pleaseEnterDataCodeInDataSetting:Ku,pleaseEnterValueFieldCodeInDataSetting:Xu,pleaseEnterSvcCodeInDataSetting:Ju,pleaseBindAtLeastOneDisplayValueInDataSetting:Qu,rootNodeIsRequiredInDataSetting:Zu,pleaseEnterMaxHeight:Yu,pleaseEnterWatermark:ei,pleaseEnterFileName:ti,pleaseUploadAtLeastOnePrintTemplate:ni,pleaseAssignBusiness:ri,pleaseAssignExternal:ui,pleaseEnterAliasCode:ii,pleaseSelectDataCode:oi,pleaseSelectSvcCode:ai,pleaseSelectJoinFieldCode:li,pleaseSelectMainFieldCode:si,pleaseSelectSortFieldCode:ci,batchDeleteButton:fi,batchPrintListButton:di,batchPrintRecordList:pi,button:vi,createFormListButton:hi,dashboard:yi,divider:mi,exportListButton:gi,formSelectButton:_i,importRecordListButton:Ei,invoiceCheckButton:bi,link:Bi,listSelectButton:Fi,ListViewSelect:Ci,operationButton:Ai,pagination:wi,submissionRecordListButton:Si,text:Di,textOcrButton:$i,title:Ii,approvalStatusColumn:Oi,array:Pi,autoNumber:Ri,custom:xi,decimal:Li,department:Mi,employee:Ti,file:ji,image:Vi,location:qi,operation:ki,order:Ui,people:Hi,long:Wi,timescope:Ni,timestamp:zi,varchar:Gi,gridLayoutWrap:Ki,gridTable:Xi,subTable:Ji,address:Qi,amount:Zi,calc:Yi,checkBox:eo,electronicSignature:to,input:no,number:ro,organizationSelection:uo,radio:io,richText:oo,score:ao,searchNumberRange:lo,select:so,selectMultiple:co,selectRelation:fo,textarea:po,tree:vo,vueFormItem:ho,vuePage:yo,WPS:mo,actionBar:go,advancedContainer:_o,cardGroup:Eo,col:bo,dataView:Bo,grid:Fo,gridLayoutContainer:Co,gridRow:Ao,listView:wo,page:So,position:Do,positioningContainer:$o,row:Io,subtableColumn:Oo,subtableRow:Po,tab:Ro,tabPane:xo,toolbox:Lo,batchSubmissionListButton:Mo,exportRecordListButton:To,listViewSelect:jo,endTime:Vo,startTime:qo,unit:ko,result:Uo,currency:Ho,endDate:Wo,startDate:No,pleaseSelectCompanyName:zo,pleaseSelectPhoneOrEmail:Go,pleaseSelectSignType:Ko,pleaseSelectSigner:Xo,pleaseSelectOnlyOne:Jo,pleaseSelectSignFile:Qo,pleaseSelect:Zo,pleaseSelectOrg:Yo,pleaseSelectDept:ea,pleaseSelectEndDate:ta,pleaseSelectStartDate:na,pleaseChooseAddress:ra,modalConfirm:ua,tabChange:ia,rowSelected:oa,listDataImport:aa,rowDelete:la,rowClick:sa,cellRender:ca,onClickBtn:fa,rename:da,onSaveFile:pa,onOpenFile:va,onFocus:ha,onBlur:ya,onInput:ma,listDataAdd:ga,listDataDelete:_a,listDataBack:Ea,listDataCreate:ba,listDataChange:Ba,search:Fa,valueChange:Ca,finished:Aa,click:wa,pleaseEnterNameorEmail:Sa,pleaseEnterDate:Da,pleaseEnterAutonumber:$a,pleaseEnter:Ia,defaultTemplate:Oa,left:Pa,top:Ra,default:"\u666E\u901A",readonly:xa,required:La,textTip:Ma,hideCaption:Ta,titleRequired:ja,organizationalForm:Va,businessType:qa,deleteConfirm:ka,hide:Ua,processStatus:Ha,approvedDocuments:Wa,delete:Na,edit:za,view:Ga,loadCtrlErrorTip:Ka,loadCtrlError:Xa,fullLine:Ja,min:Qa,max:Za,createWPS:Ya,reset:el,query:tl,detailed:nl,print:rl,draft:ul,save:il,cancel:ol,uploadImg:al,signature:ll,uploadFile:sl,linkContent:cl,referenceList:fl,optionOne:dl,optionTwo:pl,optionThird:vl},yl="Please enter a number",ml="Please enter a string",gl="Please enter an object",_l="Please enter an array",El="Please enter a boolean",bl="{caption} Required",Bl="Please enter the title",Fl="Please enter the bubble prompt",Cl="Please enter the row title",Al="Please enter the prompt text",wl="Please bind data items",Sl="Please bind the form",Dl="Please bind the list",$l="Please bind the process",Il="Please enter the displayed value",Ol="Please enter the stored value",Pl="The document number is not bound to the data item",Rl="Please select at least one display field",xl="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ll="Please enter a value greater than or equal to {min}",Ml="Please enter a value less than or equal to {max}",Tl="The value range is set incorrectly",jl="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vl="The attachment size must be between 0MB and 1000MB",ql="Please fill in the total score setting",kl="The total score cannot be less than 1",Ul="The default value must be between {min} and {max}",Hl="The number of attachment uploads exceeds the limit",Wl="Please re-select the optional quantity",Nl="The maximum length of the control must be greater than the minimum length",zl="The minimum length of the control must be less than the maximum length",Gl="Please select the correct option setting",Kl="Option ID cannot be repeated",Xl="Please enter at least one option",Jl="Please bind the data source",Ql="Please bind the stored value",Zl="Please bind the service",Yl="At least one display value must be bound",es="Please select a province",ts="Please select a city",ns="Please select a district",rs="The minimum number of lines to fill in cannot be less than 0",us="The number of rows cannot be less than {min} rows",is="Please enter the column width",os="Please set the logical relationship of all rule conditions",as="Please complete all rules and conditions",ls="please select control",ss="Please select the dashboard",cs="View name cannot be empty",fs="Please select recognition type",ds="Please select at least one field to fill in",ps="Please select at least one",vs="Please enter the button title",hs="Please bind the business model in the data settings",ys="Please bind storage values in data settings",ms="Please bind the service in the data settings",gs="Please bind at least one display value in the data settings",_s="Please select the root node in the data settings",Es="Please enter the maximum height",bs="The input content cannot be empty",Bs="Watermark cannot be empty",Fs="File name cannot be empty",Cs="Please upload at least one printing template!\uFF01",As="Please select a specific business department",ws="Please select a specified external organization",Ss="Please enter a sub table alias",Ds="Please select the associated table to set the business model",$s="Please select the association table to set the binding service",Is="Select associated sub table fields",Os="Please select the associated main table field",Ps="Please select the sort field",Rs="\u6279\u91CF\u5220\u9664",xs="\u6279\u91CF\u6253\u5370",Ls="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ms="\u6309\u94AE",Ts="\u521B\u5EFA\u5355\u636E",js="\u4EEA\u8868\u76D8",Vs="\u5206\u5272\u7EBF",qs="\u5BFC\u51FA",ks="\u8868\u5355\u64CD\u4F5C",Us="\u5BFC\u5165",Hs="\u53D1\u7968\u8BC6\u522B",Ws="\u94FE\u63A5",Ns="\u5217\u8868\u9009\u62E9",zs="\u5217\u8868\u89C6\u56FE",Gs="\u64CD\u4F5C\u6309\u94AE",Ks="\u5206\u9875",Xs="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Js="\u8BF4\u660E\u6587\u5B57",Qs="\u6587\u5B57\u8BC6\u522B",Zs="\u6807\u9898\u7EC4\u4EF6",Ys="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ec="\u6570\u7EC4",tc="\u81EA\u52A8\u7F16\u53F7",nc="\u81EA\u5B9A\u4E49",rc="\u6570\u503C",uc="\u90E8\u95E8",ic="\u4EBA\u5458",oc="\u9644\u4EF6",ac="\u56FE\u7247",lc="\u5730\u5740",sc="\u64CD\u4F5C",cc="\u5E8F\u53F7",fc="\u4EBA\u5458",dc="\u957F\u6587\u672C",pc="\u65E5\u671F\u533A\u95F4",vc="\u65E5\u671F",hc="\u77ED\u6587\u672C",yc="\u6362\u884C\u5BB9\u5668Wrap",mc="\u8868\u683C",gc="\u660E\u7EC6\u5B50\u8868",_c="\u5730\u5740",Ec="\u91D1\u989D",bc="\u8BA1\u7B97\u516C\u5F0F",Bc="\u591A\u9009",Fc="\u7535\u5B50\u7B7E\u7AE0",Cc="\u5355\u884C\u6587\u672C",Ac="\u6570\u5B57",wc="\u4E1A\u52A1\u7EC4\u7EC7",Sc="\u5355\u9009",Dc="\u5BCC\u6587\u672C",$c="\u8BC4\u5206",Ic="\u6570\u5B57\u533A\u95F4",Oc="\u4E0B\u62C9\u5355\u9009",Pc="\u4E0B\u62C9\u591A\u9009",Rc="\u5173\u8054\u5355\u9009",xc="\u591A\u884C\u6587\u672C",Lc="\u6811",Mc="Vue\u5BB9\u5668",Tc="Vue\u9875\u9762",jc="\u5728\u7EBF\u6587\u6863",Vc="\u6309\u94AE\u64CD\u4F5C\u680F",qc="\u9AD8\u7EA7\u5BB9\u5668",kc="\u5206\u7EC4",Uc="\u6805\u683C\u5217",Hc="\u6570\u636E\u5BB9\u5668",Wc="\u753B\u5E03",Nc="\u6362\u884C\u5BB9\u5668",zc="\u6805\u683C\u7B49\u5206\u884C",Gc="\u5217\u8868\u5BB9\u5668",Kc="\u81EA\u7531\u9875\u9762",Xc="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Jc="\u5B9A\u4F4D\u5BB9\u5668",Qc="\u6805\u683C\u5E03\u5C40",Zc="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Yc="\u660E\u7EC6\u5B50\u8868\u884C",ef="\u6807\u7B7E\u9875",tf="\u6807\u7B7E\u5355\u5143",nf="\u5DE5\u5177\u680F",rf="\u6279\u91CF\u63D0\u4EA4",uf="\u5BFC\u51FA\u8BB0\u5F55",of="\u5217\u8868\u89C6\u56FE",af="\u5F15\u7528\u5217\u8868",lf="\u9009\u9879\u4E00",sf="\u9009\u9879\u4E8C",cf="\u9009\u9879\u4E09",ff={isNotNumber:yl,isNotString:ml,isNotObject:gl,isNotArray:_l,isNotBoolean:El,runtimeRequired:bl,pleaseEnterCaption:Bl,pleaseEnterCaptionTip:Fl,pleaseEnterRowCaption:Cl,pleaseEnterPlaceholder:Al,pleaseEnterFieldCode:wl,pleaseEnterForm:Sl,pleaseEnterList:Dl,pleaseEnterProcess:$l,pleaseEnterLabel:Il,pleaseEnterValue:Ol,bizKeyNotBindFiled:Pl,pleaseSelectOneField:Rl,pleaseEnterNumberRange:xl,pleaseEnterAValueGreaterThanMin:Ll,pleaseEnterAValueLessThanMax:Ml,numberRangeSetError:Tl,stringRangeError:jl,attachmentMaxSize:Vl,pleaseEnterTotalScoreSetting:ql,theTotalScoreMustNotBeLessThan1:kl,scoreDefaultValueRange:Ul,attachmentLimitError:Hl,PleaseReselectTheOptionalQuantity:Wl,TheMaximumLengthIsGreaterThanTheMinimumLength:Nl,TheMinimumLengthIsGreaterThanTheMaximumLength:zl,PleaseSelectTheCorrectOptionSettings:Gl,optionIdIsRepeat:Kl,optionIsRequired:Xl,pleaseEnterDataCode:Jl,pleaseEnterValueFieldCode:Ql,pleaseEnterSvcCode:Zl,pleaseBindAtLeastOneDisplayValue:Yl,pleaseSelectProvince:es,pleaseSelectCity:ts,pleaseSelectDistrict:ns,limitRowsCannotBeLessThan0:rs,TheNumberOfRowsCannotBeLessThanMinRows:us,pleaseEnterColumnWidth:is,pleaseSetTheLogicalRelationshipOfAllRuleConditions:os,pleaseCompleteAllRulesAndConditions:as,pleaseSelectControl:ls,pleaseSelectDashboard:ss,theViewNameCannotBeEmpty:cs,pleaseSelectOcrType:fs,pleaseSelectAtLeastOneFieldToFillIn:ds,pleaseChooseAtLeastOne:ps,pleaseEnterButtonContent:vs,pleaseEnterDataCodeInDataSetting:hs,pleaseEnterValueFieldCodeInDataSetting:ys,pleaseEnterSvcCodeInDataSetting:ms,pleaseBindAtLeastOneDisplayValueInDataSetting:gs,rootNodeIsRequiredInDataSetting:_s,pleaseEnterMaxHeight:Es,pleaseEnter:bs,pleaseEnterWatermark:Bs,pleaseEnterFileName:Fs,pleaseUploadAtLeastOnePrintTemplate:Cs,pleaseAssignBusiness:As,pleaseAssignExternal:ws,pleaseEnterAliasCode:Ss,pleaseSelectDataCode:Ds,pleaseSelectSvcCode:$s,pleaseSelectJoinFieldCode:Is,pleaseSelectMainFieldCode:Os,pleaseSelectSortFieldCode:Ps,batchDeleteButton:Rs,batchPrintListButton:xs,batchPrintRecordList:Ls,button:Ms,createFormListButton:Ts,dashboard:js,divider:Vs,exportListButton:qs,formSelectButton:ks,importRecordListButton:Us,invoiceCheckButton:Hs,link:Ws,listSelectButton:Ns,ListViewSelect:zs,operationButton:Gs,pagination:Ks,submissionRecordListButton:Xs,text:Js,textOcrButton:Qs,title:Zs,approvalStatusColumn:Ys,array:ec,autoNumber:tc,custom:nc,decimal:rc,department:uc,employee:ic,file:oc,image:ac,location:lc,operation:sc,order:cc,people:fc,long:dc,timescope:pc,timestamp:vc,varchar:hc,gridLayoutWrap:yc,gridTable:mc,subTable:gc,address:_c,amount:Ec,calc:bc,checkBox:Bc,electronicSignature:Fc,input:Cc,number:Ac,organizationSelection:wc,radio:Sc,richText:Dc,score:$c,searchNumberRange:Ic,select:Oc,selectMultiple:Pc,selectRelation:Rc,textarea:xc,tree:Lc,vueFormItem:Mc,vuePage:Tc,WPS:jc,actionBar:Vc,advancedContainer:qc,cardGroup:kc,col:Uc,dataView:Hc,grid:Wc,gridLayoutContainer:Nc,gridRow:zc,listView:Gc,page:Kc,position:Xc,positioningContainer:Jc,row:Qc,subtableColumn:Zc,subtableRow:Yc,tab:ef,tabPane:tf,toolbox:nf,batchSubmissionListButton:rf,exportRecordListButton:uf,listViewSelect:of,referenceList:af,optionOne:lf,optionTwo:sf,optionThird:cf},df="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="{caption}\u5FC5\u9808",gf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ef="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$f="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",If="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",xf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Mf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",qf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kf="\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",Uf="\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",Hf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Nf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Jf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ed="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",td="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nd="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rd="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ud="please select control",id="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",od="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ad="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ld="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sd="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cd="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yd="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",md="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gd="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_d="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ed="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",bd="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bd="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fd="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cd="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ad="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wd="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Sd="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dd="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$d="\u6279\u91CF\u5220\u9664",Id="\u6279\u91CF\u6253\u5370",Od="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Pd="\u6309\u94AE",Rd="\u521B\u5EFA\u5355\u636E",xd="\u4EEA\u8868\u76D8",Ld="\u5206\u5272\u7EBF",Md="\u5BFC\u51FA",Td="\u8868\u5355\u64CD\u4F5C",jd="\u5BFC\u5165",Vd="\u53D1\u7968\u8BC6\u522B",qd="\u94FE\u63A5",kd="\u5217\u8868\u9009\u62E9",Ud="\u5217\u8868\u89C6\u56FE",Hd="\u64CD\u4F5C\u6309\u94AE",Wd="\u5206\u9875",Nd="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",zd="\u8BF4\u660E\u6587\u5B57",Gd="\u6587\u5B57\u8BC6\u522B",Kd="\u6807\u9898\u7EC4\u4EF6",Xd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Jd="\u6570\u7EC4",Qd="\u81EA\u52A8\u7F16\u53F7",Zd="\u81EA\u5B9A\u4E49",Yd="\u6570\u503C",e0="\u90E8\u95E8",t0="\u4EBA\u5458",n0="\u9644\u4EF6",r0="\u56FE\u7247",u0="\u5730\u5740",i0="\u64CD\u4F5C",o0="\u5E8F\u53F7",a0="\u4EBA\u5458",l0="\u957F\u6587\u672C",s0="\u65E5\u671F\u533A\u95F4",c0="\u65E5\u671F",f0="\u77ED\u6587\u672C",d0="\u6362\u884C\u5BB9\u5668Wrap",p0="\u8868\u683C",v0="\u660E\u7EC6\u5B50\u8868",h0="\u5730\u5740",y0="\u91D1\u989D",m0="\u8BA1\u7B97\u516C\u5F0F",g0="\u591A\u9009",_0="\u7535\u5B50\u7B7E\u7AE0",E0="\u5355\u884C\u6587\u672C",b0="\u6570\u5B57",B0="\u4E1A\u52A1\u7EC4\u7EC7",F0="\u5355\u9009",C0="\u5BCC\u6587\u672C",A0="\u8BC4\u5206",w0="\u6570\u5B57\u533A\u95F4",S0="\u4E0B\u62C9\u5355\u9009",D0="\u4E0B\u62C9\u591A\u9009",$0="\u5173\u8054\u5355\u9009",I0="\u591A\u884C\u6587\u672C",O0="\u6811",P0="Vue\u5BB9\u5668",R0="Vue\u9875\u9762",x0="\u5728\u7EBF\u6587\u6863",L0="\u6309\u94AE\u64CD\u4F5C\u680F",M0="\u9AD8\u7EA7\u5BB9\u5668",T0="\u5206\u7EC4",j0="\u6805\u683C\u5217",V0="\u6570\u636E\u5BB9\u5668",q0="\u753B\u5E03",k0="\u6362\u884C\u5BB9\u5668",U0="\u6805\u683C\u7B49\u5206\u884C",H0="\u5217\u8868\u5BB9\u5668",W0="\u81EA\u7531\u9875\u9762",N0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",z0="\u5B9A\u4F4D\u5BB9\u5668",G0="\u6805\u683C\u5E03\u5C40",K0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",X0="\u660E\u7EC6\u5B50\u8868\u884C",J0="\u6807\u7B7E\u9875",Q0="\u6807\u7B7E\u5355\u5143",Z0="\u5DE5\u5177\u680F",Y0="\u6279\u91CF\u63D0\u4EA4",ep="\u5BFC\u51FA\u8BB0\u5F55",tp="\u5217\u8868\u89C6\u56FE",np="\u5F15\u7528\u5217\u8868",rp="\u9009\u9879\u4E00",up="\u9009\u9879\u4E8C",ip="\u9009\u9879\u4E09",op={isNotNumber:df,isNotString:pf,isNotObject:vf,isNotArray:hf,isNotBoolean:yf,runtimeRequired:mf,pleaseEnterCaption:gf,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:Ef,pleaseEnterPlaceholder:bf,pleaseEnterFieldCode:Bf,pleaseEnterForm:Ff,pleaseEnterList:Cf,pleaseEnterProcess:Af,pleaseEnterLabel:wf,pleaseEnterValue:Sf,bizKeyNotBindFiled:Df,pleaseSelectOneField:$f,pleaseEnterNumberRange:If,pleaseEnterAValueGreaterThanMin:Of,pleaseEnterAValueLessThanMax:Pf,numberRangeSetError:Rf,stringRangeError:xf,attachmentMaxSize:Lf,pleaseEnterTotalScoreSetting:Mf,theTotalScoreMustNotBeLessThan1:Tf,scoreDefaultValueRange:jf,attachmentLimitError:Vf,PleaseReselectTheOptionalQuantity:qf,TheMaximumLengthIsGreaterThanTheMinimumLength:kf,TheMinimumLengthIsGreaterThanTheMaximumLength:Uf,PleaseSelectTheCorrectOptionSettings:Hf,optionIdIsRepeat:Wf,optionIsRequired:Nf,pleaseEnterDataCode:zf,pleaseEnterValueFieldCode:Gf,pleaseEnterSvcCode:Kf,pleaseBindAtLeastOneDisplayValue:Xf,pleaseSelectProvince:Jf,pleaseSelectCity:Qf,pleaseSelectDistrict:Zf,limitRowsCannotBeLessThan0:Yf,TheNumberOfRowsCannotBeLessThanMinRows:ed,pleaseEnterColumnWidth:td,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nd,pleaseCompleteAllRulesAndConditions:rd,pleaseSelectControl:ud,pleaseSelectDashboard:id,theViewNameCannotBeEmpty:od,pleaseSelectOcrType:ad,pleaseSelectAtLeastOneFieldToFillIn:ld,pleaseChooseAtLeastOne:sd,pleaseEnterButtonContent:cd,pleaseEnterDataCodeInDataSetting:fd,pleaseEnterValueFieldCodeInDataSetting:dd,pleaseEnterSvcCodeInDataSetting:pd,pleaseBindAtLeastOneDisplayValueInDataSetting:vd,rootNodeIsRequiredInDataSetting:hd,pleaseEnterMaxHeight:yd,pleaseEnter:md,pleaseEnterWatermark:gd,pleaseEnterFileName:_d,pleaseUploadAtLeastOnePrintTemplate:Ed,pleaseAssignBusiness:bd,pleaseAssignExternal:Bd,pleaseEnterAliasCode:Fd,pleaseSelectDataCode:Cd,pleaseSelectSvcCode:Ad,pleaseSelectJoinFieldCode:wd,pleaseSelectMainFieldCode:Sd,pleaseSelectSortFieldCode:Dd,batchDeleteButton:$d,batchPrintListButton:Id,batchPrintRecordList:Od,button:Pd,createFormListButton:Rd,dashboard:xd,divider:Ld,exportListButton:Md,formSelectButton:Td,importRecordListButton:jd,invoiceCheckButton:Vd,link:qd,listSelectButton:kd,ListViewSelect:Ud,operationButton:Hd,pagination:Wd,submissionRecordListButton:Nd,text:zd,textOcrButton:Gd,title:Kd,approvalStatusColumn:Xd,array:Jd,autoNumber:Qd,custom:Zd,decimal:Yd,department:e0,employee:t0,file:n0,image:r0,location:u0,operation:i0,order:o0,people:a0,long:l0,timescope:s0,timestamp:c0,varchar:f0,gridLayoutWrap:d0,gridTable:p0,subTable:v0,address:h0,amount:y0,calc:m0,checkBox:g0,electronicSignature:_0,input:E0,number:b0,organizationSelection:B0,radio:F0,richText:C0,score:A0,searchNumberRange:w0,select:S0,selectMultiple:D0,selectRelation:$0,textarea:I0,tree:O0,vueFormItem:P0,vuePage:R0,WPS:x0,actionBar:L0,advancedContainer:M0,cardGroup:T0,col:j0,dataView:V0,grid:q0,gridLayoutContainer:k0,gridRow:U0,listView:H0,page:W0,position:N0,positioningContainer:z0,row:G0,subtableColumn:K0,subtableRow:X0,tab:J0,tabPane:Q0,toolbox:Z0,batchSubmissionListButton:Y0,exportRecordListButton:ep,listViewSelect:tp,referenceList:np,optionOne:rp,optionTwo:up,optionThird:ip},Ze={zhCN:hl,enUS:ff,jaJP:op},fn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(fn||(fn={}));var dn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(dn||(dn={}));var Ye,pn=(Ye=window.localStorage.getItem("locale"))!==null&&Ye!==void 0?Ye:"zh-CN",ap=function(){},P;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(P||(P={}));var vn;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(vn||(vn={}));var v;(function(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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.ORGANIZATION_SELECTION="organization-selection",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.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-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.GRID_LAYOUT_CONTAINER="grid-layout-container",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.ACTION_BAR="action-bar",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.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(v||(v={}));var hn;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(hn||(hn={}));var j;(function(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.LIST="list",e.JSON="json",e.ANY="ANY"})(j||(j={}));var yn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(yn||(yn={}));var mn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",lp=mn+"0123456789";function et(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?mn:lp,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sp(e){if(Array.isArray(e))return tt(e)}function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t,n){return t=fe(t),vp(e,rt()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function _n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return rt()?Se=Reflect.construct:Se=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&de(a,i.prototype),a},Se.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function En(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}function fp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pp(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vp(e,t){return t&&(hp(t)==="object"||typeof t=="function")?t:cp(e)}function de(e,t){return de=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},de(e,t)}function bn(e){return sp(e)||dp(e)||yp(e)||pp()}function hp(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yp(e,t){if(!!e){if(typeof e=="string")return tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!fp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Se(r,arguments,fe(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),de(u,r)},nt(e)}function rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rt=function(){return!!e})()}var ut=console;function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(bn(u)))}function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(bn(u)))}function mp(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){En(t,e);function t(n){_n(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?mp(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(nt(Error)),gp=function(e){En(t,e);function t(n){_n(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(it);function pe(e){throw new it(e)}function Fn(e){throw new gp(e)}function _p(e){ut.error(new it(e))}const y=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const r=e.split(".");let u;const o=(window.baitedaWorkers||{}).languageMessages||{};r.forEach((l,s)=>{s===0?u=o[l]:u&&(u=u[l])});let i="";return u&&(i=u),t&&Object.keys(t).forEach(l=>{const s=t[l];i=i.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),s)}),i||(n?i=n:i=e),i};function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bp(e,t,n){return t&&Cn(e.prototype,t),n&&Cn(e,n),e}function Bp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var An=function(){function e(){Ep(this,e)}return bp(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return y("CMD."+n,r,Ze==null||(u=Ze[pn.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,r){}}]),e}();Bp(An,"$i18n",An.resetI18n());function wn(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,i){return"."+i}).split("."),u=!1;return r.reduce(function(o,i,l,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){De("Can not set ".concat(t,"'s ").concat(i," property in current %o, Because there is no ").concat(i," property on the %o"),o,o);return}return l===s.length-1&&!Object.is(a[i],n)&&(a[i]=n,u=!0),a[i]}},e),u}var Fp=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Cp={exports:{}};(function(e){(function(t){var n=function(c,p,b){if(!a(p)||h(p)||g(p)||_(p)||s(p))return p;var A,S=0,k=0;if(f(p))for(A=[],k=p.length;S<k;S++)A.push(n(c,p[S],b));else{A={};for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&(A[c(w,b)]=n(c,p[w],b))}return A},r=function(c,p){p=p||{};var b=p.separator||"_",A=p.split||/(?=[A-Z])/;return c.split(A).join(b)},u=function(c){return C(c)?c:(c=c.replace(/[\-_\s]+(.)?/g,function(p,b){return b?b.toUpperCase():""}),c.substr(0,1).toLowerCase()+c.substr(1))},o=function(c){var p=u(c);return p.substr(0,1).toUpperCase()+p.substr(1)},i=function(c,p){return r(c,p).toLowerCase()},l=Object.prototype.toString,s=function(c){return typeof c=="function"},a=function(c){return c===Object(c)},f=function(c){return l.call(c)=="[object Array]"},h=function(c){return l.call(c)=="[object Date]"},g=function(c){return l.call(c)=="[object RegExp]"},_=function(c){return l.call(c)=="[object Boolean]"},C=function(c){return c=c-0,c===c},d=function(c,p){var b=p&&"process"in p?p.process:p;return typeof b!="function"?c:function(A,S){return b(A,c,S)}},m={camelize:u,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(c,p){return n(d(u,p),c)},decamelizeKeys:function(c,p){return n(d(i,p),c,p)},pascalizeKeys:function(c,p){return n(d(o,p),c)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(Fp)})(Cp);var Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var Ap=Sn.default=ot;function Dn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":Dn(e))==="object"?Ap(e):e}function at(e){return Object.prototype.toString.call(e)==="[object Object]"}function wp(e){return e!=null&&(typeof e=="undefined"?"undefined":Dn(e))==="object"&&Array.isArray(e)===!1}function ve(e){return Array.isArray(e)}function lt(e){return typeof e=="string"}function Sp(e){return Object.values(v).includes(e)}function st(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dp(e){if(Array.isArray(e))return st(e)}function $n(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function $p(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){$n(o,r,u,i,l,"next",s)}function l(s){$n(o,r,u,i,l,"throw",s)}i(void 0)})}}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Op(e,t,n){return t&&In(e.prototype,t),n&&In(e,n),e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rp(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ct(e){return Dp(e)||Pp(e)||xp(e)||Rp()}function xp(e,t){if(!!e){if(typeof e=="string")return st(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return st(e,t)}}function Lp(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Pn=function(){function e(){Ip(this,e),On(this,"_events",new Map),On(this,"debug",!1)}return Op(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var i=this;return $p(function(){var l,s,a,f,h,g,_,C,d,m,c,p;return Lp(this,function(b){switch(b.label){case 0:if(l=i._events.get(n),s=[],!l)return[3,10];a=l.slice(),f=!0,h=!1,g=void 0,b.label=1;case 1:b.trys.push([1,8,9,10]),_=a[Symbol.iterator](),b.label=2;case 2:if(f=(C=_.next()).done)return[3,7];if(d=C.value,!l.includes(d))return[3,6];b.label=3;case 3:return b.trys.push([3,5,,6]),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ct(u))),[4,d.apply(null,ct(u))];case 4:return m=b.sent(),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ct(u),[m])),s.push(m),m===!1?[3,7]:[3,6];case 5:return c=b.sent(),_p(String(c)+":"+String(c.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return p=b.sent(),h=!0,g=p,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(h)throw g}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tp(e,t,n){return t&&Rn(e.prototype,t),n&&Rn(e,n),e}function jp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vp=[{key:"on_click",name:y("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:y("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:y("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:y("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:y("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:y("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:y("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:y("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:y("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:y("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:y("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:y("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:y("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:y("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:y("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:y("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:y("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:y("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:y("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:y("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:y("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:y("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:y("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:y("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],he=function(){function e(){Mp(this,e)}return Tp(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(i){return u.includes(i.key)}));var o=n.customEvents.map(function(i){var l=i.key;return i.namespace!==void 0&&i.namespace!==null&&i.namespace!==""&&(l=i.namespace+":"+i.key),{key:l,code:i.key,name:i.name}});return r=r.concat(o),r}}]),e}();jp(he,"events",Vp);function ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qp(e){if(Array.isArray(e))return ft(e)}function kp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Up(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xn(e){return qp(e)||kp(e)||Hp(e)||Up()}function Hp(e,t){if(!!e){if(typeof e=="string")return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ft(e,t)}}function dt(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ln(e,t,n){n!=="Runtime"&&(e.parent=t,dt(e,"parent"))}function Wp(e,t,n){e.forEach(function(r){Ln(r,t,n)})}var Mn=Symbol("targetKey");function Tn(e){var t;return(t=e[Mn])!==null&&t!==void 0?t:e}function jn(e,t,n){return Wp(e,t,n),new Proxy(e,{get:function(u,o){for(var i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];var a;return o===Mn?u:(a=Reflect).get.apply(a,[u,o].concat(xn(l)))},set:function(u,o,i){for(var l=arguments.length,s=new Array(l>3?l-3:0),a=3;a<l;a++)s[a-3]=arguments[a];var f;if(ve(e)&&o==="length"&&i===e.length)return!0;var h=(f=Reflect).set.apply(f,[u,o,i].concat(xn(s)));return at(i)&&Ln(i,t,n),h}})}function pt(e,t,n,r,u){var o=r!=null?r:e,i=jn(Tn(n!=null?n:[]),o,u);Object.defineProperty(e,t,{get:function(){return i},set:function(s){i=jn(Tn(s),o,u)},enumerable:!0})}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zp(e,t,n){return t&&Vn(e.prototype,t),n&&Vn(e,n),e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qn=[],ye=function(){function e(t){Np(this,e),K(this,"registeredControlTypes",new Set),K(this,"controlConfigMap",new Map),K(this,"_controls",[]),K(this,"_type",void 0),this._type=t,this._initControls(t)}return zp(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||pe("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(De("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===P.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===P.FORM}},{key:"isListControl",value:function(n){return n.controlType===P.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===P.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,r)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,r)})),this.isListControl(n)){var o=n.props;o.headers&&(o.headers=o.headers.map(function(f){return u.createControl(f,r)}))}var i=this.getControlFormType(n.type);if(i){var l=n;if(typeof r=="function"){var s=r(l);s&&(l=s)}var a;return i.mode==="Runtime"?(a=l,a.fieldType=i.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new i(l),a}else pe("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),dt(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var o=n.id,i=r._controlParentIdMap,l=r.instanceMap;if(!(!i||!l)){var s=i[o],a=l[o];if(!(!s&&!a)){var f=a.findIndex(function(_){return _==n}),h=l[s]||[],g;return h.length!==a.length?g=h[0]:g=h[f],g}}}}),dt(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),o=[];if(u){var i=new u(r);o=Array.from(i)}return o}},{key:"register",value:function(n,r){var u=n.Designer,o=n.Runtime,i=n.Property;(!u||!o||!u.__is_control__||!o.__is_control__)&&pe("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return l>-1&&(De("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),i.mode=r,this}}]),e}();K(ye,"staticControlsRuntimeRules",new Map),K(ye,"staticControls",qn),K(ye,"staticRegisteredTypes",new Set(qn.map(function(e){return e.Designer.controlType}))),K(ye,"staticRegisteredConfigs",new Map);function vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn=function e(t){vt(this,e),T(this,"dataCode",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},Gp=function e(t){vt(this,e),T(this,"minWidth",void 0),T(this,"maxWidth",void 0),T(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Un;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Un||(Un={}));var Hn;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e.MAIN_DEPT_FLAG="mainDeptFlag"})(Hn||(Hn={}));var ht;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ht||(ht={}));var Kp=function e(t){vt(this,e),T(this,"width",void 0),T(this,"height",void 0),T(this,"widthConfig",void 0),T(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jp(e,t,n){return t=me(t),Yp(e,gt()?Reflect.construct(t,n||[],me(e).constructor):t.apply(e,n))}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,n){return gt()?$e=Reflect.construct:$e=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&ge(a,i.prototype),a},$e.apply(null,arguments)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},me(e)}function Qp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}function Zp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yp(e,t){return t&&(ev(t)==="object"||typeof t=="function")?t:Xp(e)}function ge(e,t){return ge=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ge(e,t)}function ev(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mt(e){var t=typeof Map=="function"?new Map:void 0;return mt=function(r){if(r===null||!Zp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return $e(r,arguments,me(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ge(u,r)},mt(e)}function gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gt=function(){return!!e})()}var _t=function e(t){yt(this,e),N(this,"isHide",{type:"boolean"})},Wn=function(e){Qp(t,e);function t(n){return yt(this,t),Jp(this,t)}return t}(mt(Array)),z=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yt(this,e),N(this,"isHide",void 0),N(this,"className",void 0),N(this,"style",void 0),N(this,"caption",void 0),N(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Kp(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};N(z,"mode",void 0),N(z,"Rules",_t),N(z,"RuntimeRules",Wn);function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function tv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Et(e)}function Ie(e,t){return Ie=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ie(e,t)}function nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Oe(e,t,n){return nv()?Oe=Reflect.construct:Oe=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&Ie(a,i.prototype),a},Oe.apply(null,arguments)}function rv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!rv(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Oe(r,arguments,Et(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ie(u,r)},bt(e)}var uv=/%[sdj%]/g,Nn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Nn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Bt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var i=String(u).replace(uv,function(l){if(l==="%%")return"%";if(r>=o)return l;switch(l){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return l}});return i}return u}function iv(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function $(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||iv(t)&&typeof e=="string"&&!e)}function ov(e,t,n){var r=[],u=0,o=e.length;function i(l){r.push.apply(r,l),u++,u===o&&n(r)}e.forEach(function(l){t(l,i)})}function zn(e,t,n){var r=0,u=e.length;function o(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l<u?t(e[l],o):n([])}o([])}function av(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Gn=function(e){tv(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(bt(Error));function lv(e,t,n,r){if(t.first){var u=new Promise(function(h,g){var _=function(m){return r(m),m.length?g(new Gn(m,Bt(m))):h()},C=av(e);zn(C,n,_)});return u.catch(function(h){return h}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var i=Object.keys(e),l=i.length,s=0,a=[],f=new Promise(function(h,g){var _=function(d){if(a.push.apply(a,d),s++,s===l)return r(a),a.length?g(new Gn(a,Bt(a))):h()};i.length||(r(a),h()),i.forEach(function(C){var d=e[C];o.indexOf(C)!==-1?zn(d,n,_):ov(d,n,_)})});return f.catch(function(h){return h}),f}function Kn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Xn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=V(V({},e[n]),r):e[n]=r}}return e}function Jn(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||$(t,o||e.type))&&r.push(L(u.messages.required,e.fullField))}function sv(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(L(u.messages.whitespace,e.fullField))}var Ft={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_e={integer:function(t){return _e.number(t)&&parseInt(t,10)===t},float:function(t){return _e.number(t)&&!_e.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_e.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ft.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ft.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ft.hex)}};function cv(e,t,n,r,u){if(e.required&&t===void 0){Jn(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;o.indexOf(i)>-1?_e[i](t)||r.push(L(u.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(L(u.messages.types[i],e.fullField,e.type))}function fv(e,t,n,r,u){var o=typeof e.len=="number",i=typeof e.min=="number",l=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,h=typeof t=="number",g=typeof t=="string",_=Array.isArray(t);if(h?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),g&&(a=t.replace(s,"_").length),o?a!==e.len&&r.push(L(u.messages[f].len,e.fullField,e.len)):i&&!l&&a<e.min?r.push(L(u.messages[f].min,e.fullField,e.min)):l&&!i&&a>e.max?r.push(L(u.messages[f].max,e.fullField,e.max)):i&&l&&(a<e.min||a>e.max)&&r.push(L(u.messages[f].range,e.fullField,e.min,e.max))}var ee="enum";function dv(e,t,n,r,u){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&r.push(L(u.messages[ee],e.fullField,e[ee].join(", ")))}function pv(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(L(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(L(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var E={required:Jn,whitespace:sv,type:cv,range:fv,enum:dv,pattern:pv};function vv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"string")&&!e.required)return n();E.required(e,t,r,o,u,"string"),$(t,"string")||(E.type(e,t,r,o,u),E.range(e,t,r,o,u),E.pattern(e,t,r,o,u),e.whitespace===!0&&E.whitespace(e,t,r,o,u))}n(o)}function hv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function yv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t===""&&(t=void 0),$(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function mv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function gv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),$(t)||E.type(e,t,r,o,u)}n(o)}function _v(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function Ev(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function bv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t==null&&!e.required)return n();E.required(e,t,r,o,u,"array"),t!=null&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function Bv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}var Fv="enum";function Cv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E[Fv](e,t,r,o,u)}n(o)}function Av(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"string")&&!e.required)return n();E.required(e,t,r,o,u),$(t,"string")||E.pattern(e,t,r,o,u)}n(o)}function wv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"date")&&!e.required)return n();if(E.required(e,t,r,o,u),!$(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),E.type(e,l,r,o,u),l&&E.range(e,l.getTime(),r,o,u)}}n(o)}function Sv(e,t,n,r,u){var o=[],i=Array.isArray(t)?"array":typeof t;E.required(e,t,r,o,u,i),n(o)}function Ct(e,t,n,r,u){var o=e.type,i=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if($(t,o)&&!e.required)return n();E.required(e,t,r,i,u,o),$(t,o)||E.type(e,t,r,i,u)}n(i)}function Dv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u)}n(o)}var Ee={string:vv,method:hv,number:yv,boolean:mv,regexp:gv,integer:_v,float:Ev,array:bv,object:Bv,enum:Cv,pattern:Av,date:wv,url:Ct,hex:Ct,email:Ct,required:Sv,any:Dv};function At(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var wt=At();function X(e){this.rules=null,this._messages=wt,this.define(e)}X.prototype={messages:function(t){return t&&(this._messages=Xn(At(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,i=n,l=r;if(typeof i=="function"&&(l=i,i={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(d){var m,c=[],p={};function b(A){if(Array.isArray(A)){var S;c=(S=c).concat.apply(S,A)}else c.push(A)}for(m=0;m<d.length;m++)b(d[m]);c.length?p=Bt(c):(c=null,p=null),l(c,p)}if(i.messages){var a=this.messages();a===wt&&(a=At()),Xn(a,i.messages),i.messages=a}else i.messages=this.messages();var f,h,g={},_=i.keys||Object.keys(this.rules);_.forEach(function(d){f=u.rules[d],h=o[d],f.forEach(function(m){var c=m;typeof c.transform=="function"&&(o===t&&(o=V({},o)),h=o[d]=c.transform(h)),typeof c=="function"?c={validator:c}:c=V({},c),c.validator=u.getValidationMethod(c),c.field=d,c.fullField=c.fullField||d,c.type=u.getType(c),c.validator&&(g[d]=g[d]||[],g[d].push({rule:c,value:h,source:o,field:d}))})});var C={};return lv(g,i,function(d,m){var c=d.rule,p=(c.type==="object"||c.type==="array")&&(typeof c.fields=="object"||typeof c.defaultField=="object");p=p&&(c.required||!c.required&&d.value),c.field=d.field;function b(k,w){return V(V({},w),{},{fullField:c.fullField+"."+k})}function A(k){k===void 0&&(k=[]);var w=k;if(Array.isArray(w)||(w=[w]),!i.suppressWarning&&w.length&&X.warning("async-validator:",w),w.length&&c.message!==void 0&&(w=[].concat(c.message)),w=w.map(Kn(c)),i.first&&w.length)return C[c.field]=1,m(w);if(!p)m(w);else{if(c.required&&!d.value)return c.message!==void 0?w=[].concat(c.message).map(Kn(c)):i.error&&(w=[i.error(c,L(i.messages.required,c.field))]),m(w);var U={};if(c.defaultField)for(var Qr in d.value)d.value.hasOwnProperty(Qr)&&(U[Qr]=c.defaultField);U=V(V({},U),d.rule.fields);for(var oe in U)if(U.hasOwnProperty(oe)){var S5=Array.isArray(U[oe])?U[oe]:[U[oe]];U[oe]=S5.map(b.bind(null,oe))}var Zr=new X(U);Zr.messages(i.messages),d.rule.options&&(d.rule.options.messages=i.messages,d.rule.options.error=i.error),Zr.validate(d.value,d.rule.options||i,function(sn){var ae=[];w&&w.length&&ae.push.apply(ae,w),sn&&sn.length&&ae.push.apply(ae,sn),m(ae.length?ae:null)})}}var S;c.asyncValidator?S=c.asyncValidator(c,d.value,A,d.source,i):c.validator&&(S=c.validator(c,d.value,A,d.source,i),S===!0?A():S===!1?A(c.message||c.field+" fails"):S instanceof Array?A(S):S instanceof Error&&A(S.message)),S&&S.then&&S.then(function(){return A()},function(k){return A(k)})},function(d){s(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ee.hasOwnProperty(t.type))throw new Error(L("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Ee.required:Ee[this.getType(t)]||!1}},X.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ee[t]=n},X.warning=Nn,X.messages=wt,X.validators=Ee;var $v={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Iv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new X(e);return n.messages(Object.assign($v,t)),n}var Qn=new Pn;function St(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ov(e){if(Array.isArray(e))return e}function Pv(e){if(Array.isArray(e))return St(e)}function Zn(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function Yn(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){Zn(o,r,u,i,l,"next",s)}function l(s){Zn(o,r,u,i,l,"throw",s)}i(void 0)})}}function Rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xv(e,t,n){return t&&er(e.prototype,t),n&&er(e,n),e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Mv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){F(e,u,n[u])})}return e}function Tv(e){return Ov(e)||nr(e)||ur(e)||Lv()}function Dt(e){return Pv(e)||nr(e)||ur(e)||Mv()}function jv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ur(e,t){if(!!e){if(typeof e=="string")return St(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(e,t)}}function ir(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var R=function(){function t(n){var r=this;Rv(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",ar),F(this,"removeSetting",or),this._callControlHooks("preInstance",n);var u=tr(this,t)?this.constructor:void 0,o=u.controlName,i=u.controlIcon,l=u.controlType,s=u.controlFieldType,a=u.controlEventKeys,f=u.controlCustomEvents,h=u.name,g=u.setting,_=u.slots,C=u.slotPosition;o&&i&&l||Fn("The ".concat(h," controlName,controlIcon,controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:et(10),this.name=o,this.icon=i;var m;this.type=(m=n==null?void 0:n.type)!==null&&m!==void 0?m:l,this.props=new z(n==null?void 0:n.props,(tr(this,t)?this.constructor:void 0).controlName);var c;this.controlType=(c=n==null?void 0:n.controlType)!==null&&c!==void 0?c:"base",this.setting=W(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:s,this.eventKeys=W(a),this.customEvents=W(f),this.slots=W(_),this.slotPosition=W(C),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return xv(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var i,l=Tv(u),s=l[0],a=l.slice(1);return(i=Qn).emit.apply(i,[s,this].concat(Dt(a)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),wn(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return Yn(function(){var u,o,i;return ir(this,function(l){switch(l.label){case 0:return u=rr({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return o=l.sent(),i=o[o.length-1],[2,i===!1?void 0:i]}})})()}},{key:"validate",value:function(r,u){var o=this;return Yn(function(){var i,l,s,a;return ir(this,function(f){switch(f.label){case 0:return[4,o.preValidate()];case 1:i=f.sent(),l=i!==void 0?i:rr({},o.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),s=Iv(l,r),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(o.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=o),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,i=this.type,l=this.props,s=l.dataBind,a=l.datasourceBind,f=l.optionConfig,h=l.caption,g=l.required,_=l.maxLength,C=l.options,d=l.encrypted,m=l.encryptedMode;if(!(!u&&!s&&!a)){var c={parentId:r,fieldType:u,controlId:o,caption:h,type:i,props:{}};switch(s&&(c.dataBind=s),f){case"datasource":case void 0:a&&(c.datasourceBind=a);break;case"custom":c.props.options=C;break}return g!==void 0&&(c.required=g),_!==void 0&&(c.maxLength=_),d!==void 0&&(c.encrypted=d),m!==void 0&&(c.encryptedMode=m),c}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:W(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,Dt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();F(R,"mode","Designer"),F(R,"slots",void 0),F(R,"slotPosition",void 0),F(R,"controlName","\u63A7\u4EF6"),F(R,"controlIcon","icon"),F(R,"controlType","control"),F(R,"controlFieldType",void 0),F(R,"controlEventKeys",[]),F(R,"controlCustomEvents",[]),F(R,"setting",[]),F(R,"__is_control__",!0),F(R,"removeSettingItem",or),F(R,"updateSettingItem",ar);function or(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,o=typeof r!="string",i=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(a){return a.key===(o?r.key:r)});if(i!==-1){var l,s;o?t.setting[i].showItems=(l=t.setting[i].showItems)===null||l===void 0?void 0:l.filter(function(a){return!r.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((s=t.setting[i].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(i,1)}})}function ar(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(a){return a.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if((typeof t=="undefined"?"undefined":jv(t))==="object"){var i,l=(i=t.type)!==null&&i!==void 0?i:"replace";if(l==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,Dt(t.showItems))}}}})}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qv(e,t,n){return t&&lr(e.prototype,t),n&&lr(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kv(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var be=function(){function t(n){Vv(this,t),M(this,"id",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"fieldType",void 0),M(this,"customEvents",[]),M(this,"pageStatus",void 0),M(this,"parent",null);var r=kv(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,i=r.name,l=r.controlCustomEvents;u||Fn("The ".concat(i," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:et(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:u,this.props=new z(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var h;this.fieldType=(h=n==null?void 0:n.fieldType)!==null&&h!==void 0?h:o;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:ht.UNKNOWN}return qv(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();M(be,"mode","Runtime"),M(be,"controlType","control"),M(be,"controlFieldType",void 0),M(be,"__is_control__",!0),M(be,"controlCustomEvents",[]);function sr(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Uv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $t(e,t,n){return t=Pe(t),Hv(e,cr()?Reflect.construct(t,n||[],Pe(e).constructor):t.apply(e,n))}function It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(e)}function Ot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}function Hv(e,t){return t&&(Wv(t)==="object"||typeof t=="function")?t:Uv(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}function Wv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cr=function(){return!!e})()}var Nv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]),D(r,"dataBind",{}),D(r,"caption",{type:"string",required:!0,message:y("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),D(r,"isHideCaption",{type:"boolean"}),D(r,"labelPosition",{type:"enum",enum:["top","left"]}),D(r,"defaultState",{type:"enum",enum:["default","readonly"]}),D(r,"required",{type:"boolean"}),D(r,"captionTip",{type:"string",required:!1,message:y("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:y("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:y("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(sr(n.dataBind))r.dataBind={type:"object",required:!0,fields:W(u),message:y("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var o={type:"object",required:!0,fields:{},message:y("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(i){o.fields[i]={type:"object",required:!0,fields:W(u),message:y("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),r.dataBind=o}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(_t),zv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]);var u=n.isHide?!1:n.required;return u&&r.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:y("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),r}return t}(Wn),Rt=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]),D(r,"caption",void 0),D(r,"isHideCaption",void 0),D(r,"isShowCaptionTip",void 0),D(r,"captionTip",void 0),D(r,"labelPosition",void 0),D(r,"dataBind",void 0),D(r,"defaultValue",void 0),D(r,"placeholder",void 0),D(r,"defaultState",void 0),D(r,"required",void 0),D(r,"requiredMessage",void 0);var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var o;r.isHideCaption=(o=n==null?void 0:n.isHideCaption)!==null&&o!==void 0?o:!1;var i;r.isShowCaptionTip=(i=n==null?void 0:n.isShowCaptionTip)!==null&&i!==void 0?i:!1;var l;r.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var a;r.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var f;r.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var h;r.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;r.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",r.dataBind=new kn(n==null?void 0:n.dataBind);var _;return r.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",r}return t}(z);D(Rt,"Rules",Nv),D(Rt,"RuntimeRules",zv);function Gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t,n){return t=xe(t),Qv(e,fr()?Reflect.construct(t,n||[],xe(e).constructor):t.apply(e,n))}function Xv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function Jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function Qv(e,t){return t&&(Zv(t)==="object"||typeof t=="function")?t:Gv(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xt(e,t)}function Zv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fr=function(){return!!e})()}var dr=function(e){Jv(t,e);function t(n){Xv(this,t);var r;return r=Kv(this,t,[n]),Re(r,"controlType","form"),Re(r,"props",void 0),r.props=new Rt(n==null?void 0:n.props),r}return t}(R);Re(dr,"controlEventKeys",["on_change","on_focus","on_blur"]),Re(dr,"controlCustomAttributes",void 0);function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t,n){return t=Le(t),rh(e,pr()?Reflect.construct(t,n||[],Le(e).constructor):t.apply(e,n))}function th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lt(e,t)}function rh(e,t){return t&&(uh(t)==="object"||typeof t=="function")?t:Yv(e)}function Lt(e,t){return Lt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Lt(e,t)}function uh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pr=function(){return!!e})()}var ih=function(e){nh(t,e);function t(n){return th(this,t),eh(this,t,[n])}return t}(z);function Mt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oh(e){if(Array.isArray(e))return Mt(e)}function ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vr(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function lh(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){vr(o,r,u,i,l,"next",s)}function l(s){vr(o,r,u,i,l,"throw",s)}i(void 0)})}}function sh(e,t,n){return t=Q(t),_h(e,mr()?Reflect.construct(t,n||[],Q(e).constructor):t.apply(e,n))}function ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fh(e,t,n){return t&&hr(e.prototype,t),n&&hr(e,n),e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(u,o,i){var l=Eh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},te(e,t,n||e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Q(e)}function dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tt(e,t)}function ph(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){J(e,u,n[u])})}return e}function mh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function gh(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mh(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function _h(e,t){return t&&(bh(t)==="object"||typeof t=="function")?t:ah(e)}function Tt(e,t){return Tt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Tt(e,t)}function Eh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Q(e),e!==null););return e}function yr(e){return oh(e)||vh(e)||Bh(e)||hh()}function bh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bh(e,t){if(!!e){if(typeof e=="string")return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mt(e,t)}}function mr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mr=function(){return!!e})()}function Fh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Ch=1e4,gr=function(t){dh(n,t);function n(r){ch(this,n);var u;u=sh(this,n,[r]),J(u,"controlType","layout"),J(u,"children",void 0),J(u,"excludes",void 0),J(u,"childrenMaxLength",void 0),J(u,"props",void 0);var o=ph(this,n)?this.constructor:void 0,i=o.excludes,l=o.childrenMaxLength;return u.props=new ih(r==null?void 0:r.props),pt(u,"children",r==null?void 0:r.children,void 0,"Designer"),u.excludes=W(i),u.childrenMaxLength=l,u}return fh(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var o=this.judgeExcludesChildren(u);return o&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,o){var i=this,l=this,s=function(){return te(Q(n.prototype),"validate",i)};return lh(function(){return Fh(this,function(a){switch(a.label){case 0:return[4,s().call(l,u,o)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,o)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=te(Q(n.prototype),"toDataBindModel",this).call(this),i=o?[o]:[];return this.children.reduce(function(l,s){var a=s.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(h){return!!h});return yr(l).concat(yr(f))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var u=te(Q(n.prototype),"toSchema",this).call(this),o=this.children.map(function(i){var l=i.toSchema();return l});return gh(yh({},u),{children:o})}}]),n}(R);J(gr,"excludes",!1),J(gr,"childrenMaxLength",Ch);function Ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t,n){return t=Me(t),$h(e,_r()?Reflect.construct(t,n||[],Me(e).constructor):t.apply(e,n))}function Sh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function $h(e,t){return t&&(Ih(t)==="object"||typeof t=="function")?t:Ah(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}function Ih(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_r=function(){return!!e})()}var Oh=function(e){Dh(t,e);function t(n,r,u){Sh(this,t);var o;o=wh(this,t,[r]),ne(o,"headers",void 0),ne(o,"footers",void 0),ne(o,"pageIndex",void 0),ne(o,"pageSize",void 0),ne(o,"pageSizeOptions",void 0),ne(o,"totalCount",void 0),pt(o,"headers",r==null?void 0:r.headers,n,u),pt(o,"footers",r==null?void 0:r.footers,n);var i;o.pageIndex=(i=r==null?void 0:r.pageIndex)!==null&&i!==void 0?i:1;var l;o.pageSize=(l=r==null?void 0:r.pageSize)!==null&&l!==void 0?l:20;var s;o.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var a;return o.totalCount=(a=r==null?void 0:r.totalCount)!==null&&a!==void 0?a:0,o}return t}(z);function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ph(e){if(Array.isArray(e))return Vt(e)}function Rh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Er(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function xh(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){Er(o,r,u,i,l,"next",s)}function l(s){Er(o,r,u,i,l,"throw",s)}i(void 0)})}}function Lh(e,t,n){return t=Z(t),Uh(e,Ar()?Reflect.construct(t,n||[],Z(e).constructor):t.apply(e,n))}function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Th(e,t,n){return t&&br(e.prototype,t),n&&br(e,n),e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(u,o,i){var l=Hh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},re(e,t,n||e)}function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z(e)}function jh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Vh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Te(e,u,n[u])})}return e}function kh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Fr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kh(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Uh(e,t){return t&&(Wh(t)==="object"||typeof t=="function")?t:Rh(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},qt(e,t)}function Hh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Z(e),e!==null););return e}function Cr(e){return Ph(e)||Vh(e)||Nh(e)||qh()}function Wh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nh(e,t){if(!!e){if(typeof e=="string")return Vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vt(e,t)}}function Ar(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ar=function(){return!!e})()}function zh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Gh=function(e){jh(t,e);function t(n){Mh(this,t);var r;return r=Lh(this,t,[n]),Te(r,"controlType","list"),Te(r,"props",void 0),r.props=new Oh(r,n==null?void 0:n.props,"Designer"),r}return Th(t,[{key:"validate",value:function(r,u){var o=this,i=this,l=function(){return re(Z(t.prototype),"validate",o)};return xh(function(){return zh(this,function(s){switch(s.label){case 0:return[4,l().call(i,r)];case 1:return s.sent(),[4,Promise.all(i.props.headers.map(function(a){return a.validate(r,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=re(Z(t.prototype),"toDataBindModel",this).call(this),u=r?[r]:[],o=this.id;return this.props.headers.reduce(function(i,l){var s=l.toDataBindModel(o);if(Array.isArray(s)){var a=s.filter(function(f){return!!f});return Cr(i).concat(Cr(a))}return s&&i.push(s),i},u)}},{key:"toSchema",value:function(){var r=re(Z(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(o){return o.toSchema()});return Fr(Br({},r),{props:Fr(Br({},this.props),{headers:u})})}}]),t}(R);Te(Gh,"controlFieldType",j.LIST);function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wr(e,t,n){return t=je(t),Xh(e,$r()?Reflect.construct(t,n||[],je(e).constructor):t.apply(e,n))}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function Dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}function Xh(e,t){return t&&(Jh(t)==="object"||typeof t=="function")?t:Kh(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},kt(e,t)}function Jh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($r=function(){return!!e})()}var Qh=function(e){Dr(t,e);function t(n){Sr(this,t);var r;return r=wr(this,t,[n]),x(r,"caption",{type:"string",required:!0,message:y("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),x(r,"width",{type:"number",required:!1,message:y("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),r.width.required=n.widthType==="px",r}return t}(_t),Zh=function(e){Dr(t,e);function t(n){Sr(this,t);var r;r=wr(this,t,[n]),x(r,"widthType",void 0),x(r,"width",void 0),x(r,"caption",void 0),x(r,"dataBind",void 0),x(r,"autoWidth",void 0),x(r,"fixed",void 0),x(r,"sort",void 0),x(r,"align",void 0),x(r,"colSpan",void 0),x(r,"autoHeight",void 0),x(r,"children",void 0);var u;r.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var o;r.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var i;r.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"none",r.autoWidth=new Gp(n==null?void 0:n.autoWidth),r.dataBind=new kn(n==null?void 0:n.dataBind);var l;r.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(z);x(Zh,"Rules",Qh);function Ut(e){return"children"in e&&ve(e.children)}function Ir(e){return"headers"in e.props&&ve(e.props.headers)}function Ve(e,t){Array.isArray(e)&&e.map(n=>{n.type===v.SUBTABLE?Ve(n.props.headers,t):Ut(n)?Ve(n==null?void 0:n.children,t):n.controlType===P.FORM&&t(n)})}const Yh=[v.AMOUNT,v.CALC,v.DATE_RANGE];y("CMD.amount",null,"\u91D1\u989D"),j.DECIMAL,y("CMD.currency",null,"\u5E01\u79CD"),j.VARCHAR,y("CMD.result",null,"\u7ED3\u679C"),j.DECIMAL,y("CMD.unit",null,"\u5355\u4F4D"),j.VARCHAR,y("CMD.startTime",null,"\u5F00\u59CB\u65F6\u95F4"),j.TIMESTAMP,y("CMD.endTime",null,"\u7ED3\u675F\u65F6\u95F4"),j.TIMESTAMP;function ey(e){let t=[];return Ve(e,n=>{n.controlType===P.FORM?t.push(n):(n.type,v.SUBTABLE)}),t}function ty(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===v.TITLE)return n;if(Yh.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(u=>{const o=r[u],i=n.controlId+"_"+u;o.fieldCode=Or(i),o.dataCode=t})}else n.dataBind.fieldCode=Or(n.controlId),n.dataBind.dataCode=t;return n})}function Or(e){const t="field_";return e.startsWith(t)?e:t+e}function Ht(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function Wt(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function Nt(e,t,n){return cn(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(u=>u.validate(t,n)))).every(u=>u):yield e.validate(t,n)})}const ny=[v.TITLE,v.GRID_TABLE_COLUMN,v.SUBTABLE_COLUMN,v.OPERATION_COLUMN,v.DATA_VIEW,v.LIST_VIEW,v.HEADER,v.FOOTER,v.SIMPLE_SEARCH,v.ROW,v.GRID_ROW,v.COL,v.GRID,v.DIVIDER,v.TAB_PANE,v.TAB,v.CARD_GROUP,v.ACTION_BAR,v.GRID_LAYOUT_CONTAINER,v.GRID_LAYOUT_WRAP],ry=[v.CALC],uy={check:{id:"listPageCheckBtnId",caption:y("CMD.view",null,"\u67E5\u770B")},edit:{id:"listPageEditBtnId",caption:y("CMD.edit",null,"\u7F16\u8F91")},delete:{id:"listPageDeleteBtnId",caption:y("CMD.delete",null,"\u5220\u9664")}};function Be(e,t){var r,u,o,i,l,s,a,f,h;const n=[];if(ve(e))n.push(...e.map(g=>Be(g,t)).flat());else{const g=e.type,{caption:_,content:C}=e.props;let d;if(ny.includes(g))g===v.OPERATION_COLUMN&&Object.entries(uy).reduce((m,[c,{caption:p,id:b}])=>{var S;const A=e.props[c];return A&&A.isShow&&m.push({controlId:b,caption:p,type:e.type,controlType:e.controlType,parentId:(S=t==null?void 0:t.controlId)!=null?S:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),m},n);else if(d={controlId:e.id,caption:_||C||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!ry.includes(g),canRead:!0,canHide:!0,group:"element"},t&&t.type===v.SUBTABLE&&(d.caption=t.caption+"_"+d.caption),g===v.VUE_FORM_ITEM&&(d.caption=e.props.controlExportName||e.name),(e.controlType===P.FORM||e.controlType===P.COLUMN)&&((o=(u=e.props)==null?void 0:u.dataBind)==null?void 0:o.fieldCode)!==void 0&&((l=(i=e.props)==null?void 0:i.dataBind)==null?void 0:l.fieldCode)!==""&&(d.group="field"),n.push(d),g===v.VUE_FORM_ITEM){let m="element";((a=(s=e.props)==null?void 0:s.dataBind)==null?void 0:a.fieldCode)!==void 0&&((h=(f=e.props)==null?void 0:f.dataBind)==null?void 0:h.fieldCode)!==""&&(m="field");const c=e.props.permissions;c==null||c.map(p=>{var b;d={controlId:p.key,caption:p.caption,type:e.type,controlType:e.controlType,parentId:(b=e.id)!=null?b:null,canEdit:!0,canRead:!0,canHide:!0,group:m},n.push(d)})}e.children&&n.push(...e.children.map(m=>Be(m,t)).flat()),e.controlType===P.LIST&&n.push(...e.props.headers.map(m=>Be(m,d)).flat())}return n}class ue extends ye{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new he,this.fieldTypes=j,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(u){throw u}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return cn(this,null,function*(){return Nt(...t)})}getModelBindInfoList(...t){return Wt(...t)}getSchema(...t){return Ht(...t)}listenControlHook(...t){return Qn.on(...t)}}ue.EventLogic=he;class iy{constructor(){this.designer=new ue}ListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW),n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.CREATE_FORM_LIST_BUTTON),o=this.designer.createControlInstance(v.IMPORT_RECORD_LIST_BUTTON),i=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),l=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),r.children.push(i),r.children.push(l),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),o=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:y("CMD.approvedDocuments",null,"\u5BA1\u6279\u901A\u8FC7\u5355\u636E"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:y("CMD.processStatus",null,"\u6D41\u7A0B\u72B6\u6001")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(v.DATA_VIEW),n=this.designer.createControlInstance(v.TITLE),r=this.designer.createControlInstance(v.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(v.GRID),n=this.designer.createControlInstance(v.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class Pr{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?Ce(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?Lr(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=Ce(t)}updateDataFieldCodeMap(t){const n=Ce(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[u,o]of r.entries())if(o.id===t.id){r.delete(u);break}xr(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;Fe(this.instance,u=>{t.push(u),n.set(u.id,u),xr(u,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function Rr(e,t,n){const{dataCode:r,fieldCode:u}=t;r&&u&&(e.has(r)||e.set(r,new Map),e.get(r).set(u,n))}function xr(e,t){if(e.controlType===P.FORM){const n=e.props.dataBind;sr(n)?Rr(t,n,e):n&&Object.values(n).forEach(r=>{Rr(t,r,e)})}}function Fe(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),Ut(r)&&Fe(r.children,t),Ir(r)&&Fe(r.props.headers,t)})}function zt(e){return[v.SUBTABLE,v.DATA_VIEW,v.LIST_VIEW].includes(e.type)}function Ce(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!zt(t);)t=t.parent;return t}function Lr(e){const t=[e];return Fe(e,n=>{n!==e&&t.includes(n.parent)&&!zt(n)&&t.push(n)}),t}function oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ay(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=function(){function e(t){oy(this,e),Gt(this,"visible",void 0),Gt(this,"expression",void 0),Gt(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var u;this.updateParent=(u=t==null?void 0:t.updateParent)!==null&&u!==void 0?u:!1}return ay(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sy(e,t,n){return t&&Tr(e.prototype,t),n&&Tr(e,n),e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cy=function(){function e(t){ly(this,e),q(this,"type",void 0),q(this,"label",void 0),q(this,"key",void 0),q(this,"component",void 0),q(this,"effect",void 0),q(this,"scopeEffect",void 0),q(this,"defaultValue",void 0),q(this,"validator",void 0),q(this,"props",void 0),q(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:ap,this.defaultValue=t.defaultValue,this.validator=t.validator;var u;this.props=(u=t.props)!==null&&u!==void 0?u:new G,this.effectKeys=Object.keys(this.effect)}return sy(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(u){var o=new RegExp("^".concat(u,"(\\.\\w+)*$"));return o.test(n)}).map(function(u){return r.effect[u]})}},{key:"callEffectFn",value:function(n,r){try{var u=n.apply(null,r);at(u)&&Object.assign(this.props,u)}catch(o){pe(`effect error
|
|
2
|
-
`.concat(o))}}},{key:"callEffect",value:function(n){for(var r=this,u=arguments.length,o=new Array(u>1?u-1:0),i=1;i<u;i++)o[i-1]=arguments[i];this.filterEffects(n).forEach(function(l){return r.callEffectFn(l,o)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];this.callEffectFn(this.scopeEffect,r)}}]),e}();function fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jr=function e(t){fy(this,e),Y(this,"type","group"),Y(this,"title",void 0),Y(this,"required",void 0),Y(this,"items",void 0),Y(this,"tips",void 0),Y(this,"fromId",void 0),Y(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(u){var o;return(o=u.props)===null||o===void 0?void 0:o.visible})};function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function py(e){return"type"in e&&e.type==="tab"}var Ae=function e(t){dy(this,e),Kt(this,"type","tab"),Kt(this,"title",void 0),Kt(this,"items",void 0),this.title=t.title,this.items=t.items};function Vr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vy(e){if(Array.isArray(e))return e}function hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t,n){return t=qe(t),by(e,qr()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function my(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function _y(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],u=!0,o=!1,i,l;try{for(n=n.call(e);!(u=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));u=!0);}catch(s){o=!0,l=s}finally{try{!u&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function Ey(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function by(e,t){return t&&(Fy(t)==="object"||typeof t=="function")?t:hy(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}function By(e,t){return vy(e)||_y(e,t)||Cy(e,t)||Ey()}function Fy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cy(e,t){if(!!e){if(typeof e=="string")return Vr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vr(e,t)}}function qr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qr=function(){return!!e})()}var Ay=function(e){gy(t,e);function t(n){my(this,t);var r;return r=yy(this,t,[n]),at(n)&&Object.entries(n).forEach(function(u){var o=By(u,2),i=o[0],l=o[1];r[i]=l}),r}return t}(G);function wy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sy(e,t,n){return t=Ue(t),Iy(e,kr()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function Iy(e,t){return t&&(Oy(t)==="object"||typeof t=="function")?t:wy(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}function Oy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kr=function(){return!!e})()}var Py=function(e){$y(t,e);function t(n){Dy(this,t);var r;r=Sy(this,t,[n]),ke(r,"maxLength",void 0),ke(r,"minLength",void 0),ke(r,"placeholder",void 0),ke(r,"i18n",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(G);function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t,n){return t=He(t),Ty(e,Ur()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function My(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Ty(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Ry(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Zt(e,t)}function jy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ur(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ur=function(){return!!e})()}var Vy=function(e){My(t,e);function t(n){Ly(this,t);var r;r=xy(this,t,[n]),Qt(r,"max",void 0),Qt(r,"min",void 0),Qt(r,"placeholder",void 0);var u;r.max=(u=n==null?void 0:n.max)!==null&&u!==void 0?u:"";var o;r.min=(o=n==null?void 0:n.min)!==null&&o!==void 0?o:"";var i;return r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"",r}return t}(G);function qy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ky(e,t,n){return t=We(t),Wy(e,Hr()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function Wy(e,t){return t&&(Ny(t)==="object"||typeof t=="function")?t:qy(e)}function en(e,t){return en=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},en(e,t)}function Ny(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hr=function(){return!!e})()}var zy=function(e){Hy(t,e);function t(n){Uy(this,t);var r;r=ky(this,t,[n]),Yt(r,"showType",void 0),Yt(r,"tips",void 0),Yt(r,"disabled",void 0);var u;r.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"switch";var o;r.tips=(o=n==null?void 0:n.tips)!==null&&o!==void 0?o:"";var i;return r.disabled=(i=n==null?void 0:n.disabled)!==null&&i!==void 0?i:!1,r}return t}(G);function Gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ky(e,t,n){return t=Ne(t),Zy(e,Wr()?Reflect.construct(t,n||[],Ne(e).constructor):t.apply(e,n))}function Xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function Qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}function Zy(e,t){return t&&(Yy(t)==="object"||typeof t=="function")?t:Gy(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},tn(e,t)}function Yy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wr=function(){return!!e})()}var e5=function(e){Qy(t,e);function t(n){Xy(this,t);var r;r=Ky(this,t,[n]),Jy(r,"options",void 0);var u;return r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[],r}return t}(G);function t5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(e,t,n){return t=ze(t),i5(e,zr()?Reflect.construct(t,n||[],ze(e).constructor):t.apply(e,n))}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function i5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:t5(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zr=function(){return!!e})()}var a5=function(e){u5(t,e);function t(n){r5(this,t);var r;r=n5(this,t,[n]),Nr(r,"placeholder",void 0),Nr(r,"options",void 0);var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var o;return r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[],r}return t}(G);function l5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s5(e,t,n){return t=Ge(t),d5(e,Kr()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function f5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}function d5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:l5(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},rn(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kr=function(){return!!e})()}var v5=function(e){f5(t,e);function t(n){c5(this,t);var r;r=s5(this,t,[n]),Gr(r,"options",void 0),Gr(r,"showType",void 0);var u;r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[];var o;return r.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"outline",r}return t}(G);function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t,n){return t=Ke(t),_5(e,Xr()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function m5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function g5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function _5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:h5(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}function E5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xr=function(){return!!e})()}var b5=function(e){g5(t,e);function t(n){m5(this,t);var r;r=y5(this,t,[n]),ie(r,"maxLength",void 0),ie(r,"minLength",void 0),ie(r,"placeholder",void 0),ie(r,"i18n",void 0),ie(r,"maxRows",void 0),ie(r,"minRows",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;r.maxRows=(l=n==null?void 0:n.maxRows)!==null&&l!==void 0?l:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(G);function B5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){B5(e,u,n[u])})}return e}function F5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function an(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function C5(e,t){switch(e){case"input":return new Py(t);case"textarea":return new b5(t);case"input-number":return new Vy(t);case"switch":return new zy(t);case"radio":return new v5(t);case"checkbox":return new e5(t);case"select":return new a5(t);default:return new Ay(t)}}function A5(e){return function(t){var n=e.get(t);if(!!n)return new cy(an(on({},n),{props:C5(n.component,"props"in n?n.props:void 0)}))}}function w5(e){var t=e.fields.reduce(function(u,o){return u.set(o.key,o),u},new Map);function n(u){return new jr(an(on({},u),{items:u.items.map(A5(t)).filter(Boolean)}))}function r(u){return u.map(n)}return e.groups.map(function(u){return py(u)?new Ae(an(on({},u),{items:r(u.items)})):n(u)})}let ln="";class Jr extends Pn{constructor(t){super(),this.isMounted=!1,this.id=et(8),this.__pluginsApplied=!1,this.getSchema=Ht,this.getModelBindInfoList=Wt,this.generatePermissions=Be,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ue,schema:u,mode:o="form",store:i={},messagesI18n:l,language:s=pn}=this.$options;this.eventLogic=new he,this.designer=new r,this.store=new Pr(le({instance:this.designer.createControl(Array.isArray(u)?u:[u])},i)),this.mode=o,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{ln=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),ln=""}catch(r){pe(`${ln||t.constructor.name} Plugin apply Error
|
|
3
|
-
${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var u
|
|
1
|
+
var Dd=Object.defineProperty;var ni=Object.getOwnPropertySymbols;var $d=Object.prototype.hasOwnProperty,Od=Object.prototype.propertyIsEnumerable;var ri=(m,D,$)=>D in m?Dd(m,D,{enumerable:!0,configurable:!0,writable:!0,value:$}):m[D]=$,de=(m,D)=>{for(var $ in D||(D={}))$d.call(D,$)&&ri(m,$,D[$]);if(ni)for(var $ of ni(D))Od.call(D,$)&&ri(m,$,D[$]);return m};var fn=(m,D,$)=>new Promise((Qe,Ce)=>{var Ye=W=>{try{pe($.next(W))}catch(he){Ce(he)}},et=W=>{try{pe($.throw(W))}catch(he){Ce(he)}},pe=W=>W.done?Qe(W.value):Promise.resolve(W.value).then(Ye,et);pe(($=$.apply(m,D)).next())});(function(m,D){typeof exports=="object"&&typeof module!="undefined"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(m=typeof globalThis!="undefined"?globalThis:m||self,D(m.modelDrivenDriven={}))})(this,function(m){"use strict";var D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Qe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ye="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",et="{caption}\u5FC5\u586B",pe="\u8BF7\u8F93\u5165\u6807\u9898",W="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",he="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ii="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ui="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",oi="\u8BF7\u7ED1\u5B9A\u8868\u5355",ai="\u8BF7\u7ED1\u5B9A\u5217\u8868",li="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",si="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ci="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",di="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",pi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",yi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",vi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",_i="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",gi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",mi="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",bi="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ei="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",wi="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bi="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ai="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Si="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fi="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ii="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ci="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Di="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$i="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Oi="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Pi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ri="\u8BF7\u9009\u62E9\u7701",xi="\u8BF7\u9009\u62E9\u5E02",Mi="\u8BF7\u9009\u62E9\u533A",Li="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ti="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ji="\u8BF7\u8F93\u5165\u5217\u5BBD",qi="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vi="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ui="\u8BF7\u9009\u62E9\u63A7\u4EF6",ki="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Hi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ni="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Wi="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Gi="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ki="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ji="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Zi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yi="\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",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ou="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",au="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",su="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",cu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",fu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",du="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",pu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",hu="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",yu={isNotNumber:D,isNotString:$,isNotObject:Qe,isNotArray:Ce,isNotBoolean:Ye,runtimeRequired:et,pleaseEnterCaption:pe,pleaseEnterCaptionTip:W,pleaseEnterRowCaption:he,pleaseEnterPlaceholder:ii,pleaseEnterFieldCode:ui,pleaseEnterForm:oi,pleaseEnterList:ai,pleaseEnterProcess:li,pleaseEnterLabel:si,pleaseEnterValue:ci,bizKeyNotBindFiled:fi,pleaseSelectOneField:di,pleaseEnterNumberRange:pi,pleaseEnterAValueGreaterThanMin:hi,pleaseEnterAValueLessThanMax:yi,numberRangeSetError:vi,stringRangeError:_i,attachmentMaxSize:gi,pleaseEnterTotalScoreSetting:mi,theTotalScoreMustNotBeLessThan1:bi,scoreDefaultValueRange:Ei,attachmentLimitError:wi,PleaseReselectTheOptionalQuantity:Bi,TheMaximumLengthIsGreaterThanTheMinimumLength:Ai,TheMinimumLengthIsGreaterThanTheMaximumLength:Si,PleaseSelectTheCorrectOptionSettings:Fi,optionIdIsRepeat:Ii,optionIsRequired:Ci,pleaseEnterDataCode:Di,pleaseEnterValueFieldCode:$i,pleaseEnterSvcCode:Oi,pleaseBindAtLeastOneDisplayValue:Pi,pleaseSelectProvince:Ri,pleaseSelectCity:xi,pleaseSelectDistrict:Mi,limitRowsCannotBeLessThan0:Li,TheNumberOfRowsCannotBeLessThanMinRows:Ti,pleaseEnterColumnWidth:ji,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qi,pleaseCompleteAllRulesAndConditions:Vi,pleaseSelectControl:Ui,pleaseSelectAtLeastOneColumn:ki,pleaseSelectFillBackMode:Hi,pleaseSelectDashboard:Ni,rootNodeIsRequired:Wi,theViewNameCannotBeEmpty:zi,pleaseSelectOcrType:Gi,pleaseSelectAtLeastOneFieldToFillIn:Ki,pleaseChooseAtLeastOne:Xi,pleaseEnterButtonContent:Ji,pleaseEnterDataCodeInDataSetting:Zi,pleaseEnterValueFieldCodeInDataSetting:Qi,pleaseEnterSvcCodeInDataSetting:Yi,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:uu,pleaseUploadAtLeastOnePrintTemplate:ou,pleaseAssignBusiness:au,pleaseAssignExternal:lu,pleaseEnterAliasCode:su,pleaseSelectDataCode:cu,pleaseSelectSvcCode:fu,pleaseSelectJoinFieldCode:du,pleaseSelectMainFieldCode:pu,pleaseSelectSortFieldCode:hu},vu="Please enter a number",_u="Please enter a string",gu="Please enter an object",mu="Please enter an array",bu="Please enter a boolean",Eu="{caption} Required",wu="Please enter the title",Bu="Please enter the bubble prompt",Au="Please enter the row title",Su="Please enter the prompt text",Fu="Please bind data items",Iu="Please bind the form",Cu="Please bind the list",Du="Please bind the process",$u="Please enter the displayed value",Ou="Please enter the stored value",Pu="The document number is not bound to the data item",Ru="Please select at least one display field",xu="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}",Lu="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",ju="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qu="The attachment size must be between 0MB and 1000MB",Vu="Please fill in the total score setting",Uu="The total score cannot be less than 1",ku="The default value must be between {min} and {max}",Hu="The number of attachments uploaded must be between {min} and {max}",Nu="Please re-select the optional quantity",Wu="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",Gu="Please select the correct option setting",Ku="Option ID cannot be repeated",Xu="Please enter at least one option",Ju="Please bind the data source",Zu="Please bind the stored value",Qu="Please bind the service",Yu="At least one display value must be bound",eo="Please select a province",to="Please select a city",no="Please select a district",ro="The minimum number of lines to fill in cannot be less than 0",io="The number of rows cannot be less than {min} rows",uo="Please enter the column width",oo="Please set the logical relationship of all rule conditions",ao="Please complete all rules and conditions",lo="please select control",so="Please select the dashboard",co="View name cannot be empty",fo="Please select recognition type",po="Please select at least one field to fill in",ho="Please select at least one",yo="Please enter the button title",vo="Please bind the business model in the data settings",_o="Please bind storage values in data settings",go="Please bind the service in the data settings",mo="Please bind at least one display value in the data settings",bo="Please select the root node in the data settings",Eo="Please enter the maximum height",wo="The input content cannot be empty",Bo="Watermark cannot be empty",Ao="File name cannot be empty",So="Please upload at least one printing template!\uFF01",Fo="Please select a specific business department",Io="Please select a specified external organization",Co="Please enter a sub table alias",Do="Please select the associated table to set the business model",$o="Please select the association table to set the binding service",Oo="Select associated sub table fields",Po="Please select the associated main table field",Ro="Please select the sort field",xo={isNotNumber:vu,isNotString:_u,isNotObject:gu,isNotArray:mu,isNotBoolean:bu,runtimeRequired:Eu,pleaseEnterCaption:wu,pleaseEnterCaptionTip:Bu,pleaseEnterRowCaption:Au,pleaseEnterPlaceholder:Su,pleaseEnterFieldCode:Fu,pleaseEnterForm:Iu,pleaseEnterList:Cu,pleaseEnterProcess:Du,pleaseEnterLabel:$u,pleaseEnterValue:Ou,bizKeyNotBindFiled:Pu,pleaseSelectOneField:Ru,pleaseEnterNumberRange:xu,pleaseEnterAValueGreaterThanMin:Mu,pleaseEnterAValueLessThanMax:Lu,numberRangeSetError:Tu,stringRangeError:ju,attachmentMaxSize:qu,pleaseEnterTotalScoreSetting:Vu,theTotalScoreMustNotBeLessThan1:Uu,scoreDefaultValueRange:ku,attachmentLimitError:Hu,PleaseReselectTheOptionalQuantity:Nu,TheMaximumLengthIsGreaterThanTheMinimumLength:Wu,TheMinimumLengthIsGreaterThanTheMaximumLength:zu,PleaseSelectTheCorrectOptionSettings:Gu,optionIdIsRepeat:Ku,optionIsRequired:Xu,pleaseEnterDataCode:Ju,pleaseEnterValueFieldCode:Zu,pleaseEnterSvcCode:Qu,pleaseBindAtLeastOneDisplayValue:Yu,pleaseSelectProvince:eo,pleaseSelectCity:to,pleaseSelectDistrict:no,limitRowsCannotBeLessThan0:ro,TheNumberOfRowsCannotBeLessThanMinRows:io,pleaseEnterColumnWidth:uo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oo,pleaseCompleteAllRulesAndConditions:ao,pleaseSelectControl:lo,pleaseSelectDashboard:so,theViewNameCannotBeEmpty:co,pleaseSelectOcrType:fo,pleaseSelectAtLeastOneFieldToFillIn:po,pleaseChooseAtLeastOne:ho,pleaseEnterButtonContent:yo,pleaseEnterDataCodeInDataSetting:vo,pleaseEnterValueFieldCodeInDataSetting:_o,pleaseEnterSvcCodeInDataSetting:go,pleaseBindAtLeastOneDisplayValueInDataSetting:mo,rootNodeIsRequiredInDataSetting:bo,pleaseEnterMaxHeight:Eo,pleaseEnter:wo,pleaseEnterWatermark:Bo,pleaseEnterFileName:Ao,pleaseUploadAtLeastOnePrintTemplate:So,pleaseAssignBusiness:Fo,pleaseAssignExternal:Io,pleaseEnterAliasCode:Co,pleaseSelectDataCode:Do,pleaseSelectSvcCode:$o,pleaseSelectJoinFieldCode:Oo,pleaseSelectMainFieldCode:Po,pleaseSelectSortFieldCode:Ro},Mo="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lo="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",To="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jo="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qo="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vo="{caption}\u5FC5\u9808",Uo="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ko="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ho="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",No="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wo="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zo="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Go="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ko="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xo="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jo="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zo="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Qo="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yo="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ea="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ta="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ra="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ia="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ua="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",la="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",sa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ca="\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",fa="\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",da="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ha="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ya="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_a="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ga="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ma="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ba="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ea="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wa="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ba="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Aa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Fa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ia="please select control",Ca="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Da="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$a="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",La="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ua="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ka="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ha="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Na="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",za="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ka="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ja="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qa={isNotNumber:Mo,isNotString:Lo,isNotObject:To,isNotArray:jo,isNotBoolean:qo,runtimeRequired:Vo,pleaseEnterCaption:Uo,pleaseEnterCaptionTip:ko,pleaseEnterRowCaption:Ho,pleaseEnterPlaceholder:No,pleaseEnterFieldCode:Wo,pleaseEnterForm:zo,pleaseEnterList:Go,pleaseEnterProcess:Ko,pleaseEnterLabel:Xo,pleaseEnterValue:Jo,bizKeyNotBindFiled:Zo,pleaseSelectOneField:Qo,pleaseEnterNumberRange:Yo,pleaseEnterAValueGreaterThanMin:ea,pleaseEnterAValueLessThanMax:ta,numberRangeSetError:na,stringRangeError:ra,attachmentMaxSize:ia,pleaseEnterTotalScoreSetting:ua,theTotalScoreMustNotBeLessThan1:oa,scoreDefaultValueRange:aa,attachmentLimitError:la,PleaseReselectTheOptionalQuantity:sa,TheMaximumLengthIsGreaterThanTheMinimumLength:ca,TheMinimumLengthIsGreaterThanTheMaximumLength:fa,PleaseSelectTheCorrectOptionSettings:da,optionIdIsRepeat:pa,optionIsRequired:ha,pleaseEnterDataCode:ya,pleaseEnterValueFieldCode:va,pleaseEnterSvcCode:_a,pleaseBindAtLeastOneDisplayValue:ga,pleaseSelectProvince:ma,pleaseSelectCity:ba,pleaseSelectDistrict:Ea,limitRowsCannotBeLessThan0:wa,TheNumberOfRowsCannotBeLessThanMinRows:Ba,pleaseEnterColumnWidth:Aa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sa,pleaseCompleteAllRulesAndConditions:Fa,pleaseSelectControl:Ia,pleaseSelectDashboard:Ca,theViewNameCannotBeEmpty:Da,pleaseSelectOcrType:$a,pleaseSelectAtLeastOneFieldToFillIn:Oa,pleaseChooseAtLeastOne:Pa,pleaseEnterButtonContent:Ra,pleaseEnterDataCodeInDataSetting:xa,pleaseEnterValueFieldCodeInDataSetting:Ma,pleaseEnterSvcCodeInDataSetting:La,pleaseBindAtLeastOneDisplayValueInDataSetting:Ta,rootNodeIsRequiredInDataSetting:ja,pleaseEnterMaxHeight:qa,pleaseEnter:Va,pleaseEnterWatermark:Ua,pleaseEnterFileName:ka,pleaseUploadAtLeastOnePrintTemplate:Ha,pleaseAssignBusiness:Na,pleaseAssignExternal:Wa,pleaseEnterAliasCode:za,pleaseSelectDataCode:Ga,pleaseSelectSvcCode:Ka,pleaseSelectJoinFieldCode:Xa,pleaseSelectMainFieldCode:Ja,pleaseSelectSortFieldCode:Za},Ya={zhCN:yu,enUS:xo,jaJP:Qa},dn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(dn||(dn={}));var pn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(pn||(pn={}));var el="zh-CN",tl=function(){};function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(O||(O={}));var hn;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(hn||(hn={}));var h;(function(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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.ORGANIZATION_SELECTION="organization-selection",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.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-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.GRID_LAYOUT_CONTAINER="grid-layout-container",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.ACTION_BAR="action-bar",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.GRID_LAYOUT_WRAP="grid-layout-wrap",e.SENSITIVEN_INFORMATION="sensitiven-information"})(h||(h={}));var yn;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(yn||(yn={}));var V;(function(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"})(V||(V={}));var P,nl=(P={},M(P,"array","array-column"),M(P,"auto_number","auto-number-column"),M(P,"decimal","decimal-column"),M(P,"department","department-column"),M(P,"file","file-column"),M(P,"image","image-column"),M(P,"location","location-column"),M(P,"people","employee-column"),M(P,"text","text-column"),M(P,"timescope","timescope-column"),M(P,"timestamp","timestamp-column"),M(P,"varchar","varchar-column"),M(P,"relation","varchar-column"),P),vn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(vn||(vn={}));var _n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",rl=_n+"0123456789";function tt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?_n:rl,i=Math.random()*r.length;t+=r[parseInt(String(i),10)]}return t}function nt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function il(e){if(Array.isArray(e))return nt(e)}function ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t,n){return t=ye(t),sl(e,it()?Reflect.construct(t,n||[],ye(e).constructor):t.apply(e,n))}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t,n){return it()?De=Reflect.construct:De=function(i,u,o){var l=[null];l.push.apply(l,u);var s=Function.bind.apply(i,l),a=new s;return o&&ve(a,o.prototype),a},De.apply(null,arguments)}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ye(e)}function bn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ve(e,t)}function ol(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function al(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ll(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sl(e,t){return t&&(cl(t)==="object"||typeof t=="function")?t:ul(e)}function ve(e,t){return ve=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ve(e,t)}function En(e){return il(e)||al(e)||fl(e)||ll()}function cl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fl(e,t){if(!!e){if(typeof e=="string")return nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nt(e,t)}}function rt(e){var t=typeof Map=="function"?new Map:void 0;return rt=function(r){if(r===null||!ol(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return De(r,arguments,ye(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ve(i,r)},rt(e)}function it(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(it=function(){return!!e})()}var ut=console;function $e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=ut).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(En(i)))}function wn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=ut).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(En(i)))}function dl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ot=function(e){bn(t,e);function t(n){mn(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?dl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(rt(Error)),pl=function(e){bn(t,e);function t(n){mn(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(ot);function _e(e){throw new ot(e)}function Bn(e){throw new pl(e)}function hl(e){ut.error(new ot(e))}var yl=Object.prototype.toString;function An(e,t){return yl.call(e)==="[object "+t+"]"}function vl(e){return An(e,"String")}function _l(e){return An(e,"Promise")}var gl=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();_l(r)?r.then(function(i){n._messageCache.clear(),n.messages[n.localeInMessageKey]=i}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var i=this.getMessage(t);return i?this.formatMessage(i,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(i,u,o,l){if(i!==void 0){var s=i[u];if(!(o===l.length-1&&!vl(s)))return s}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,i){var u=n[i];return u!==void 0?String(u):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.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 t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function ml(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bl(e,t,n){return t&&Sn(e.prototype,t),n&&Sn(e,n),e}function El(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(){function e(){ml(this,e)}return bl(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:el;return new gl({locale:n,messages:Ya})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();El(j,"$i18n",j.resetI18n());function Fn(e,t,n){var r=t.replace(/\[(\d)]/g,function(u,o){return"."+o}).split("."),i=!1;return r.reduce(function(u,o,l,s){var a=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,o)){$e("Can not set ".concat(t,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),u,u);return}return l===s.length-1&&!Object.is(a[o],n)&&(a[o]=n,i=!0),a[o]}},e),i}var wl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Bl={exports:{}};(function(e){(function(t){var n=function(c,y,w){if(!a(y)||p(y)||_(y)||g(y)||s(y))return y;var B,I=0,H=0;if(f(y))for(B=[],H=y.length;I<H;I++)B.push(n(c,y[I],w));else{B={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&(B[c(S,w)]=n(c,y[S],w))}return B},r=function(c,y){y=y||{};var w=y.separator||"_",B=y.split||/(?=[A-Z])/;return c.split(B).join(w)},i=function(c){return E(c)?c:(c=c.replace(/[\-_\s]+(.)?/g,function(y,w){return w?w.toUpperCase():""}),c.substr(0,1).toLowerCase()+c.substr(1))},u=function(c){var y=i(c);return y.substr(0,1).toUpperCase()+y.substr(1)},o=function(c,y){return r(c,y).toLowerCase()},l=Object.prototype.toString,s=function(c){return typeof c=="function"},a=function(c){return c===Object(c)},f=function(c){return l.call(c)=="[object Array]"},p=function(c){return l.call(c)=="[object Date]"},_=function(c){return l.call(c)=="[object RegExp]"},g=function(c){return l.call(c)=="[object Boolean]"},E=function(c){return c=c-0,c===c},d=function(c,y){var w=y&&"process"in y?y.process:y;return typeof w!="function"?c:function(B,I){return w(B,c,I)}},v={camelize:i,decamelize:o,pascalize:u,depascalize:o,camelizeKeys:function(c,y){return n(d(i,y),c)},decamelizeKeys:function(c,y){return n(d(o,y),c,y)},pascalizeKeys:function(c,y){return n(d(u,y),c)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=v:t.humps=v})(wl)})(Bl);var In={};Object.defineProperty(In,"__esModule",{value:!0});function at(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:at(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:at(r)}return t}}var Al=In.default=at;function Cn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function te(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":Cn(e))==="object"?Al(e):e}function lt(e){return Object.prototype.toString.call(e)==="[object Object]"}function Sl(e){return e!=null&&(typeof e=="undefined"?"undefined":Cn(e))==="object"&&Array.isArray(e)===!1}function re(e){return Array.isArray(e)}function st(e){return typeof e=="string"}function Fl(e){return Object.values(h).includes(e)}function ct(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Il(e){if(Array.isArray(e))return ct(e)}function Dn(e,t,n,r,i,u,o){try{var l=e[u](o),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,i)}function Cl(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var u=e.apply(t,n);function o(s){Dn(u,r,i,o,l,"next",s)}function l(s){Dn(u,r,i,o,l,"throw",s)}o(void 0)})}}function Dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $l(e,t,n){return t&&$n(e.prototype,t),n&&$n(e,n),e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pl(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ft(e){return Il(e)||Ol(e)||Rl(e)||Pl()}function Rl(e,t){if(!!e){if(typeof e=="string")return ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ct(e,t)}}function xl(e,t){var n,r,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=a[0]&2?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Pn=function(){function e(){Dl(this,e),On(this,"_events",new Map),On(this,"debug",!1)}return $l(e,[{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),u=1;u<r;u++)i[u-1]=arguments[u];var o=this;return Cl(function(){var l,s,a,f,p,_,g,E,d,v,c,y;return xl(this,function(w){switch(w.label){case 0:if(l=o._events.get(n),s=[],!l)return[3,10];a=l.slice(),f=!0,p=!1,_=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),g=a[Symbol.iterator](),w.label=2;case 2:if(f=(E=g.next()).done)return[3,7];if(d=E.value,!l.includes(d))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),o.debug&&wn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(ft(i))),[4,d.apply(null,ft(i))];case 4:return v=w.sent(),o.debug&&wn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ft(i),[v])),s.push(v),v===!1?[3,7]:[3,6];case 5:return c=w.sent(),hl(String(c)+":"+String(c.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return y=w.sent(),p=!0,_=y,[3,10];case 9:try{!f&&g.return!=null&&g.return()}finally{if(p)throw _}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var i;(i=this._events.get(n))===null||i===void 0||i.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var i=this._events.get(n),u=i==null?void 0:i.indexOf(r);i==null||i.splice(u,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Ml(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ll(e,t,n){return t&&Rn(e.prototype,t),n&&Rn(e,n),e}function Tl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jl=[{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"}],ge=function(){function e(){Ml(this,e)}return Ll(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(i){return r.includes(i.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],i=n.eventKeys;r=r.concat(e.events.filter(function(o){return i.includes(o.key)}));var u=n.customEvents.map(function(o){var l=o.key;return{key:l,code:o.key,name:o.name}});return r=r.concat(u),r}}]),e}();Tl(ge,"events",jl);function dt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ql(e){if(Array.isArray(e))return dt(e)}function Vl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ul(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xn(e){return ql(e)||Vl(e)||kl(e)||Ul()}function kl(e,t){if(!!e){if(typeof e=="string")return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dt(e,t)}}function pt(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Mn(e,t,n){n!=="Runtime"&&(e.parent=t,pt(e,"parent"))}function Hl(e,t,n){e.forEach(function(r){Mn(r,t,n)})}var Ln=Symbol("targetKey");function Tn(e){var t;return(t=e[Ln])!==null&&t!==void 0?t:e}function jn(e,t,n){return Hl(e,t,n),new Proxy(e,{get:function(i,u){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var a;return u===Ln?i:(a=Reflect).get.apply(a,[i,u].concat(xn(l)))},set:function(i,u,o){for(var l=arguments.length,s=new Array(l>3?l-3:0),a=3;a<l;a++)s[a-3]=arguments[a];var f;if(re(e)&&u==="length"&&o===e.length)return!0;var p=(f=Reflect).set.apply(f,[i,u,o].concat(xn(s)));return lt(o)&&Mn(o,t,n),p}})}function ht(e,t,n,r,i){var u=r!=null?r:e,o=jn(Tn(n!=null?n:[]),u,i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=jn(Tn(s),u,i)},enumerable:!0})}function Nl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wl(e,t,n){return t&&qn(e.prototype,t),n&&qn(e,n),e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vn=[],me=function(){function e(t){Nl(this,e),K(this,"registeredControlTypes",new Set),K(this,"controlConfigMap",new Map),K(this,"_controls",[]),K(this,"_type",void 0),this._type=t,this._initControls(t)}return Wl(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||_e("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(i){return i.controlType===n.controlType});return r>-1&&($e("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===O.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===O.FORM}},{key:"isListControl",value:function(n){return n.controlType===O.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===O.COLUMN}},{key:"createControl",value:function(n,r){var i=this;if(Array.isArray(n))return n.map(function(f){return i.createControl(f,r)});if(n.children&&(n.children=n.children.map(function(f){return i.createControl(f,r)})),this.isListControl(n)){var u=n.props;u.headers&&(u.headers=u.headers.map(function(f){return i.createControl(f,r)})),u.footers&&(u.footers=u.footers.map(function(f){var p;return f&&(p=i.createControl(f,r)),p}))}var o=this.getControlFormType(n.type);if(o){var l=n;if(typeof r=="function"){var s=r(l);s&&(l=s)}var a;return o.mode==="Runtime"?(a=l,a.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new o(l),a}else _e("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),pt(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var u=n.id,o=r._controlParentIdMap,l=r.instanceMap;if(!(!o||!l)){var s=o[u],a=l[u];if(!(!s&&!a)){var f=a.findIndex(function(g){return g==n}),p=l[s]||[],_;return p.length!==a.length?_=p[0]:_=p[f],_}}}}),pt(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var i=this.getControlFormType(n);if(i)return new i(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(i){r.register(i[n]),e.staticControlsRuntimeRules.set(i.Runtime.controlType,i.Property.RuntimeRules),i.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var i=e.staticControlsRuntimeRules.get(n),u=[];if(i){var o=new i(r);u=Array.from(o)}return u}},{key:"register",value:function(n,r){var i=n.Designer,u=n.Runtime,o=n.Property;(!i||!u||!i.__is_control__||!u.__is_control__)&&_e("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(s){return s.Designer.controlType===i.controlType});return l>-1&&($e("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),o.mode=r,this}}]),e}();K(me,"staticControlsRuntimeRules",new Map),K(me,"staticControls",Vn),K(me,"staticRegisteredTypes",new Set(Vn.map(function(e){return e.Designer.controlType}))),K(me,"staticRegisteredConfigs",new Map);function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Un=function e(t){yt(this,e),q(this,"dataCode",void 0),q(this,"fieldCode",void 0),q(this,"fieldType",void 0),q(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:"",this.aliasCode=t==null?void 0:t.aliasCode},zl=function e(t){yt(this,e),q(this,"minWidth",void 0),q(this,"maxWidth",void 0),q(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},kn;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(kn||(kn={}));var Hn;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.CAPTION_SIZE="captionSize",e.CAPTION_COLOR="captionColor",e.IS_CAPTION_ITALIC="isCaptionItalic",e.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",e.FORBID_DOWNLOAD="forbidDownload",e.ACCESS_CONTROL="accessControl"})(Hn||(Hn={}));var vt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(vt||(vt={}));var Gl=function e(t){yt(this,e),q(this,"width",void 0),q(this,"height",void 0),q(this,"widthConfig",void 0),q(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var i;this.widthConfig=(i=t==null?void 0:t.widthConfig)!==null&&i!==void 0?i:"fill";var u;this.heightConfig=(u=t==null?void 0:t.heightConfig)!==null&&u!==void 0?u:"fill"};function Kl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xl(e,t,n){return t=be(t),Ql(e,mt()?Reflect.construct(t,n||[],be(e).constructor):t.apply(e,n))}function _t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t,n){return mt()?Oe=Reflect.construct:Oe=function(i,u,o){var l=[null];l.push.apply(l,u);var s=Function.bind.apply(i,l),a=new s;return o&&Ee(a,o.prototype),a},Oe.apply(null,arguments)}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e){return be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},be(e)}function Jl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ee(e,t)}function Zl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ql(e,t){return t&&(Yl(t)==="object"||typeof t=="function")?t:Kl(e)}function Ee(e,t){return Ee=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ee(e,t)}function Yl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gt(e){var t=typeof Map=="function"?new Map:void 0;return gt=function(r){if(r===null||!Zl(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Oe(r,arguments,be(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ee(i,r)},gt(e)}function mt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mt=function(){return!!e})()}var bt=function e(t){_t(this,e),X(this,"isHide",{type:"boolean"})},Nn=function(e){Jl(t,e);function t(n){return _t(this,t),Xl(this,t)}return t}(gt(Array)),z=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";_t(this,e),X(this,"isHide",void 0),X(this,"className",void 0),X(this,"style",void 0),X(this,"caption",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Gl(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:n};X(z,"mode",void 0),X(z,"Rules",bt),X(z,"RuntimeRules",Nn);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}function es(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Et(e)}function Pe(e,t){return Pe=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Pe(e,t)}function ts(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Re(e,t,n){return ts()?Re=Reflect.construct:Re=function(i,u,o){var l=[null];l.push.apply(l,u);var s=Function.bind.apply(i,l),a=new s;return o&&Pe(a,o.prototype),a},Re.apply(null,arguments)}function ns(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wt(e){var t=typeof Map=="function"?new Map:void 0;return wt=function(r){if(r===null||!ns(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Re(r,arguments,Et(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Pe(i,r)},wt(e)}var rs=/%[sdj%]/g,Wn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Wn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Bt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],u=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var o=String(i).replace(rs,function(l){if(l==="%%")return"%";if(r>=u)return l;switch(l){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return l}});return o}return i}function is(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function C(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||is(t)&&typeof e=="string"&&!e)}function us(e,t,n){var r=[],i=0,u=e.length;function o(l){r.push.apply(r,l),i++,i===u&&n(r)}e.forEach(function(l){t(l,o)})}function zn(e,t,n){var r=0,i=e.length;function u(o){if(o&&o.length){n(o);return}var l=r;r=r+1,l<i?t(e[l],u):n([])}u([])}function os(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Gn=function(e){es(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(wt(Error));function as(e,t,n,r){if(t.first){var i=new Promise(function(p,_){var g=function(v){return r(v),v.length?_(new Gn(v,Bt(v))):p()},E=os(e);zn(E,n,g)});return i.catch(function(p){return p}),i}var u=t.firstFields||[];u===!0&&(u=Object.keys(e));var o=Object.keys(e),l=o.length,s=0,a=[],f=new Promise(function(p,_){var g=function(d){if(a.push.apply(a,d),s++,s===l)return r(a),a.length?_(new Gn(a,Bt(a))):p()};o.length||(r(a),p()),o.forEach(function(E){var d=e[E];u.indexOf(E)!==-1?zn(d,n,g):us(d,n,g)})});return f.catch(function(p){return p}),f}function Kn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Xn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=U(U({},e[n]),r):e[n]=r}}return e}function Jn(e,t,n,r,i,u){e.required&&(!n.hasOwnProperty(e.field)||C(t,u||e.type))&&r.push(L(i.messages.required,e.fullField))}function ls(e,t,n,r,i){(/^\s+$/.test(t)||t==="")&&r.push(L(i.messages.whitespace,e.fullField))}var At={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},we={integer:function(t){return we.number(t)&&parseInt(t,10)===t},float:function(t){return we.number(t)&&!we.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!we.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(At.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(At.url)},hex:function(t){return typeof t=="string"&&!!t.match(At.hex)}};function ss(e,t,n,r,i){if(e.required&&t===void 0){Jn(e,t,n,r,i);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;u.indexOf(o)>-1?we[o](t)||r.push(L(i.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(L(i.messages.types[o],e.fullField,e.type))}function cs(e,t,n,r,i){var u=typeof e.len=="number",o=typeof e.min=="number",l=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,p=typeof t=="number",_=typeof t=="string",g=Array.isArray(t);if(p?f="number":_?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),_&&(a=t.replace(s,"_").length),u?a!==e.len&&r.push(L(i.messages[f].len,e.fullField,e.len)):o&&!l&&a<e.min?r.push(L(i.messages[f].min,e.fullField,e.min)):l&&!o&&a>e.max?r.push(L(i.messages[f].max,e.fullField,e.max)):o&&l&&(a<e.min||a>e.max)&&r.push(L(i.messages[f].range,e.fullField,e.min,e.max))}var ie="enum";function fs(e,t,n,r,i){e[ie]=Array.isArray(e[ie])?e[ie]:[],e[ie].indexOf(t)===-1&&r.push(L(i.messages[ie],e.fullField,e[ie].join(", ")))}function ds(e,t,n,r,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(L(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var u=new RegExp(e.pattern);u.test(t)||r.push(L(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var b={required:Jn,whitespace:ls,type:ss,range:cs,enum:fs,pattern:ds};function ps(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t,"string")&&!e.required)return n();b.required(e,t,r,u,i,"string"),C(t,"string")||(b.type(e,t,r,u,i),b.range(e,t,r,u,i),b.pattern(e,t,r,u,i),e.whitespace===!0&&b.whitespace(e,t,r,u,i))}n(u)}function hs(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&b.type(e,t,r,u,i)}n(u)}function ys(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&(b.type(e,t,r,u,i),b.range(e,t,r,u,i))}n(u)}function vs(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&b.type(e,t,r,u,i)}n(u)}function _s(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),C(t)||b.type(e,t,r,u,i)}n(u)}function gs(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&(b.type(e,t,r,u,i),b.range(e,t,r,u,i))}n(u)}function ms(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&(b.type(e,t,r,u,i),b.range(e,t,r,u,i))}n(u)}function bs(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();b.required(e,t,r,u,i,"array"),t!=null&&(b.type(e,t,r,u,i),b.range(e,t,r,u,i))}n(u)}function Es(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&b.type(e,t,r,u,i)}n(u)}var ws="enum";function Bs(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i),t!==void 0&&b[ws](e,t,r,u,i)}n(u)}function As(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t,"string")&&!e.required)return n();b.required(e,t,r,u,i),C(t,"string")||b.pattern(e,t,r,u,i)}n(u)}function Ss(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t,"date")&&!e.required)return n();if(b.required(e,t,r,u,i),!C(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),b.type(e,l,r,u,i),l&&b.range(e,l.getTime(),r,u,i)}}n(u)}function Fs(e,t,n,r,i){var u=[],o=Array.isArray(t)?"array":typeof t;b.required(e,t,r,u,i,o),n(u)}function St(e,t,n,r,i){var u=e.type,o=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if(C(t,u)&&!e.required)return n();b.required(e,t,r,o,i,u),C(t,u)||b.type(e,t,r,o,i)}n(o)}function Is(e,t,n,r,i){var u=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(C(t)&&!e.required)return n();b.required(e,t,r,u,i)}n(u)}var Be={string:ps,method:hs,number:ys,boolean:vs,regexp:_s,integer:gs,float:ms,array:bs,object:Es,enum:Bs,pattern:As,date:Ss,url:St,hex:St,email:St,required:Fs,any:Is};function Ft(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var It=Ft();function J(e){this.rules=null,this._messages=It,this.define(e)}J.prototype={messages:function(t){return t&&(this._messages=Xn(Ft(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var i=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var u=t,o=n,l=r;if(typeof o=="function"&&(l=o,o={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(d){var v,c=[],y={};function w(B){if(Array.isArray(B)){var I;c=(I=c).concat.apply(I,B)}else c.push(B)}for(v=0;v<d.length;v++)w(d[v]);c.length?y=Bt(c):(c=null,y=null),l(c,y)}if(o.messages){var a=this.messages();a===It&&(a=Ft()),Xn(a,o.messages),o.messages=a}else o.messages=this.messages();var f,p,_={},g=o.keys||Object.keys(this.rules);g.forEach(function(d){f=i.rules[d],p=u[d],f.forEach(function(v){var c=v;typeof c.transform=="function"&&(u===t&&(u=U({},u)),p=u[d]=c.transform(p)),typeof c=="function"?c={validator:c}:c=U({},c),c.validator=i.getValidationMethod(c),c.field=d,c.fullField=c.fullField||d,c.type=i.getType(c),c.validator&&(_[d]=_[d]||[],_[d].push({rule:c,value:p,source:u,field:d}))})});var E={};return as(_,o,function(d,v){var c=d.rule,y=(c.type==="object"||c.type==="array")&&(typeof c.fields=="object"||typeof c.defaultField=="object");y=y&&(c.required||!c.required&&d.value),c.field=d.field;function w(H,S){return U(U({},S),{},{fullField:c.fullField+"."+H})}function B(H){H===void 0&&(H=[]);var S=H;if(Array.isArray(S)||(S=[S]),!o.suppressWarning&&S.length&&J.warning("async-validator:",S),S.length&&c.message!==void 0&&(S=[].concat(c.message)),S=S.map(Kn(c)),o.first&&S.length)return E[c.field]=1,v(S);if(!y)v(S);else{if(c.required&&!d.value)return c.message!==void 0?S=[].concat(c.message).map(Kn(c)):o.error&&(S=[o.error(c,L(o.messages.required,c.field))]),v(S);var N={};if(c.defaultField)for(var ei in d.value)d.value.hasOwnProperty(ei)&&(N[ei]=c.defaultField);N=U(U({},N),d.rule.fields);for(var ce in N)if(N.hasOwnProperty(ce)){var Cd=Array.isArray(N[ce])?N[ce]:[N[ce]];N[ce]=Cd.map(w.bind(null,ce))}var ti=new J(N);ti.messages(o.messages),d.rule.options&&(d.rule.options.messages=o.messages,d.rule.options.error=o.error),ti.validate(d.value,d.rule.options||o,function(cn){var fe=[];S&&S.length&&fe.push.apply(fe,S),cn&&cn.length&&fe.push.apply(fe,cn),v(fe.length?fe:null)})}}var I;c.asyncValidator?I=c.asyncValidator(c,d.value,B,d.source,o):c.validator&&(I=c.validator(c,d.value,B,d.source,o),I===!0?B():I===!1?B(c.message||c.field+" fails"):I instanceof Array?B(I):I instanceof Error&&B(I.message)),I&&I.then&&I.then(function(){return B()},function(H){return B(H)})},function(d){s(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Be.hasOwnProperty(t.type))throw new Error(L("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Be.required:Be[this.getType(t)]||!1}},J.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Be[t]=n},J.warning=Wn,J.messages=It,J.validators=Be;var Cs={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Ds(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new J(e);return n.messages(Object.assign(Cs,t)),n}var Zn=new Pn;function Ct(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $s(e){if(Array.isArray(e))return e}function Os(e){if(Array.isArray(e))return Ct(e)}function Qn(e,t,n,r,i,u,o){try{var l=e[u](o),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,i)}function Yn(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var u=e.apply(t,n);function o(s){Qn(u,r,i,o,l,"next",s)}function l(s){Qn(u,r,i,o,l,"throw",s)}o(void 0)})}}function Ps(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rs(e,t,n){return t&&er(e.prototype,t),n&&er(e,n),e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xs(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ms(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){A(e,i,n[i])})}return e}function Ls(e){return $s(e)||nr(e)||ir(e)||xs()}function Dt(e){return Os(e)||nr(e)||ir(e)||Ms()}function Ts(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ir(e,t){if(!!e){if(typeof e=="string")return Ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ct(e,t)}}function ur(e,t){var n,r,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=a[0]&2?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var R=function(){function t(n){var r=this;Ps(this,t),A(this,"id",void 0),A(this,"name",void 0),A(this,"icon",void 0),A(this,"type",void 0),A(this,"controlType",void 0),A(this,"props",void 0),A(this,"setting",[]),A(this,"fieldType",void 0),A(this,"eventKeys",[]),A(this,"customEvents",[]),A(this,"parent",null),A(this,"updateSetting",ar),A(this,"removeSetting",or),this._callControlHooks("preInstance",n);var i=tr(this,t)?this.constructor:void 0,u=i.controlName,o=i.controlIcon,l=i.controlType,s=i.controlFieldType,a=i.controlEventKeys,f=i.controlCustomEvents,p=i.name,_=i.setting;u&&o&&l||Bn("The ".concat(p," controlName,controlIcon,controlType is not define"));var g;this.id=(g=n==null?void 0:n.id)!==null&&g!==void 0?g:tt(10),this.name=u,this.icon=o;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new z(n==null?void 0:n.props,(tr(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base",this.setting=te(_);var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:s,this.eventKeys=te(a),this.customEvents=te(f),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return Rs(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];var o,l=Ls(i),s=l[0],a=l.slice(1);return(o=Zn).emit.apply(o,[s,this].concat(Dt(a)))}},{key:"preUpdate",value:function(r,i){this._callControlHooks("preUpdateProps",r,i)}},{key:"postUpdate",value:function(r,i){this._callControlHooks("postUpdateProps",r,i)}},{key:"updateProps",value:function(r,i){this.preUpdate(r,i),Fn(this.props,r,i),this.postUpdate(r,i)}},{key:"preValidate",value:function(){var r=this;return Yn(function(){var i,u,o;return ur(this,function(l){switch(l.label){case 0:return i=rr({},r.rules),[4,r._callControlHooks("preValidate",i)];case 1:return u=l.sent(),o=u[u.length-1],[2,o===!1?void 0:o]}})})()}},{key:"validate",value:function(r,i){var u=this;return Yn(function(){var o,l,s,a;return ur(this,function(f){switch(f.label){case 0:return[4,u.preValidate()];case 1:o=f.sent(),l=o!==void 0?o:rr({},u.rules),Array.isArray(i)&&i.forEach(function(p){l.hasOwnProperty(p)&&delete l[p]}),s=Ds(l,r),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(u.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=u),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,o=this.type,l=this.props,s=l.dataBind,a=l.datasourceBind,f=l.optionConfig,p=l.caption,_=l.required,g=l.maxLength,E=l.options,d=l.encrypted,v=l.encryptedMode;if(!(!i&&!s&&!a)){var c={parentId:r,fieldType:i,controlId:u,caption:p,type:o,props:{}};switch(s&&(c.dataBind=s),f){case"datasource":case void 0:a&&(c.datasourceBind=a);break;case"custom":c.props.options=E;break}return _!==void 0&&(c.required=_),g!==void 0&&(c.maxLength=g),d!==void 0&&(c.encrypted=d),v!==void 0&&(c.encryptedMode=v),c}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:te(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,i){if(r==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Dt(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}}}]),t}();A(R,"mode","Designer"),A(R,"controlName","\u63A7\u4EF6"),A(R,"controlIcon","icon"),A(R,"controlType","control"),A(R,"controlFieldType",void 0),A(R,"controlEventKeys",[]),A(R,"controlCustomEvents",[]),A(R,"setting",[]),A(R,"__is_control__",!0),A(R,"removeSettingItem",or),A(R,"updateSettingItem",ar);function or(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var i,u=typeof r!="string",o=(i=t.setting)===null||i===void 0?void 0:i.findIndex(function(a){return a.key===(u?r.key:r)});if(o!==-1){var l,s;u?t.setting[o].showItems=(l=t.setting[o].showItems)===null||l===void 0?void 0:l.filter(function(a){return!r.hideItems.includes(a)}):t.setting.splice(o,1),u&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function ar(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(i){var u=n.setting.find(function(a){return a.key===i});if(u){if(typeof t=="boolean")u.visible=t;else if((typeof t=="undefined"?"undefined":Ts(t))==="object"){var o,l=(o=t.type)!==null&&o!==void 0?o:"replace";if(l==="replace")u.showItems=t.showItems;else{var s;(s=u.showItems).push.apply(s,Dt(t.showItems))}}}})}function js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qs(e,t,n){return t&&lr(e.prototype,t),n&&lr(e,n),e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vs(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Ae=function(){function t(n){js(this,t),T(this,"id",void 0),T(this,"type",void 0),T(this,"controlType",void 0),T(this,"props",void 0),T(this,"fieldType",void 0),T(this,"customEvents",[]),T(this,"pageStatus",void 0),T(this,"parent",null);var r=Vs(this,t)?this.constructor:void 0,i=r.controlType,u=r.controlFieldType,o=r.name,l=r.controlCustomEvents;i||Bn("The ".concat(o," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:tt(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:i,this.props=new z(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:u;var _;this.pageStatus=(_=n==null?void 0:n.pageStatus)!==null&&_!==void 0?_:vt.UNKNOWN}return qs(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var i=new r(this.props);return Array.from(i)}return[]}}]),t}();T(Ae,"mode","Runtime"),T(Ae,"controlType","control"),T(Ae,"controlFieldType",void 0),T(Ae,"__is_control__",!0),T(Ae,"controlCustomEvents",[]);function sr(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $t(e,t,n){return t=xe(t),ks(e,cr()?Reflect.construct(t,n||[],xe(e).constructor):t.apply(e,n))}function Ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rt(e,t)}function ks(e,t){return t&&(Hs(t)==="object"||typeof t=="function")?t:Us(e)}function Rt(e,t){return Rt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Rt(e,t)}function Hs(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cr=function(){return!!e})()}var Ns=function(e){Pt(t,e);function t(n){Ot(this,t);var r;r=$t(this,t,[n]),F(r,"dataBind",{}),F(r,"caption",{type:"string",required:!0,message:j.getMessage("pleaseEnterCaption")}),F(r,"isHideCaption",{type:"boolean"}),F(r,"labelPosition",{type:"enum",enum:["top","left"]}),F(r,"defaultState",{type:"enum",enum:["default","readonly"]}),F(r,"required",{type:"boolean"}),F(r,"captionTip",{type:"string",required:!1,message:j.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:j.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:j.getMessage("pleaseEnterFieldCode")}};if(sr(n.dataBind))r.dataBind={type:"object",required:!0,fields:te(i),message:j.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:j.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(o){u.fields[o]={type:"object",required:!0,fields:te(i),message:j.getMessage("pleaseEnterFieldCode")}}),r.dataBind=u}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(bt),Ws=function(e){Pt(t,e);function t(n){Ot(this,t);var r;r=$t(this,t,[n]);var i=n.isHide?!1:n.required;return i&&r.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:j.getMessage("runtimeRequired",{caption:n.caption})}),r}return t}(Nn),xt=function(e){Pt(t,e);function t(n){Ot(this,t);var r;r=$t(this,t,[n]),F(r,"caption",void 0),F(r,"captionSize",void 0),F(r,"captionColor",void 0),F(r,"isCaptionItalic",void 0),F(r,"isHideCaption",void 0),F(r,"isShowCaptionTip",void 0),F(r,"captionTip",void 0),F(r,"labelPosition",void 0),F(r,"dataBind",void 0),F(r,"defaultValue",void 0),F(r,"placeholder",void 0),F(r,"defaultState",void 0),F(r,"required",void 0),F(r,"requiredMessage",void 0);var i;r.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;r.captionSize=(u=n==null?void 0:n.captionSize)!==null&&u!==void 0?u:"";var o;r.captionColor=(o=n==null?void 0:n.captionColor)!==null&&o!==void 0?o:"";var l;r.isCaptionItalic=(l=n==null?void 0:n.isCaptionItalic)!==null&&l!==void 0?l:!1;var s;r.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1;var a;r.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var f;r.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var p;r.defaultState=(p=n==null?void 0:n.defaultState)!==null&&p!==void 0?p:"default";var _;r.labelPosition=(_=n==null?void 0:n.labelPosition)!==null&&_!==void 0?_:"top";var g;r.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"";var E;r.required=(E=n==null?void 0:n.required)!==null&&E!==void 0?E:!1;var d;r.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",r.dataBind=new Un(n==null?void 0:n.dataBind);var v;return r.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",r}return t}(z);F(xt,"Rules",Ns),F(xt,"RuntimeRules",Ws);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gs(e,t,n){return t=Le(t),Js(e,fr()?Reflect.construct(t,n||[],Le(e).constructor):t.apply(e,n))}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function Xs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}function Js(e,t){return t&&(Zs(t)==="object"||typeof t=="function")?t:zs(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Mt(e,t)}function Zs(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fr=function(){return!!e})()}var dr=function(e){Xs(t,e);function t(n){Ks(this,t);var r;return r=Gs(this,t,[n]),Me(r,"controlType","form"),Me(r,"props",void 0),r.props=new xt(n==null?void 0:n.props),r}return t}(R);Me(dr,"controlEventKeys",["on_change","on_focus","on_blur"]),Me(dr,"controlCustomAttributes",void 0);function Qs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ys(e,t,n){return t=Te(t),nc(e,pr()?Reflect.construct(t,n||[],Te(e).constructor):t.apply(e,n))}function ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function tc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lt(e,t)}function nc(e,t){return t&&(rc(t)==="object"||typeof t=="function")?t:Qs(e)}function Lt(e,t){return Lt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Lt(e,t)}function rc(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pr=function(){return!!e})()}var ic=function(e){tc(t,e);function t(n){return ec(this,t),Ys(this,t,[n])}return t}(z);function Tt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uc(e){if(Array.isArray(e))return Tt(e)}function oc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hr(e,t,n,r,i,u,o){try{var l=e[u](o),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,i)}function ac(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var u=e.apply(t,n);function o(s){hr(u,r,i,o,l,"next",s)}function l(s){hr(u,r,i,o,l,"throw",s)}o(void 0)})}}function lc(e,t,n){return t=Q(t),gc(e,_r()?Reflect.construct(t,n||[],Q(e).constructor):t.apply(e,n))}function sc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cc(e,t,n){return t&&yr(e.prototype,t),n&&yr(e,n),e}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ue=Reflect.get:ue=function(i,u,o){var l=mc(i,u);if(!!l){var s=Object.getOwnPropertyDescriptor(l,u);return s.get?s.get.call(o||i):s.value}},ue(e,t,n||e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Q(e)}function fc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function dc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function pc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Z(e,i,n[i])})}return e}function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _c(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function gc(e,t){return t&&(bc(t)==="object"||typeof t=="function")?t:oc(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},jt(e,t)}function mc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Q(e),e!==null););return e}function vr(e){return uc(e)||pc(e)||Ec(e)||hc()}function bc(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ec(e,t){if(!!e){if(typeof e=="string")return Tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tt(e,t)}}function _r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_r=function(){return!!e})()}function wc(e,t){var n,r,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=a[0]&2?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Bc=1e4,gr=function(t){fc(n,t);function n(r){sc(this,n);var i;i=lc(this,n,[r]),Z(i,"controlType","layout"),Z(i,"children",void 0),Z(i,"excludes",void 0),Z(i,"childrenMaxLength",void 0),Z(i,"props",void 0);var u=dc(this,n)?this.constructor:void 0,o=u.excludes,l=u.childrenMaxLength;return i.props=new ic(r==null?void 0:r.props),ht(i,"children",r==null?void 0:r.children,void 0,"Designer"),i.excludes=te(o),i.childrenMaxLength=l,i}return cc(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var o=this,l=this,s=function(){return ue(Q(n.prototype),"validate",o)};return ac(function(){return wc(this,function(a){switch(a.label){case 0:return[4,s().call(l,i,u)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(i,u)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=ue(Q(n.prototype),"toDataBindModel",this).call(this),o=u?[u]:[];return this.children.reduce(function(l,s){var a=s.toDataBindModel(i);if(Array.isArray(a)){var f=a.filter(function(p){return!!p});return vr(l).concat(vr(f))}return a&&l.push(a),l},o)}},{key:"toSchema",value:function(){var i=ue(Q(n.prototype),"toSchema",this).call(this),u=this.children.map(function(o){var l=o.toSchema();return l});return _c(yc({},i),{children:u})}}]),n}(R);Z(gr,"excludes",!1),Z(gr,"childrenMaxLength",Bc);function Ac(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sc(e,t,n){return t=je(t),Cc(e,mr()?Reflect.construct(t,n||[],je(e).constructor):t.apply(e,n))}function Fc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function Ic(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Cc(e,t){return t&&(Dc(t)==="object"||typeof t=="function")?t:Ac(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},qt(e,t)}function Dc(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mr=function(){return!!e})()}var $c=function(e){Ic(t,e);function t(n,r,i){Fc(this,t);var u;u=Sc(this,t,[r]),oe(u,"headers",void 0),oe(u,"footers",void 0),oe(u,"pageIndex",void 0),oe(u,"pageSize",void 0),oe(u,"pageSizeOptions",void 0),oe(u,"totalCount",void 0),ht(u,"headers",r==null?void 0:r.headers,n,i),ht(u,"footers",r==null?void 0:r.footers,n);var o;u.pageIndex=(o=r==null?void 0:r.pageIndex)!==null&&o!==void 0?o:1;var l;u.pageSize=(l=r==null?void 0:r.pageSize)!==null&&l!==void 0?l:20;var s;u.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var a;return u.totalCount=(a=r==null?void 0:r.totalCount)!==null&&a!==void 0?a:0,u}return t}(z);function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oc(e){if(Array.isArray(e))return Vt(e)}function Pc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function br(e,t,n,r,i,u,o){try{var l=e[u](o),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,i)}function Rc(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var u=e.apply(t,n);function o(s){br(u,r,i,o,l,"next",s)}function l(s){br(u,r,i,o,l,"throw",s)}o(void 0)})}}function xc(e,t,n){return t=Y(t),Uc(e,Sr()?Reflect.construct(t,n||[],Y(e).constructor):t.apply(e,n))}function Mc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lc(e,t,n){return t&&Er(e.prototype,t),n&&Er(e,n),e}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ae=Reflect.get:ae=function(i,u,o){var l=kc(i,u);if(!!l){var s=Object.getOwnPropertyDescriptor(l,u);return s.get?s.get.call(o||i):s.value}},ae(e,t,n||e)}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y(e)}function Tc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function jc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){qe(e,i,n[i])})}return e}function Vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Br(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vc(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Uc(e,t){return t&&(Hc(t)==="object"||typeof t=="function")?t:Pc(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ut(e,t)}function kc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Y(e),e!==null););return e}function Ar(e){return Oc(e)||jc(e)||Nc(e)||qc()}function Hc(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nc(e,t){if(!!e){if(typeof e=="string")return Vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vt(e,t)}}function Sr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sr=function(){return!!e})()}function Wc(e,t){var n,r,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=a[0]&2?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var zc=function(e){Tc(t,e);function t(n){Mc(this,t);var r;return r=xc(this,t,[n]),qe(r,"controlType","list"),qe(r,"props",void 0),r.props=new $c(r,n==null?void 0:n.props,"Designer"),r}return Lc(t,[{key:"validate",value:function(r,i){var u=this,o=this,l=function(){return ae(Y(t.prototype),"validate",u)};return Rc(function(){return Wc(this,function(s){switch(s.label){case 0:return[4,l().call(o,r)];case 1:return s.sent(),[4,Promise.all(o.props.headers.map(function(a){return a.validate(r,i)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=ae(Y(t.prototype),"toDataBindModel",this).call(this),i=r?[r]:[],u=this.id;return this.props.headers.reduce(function(o,l){var s=l.toDataBindModel(u);if(Array.isArray(s)){var a=s.filter(function(f){return!!f});return Ar(o).concat(Ar(a))}return s&&o.push(s),o},i)}},{key:"toSchema",value:function(){var r,i,u=ae(Y(t.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(s){return s.toSchema()}),l=(i=this.props)===null||i===void 0||(r=i.footers)===null||r===void 0?void 0:r.map(function(s){if(s)return s.toSchema()});return Br(wr({},u),{props:Br(wr({},this.props),{headers:o,footers:l})})}}]),t}(R);qe(zc,"controlFieldType",V.LIST);function Gc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fr(e,t,n){return t=Ve(t),Kc(e,Dr()?Reflect.construct(t,n||[],Ve(e).constructor):t.apply(e,n))}function Ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ve(e)}function Cr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}function Kc(e,t){return t&&(Xc(t)==="object"||typeof t=="function")?t:Gc(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},kt(e,t)}function Xc(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dr=function(){return!!e})()}var Jc=function(e){Cr(t,e);function t(n){Ir(this,t);var r;return r=Fr(this,t,[n]),x(r,"caption",{type:"string",required:!0,message:j.getMessage("pleaseEnterCaption")}),x(r,"width",{type:"number",required:!1,message:j.getMessage("pleaseEnterColumnWidth")}),r.width.required=n.widthType==="px",r}return t}(bt),Zc=function(e){Cr(t,e);function t(n){Ir(this,t);var r;r=Fr(this,t,[n]),x(r,"widthType",void 0),x(r,"width",void 0),x(r,"caption",void 0),x(r,"dataBind",void 0),x(r,"autoWidth",void 0),x(r,"fixed",void 0),x(r,"sort",void 0),x(r,"align",void 0),x(r,"colSpan",void 0),x(r,"autoHeight",void 0),x(r,"children",void 0);var i;r.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var o;r.fixed=(o=n==null?void 0:n.fixed)!==null&&o!==void 0?o:"none",r.autoWidth=new zl(n==null?void 0:n.autoWidth),r.dataBind=new Un(n==null?void 0:n.dataBind);var l;r.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(z);x(Zc,"Rules",Jc);function Ht(e){return"children"in e&&re(e.children)}function $r(e){return"headers"in e.props&&re(e.props.headers)}function Or(e){return"footers"in e.props&&re(e.props.footers)}function Ue(e,t){Array.isArray(e)&&e.map(n=>{n.type===h.SUBTABLE?Ue(n.props.headers,t):Ht(n)?Ue(n==null?void 0:n.children,t):n.controlType===O.FORM&&t(n)})}const Pr=[h.AMOUNT,h.CALC,h.DATE_RANGE],Rr={amount:{caption:"\u91D1\u989D",fieldType:V.DECIMAL},currency:{caption:"\u5E01\u79CD",fieldType:V.VARCHAR},result:{caption:"\u7ED3\u679C",fieldType:V.DECIMAL},unit:{caption:"\u5355\u4F4D",fieldType:V.VARCHAR},min:{caption:"\u5F00\u59CB\u65F6\u95F4",fieldType:V.TIMESTAMP},max:{caption:"\u7ED3\u675F\u65F6\u95F4",fieldType:V.TIMESTAMP}};function Qc(e){let t=[];return Ue(e,n=>{n.controlType===O.FORM?t.push(n):(n.type,h.SUBTABLE)}),t}function Yc(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===h.TITLE)return n;if(Pr.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(i=>{const u=r[i],o=n.controlId+"_"+i;u.fieldCode=xr(o),u.dataCode=t})}else n.dataBind.fieldCode=xr(n.controlId),n.dataBind.dataCode=t;return n})}function xr(e){const t="field_";return e.startsWith(t)?e:t+e}function ke(e){return nl[e]}function ef(e){const t=new ee,n=[];return e.forEach(r=>{if(!(r.parentId||!r.dataBind))if(Pr.includes(r.type)){const i=r.dataBind,u=r.datasourceBind;Object.keys(i).forEach(o=>{const l=i[o],s=Rr[o].fieldType,a=r.caption+"_"+Rr[o].caption,f=ke(s);if(!f)return;const p={caption:a,dataBind:l};o==="currency"&&(p.optionConfig="datasource",p.datasourceBind=u);const _=t.createControlInstance(f,{props:p});_&&n.push(_)})}else{const i=ke(r.fieldType);if(!i)return;const u=t.createControlInstance(i,{props:{caption:r.caption,dataBind:r.dataBind,datasourceBind:r.datasourceBind}});u&&n.push(u)}}),n}function tf(e){const t=new ee,r=(Array.isArray(e)?e:[e]).map(i=>{const u=ke(i);return t.createControlInstance(u)});return Array.isArray(e)?r:r[0]}function Nt(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function Wt(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function zt(e,t,n){return fn(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(i=>i.validate(t,n)))).every(i=>i):yield e.validate(t,n)})}const nf=[h.TITLE,h.GRID_TABLE_COLUMN,h.SUBTABLE_COLUMN,h.OPERATION_COLUMN,h.DATA_VIEW,h.LIST_VIEW,h.HEADER,h.FOOTER,h.SIMPLE_SEARCH,h.ROW,h.GRID_ROW,h.COL,h.GRID,h.DIVIDER,h.TAB_PANE,h.TAB,h.CARD_GROUP,h.ACTION_BAR,h.GRID_LAYOUT_CONTAINER,h.GRID_LAYOUT_WRAP],rf=[h.CALC],uf={check:{id:"listPageCheckBtnId",caption:"\u67E5\u770B"},edit:{id:"listPageEditBtnId",caption:"\u7F16\u8F91"},delete:{id:"listPageDeleteBtnId",caption:"\u5220\u9664"}};function Se(e,t){var r,i,u,o,l,s,a,f,p;const n=[];if(re(e))n.push(...e.map(_=>Se(_,t)).flat());else{const _=e.type,{caption:g,content:E}=e.props;let d;if(nf.includes(_))_===h.OPERATION_COLUMN&&Object.entries(uf).reduce((v,[c,{caption:y,id:w}])=>{var I;const B=e.props[c];return B&&B.isShow&&v.push({controlId:w,caption:y,type:e.type,controlType:e.controlType,parentId:(I=t==null?void 0:t.controlId)!=null?I:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),v},n);else if(d={controlId:e.id,caption:g||E||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!rf.includes(_),canRead:!0,canHide:!0,group:"element"},t&&t.type===h.SUBTABLE&&(d.caption=t.caption+"_"+d.caption),_===h.VUE_FORM_ITEM&&(d.caption=e.props.controlExportName||e.name),(e.controlType===O.FORM||e.controlType===O.COLUMN)&&((u=(i=e.props)==null?void 0:i.dataBind)==null?void 0:u.fieldCode)!==void 0&&((l=(o=e.props)==null?void 0:o.dataBind)==null?void 0:l.fieldCode)!==""&&(d.group="field"),n.push(d),_===h.VUE_FORM_ITEM){let v="element";((a=(s=e.props)==null?void 0:s.dataBind)==null?void 0:a.fieldCode)!==void 0&&((p=(f=e.props)==null?void 0:f.dataBind)==null?void 0:p.fieldCode)!==""&&(v="field");const c=e.props.permissions;c==null||c.map(y=>{var w;d={controlId:y.key,caption:y.caption,type:e.type,controlType:e.controlType,parentId:(w=e.id)!=null?w:null,canEdit:!0,canRead:!0,canHide:!0,group:v},n.push(d)})}e.children&&n.push(...e.children.map(v=>Se(v,t)).flat()),e.controlType===O.LIST&&n.push(...e.props.headers.map(v=>Se(v,d)).flat())}return n}class ee extends me{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new ge,this.fieldTypes=V,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(i){throw i}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return fn(this,null,function*(){return zt(...t)})}getModelBindInfoList(...t){return Wt(...t)}getSchema(...t){return Nt(...t)}listenControlHook(...t){return Zn.on(...t)}}ee.EventLogic=ge;class of{constructor(){this.designer=new ee}ListPageBuilder(){const t=this.designer.createControlInstance(h.LIST_VIEW),n=this.designer.createControlInstance(h.SIMPLE_SEARCH),r=this.designer.createControlInstance(h.GRID_TABLE),i=this.designer.createControlInstance(h.CREATE_FORM_LIST_BUTTON),u=this.designer.createControlInstance(h.IMPORT_RECORD_LIST_BUTTON),o=this.designer.createControlInstance(h.EXPORT_LIST_BUTTON),l=this.designer.createControlInstance(h.EXPORT_RECORD_LIST_BUTTON);return r.children.push(i),r.children.push(u),r.children.push(o),r.children.push(l),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(h.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(h.SIMPLE_SEARCH),r=this.designer.createControlInstance(h.GRID_TABLE),i=this.designer.createControlInstance(h.EXPORT_LIST_BUTTON),u=this.designer.createControlInstance(h.EXPORT_RECORD_LIST_BUTTON);return r.children.push(i),r.children.push(u),t.children.push(n),t.children.push(r),t.props.rowStyleRules.push({id:"default",name:"\u5BA1\u6279\u901A\u8FC7\u5355\u636E",color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:"\u6D41\u7A0B\u72B6\u6001"},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}]}),t.props.rowStyleRulesScript.push({id:"default",script:"(params.data['process_status']==='COMPLETE')",color:"theme"}),t}FormPageBuilder(){const t=this.designer.createControlInstance(h.DATA_VIEW),n=this.designer.createControlInstance(h.TITLE),r=this.designer.createControlInstance(h.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(h.GRID),n=this.designer.createControlInstance(h.VUE_FORM_ITEM);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class Mr{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?Fe(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?jr(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=Fe(t)}updateDataFieldCodeMap(t){const n=Fe(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[i,u]of r.entries())if(u.id===t.id){r.delete(i);break}Tr(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;le(this.instance,i=>{t.push(i),n.set(i.id,i),Tr(i,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function Lr(e,t,n){const{dataCode:r,fieldCode:i}=t;r&&i&&(e.has(r)||e.set(r,new Map),e.get(r).set(i,n))}function Tr(e,t){if(e.controlType===O.FORM){const n=e.props.dataBind;sr(n)?Lr(t,n,e):Object.values(n).forEach(r=>{Lr(t,r,e)})}}function le(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{var i,u;t(r),Ht(r)&&le(r.children,t),$r(r)&&le(r.props.headers,t),Or(r)&&le((u=(i=r.props)==null?void 0:i.footers)!=null?u:[],t)})}function Gt(e){return[h.SUBTABLE,h.DATA_VIEW,h.LIST_VIEW].includes(e.type)}function Fe(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!Gt(t);)t=t.parent;return t}function jr(e){const t=[e];return le(e,n=>{n!==e&&t.includes(n.parent)&&!Gt(n)&&t.push(n)}),t}function af(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lf(e,t,n){return t&&qr(e.prototype,t),n&&qr(e,n),e}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=function(){function e(t){af(this,e),Kt(this,"visible",void 0),Kt(this,"expression",void 0),Kt(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var i;this.updateParent=(i=t==null?void 0:t.updateParent)!==null&&i!==void 0?i:!1}return lf(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cf(e,t,n){return t&&Vr(e.prototype,t),n&&Vr(e,n),e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ff=function(){function e(t){sf(this,e),k(this,"type",void 0),k(this,"label",void 0),k(this,"key",void 0),k(this,"component",void 0),k(this,"effect",void 0),k(this,"scopeEffect",void 0),k(this,"defaultValue",void 0),k(this,"validator",void 0),k(this,"props",void 0),k(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:tl,this.defaultValue=t.defaultValue,this.validator=t.validator;var i;this.props=(i=t.props)!==null&&i!==void 0?i:new G,this.effectKeys=Object.keys(this.effect)}return cf(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(i){var u=new RegExp("^".concat(i,"(\\.\\w+)*$"));return u.test(n)}).map(function(i){return r.effect[i]})}},{key:"callEffectFn",value:function(n,r){try{var i=n.apply(null,r);lt(i)&&Object.assign(this.props,i)}catch(u){_e(`effect error
|
|
2
|
+
`.concat(u))}}},{key:"callEffect",value:function(n){for(var r=this,i=arguments.length,u=new Array(i>1?i-1:0),o=1;o<i;o++)u[o-1]=arguments[o];this.filterEffects(n).forEach(function(l){return r.callEffectFn(l,u)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];this.callEffectFn(this.scopeEffect,r)}}]),e}();function df(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ur=function e(t){df(this,e),ne(this,"type","group"),ne(this,"title",void 0),ne(this,"required",void 0),ne(this,"items",void 0),ne(this,"tips",void 0),ne(this,"fromId",void 0),ne(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(i){var u;return(u=i.props)===null||u===void 0?void 0:u.visible})};function pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hf(e){return"type"in e&&e.type==="tab"}var Ie=function e(t){pf(this,e),Xt(this,"type","tab"),Xt(this,"title",void 0),Xt(this,"items",void 0),this.title=t.title,this.items=t.items};function kr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yf(e){if(Array.isArray(e))return e}function vf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _f(e,t,n){return t=He(t),wf(e,Hr()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function gf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function mf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function bf(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,u=!1,o,l;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){u=!0,l=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(u)throw l}}return r}}function Ef(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wf(e,t){return t&&(Af(t)==="object"||typeof t=="function")?t:vf(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Jt(e,t)}function Bf(e,t){return yf(e)||bf(e,t)||Sf(e,t)||Ef()}function Af(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sf(e,t){if(!!e){if(typeof e=="string")return kr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kr(e,t)}}function Hr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hr=function(){return!!e})()}var Ff=function(e){mf(t,e);function t(n){gf(this,t);var r;return r=_f(this,t,[n]),lt(n)&&Object.entries(n).forEach(function(i){var u=Bf(i,2),o=u[0],l=u[1];r[o]=l}),r}return t}(G);function If(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cf(e,t,n){return t=We(t),Of(e,Nr()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function Df(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function $f(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Of(e,t){return t&&(Pf(t)==="object"||typeof t=="function")?t:If(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Zt(e,t)}function Pf(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nr=function(){return!!e})()}var Rf=function(e){$f(t,e);function t(n){Df(this,t);var r;r=Cf(this,t,[n]),Ne(r,"maxLength",void 0),Ne(r,"minLength",void 0),Ne(r,"placeholder",void 0),Ne(r,"i18n",void 0);var i;r.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:"";var u;r.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:"";var o;r.placeholder=(o=n==null?void 0:n.placeholder)!==null&&o!==void 0?o:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(G);function xf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mf(e,t,n){return t=ze(t),jf(e,Wr()?Reflect.construct(t,n||[],ze(e).constructor):t.apply(e,n))}function Lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function Tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function jf(e,t){return t&&(qf(t)==="object"||typeof t=="function")?t:xf(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Yt(e,t)}function qf(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wr=function(){return!!e})()}var Vf=function(e){Tf(t,e);function t(n){Lf(this,t);var r;r=Mf(this,t,[n]),Qt(r,"max",void 0),Qt(r,"min",void 0),Qt(r,"placeholder",void 0);var i;r.max=(i=n==null?void 0:n.max)!==null&&i!==void 0?i:"";var u;r.min=(u=n==null?void 0:n.min)!==null&&u!==void 0?u:"";var o;return r.placeholder=(o=n==null?void 0:n.placeholder)!==null&&o!==void 0?o:"",r}return t}(G);function Uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kf(e,t,n){return t=Ge(t),Wf(e,zr()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function Hf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function Nf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}function Wf(e,t){return t&&(zf(t)==="object"||typeof t=="function")?t:Uf(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},tn(e,t)}function zf(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zr=function(){return!!e})()}var Gf=function(e){Nf(t,e);function t(n){Hf(this,t);var r;r=kf(this,t,[n]),en(r,"showType",void 0),en(r,"tips",void 0),en(r,"disabled",void 0);var i;r.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"switch";var u;r.tips=(u=n==null?void 0:n.tips)!==null&&u!==void 0?u:"";var o;return r.disabled=(o=n==null?void 0:n.disabled)!==null&&o!==void 0?o:!1,r}return t}(G);function Kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t,n){return t=Ke(t),Yf(e,Gr()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function Jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function Qf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function Yf(e,t){return t&&(ed(t)==="object"||typeof t=="function")?t:Kf(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},nn(e,t)}function ed(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gr=function(){return!!e})()}var td=function(e){Qf(t,e);function t(n){Jf(this,t);var r;r=Xf(this,t,[n]),Zf(r,"options",void 0);var i;return r.options=(i=n==null?void 0:n.options)!==null&&i!==void 0?i:[],r}return t}(G);function nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t,n){return t=Xe(t),od(e,Xr()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}function od(e,t){return t&&(ad(t)==="object"||typeof t=="function")?t:nd(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},rn(e,t)}function ad(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xr=function(){return!!e})()}var ld=function(e){ud(t,e);function t(n){id(this,t);var r;r=rd(this,t,[n]),Kr(r,"placeholder",void 0),Kr(r,"options",void 0);var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var u;return r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[],r}return t}(G);function sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t,n){return t=Je(t),pd(e,Zr()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function pd(e,t){return t&&(hd(t)==="object"||typeof t=="function")?t:sd(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},un(e,t)}function hd(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zr=function(){return!!e})()}var yd=function(e){dd(t,e);function t(n){fd(this,t);var r;r=cd(this,t,[n]),Jr(r,"options",void 0),Jr(r,"showType",void 0);var i;r.options=(i=n==null?void 0:n.options)!==null&&i!==void 0?i:[];var u;return r.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"outline",r}return t}(G);function vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _d(e,t,n){return t=Ze(t),bd(e,Qr()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function md(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}function bd(e,t){return t&&(Ed(t)==="object"||typeof t=="function")?t:vd(e)}function on(e,t){return on=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},on(e,t)}function Ed(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qr=function(){return!!e})()}var wd=function(e){md(t,e);function t(n){gd(this,t);var r;r=_d(this,t,[n]),se(r,"maxLength",void 0),se(r,"minLength",void 0),se(r,"placeholder",void 0),se(r,"i18n",void 0),se(r,"maxRows",void 0),se(r,"minRows",void 0);var i;r.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:"";var u;r.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:"";var o;r.placeholder=(o=n==null?void 0:n.placeholder)!==null&&o!==void 0?o:"";var l;r.maxRows=(l=n==null?void 0:n.maxRows)!==null&&l!==void 0?l:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(G);function Bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function an(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Bd(e,i,n[i])})}return e}function Ad(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ln(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ad(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Sd(e,t){switch(e){case"input":return new Rf(t);case"textarea":return new wd(t);case"input-number":return new Vf(t);case"switch":return new Gf(t);case"radio":return new yd(t);case"checkbox":return new td(t);case"select":return new ld(t);default:return new Ff(t)}}function Fd(e){return function(t){var n=e.get(t);if(!!n)return new ff(ln(an({},n),{props:Sd(n.component,"props"in n?n.props:void 0)}))}}function Id(e){var t=e.fields.reduce(function(i,u){return i.set(u.key,u),i},new Map);function n(i){return new Ur(ln(an({},i),{items:i.items.map(Fd(t)).filter(Boolean)}))}function r(i){return i.map(n)}return e.groups.map(function(i){return hf(i)?new Ie(ln(an({},i),{items:r(i.items)})):n(i)})}let sn="";class Yr extends Pn{constructor(t){super(),this.isMounted=!1,this.id=tt(8),this.__pluginsApplied=!1,this.getSchema=Nt,this.getModelBindInfoList=Wt,this.generatePermissions=Se,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ee,schema:i,mode:u="form",store:o={}}=this.$options;this.eventLogic=new ge,this.designer=new r,this.store=new Mr(de({instance:this.designer.createControl(Array.isArray(i)?i:[i])},o)),this.mode=u,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{sn=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),sn=""}catch(r){_e(`${sn||t.constructor.name} Plugin apply Error
|
|
3
|
+
${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var i,u;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((i=t.parent)==null?void 0:i.controlType)===O.WRAP){const o=this.getControlSetting((u=t.parent)==null?void 0:u.type);n=this.concatSetting(n,o,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var u,o,l,s,a,f,p,_;let i=t;if(((u=t[0])==null?void 0:u.type)==="tab"&&((o=n[0])==null?void 0:o.type)==="tab"){const g=t,E=n.slice(0);i=g.map((d,v)=>{const c=new Ie(d),y=E.findIndex(B=>B.title===d.title);if(y===-1)return c;const w=E.splice(y,1)[0];return w&&(c.items=[...this.formatGroupSetting(w.items,r),...c.items]),c}),E.length&&(i=[...i,...E.map(d=>this.formatGroupSetting(d,r))])}else if(((l=t[0])==null?void 0:l.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const g=t,E=n;i=[...this.formatGroupSetting(E,r),...g]}else if(((a=t[0])==null?void 0:a.type)==="tab"&&((f=n[0])==null?void 0:f.type)==="group"){const g=t,E=n;i=g.map((d,v)=>{const c=new Ie(d);return v===0&&(c.items=[...this.formatGroupSetting(E,r),...c.items]),c})}else if(((p=t[0])==null?void 0:p.type)==="group"&&((_=n[0])==null?void 0:_.type)==="tab"){const g=t;i=n.map((d,v)=>{const c=new Ie(d);return v===0&&(c.items=[...c.items,...this.formatGroupSetting(g,r)]),c})}return i}formatGroupSetting(t,n){if(re(t))return t.map(r=>{const i=new Ur(r);return i.fromId=n,i});{const r=new Ie(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?Id(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,i=Fe(n),u=this.store.movingInstanceOldParent,o=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const l={from:r,current:i,oldParent:u,newParent:o};this.callSelectedScopeEffect(l),u?this.emit("moved",de({},l)):this.emit("joined",de({},l))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,i){var o;!Fn(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((o=this.store.selected)==null?void 0:o.id)&&this.callSelectedEffect(n,i),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,i=""){Object.entries(n).forEach(([u,o])=>{const l=`${i?i+".":""}${u}`;Sl(o)?this.updateInstanceProps(t,o,r,l):this.updateInstancePropValue(t,l,o,r)})}setInstance(t,n,r,i){st(n)?this.updateInstancePropValue(t,String(n),r,i):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===O.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,i=r.findIndex(u=>u===t);i>-1&&r.splice(i,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:i,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const i=r.controlType===O.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,u=i.findIndex(o=>o===t);u>-1&&i.splice(u,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),i=this.createInstance(n,{id:r.id,props:r.props});if(!i){$e(`can\u2018t update instance type to ${n}`);return}return i}validate(t,n){return zt(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!Fl(st(t)?t:t.type)}static register(...t){return ee.register(...t),this}static judgeControlIsRegistered(t){return ee.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return st(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===O.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,de({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,de({control:this.store.selected},t))})}}Yr.EventLogic=ge,m.Builder=of,m.Designer=ee,m.Driven=Yr,m.Store=Mr,m.checkSchema=zt,m.fillModelBindInfoListFieldCode=Yc,m.findInstanceDataScopeParent=Fe,m.generatePermissions=Se,m.getColumnTypeFromFiledType=ke,m.getColumnsFromFiledType=tf,m.getColumnsFromModelBindInfoList=ef,m.getDataScopeFlatInstances=jr,m.getMasterFormControls=Qc,m.getModelBindInfoList=Wt,m.hasChildrenControl=Ht,m.hasFooterControl=Or,m.hasHeaderControl=$r,m.isDataScopeInstance=Gt,m.loop=le,m.loopFormControl=Ue,m.toSchema=Nt,Object.defineProperty(m,"__esModule",{value:!0})});
|
package/dist/types/Builder.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ControlDesignerInstance } from '@byteluck-fe/model-driven-core';
|
|
2
|
-
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
3
2
|
export declare class Builder {
|
|
4
3
|
private designer;
|
|
5
4
|
ListPageBuilder(): ControlDesignerInstance<'list-view'>;
|
|
6
5
|
ProListPageBuilder(): ControlDesignerInstance<'list-view'>;
|
|
7
6
|
FormPageBuilder(): ControlDesignerInstance<'data-view'>;
|
|
8
|
-
VuePageBuilder(): ControlDesignerInstance<
|
|
7
|
+
VuePageBuilder(): ControlDesignerInstance<'grid'>;
|
|
9
8
|
}
|
package/dist/types/Driven.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ControlsKeys, ControlDesignerInstance, DesignerFormControl, DesignerLayoutControl, DesignerControl, DesignerListControl, DesignerSearchControl, DesignerWrapControl } from '@byteluck-fe/model-driven-core';
|
|
2
2
|
export declare function hasChildrenControl(instance: DesignerControl): instance is DesignerLayoutControl | DesignerSearchControl | DesignerWrapControl;
|
|
3
3
|
export declare function hasHeaderControl(instance: DesignerControl): instance is DesignerListControl;
|
|
4
|
+
export declare function hasFooterControl(instance: DesignerControl): instance is DesignerListControl;
|
|
4
5
|
export declare function loopFormControl(control: ControlDesignerInstance<ControlsKeys>[], callback: (item: DesignerFormControl | ControlDesignerInstance<'subtable'>, children?: DesignerFormControl[]) => any): void;
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { Schema, ControlsKeys, DataBindModelType, DesignerControl, DesignerFormControl, Messages } from '@byteluck-fe/model-driven-core';
|
|
1
|
+
import { Schema, ControlsKeys, ColumnControlsKeys, DataBindModelType, ControlDesignerInstance, DesignerColumnControl, DesignerControl, DesignerFormControl, Messages } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
3
|
export declare function getMasterFormControls(controls: DesignerControl[]): DesignerFormControl[];
|
|
3
4
|
/**
|
|
4
5
|
* @description 给modelBindInfoList中填充fieldCode和dataCode
|
|
5
6
|
* @description 我们生成fieldCode的规则是:DataBind的控件,取`field_${id}`,ObjectDataBind的控件,取`field_${id}_${key}`, key指的是ObjectDataBind.keys()
|
|
6
7
|
* */
|
|
7
8
|
export declare function fillModelBindInfoListFieldCode(modelBindInfoList: DataBindModelType[], dataCode?: string): DataBindModelType[];
|
|
9
|
+
/**
|
|
10
|
+
* @description 通过fieldType获取列表表头的type
|
|
11
|
+
* */
|
|
12
|
+
export declare function getColumnTypeFromFiledType(fieldType: string): ColumnControlsKeys | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @description 通过modelBindInfoList生成多个columns
|
|
15
|
+
* */
|
|
16
|
+
export declare function getColumnsFromModelBindInfoList(modelBindInfoList: DataBindModelType[]): DesignerColumnControl[];
|
|
17
|
+
/**
|
|
18
|
+
* @description 通过fieldType获取列实例
|
|
19
|
+
* */
|
|
20
|
+
export declare function getColumnsFromFiledType(fieldTypes: FieldTypes[]): ControlDesignerInstance<ColumnControlsKeys>[];
|
|
21
|
+
export declare function getColumnsFromFiledType(fieldType: FieldTypes): ControlDesignerInstance<ColumnControlsKeys>;
|
|
8
22
|
/**
|
|
9
23
|
* @description 将控件实例转换为schema
|
|
10
24
|
* */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-driven",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.34.0-lx2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-controls": "
|
|
30
|
-
"@byteluck-fe/model-driven-core": "
|
|
31
|
-
"@byteluck-fe/model-driven-settings": "
|
|
32
|
-
"@byteluck-fe/model-driven-shared": "
|
|
29
|
+
"@byteluck-fe/model-driven-controls": "4.34.0-lx2",
|
|
30
|
+
"@byteluck-fe/model-driven-core": "4.34.0-lx2",
|
|
31
|
+
"@byteluck-fe/model-driven-settings": "4.34.0-lx2",
|
|
32
|
+
"@byteluck-fe/model-driven-shared": "2.9.1-beta.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "bf17e674d3b4fb23082dd6b8522666ca8759d000"
|
|
35
35
|
}
|