@byteluck-fe/model-driven-upgrade 1.7.0 → 1.8.0-beta.0
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/upgrade/index.js +3 -1
- package/dist/esm/upgrade/v1_0.js +1 -1
- package/dist/esm/upgrade/v2_1.js +1 -1
- package/dist/esm/upgrade/v2_3.js +1 -1
- package/dist/esm/upgrade/v2_9.js +115 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/upgrade/index.d.ts +2 -1
- package/dist/types/upgrade/v2_9.d.ts +3 -0
- package/package.json +5 -5
|
@@ -8,6 +8,7 @@ import { dataCleaner as dataCleanerV2_5toV2_6 } from "./v2_5";
|
|
|
8
8
|
import { dataCleaner as dataCleanerV2_6toV2_7 } from "./v2_6";
|
|
9
9
|
import { dataCleaner as dataCleanerV2_7toV2_8 } from "./v2_7";
|
|
10
10
|
import { dataCleaner as dataCleanerV2_8toV2_9 } from "./v2_8";
|
|
11
|
+
import { dataCleaner as dataCleanerV2_9toV2_10 } from "./v2_9";
|
|
11
12
|
// TODO 切记复制粘贴的时候改一下from后边的路径,不然会出事儿
|
|
12
13
|
// TODO 注意从2.5版本开始,没有进行驼峰转下划线了,写的时候要注意
|
|
13
14
|
export default {
|
|
@@ -21,6 +22,7 @@ export default {
|
|
|
21
22
|
"v2.6": dataCleanerV2_6toV2_7,
|
|
22
23
|
"v2.7": dataCleanerV2_7toV2_8,
|
|
23
24
|
"v2.8": dataCleanerV2_8toV2_9,
|
|
25
|
+
"v2.9": dataCleanerV2_9toV2_10,
|
|
24
26
|
// 每次都需要预留一个下一版本的转换函数,会使用到对应的key作为当前最新的schema version
|
|
25
|
-
"v2.
|
|
27
|
+
"v2.10": function() {}
|
|
26
28
|
};
|
package/dist/esm/upgrade/v1_0.js
CHANGED
package/dist/esm/upgrade/v2_1.js
CHANGED
|
@@ -20,7 +20,7 @@ function conversion(schema, payload) {
|
|
|
20
20
|
CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,
|
|
21
21
|
CONTROL_TYPE.EXPORT_LIST_BUTTON,
|
|
22
22
|
CONTROL_TYPE.FORM_SELECT_BUTTON,
|
|
23
|
-
CONTROL_TYPE.LIST_SELECT_BUTTON
|
|
23
|
+
CONTROL_TYPE.LIST_SELECT_BUTTON
|
|
24
24
|
].includes(schema.type)) {
|
|
25
25
|
if (schema.props.button_type === "default") {
|
|
26
26
|
schema.props.button_type = "secondary";
|
package/dist/esm/upgrade/v2_3.js
CHANGED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { loop, CONTROL_TYPE } from "@byteluck-fe/model-driven-shared";
|
|
2
|
+
var dataCleaner = function(schemaItems, payload) {
|
|
3
|
+
var isArray = Array.isArray(schemaItems);
|
|
4
|
+
var schemaArray = isArray ? schemaItems : [
|
|
5
|
+
schemaItems
|
|
6
|
+
];
|
|
7
|
+
var new_schema = loop(schemaArray, function(item) {
|
|
8
|
+
return conversion(item, payload);
|
|
9
|
+
});
|
|
10
|
+
return isArray ? new_schema : new_schema[0];
|
|
11
|
+
};
|
|
12
|
+
function conversion(schema, payload) {
|
|
13
|
+
if (schema.type === CONTROL_TYPE.GRID_TABLE) {
|
|
14
|
+
schema.props.headers.map(function(item) {
|
|
15
|
+
if (item.type === CONTROL_TYPE.OPERATION_COLUMN) {
|
|
16
|
+
var ref, ref1, ref2;
|
|
17
|
+
item.props.buttons = [];
|
|
18
|
+
delete item.props.custom;
|
|
19
|
+
if (((ref = item.props) === null || ref === void 0 ? void 0 : ref.check) !== undefined) {
|
|
20
|
+
var ref3, ref4, ref5, ref6, ref7, ref8, ref9;
|
|
21
|
+
item.props.buttons.push({
|
|
22
|
+
id: (ref3 = item.props) === null || ref3 === void 0 ? void 0 : ref3.check.id,
|
|
23
|
+
type: "check",
|
|
24
|
+
content: (ref4 = item.props) === null || ref4 === void 0 ? void 0 : ref4.check.content,
|
|
25
|
+
is_show: (ref5 = item.props) === null || ref5 === void 0 ? void 0 : ref5.check.is_show,
|
|
26
|
+
priority_process: (ref6 = item.props) === null || ref6 === void 0 ? void 0 : ref6.check.priority_process,
|
|
27
|
+
open_type: (ref7 = item.props) === null || ref7 === void 0 ? void 0 : ref7.check.open_type,
|
|
28
|
+
form_key: (ref8 = item.props) === null || ref8 === void 0 ? void 0 : ref8.check.form_key
|
|
29
|
+
});
|
|
30
|
+
(ref9 = item.props) === null || ref9 === void 0 ? void 0 : delete ref9.check;
|
|
31
|
+
}
|
|
32
|
+
if (((ref1 = item.props) === null || ref1 === void 0 ? void 0 : ref1.edit) !== undefined) {
|
|
33
|
+
var ref10, ref11, ref12, ref13, ref14, ref15, ref16;
|
|
34
|
+
item.props.buttons.push({
|
|
35
|
+
id: (ref10 = item.props) === null || ref10 === void 0 ? void 0 : ref10.edit.id,
|
|
36
|
+
type: "edit",
|
|
37
|
+
content: (ref11 = item.props) === null || ref11 === void 0 ? void 0 : ref11.edit.content,
|
|
38
|
+
is_show: (ref12 = item.props) === null || ref12 === void 0 ? void 0 : ref12.edit.is_show,
|
|
39
|
+
priority_process: (ref13 = item.props) === null || ref13 === void 0 ? void 0 : ref13.edit.priority_process,
|
|
40
|
+
open_type: (ref14 = item.props) === null || ref14 === void 0 ? void 0 : ref14.edit.open_type,
|
|
41
|
+
form_key: (ref15 = item.props) === null || ref15 === void 0 ? void 0 : ref15.edit.form_key
|
|
42
|
+
});
|
|
43
|
+
(ref16 = item.props) === null || ref16 === void 0 ? void 0 : delete ref16.edit;
|
|
44
|
+
}
|
|
45
|
+
if (((ref2 = item.props) === null || ref2 === void 0 ? void 0 : ref2.delete) !== undefined) {
|
|
46
|
+
var ref17, ref18, ref19, ref20, ref21, ref22;
|
|
47
|
+
item.props.buttons.push({
|
|
48
|
+
id: (ref17 = item.props) === null || ref17 === void 0 ? void 0 : ref17.delete.id,
|
|
49
|
+
type: "delete",
|
|
50
|
+
content: (ref18 = item.props) === null || ref18 === void 0 ? void 0 : ref18.delete.content,
|
|
51
|
+
is_show: (ref19 = item.props) === null || ref19 === void 0 ? void 0 : ref19.delete.is_show,
|
|
52
|
+
open_type: (ref20 = item.props) === null || ref20 === void 0 ? void 0 : ref20.delete.open_type,
|
|
53
|
+
form_key: (ref21 = item.props) === null || ref21 === void 0 ? void 0 : ref21.delete.form_key
|
|
54
|
+
});
|
|
55
|
+
(ref22 = item.props) === null || ref22 === void 0 ? void 0 : delete ref22.delete;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
if (schema.type === CONTROL_TYPE.DATA_VIEW) {
|
|
61
|
+
var ref;
|
|
62
|
+
schema.props.buttons = [];
|
|
63
|
+
delete schema.props.custom;
|
|
64
|
+
if (((ref = schema.props) === null || ref === void 0 ? void 0 : ref.save) !== undefined) {
|
|
65
|
+
var ref1, ref2, ref3, ref4, ref5, ref6;
|
|
66
|
+
schema.props.buttons.push({
|
|
67
|
+
id: (ref1 = schema.props) === null || ref1 === void 0 ? void 0 : ref1.save.id,
|
|
68
|
+
type: "save",
|
|
69
|
+
content: (ref2 = schema.props) === null || ref2 === void 0 ? void 0 : ref2.save.content,
|
|
70
|
+
is_show: (ref3 = schema.props) === null || ref3 === void 0 ? void 0 : ref3.save.is_show,
|
|
71
|
+
open_type: (ref4 = schema.props) === null || ref4 === void 0 ? void 0 : ref4.save.open_type,
|
|
72
|
+
form_key: (ref5 = schema.props) === null || ref5 === void 0 ? void 0 : ref5.save.form_key
|
|
73
|
+
});
|
|
74
|
+
(ref6 = schema.props) === null || ref6 === void 0 ? void 0 : delete ref6.save;
|
|
75
|
+
}
|
|
76
|
+
if (schema.props.cancel !== undefined) {
|
|
77
|
+
var ref7, ref8, ref9, ref10, ref11, ref12;
|
|
78
|
+
schema.props.buttons.push({
|
|
79
|
+
id: (ref7 = schema.props) === null || ref7 === void 0 ? void 0 : ref7.cancel.id,
|
|
80
|
+
type: "cancel",
|
|
81
|
+
content: (ref8 = schema.props) === null || ref8 === void 0 ? void 0 : ref8.cancel.content,
|
|
82
|
+
is_show: (ref9 = schema.props) === null || ref9 === void 0 ? void 0 : ref9.cancel.is_show,
|
|
83
|
+
open_type: (ref10 = schema.props) === null || ref10 === void 0 ? void 0 : ref10.cancel.open_type,
|
|
84
|
+
form_key: (ref11 = schema.props) === null || ref11 === void 0 ? void 0 : ref11.cancel.form_key
|
|
85
|
+
});
|
|
86
|
+
(ref12 = schema.props) === null || ref12 === void 0 ? void 0 : delete ref12.cancel;
|
|
87
|
+
}
|
|
88
|
+
if (schema.props.save_as !== undefined) {
|
|
89
|
+
var ref13, ref14, ref15, ref16, ref17, ref18;
|
|
90
|
+
schema.props.buttons.push({
|
|
91
|
+
id: (ref13 = schema.props) === null || ref13 === void 0 ? void 0 : ref13.save_as.id,
|
|
92
|
+
type: "save_as",
|
|
93
|
+
content: (ref14 = schema.props) === null || ref14 === void 0 ? void 0 : ref14.save_as.content,
|
|
94
|
+
is_show: (ref15 = schema.props) === null || ref15 === void 0 ? void 0 : ref15.save_as.is_show,
|
|
95
|
+
open_type: (ref16 = schema.props) === null || ref16 === void 0 ? void 0 : ref16.save_as.open_type,
|
|
96
|
+
form_key: (ref17 = schema.props) === null || ref17 === void 0 ? void 0 : ref17.save_as.form_key
|
|
97
|
+
});
|
|
98
|
+
(ref18 = schema.props) === null || ref18 === void 0 ? void 0 : delete ref18.save_as;
|
|
99
|
+
}
|
|
100
|
+
if (schema.props.print !== undefined) {
|
|
101
|
+
var ref19, ref20, ref21, ref22, ref23, ref24;
|
|
102
|
+
schema.props.buttons.push({
|
|
103
|
+
id: (ref19 = schema.props) === null || ref19 === void 0 ? void 0 : ref19.print.id,
|
|
104
|
+
type: "print",
|
|
105
|
+
content: (ref20 = schema.props) === null || ref20 === void 0 ? void 0 : ref20.print.content,
|
|
106
|
+
is_show: (ref21 = schema.props) === null || ref21 === void 0 ? void 0 : ref21.print.is_show,
|
|
107
|
+
open_type: (ref22 = schema.props) === null || ref22 === void 0 ? void 0 : ref22.print.open_type,
|
|
108
|
+
form_key: (ref23 = schema.props) === null || ref23 === void 0 ? void 0 : ref23.print.form_key
|
|
109
|
+
});
|
|
110
|
+
(ref24 = schema.props) === null || ref24 === void 0 ? void 0 : delete ref24.print;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return schema;
|
|
114
|
+
}
|
|
115
|
+
export { dataCleaner };
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(K,oe){typeof exports=="object"&&typeof module!="undefined"?oe(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],oe):(K=typeof globalThis!="undefined"?globalThis:K||self,oe(K.modelDrivenUpgrade={},K.regeneratorRuntime))})(this,function(K,oe){"use strict";function $i(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var L=$i(oe),ki="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Fi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ni="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Li="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Mi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",xi="{caption}\u5FC5\u586B",ji="\u8BF7\u8F93\u5165\u6807\u9898",Hi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ui="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Vi="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",qi="\u8BF7\u7ED1\u5B9A\u8868\u5355",zi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Wi="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ki="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Gi="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Xi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Qi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ji="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Zi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Yi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",eu="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",tu="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",nu="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ru="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",iu="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",uu="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ou="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",au="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",lu="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",su="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",cu="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",fu="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",du="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yu="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",pu="\u8BF7\u7ED1\u5B9A\u670D\u52A1",vu="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hu="\u8BF7\u9009\u62E9\u7701",bu="\u8BF7\u9009\u62E9\u5E02",_u="\u8BF7\u9009\u62E9\u533A",mu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",gu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Eu="\u8BF7\u8F93\u5165\u5217\u5BBD",Iu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ou="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Au="\u8BF7\u9009\u62E9\u63A7\u4EF6",wu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Su="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ru="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Cu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Bu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Du="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Tu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$u="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ku="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Mu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",xu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ju="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Uu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Vu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",qu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Wu={isNotNumber:ki,isNotString:Fi,isNotObject:Ni,isNotArray:Li,isNotBoolean:Mi,runtimeRequired:xi,pleaseEnterCaption:ji,pleaseEnterCaptionTip:Hi,pleaseEnterPlaceholder:Ui,pleaseEnterFieldCode:Vi,pleaseEnterForm:qi,pleaseEnterList:zi,pleaseEnterProcess:Wi,pleaseEnterLabel:Ki,pleaseEnterValue:Gi,bizKeyNotBindFiled:Xi,pleaseEnterNumberRange:Qi,pleaseEnterAValueGreaterThanMin:Ji,pleaseEnterAValueLessThanMax:Zi,numberRangeSetError:Yi,stringRangeError:eu,attachmentMaxSize:tu,pleaseEnterTotalScoreSetting:nu,theTotalScoreMustNotBeLessThan1:ru,scoreDefaultValueRange:iu,attachmentLimitError:uu,PleaseReselectTheOptionalQuantity:ou,TheMaximumLengthIsGreaterThanTheMinimumLength:au,TheMinimumLengthIsGreaterThanTheMaximumLength:lu,PleaseSelectTheCorrectOptionSettings:su,optionIdIsRepeat:cu,optionIsRequired:fu,pleaseEnterDataCode:du,pleaseEnterValueFieldCode:yu,pleaseEnterSvcCode:pu,pleaseBindAtLeastOneDisplayValue:vu,pleaseSelectProvince:hu,pleaseSelectCity:bu,pleaseSelectDistrict:_u,limitRowsCannotBeLessThan0:mu,TheNumberOfRowsCannotBeLessThanMinRows:gu,pleaseEnterColumnWidth:Eu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Iu,pleaseCompleteAllRulesAndConditions:Ou,pleaseSelectControl:Au,pleaseSelectAtLeastOneColumn:wu,pleaseSelectFillBackMode:Su,pleaseSelectDashboard:Ru,rootNodeIsRequired:Pu,theViewNameCannotBeEmpty:Cu,pleaseSelectOcrType:Bu,pleaseSelectAtLeastOneFieldToFillIn:Du,pleaseChooseAtLeastOne:Tu,pleaseEnterButtonContent:$u,pleaseEnterDataCodeInDataSetting:ku,pleaseEnterValueFieldCodeInDataSetting:Fu,pleaseEnterSvcCodeInDataSetting:Nu,pleaseBindAtLeastOneDisplayValueInDataSetting:Lu,rootNodeIsRequiredInDataSetting:Mu,pleaseEnterMaxHeight:xu,pleaseEnter:ju,pleaseEnterWatermark:Hu,pleaseEnterFileName:Uu,pleaseUploadAtLeastOnePrintTemplate:Vu,pleaseAssignBusiness:qu,pleaseAssignExternal:zu},Ku="Please enter a number",Gu="Please enter a string",Xu="Please enter an object",Qu="Please enter an array",Ju="Please enter a boolean",Zu="{caption} Required",Yu="Please enter the title",eo="Please enter the bubble prompt",to="Please enter the prompt text",no="Please bind data items",ro="Please bind the form",io="Please bind the list",uo="Please bind the process",oo="Please enter the displayed value",ao="Please enter the stored value",lo="The document number is not bound to the data item",so="Please enter a value greater than or equal to {min} and less than or equal to {max}",co="Please enter a value greater than or equal to {min}",fo="Please enter a value less than or equal to {max}",yo="The value range is set incorrectly",po="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",vo="The attachment size must be between 0MB and 1000MB",ho="Please fill in the total score setting",bo="The total score cannot be less than 1",_o="The default value must be between {min} and {max}",mo="The number of attachments uploaded must be between {min} and {max}",go="Please re-select the optional quantity",Eo="The maximum length of the control must be greater than the minimum length",Io="The minimum length of the control must be less than the maximum length",Oo="Please select the correct option setting",Ao="Option ID cannot be repeated",wo="Please enter at least one option",So="Please bind the data source",Ro="Please bind the stored value",Po="Please bind the service",Co="At least one display value must be bound",Bo="Please select a province",Do="Please select a city",To="Please select a district",$o="The minimum number of lines to fill in cannot be less than 0",ko="The number of rows cannot be less than {min} rows",Fo="Please enter the column width",No="Please set the logical relationship of all rule conditions",Lo="Please complete all rules and conditions",Mo="please select control",xo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jo="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ho="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Uo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",qo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ko="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Go="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Xo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Qo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Jo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Zo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Yo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ea="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ta="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",na="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ra={isNotNumber:Ku,isNotString:Gu,isNotObject:Xu,isNotArray:Qu,isNotBoolean:Ju,runtimeRequired:Zu,pleaseEnterCaption:Yu,pleaseEnterCaptionTip:eo,pleaseEnterPlaceholder:to,pleaseEnterFieldCode:no,pleaseEnterForm:ro,pleaseEnterList:io,pleaseEnterProcess:uo,pleaseEnterLabel:oo,pleaseEnterValue:ao,bizKeyNotBindFiled:lo,pleaseEnterNumberRange:so,pleaseEnterAValueGreaterThanMin:co,pleaseEnterAValueLessThanMax:fo,numberRangeSetError:yo,stringRangeError:po,attachmentMaxSize:vo,pleaseEnterTotalScoreSetting:ho,theTotalScoreMustNotBeLessThan1:bo,scoreDefaultValueRange:_o,attachmentLimitError:mo,PleaseReselectTheOptionalQuantity:go,TheMaximumLengthIsGreaterThanTheMinimumLength:Eo,TheMinimumLengthIsGreaterThanTheMaximumLength:Io,PleaseSelectTheCorrectOptionSettings:Oo,optionIdIsRepeat:Ao,optionIsRequired:wo,pleaseEnterDataCode:So,pleaseEnterValueFieldCode:Ro,pleaseEnterSvcCode:Po,pleaseBindAtLeastOneDisplayValue:Co,pleaseSelectProvince:Bo,pleaseSelectCity:Do,pleaseSelectDistrict:To,limitRowsCannotBeLessThan0:$o,TheNumberOfRowsCannotBeLessThanMinRows:ko,pleaseEnterColumnWidth:Fo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:No,pleaseCompleteAllRulesAndConditions:Lo,pleaseSelectControl:Mo,pleaseSelectDashboard:xo,theViewNameCannotBeEmpty:jo,pleaseSelectOcrType:Ho,pleaseSelectAtLeastOneFieldToFillIn:Uo,pleaseChooseAtLeastOne:Vo,pleaseEnterButtonContent:qo,pleaseEnterDataCodeInDataSetting:zo,pleaseEnterValueFieldCodeInDataSetting:Wo,pleaseEnterSvcCodeInDataSetting:Ko,pleaseBindAtLeastOneDisplayValueInDataSetting:Go,rootNodeIsRequiredInDataSetting:Xo,pleaseEnterMaxHeight:Qo,pleaseEnter:Jo,pleaseEnterWatermark:Zo,pleaseEnterFileName:Yo,pleaseUploadAtLeastOnePrintTemplate:ea,pleaseAssignBusiness:ta,pleaseAssignExternal:na},ia="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ua="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sa="{caption}\u5FC5\u9808",ca="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fa="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",da="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ha="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ba="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_a="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ga="{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",Ia="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Aa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wa="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ra="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Pa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ca="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ba="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\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",Ta="\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",$a="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ka="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Na="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",La="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ma="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ja="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ha="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Va="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",za="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wa="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ka="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ga="please select control",Xa="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Qa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ja="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Za="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ya="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",el="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",il="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ul="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ol="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",al="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ll="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cl="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",fl="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",yl={isNotNumber:ia,isNotString:ua,isNotObject:oa,isNotArray:aa,isNotBoolean:la,runtimeRequired:sa,pleaseEnterCaption:ca,pleaseEnterCaptionTip:fa,pleaseEnterPlaceholder:da,pleaseEnterFieldCode:ya,pleaseEnterForm:pa,pleaseEnterList:va,pleaseEnterProcess:ha,pleaseEnterLabel:ba,pleaseEnterValue:_a,bizKeyNotBindFiled:ma,pleaseEnterNumberRange:ga,pleaseEnterAValueGreaterThanMin:Ea,pleaseEnterAValueLessThanMax:Ia,numberRangeSetError:Oa,stringRangeError:Aa,attachmentMaxSize:wa,pleaseEnterTotalScoreSetting:Sa,theTotalScoreMustNotBeLessThan1:Ra,scoreDefaultValueRange:Pa,attachmentLimitError:Ca,PleaseReselectTheOptionalQuantity:Ba,TheMaximumLengthIsGreaterThanTheMinimumLength:Da,TheMinimumLengthIsGreaterThanTheMaximumLength:Ta,PleaseSelectTheCorrectOptionSettings:$a,optionIdIsRepeat:ka,optionIsRequired:Fa,pleaseEnterDataCode:Na,pleaseEnterValueFieldCode:La,pleaseEnterSvcCode:Ma,pleaseBindAtLeastOneDisplayValue:xa,pleaseSelectProvince:ja,pleaseSelectCity:Ha,pleaseSelectDistrict:Ua,limitRowsCannotBeLessThan0:Va,TheNumberOfRowsCannotBeLessThanMinRows:qa,pleaseEnterColumnWidth:za,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wa,pleaseCompleteAllRulesAndConditions:Ka,pleaseSelectControl:Ga,pleaseSelectDashboard:Xa,theViewNameCannotBeEmpty:Qa,pleaseSelectOcrType:Ja,pleaseSelectAtLeastOneFieldToFillIn:Za,pleaseChooseAtLeastOne:Ya,pleaseEnterButtonContent:el,pleaseEnterDataCodeInDataSetting:tl,pleaseEnterValueFieldCodeInDataSetting:nl,pleaseEnterSvcCodeInDataSetting:rl,pleaseBindAtLeastOneDisplayValueInDataSetting:il,rootNodeIsRequiredInDataSetting:ul,pleaseEnterMaxHeight:ol,pleaseEnter:al,pleaseEnterWatermark:ll,pleaseEnterFileName:sl,pleaseUploadAtLeastOnePrintTemplate:cl,pleaseAssignBusiness:fl,pleaseAssignExternal:dl},pl={zhCN:Wu,enUS:ra,jaJP:yl},zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(zn||(zn={}));var Wn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Wn||(Wn={}));var vl="zh-CN";function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Kn||(Kn={}));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.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(v||(v={}));var f;(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"})(f||(f={}));var D;D={},$(D,f.ARRAY,v.ARRAY_COLUMN),$(D,f.AUTO_NUMBER,v.AUTO_NUMBER_COLUMN),$(D,f.DECIMAL,v.DECIMAL_COLUMN),$(D,f.DEPARTMENTS,v.DEPARTMENT_COLUMN),$(D,f.FILE,v.FILE_COLUMN),$(D,f.IMAGE,v.IMAGE_COLUMN),$(D,f.ADDRESS,v.LOCATION_COLUMN),$(D,f.EMPLOYEES,v.EMPLOYEE_COLUMN),$(D,f.TEXT,v.TEXT_COLUMN),$(D,f.TIMESCOPE,v.TIMESCOPE_COLUMN),$(D,f.TIMESTAMP,v.TIMESTAMP_COLUMN),$(D,f.VARCHAR,v.VARCHAR_COLUMN),$(D,f.RELATION,v.VARCHAR_COLUMN);var Gn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(Gn||(Gn={}));var Xn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",hl=Xn+"0123456789";function ae(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Xn:hl,u=Math.random()*n.length;t+=n[parseInt(String(u),10)]}return t}function _t(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bl(e){if(Array.isArray(e))return _t(e)}function _l(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ml(){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 Ee(e,t,r){return ml()?Ee=Reflect.construct:Ee=function(u,o,a){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(u,s),y=new c;return a&&se(y,a.prototype),y},Ee.apply(null,arguments)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},le(e)}function Jn(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&&se(e,t)}function gl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function El(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Il(){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 Ol(e,t){return t&&(Al(t)==="object"||typeof t=="function")?t:_l(e)}function se(e,t){return se=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},se(e,t)}function Zn(e){return bl(e)||El(e)||wl(e)||Il()}var Al=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wl(e,t){if(!!e){if(typeof e=="string")return _t(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _t(e,t)}}function mt(e){var t=typeof Map=="function"?new Map:void 0;return mt=function(n){if(n===null||!gl(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,u)}function u(){return Ee(n,arguments,le(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),se(u,n)},mt(e)}function Sl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yn(e){var t=Sl();return function(){var n=le(e),u;if(t){var o=le(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Ol(this,u)}}var gt=console;function Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,u=t.slice(1);(n=gt).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Zn(u)))}function Ie(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,u=t.slice(1);(n=gt).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Zn(u)))}function Pl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Et=function(e){Jn(r,e);var t=Yn(r);function r(n){Qn(this,r);var u;return u=t.call(this,n),u.name="\u{1F4A5} Driven Error",u.message=n?Pl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return r}(mt(Error)),Cl=function(e){Jn(r,e);var t=Yn(r);function r(n){Qn(this,r);var u;return u=t.call(this,n),u.name="\u{1F6A8} Driven Reference Error",u}return r}(Et);function er(e){throw new Et(e)}function tr(e){throw new Cl(e)}function Bl(e){gt.error(new Et(e))}var Dl=Object.prototype.toString;function nr(e,t){return Dl.call(e)==="[object "+t+"]"}function Tl(e){return nr(e,"String")}function $l(e){return nr(e,"Promise")}var kl=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();$l(n)?n.then(function(u){r._messageCache.clear(),r.messages[r.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var u=this.getMessage(t);return u?this.formatMessage(u,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(u,o,a,s){if(u!==void 0){var c=u[o];if(!(a===s.length-1&&!Tl(c)))return c}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,u){var o=r[u];return o!==void 0?String(o):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},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 Fl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var I=function(){function e(){Fl(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vl;return new kl({locale:r,messages:pl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();I.$i18n=I.resetI18n();function Nl(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return n.reduce(function(o,a,s,c){var y=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){Rl("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===c.length-1&&!Object.is(y[a],r)&&(y[a]=r,u=!0),y[a]}},e),u}var Ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},It={exports:{}};(function(e){(function(t){var r=function(p,_,C){if(!y(_)||h(_)||b(_)||E(_)||c(_))return _;var g,S=0,x=0;if(d(_))for(g=[],x=_.length;S<x;S++)g.push(r(p,_[S],C));else{g={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&(g[p(R,C)]=r(p,_[R],C))}return g},n=function(p,_){_=_||{};var C=_.separator||"_",g=_.split||/(?=[A-Z])/;return p.split(g).join(C)},u=function(p){return A(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(_,C){return C?C.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var _=u(p);return _.substr(0,1).toUpperCase()+_.substr(1)},a=function(p,_){return n(p,_).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},y=function(p){return p===Object(p)},d=function(p){return s.call(p)=="[object Array]"},h=function(p){return s.call(p)=="[object Date]"},b=function(p){return s.call(p)=="[object RegExp]"},E=function(p){return s.call(p)=="[object Boolean]"},A=function(p){return p=p-0,p===p},m=function(p,_){var C=_&&"process"in _?_.process:_;return typeof C!="function"?p:function(g,S){return C(g,p,S)}},w={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(p,_){return r(m(u,_),p)},decamelizeKeys:function(p,_){return r(m(a,_),p,_)},pascalizeKeys:function(p,_){return r(m(o,_),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(Ll)})(It);function G(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function T(e){return rr(e)&&"zh"in e}function rr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ml(e){return Array.isArray(e)}function J(e){return isNaN(parseFloat(e))?"":Number(e)}function xl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function N(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var u=n;return Array.isArray(n==null?void 0:n.children)&&(u.children=N(n.children,t)),t(u)})),r}function jl(e){return It.exports.camelizeKeys(e)}function Z(e){return It.exports.decamelizeKeys(e)}function Ot(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hl(e){if(Array.isArray(e))return Ot(e)}function ir(e,t,r,n,u,o,a){try{var s=e[o](a),c=s.value}catch(y){r(y);return}s.done?t(c):Promise.resolve(c).then(n,u)}function Ul(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(c){ir(o,n,u,a,s,"next",c)}function s(c){ir(o,n,u,a,s,"throw",c)}a(void 0)})}}function Vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ql(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zl(){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 At(e){return Hl(e)||ql(e)||Wl(e)||zl()}function Wl(e,t){if(!!e){if(typeof e=="string")return Ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ot(e,t)}}var Kl=function(){function e(){Vl(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var u=arguments.length,o=new Array(u>1?u-1:0),a=1;a<u;a++)o[a-1]=arguments[a];var s=this;return Ul(L.default.mark(function c(){var y,d,h,b,E,A,m,w,p,_;return L.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(y=s._events.get(n),d=[],!y){g.next=42;break}h=y.slice(),b=!0,E=!1,A=void 0,g.prev=5,m=h[Symbol.iterator]();case 7:if(b=(w=m.next()).done){g.next=28;break}if(p=w.value,y.includes(p)){g.next=11;break}return g.abrupt("continue",25);case 11:return g.prev=11,s.debug&&Ie.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(At(o))),g.next=15,p.apply(null,At(o));case 15:if(_=g.sent,s.debug&&Ie.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(At(o),[_])),d.push(_),_!==!1){g.next=20;break}return g.abrupt("break",28);case 20:g.next=25;break;case 22:g.prev=22,g.t0=g.catch(11),Bl(String(g.t0));case 25:b=!0,g.next=7;break;case 28:g.next=34;break;case 30:g.prev=30,g.t1=g.catch(5),E=!0,A=g.t1;case 34:g.prev=34,g.prev=35,!b&&m.return!=null&&m.return();case 37:if(g.prev=37,!E){g.next=40;break}throw A;case 40:return g.finish(37);case 41:return g.finish(34);case 42:return g.abrupt("return",d);case 43:case"end":return g.stop()}},c,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},t.on=function(n,u){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(u)}else this._events.set(n,[u])},t.off=function(n,u){if(this._events.has(n)){var o=this._events.get(n),a=o==null?void 0:o.indexOf(u);o==null||o.splice(a,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),Gl=[];new Set(Gl.map(function(e){return e.Designer.controlType}));function ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function or(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&&wt(e,t)}function ar(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Xl(e,t){return t&&(Ql(t)==="object"||typeof t=="function")?t:ur(e)}function wt(e,t){return wt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},wt(e,t)}var Ql=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lr(e){var t=Jl();return function(){var n=Oe(e),u;if(t){var o=Oe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Xl(this,u)}}var Ae=function e(t){B(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:""},sr=function e(t){B(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},Zl=function e(t){B(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:f.VARCHAR},Yl=function(e){or(r,e);var t=lr(r);function r(n){B(this,r);var u;u=t.call(this,n);var o;u.title=(o=n==null?void 0:n.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=n==null?void 0:n.isOpenFilter)!==null&&s!==void 0?s:!1;var c;return u.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],u}return r}(sr),es=function e(t){B(this,e);var r,n;this.type="sublist-page",this.formBind=new sr(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(a){return new Zl(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(a){return new Yl(a)}))!==null&&o!==void 0?o:[]},ts=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ns=function e(t){B(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},rs=function e(t){var r=this;B(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ae();var u;this.ruleId=(u=t==null?void 0:t.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var o;this.level=(o=t==null?void 0:t.level)!==null&&o!==void 0?o:0;var a;this.value=(a=t==null?void 0:t.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(s){if(s.children!==void 0){var c,y=new e(s);(c=r.children)===null||c===void 0||c.push(y)}else{var d,h=new cr(s);(d=r.children)===null||d===void 0||d.push(h)}}))},cr=function e(t){B(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ae();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new ts(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ns(t==null?void 0:t.rightVariableBo)},is=function e(t){B(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},us=function e(t){B(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},os=function e(t){B(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function fr(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(a){return a.children!==void 0?new rs(a):new cr(a)}))!==null&&r!==void 0?r:[],ar(this,ce)||ar(this,ls)){var n,u,o;this.orders=(o=(n=e)===null||n===void 0||(u=n.orders)===null||u===void 0?void 0:u.map(function(a){return new os(a)}))!==null&&o!==void 0?o:[]}}var ce=function e(t){var r=this;B(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:"";var o;this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(c){var y;(y=r.displayBoList)===null||y===void 0||y.push(new us(c))}));var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",fr.call(this,t)},as=function e(t){B(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:"";var o;this.fillList=(o=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(a){return new is(a)}))!==null&&o!==void 0?o:[]},ls=function(e){or(r,e);var t=lr(r);function r(n){B(this,r);var u;return u=t.call(this,n),fr.call(ur(u),n),u}return r}(as),ss=function e(t){B(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var u;this.errMessage=(u=t==null?void 0:t.errMessage)!==null&&u!==void 0?u:""},dr;(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"})(dr||(dr={}));var l;(function(e){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.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(l||(l={}));var St;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(St||(St={}));var fe=function e(t){B(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ae(8);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var u;this.isShow=(u=t==null?void 0:t.isShow)!==null&&u!==void 0?u:!0,this.invalidType=t==null?void 0:t.invalidType,this.condition=t==null?void 0:t.condition;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var a;this.formKey=(a=t==null?void 0:t.formKey)!==null&&a!==void 0?a:"",this.icon=t==null?void 0:t.icon,this.showType=t==null?void 0:t.showType;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage},cs=function e(t){B(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";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 fs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ds(){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 we(e,t,r){return ds()?we=Reflect.construct:we=function(u,o,a){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(u,s),y=new c;return a&&ye(y,a.prototype),y},we.apply(null,arguments)}function de(e){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},de(e)}function ys(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&&ye(e,t)}function ps(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function vs(e,t){return t&&(hs(t)==="object"||typeof t=="function")?t:fs(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ye(e,t)}var hs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pt(e){var t=typeof Map=="function"?new Map:void 0;return Pt=function(n){if(n===null||!ps(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,u)}function u(){return we(n,arguments,de(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ye(u,n)},Pt(e)}function bs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _s(e){var t=bs();return function(){var n=de(e),u;if(t){var o=de(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return vs(this,u)}}var pe=function e(t){Rt(this,e),this.isHide={type:"boolean"}},Se=function(e){ys(r,e);var t=_s(r);function r(n){return Rt(this,r),t.call(this)}return r}(Pt(Array)),H=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Rt(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new cs(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:r};H.Rules=pe,H.RuntimeRules=Se;function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},M.apply(this,arguments)}function ms(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ct(e)}function Re(e,t){return Re=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Re(e,t)}function gs(){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 Pe(e,t,r){return gs()?Pe=Reflect.construct:Pe=function(u,o,a){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(u,s),y=new c;return a&&Re(y,a.prototype),y},Pe.apply(null,arguments)}function Es(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(n){if(n===null||!Es(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,u)}function u(){return Pe(n,arguments,Ct(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Re(u,n)},Bt(e)}var Is=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Dt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function k(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(Is,function(s){if(s==="%%")return"%";if(n>=o)return s;switch(s){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(c){return"[Circular]"}break;default:return s}});return a}return u}function Os(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function P(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Os(t)&&typeof e=="string"&&!e)}function As(e,t,r){var n=[],u=0,o=e.length;function a(s){n.push.apply(n,s),u++,u===o&&r(n)}e.forEach(function(s){t(s,a)})}function pr(e,t,r){var n=0,u=e.length;function o(a){if(a&&a.length){r(a);return}var s=n;n=n+1,s<u?t(e[s],o):r([])}o([])}function ws(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var vr=function(e){ms(t,e);function t(r,n){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=r,u.fields=n,u}return t}(Bt(Error));function Ss(e,t,r,n){if(t.first){var u=new Promise(function(h,b){var E=function(w){return n(w),w.length?b(new vr(w,Dt(w))):h()},A=ws(e);pr(A,r,E)});return u.catch(function(h){return h}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,c=0,y=[],d=new Promise(function(h,b){var E=function(m){if(y.push.apply(y,m),c++,c===s)return n(y),y.length?b(new vr(y,Dt(y))):h()};a.length||(n(y),h()),a.forEach(function(A){var m=e[A];o.indexOf(A)!==-1?pr(m,r,E):As(m,r,E)})});return d.catch(function(h){return h}),d}function hr(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 br(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=M(M({},e[r]),n):e[r]=n}}return e}function _r(e,t,r,n,u,o){e.required&&(!r.hasOwnProperty(e.field)||P(t,o||e.type))&&n.push(k(u.messages.required,e.fullField))}function Rs(e,t,r,n,u){(/^\s+$/.test(t)||t==="")&&n.push(k(u.messages.whitespace,e.fullField))}var Tt={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},ve={integer:function(t){return ve.number(t)&&parseInt(t,10)===t},float:function(t){return ve.number(t)&&!ve.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){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"&&!ve.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Tt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Tt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Tt.hex)}};function Ps(e,t,r,n,u){if(e.required&&t===void 0){_r(e,t,r,n,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?ve[a](t)||n.push(k(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(k(u.messages.types[a],e.fullField,e.type))}function Cs(e,t,r,n,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y=t,d=null,h=typeof t=="number",b=typeof t=="string",E=Array.isArray(t);if(h?d="number":b?d="string":E&&(d="array"),!d)return!1;E&&(y=t.length),b&&(y=t.replace(c,"_").length),o?y!==e.len&&n.push(k(u.messages[d].len,e.fullField,e.len)):a&&!s&&y<e.min?n.push(k(u.messages[d].min,e.fullField,e.min)):s&&!a&&y>e.max?n.push(k(u.messages[d].max,e.fullField,e.max)):a&&s&&(y<e.min||y>e.max)&&n.push(k(u.messages[d].range,e.fullField,e.min,e.max))}var Y="enum";function Bs(e,t,r,n,u){e[Y]=Array.isArray(e[Y])?e[Y]:[],e[Y].indexOf(t)===-1&&n.push(k(u.messages[Y],e.fullField,e[Y].join(", ")))}function Ds(e,t,r,n,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(k(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||n.push(k(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var O={required:_r,whitespace:Rs,type:Ps,range:Cs,enum:Bs,pattern:Ds};function Ts(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t,"string")&&!e.required)return r();O.required(e,t,n,o,u,"string"),P(t,"string")||(O.type(e,t,n,o,u),O.range(e,t,n,o,u),O.pattern(e,t,n,o,u),e.whitespace===!0&&O.whitespace(e,t,n,o,u))}r(o)}function $s(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&O.type(e,t,n,o,u)}r(o)}function ks(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&(O.type(e,t,n,o,u),O.range(e,t,n,o,u))}r(o)}function Fs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&O.type(e,t,n,o,u)}r(o)}function Ns(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),P(t)||O.type(e,t,n,o,u)}r(o)}function Ls(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&(O.type(e,t,n,o,u),O.range(e,t,n,o,u))}r(o)}function Ms(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&(O.type(e,t,n,o,u),O.range(e,t,n,o,u))}r(o)}function xs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return r();O.required(e,t,n,o,u,"array"),t!=null&&(O.type(e,t,n,o,u),O.range(e,t,n,o,u))}r(o)}function js(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&O.type(e,t,n,o,u)}r(o)}var Hs="enum";function Us(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u),t!==void 0&&O[Hs](e,t,n,o,u)}r(o)}function Vs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t,"string")&&!e.required)return r();O.required(e,t,n,o,u),P(t,"string")||O.pattern(e,t,n,o,u)}r(o)}function qs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t,"date")&&!e.required)return r();if(O.required(e,t,n,o,u),!P(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),O.type(e,s,n,o,u),s&&O.range(e,s.getTime(),n,o,u)}}r(o)}function zs(e,t,r,n,u){var o=[],a=Array.isArray(t)?"array":typeof t;O.required(e,t,n,o,u,a),r(o)}function $t(e,t,r,n,u){var o=e.type,a=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(P(t,o)&&!e.required)return r();O.required(e,t,n,a,u,o),P(t,o)||O.type(e,t,n,a,u)}r(a)}function Ws(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return r();O.required(e,t,n,o,u)}r(o)}var he={string:Ts,method:$s,number:ks,boolean:Fs,regexp:Ns,integer:Ls,float:Ms,array:xs,object:js,enum:Us,pattern:Vs,date:qs,url:$t,hex:$t,email:$t,required:zs,any:Ws};function kt(){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 Ft=kt();function U(e){this.rules=null,this._messages=Ft,this.define(e)}U.prototype={messages:function(t){return t&&(this._messages=br(kt(),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 r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var u=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,a=r,s=n;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(m){var w,p=[],_={};function C(g){if(Array.isArray(g)){var S;p=(S=p).concat.apply(S,g)}else p.push(g)}for(w=0;w<m.length;w++)C(m[w]);p.length?_=Dt(p):(p=null,_=null),s(p,_)}if(a.messages){var y=this.messages();y===Ft&&(y=kt()),br(y,a.messages),a.messages=y}else a.messages=this.messages();var d,h,b={},E=a.keys||Object.keys(this.rules);E.forEach(function(m){d=u.rules[m],h=o[m],d.forEach(function(w){var p=w;typeof p.transform=="function"&&(o===t&&(o=M({},o)),h=o[m]=p.transform(h)),typeof p=="function"?p={validator:p}:p=M({},p),p.validator=u.getValidationMethod(p),p.field=m,p.fullField=p.fullField||m,p.type=u.getType(p),p.validator&&(b[m]=b[m]||[],b[m].push({rule:p,value:h,source:o,field:m}))})});var A={};return Ss(b,a,function(m,w){var p=m.rule,_=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");_=_&&(p.required||!p.required&&m.value),p.field=m.field;function C(x,R){return M(M({},R),{},{fullField:p.fullField+"."+x})}function g(x){x===void 0&&(x=[]);var R=x;if(Array.isArray(R)||(R=[R]),!a.suppressWarning&&R.length&&U.warning("async-validator:",R),R.length&&p.message!==void 0&&(R=[].concat(p.message)),R=R.map(hr(p)),a.first&&R.length)return A[p.field]=1,w(R);if(!_)w(R);else{if(p.required&&!m.value)return p.message!==void 0?R=[].concat(p.message).map(hr(p)):a.error&&(R=[a.error(p,k(a.messages.required,p.field))]),w(R);var j={};if(p.defaultField)for(var Di in m.value)m.value.hasOwnProperty(Di)&&(j[Di]=p.defaultField);j=M(M({},j),m.rule.fields);for(var ie in j)if(j.hasOwnProperty(ie)){var lh=Array.isArray(j[ie])?j[ie]:[j[ie]];j[ie]=lh.map(C.bind(null,ie))}var Ti=new U(j);Ti.messages(a.messages),m.rule.options&&(m.rule.options.messages=a.messages,m.rule.options.error=a.error),Ti.validate(m.value,m.rule.options||a,function(qn){var ue=[];R&&R.length&&ue.push.apply(ue,R),qn&&qn.length&&ue.push.apply(ue,qn),w(ue.length?ue:null)})}}var S;p.asyncValidator?S=p.asyncValidator(p,m.value,g,m.source,a):p.validator&&(S=p.validator(p,m.value,g,m.source,a),S===!0?g():S===!1?g(p.message||p.field+" fails"):S instanceof Array?g(S):S instanceof Error&&g(S.message)),S&&S.then&&S.then(function(){return g()},function(x){return g(x)})},function(m){c(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!he.hasOwnProperty(t.type))throw new Error(k("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?he.required:he[this.getType(t)]||!1}},U.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");he[t]=r},U.warning=yr,U.messages=Ft,U.validators=he;var Ks={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 Gs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new U(e);return r.messages(Object.assign(Ks,t)),r}var Xs=new Kl;function Nt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qs(e){if(Array.isArray(e))return e}function Js(e){if(Array.isArray(e))return Nt(e)}function mr(e,t,r,n,u,o,a){try{var s=e[o](a),c=s.value}catch(y){r(y);return}s.done?t(c):Promise.resolve(c).then(n,u)}function gr(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(c){mr(o,n,u,a,s,"next",c)}function s(c){mr(o,n,u,a,s,"throw",c)}a(void 0)})}}function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ys(e,t,r){return t&&Er(e.prototype,t),r&&Er(e,r),e}function ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ir(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Or(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tc(){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 nc(){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 Ar(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable}))),n.forEach(function(u){ec(e,u,r[u])})}return e}function rc(e){return Qs(e)||Or(e)||wr(e,i)||tc()}function Lt(e){return Js(e)||Or(e)||wr(e)||nc()}function wr(e,t){if(!!e){if(typeof e=="string")return Nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nt(e,t)}}var F=function(){function t(n){var u=this;Zs(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Rr,this.removeSetting=Sr,this._callControlHooks("preInstance",n);var o=Ir(this,t)?this.constructor:void 0,a=o.controlName,s=o.controlIcon,c=o.controlType,y=o.controlFieldType,d=o.controlEventKeys,h=o.controlCustomEvents,b=o.name,E=o.setting;a&&s&&c||tr("The ".concat(b," controlName,controlIcon,controlType is not define"));var A;this.id=(A=n==null?void 0:n.id)!==null&&A!==void 0?A:ae(10),this.name=a,this.icon=s;var m;this.type=(m=n==null?void 0:n.type)!==null&&m!==void 0?m:c,this.props=new H(n==null?void 0:n.props,(Ir(this,t)?this.constructor:void 0).controlName);var w;this.controlType=(w=n==null?void 0:n.controlType)!==null&&w!==void 0?w:"base",this.setting=G(E);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:y,this.eventKeys=G(d),this.customEvents=G(h),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var u=arguments.length,o=new Array(u),a=0;a<u;a++)o[a]=arguments[a];var s,c=rc(o),y=c[0],d=c.slice(1);return(s=Xs).emit.apply(s,[y,this].concat(Lt(d)))},r.preUpdate=function(u,o){this._callControlHooks("preUpdateProps",u,o)},r.postUpdate=function(u,o){this._callControlHooks("postUpdateProps",u,o)},r.updateProps=function(u,o){this.preUpdate(u,o),Nl(this.props,u,o),this.postUpdate(u,o)},r.preValidate=function(){var u=this;return gr(L.default.mark(function o(){var a,s,c;return L.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return a=Ar({},u.rules),d.next=3,u._callControlHooks("preValidate",a);case 3:return s=d.sent,c=s[s.length-1],d.abrupt("return",c===!1?void 0:c);case 6:case"end":return d.stop()}},o)}))()},r.validate=function(u,o){var a=this;return gr(L.default.mark(function s(){var c,y,d;return L.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.preValidate();case 2:return c=b.sent,y=c!==void 0?c:Ar({},a.rules),Array.isArray(o)&&o.forEach(function(E){y.hasOwnProperty(E)&&delete y[E]}),d=Gs(y,u),b.prev=6,b.next=9,d.validate(a.props);case 9:return b.abrupt("return",!0);case 12:throw b.prev=12,b.t0=b.catch(6),b.t0.control||(b.t0.control=a),b.t0;case 16:case"end":return b.stop()}},s,null,[[6,12]])}))()},r.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,a=this.id,s=this.type,c=this.props,y=c.dataBind,d=c.datasourceBind,h=c.optionConfig,b=c.caption,E=c.required,A=c.maxLength,m=c.options,w=c.encrypted,p=c.encryptedMode;if(!(!o&&!y&&!d)){var _={parentId:u,fieldType:o,controlId:a,caption:b,type:s,props:{}};switch(y&&(_.dataBind=y),h){case"datasource":case void 0:d&&(_.datasourceBind=d);break;case"custom":_.props.options=m;break}return E!==void 0&&(_.required=E),A!==void 0&&(_.maxLength=A),w!==void 0&&(_.encrypted=w),p!==void 0&&(_.encryptedMode=p),_}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:G(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(u,o){if(u==="setting"){if(o.add){var a;(a=this.setting).push.apply(a,Lt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},Ys(t,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),t}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=Sr,F.updateSettingItem=Rr;function Sr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var u=typeof n!="string",o=t.setting.findIndex(function(c){return c.key===(u?n.key:n)});if(o!==-1){var a,s;u?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(c){return!n.hideItems.includes(c)}):t.setting.splice(o,1),u&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function Rr(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(u){var o=r.setting.find(function(y){return y.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var c;(c=o.showItems).push.apply(c,Lt(t.showItems))}}}})}function ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uc(e,t,r){return t&&Pr(e.prototype,t),r&&Pr(e,r),e}function oc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var be=function(){function t(r){ic(this,t),this.customEvents=[],this.parent=null;var n=oc(this,t)?this.constructor:void 0,u=n.controlType,o=n.controlFieldType,a=n.name,s=n.controlCustomEvents;u||tr("The ".concat(a," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:ae(10);var y;this.type=(y=r==null?void 0:r.type)!==null&&y!==void 0?y:u,this.props=new H(r==null?void 0:r.props),this.customEvents=s;var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base";var h;this.fieldType=(h=r==null?void 0:r.fieldType)!==null&&h!==void 0?h:o;var b;this.pageStatus=(b=r==null?void 0:r.pageStatus)!==null&&b!==void 0?b:St.UNKNOWN}return uc(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),t}();be.controlType="control",be.__is_control__=!0,be.controlCustomEvents=[];function ac(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:I.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:I.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:I.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,u){n.length===0&&u(I.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(r,n,u){var o=n.map(function(s){return s.value}),a=xl(o);o.length!==a.length?u(I.getMessage("optionIdIsRepeat")):u()},message:I.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:I.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:I.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:I.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:I.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:I.getMessage("isNotArray")},{type:"array",validator:function(r,n,u){n.length===0&&u(I.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:I.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:I.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:I.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:I.getMessage("isNotBoolean")}}}}]}}])}function lc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function xt(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 sc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cc(e,t){return t&&(fc(t)==="object"||typeof t=="function")?t:lc(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},jt(e,t)}var fc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ht(e){var t=dc();return function(){var n=Ce(e),u;if(t){var o=Ce(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return cc(this,u)}}var Ut=function(e){xt(r,e);var t=Ht(r);function r(n){Mt(this,r);var u;u=t.call(this,n),u.dataBind={},u.caption={type:"string",required:!0,message:I.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:I.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:I.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:I.getMessage("pleaseEnterFieldCode")}};if(sc(n.dataBind,Ae))u.dataBind={type:"object",required:!0,fields:G(o),message:I.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:I.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){a.fields[s]={type:"object",required:!0,fields:G(o),message:I.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return n.isShowCaptionTip&&(u.captionTip.required=!0),u}return r}(pe),Vt=function(e){xt(r,e);var t=Ht(r);function r(n){Mt(this,r);var u;return u=t.call(this,n),u.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:I.getMessage("runtimeRequired",{caption:n.caption})}),u}return r}(Se),ee=function(e){xt(r,e);var t=Ht(r);function r(n){Mt(this,r);var u;u=t.call(this,n);var o;u.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var a;u.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var c;u.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var y;u.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var d;u.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var h;u.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"";var b;u.required=(b=n==null?void 0:n.required)!==null&&b!==void 0?b:!1;var E;u.requiredMessage=(E=n==null?void 0:n.requiredMessage)!==null&&E!==void 0?E:"",u.dataBind=new Ae(n==null?void 0:n.dataBind);var A;return u.defaultValue=(A=n==null?void 0:n.defaultValue)!==null&&A!==void 0?A:"",u}return r}(H);ee.Rules=Ut,ee.RuntimeRules=Vt;function yc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function vc(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 hc(e,t){return t&&(bc(t)==="object"||typeof t=="function")?t:yc(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},qt(e,t)}var bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _c(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mc(e){var t=_c();return function(){var n=Be(e),u;if(t){var o=Be(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return hc(this,u)}}var zt=function(e){vc(r,e);var t=mc(r);function r(n){pc(this,r);var u;return u=t.call(this,n),u.controlType="form",u.props=new ee(n==null?void 0:n.props),u}return r}(F);zt.controlEventKeys=["on_change","on_focus","on_blur"];function gc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(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&&Wt(e,t)}function Oc(e,t){return t&&(Ac(t)==="object"||typeof t=="function")?t:gc(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Wt(e,t)}var Ac=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sc(e){var t=wc();return function(){var n=De(e),u;if(t){var o=De(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Oc(this,u)}}var Rc=function(e){Ic(r,e);var t=Sc(r);function r(n){Ec(this,r);var u;return u=t.call(this,n),u.controlType="form",u.props=new ee(n==null?void 0:n.props),u}return r}(be);function Pc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cc(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(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function Bc(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 Dc(e,t){return t&&(Tc(t)==="object"||typeof t=="function")?t:Pc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Kt(e,t)}var Tc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $c(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kc(e){var t=$c();return function(){var n=Te(e),u;if(t){var o=Te(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Dc(this,u)}}var V=function(e){Bc(r,e);var t=kc(r);function r(n){return Cc(this,r),t.call(this,n)}return r}(H);function Gt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fc(e){if(Array.isArray(e))return Gt(e)}function Nc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lc(){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 Cr(e){return Fc(e)||Nc(e)||Mc(e)||Lc()}function Mc(e,t){if(!!e){if(typeof e=="string")return Gt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gt(e,t)}}function xc(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Br(e,t){e.parent=t,xc(e,"parent")}function jc(e,t){e.forEach(function(r){Br(r,t)})}var Dr=Symbol("targetKey");function Tr(e){var t;return(t=e[Dr])!==null&&t!==void 0?t:e}function $r(e,t){return jc(e,t),new Proxy(e,{get:function(n,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var c;return u===Dr?n:(c=Reflect).get.apply(c,[n,u].concat(Cr(a)))},set:function(n,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];var y;if(Ml(e)&&u==="length"&&o===e.length)return!0;var d=(y=Reflect).set.apply(y,[n,u,o].concat(Cr(s)));return rr(o)&&Br(o,t),d}})}function Xt(e,t,r,n){var u=n!=null?n:e,o=$r(Tr(r!=null?r:[]),u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=$r(Tr(s),u)},enumerable:!0})}function Qt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hc(e){if(Array.isArray(e))return Qt(e)}function kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fr(e,t,r,n,u,o,a){try{var s=e[o](a),c=s.value}catch(y){r(y);return}s.done?t(c):Promise.resolve(c).then(n,u)}function Uc(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(c){Fr(o,n,u,a,s,"next",c)}function s(c){Fr(o,n,u,a,s,"throw",c)}a(void 0)})}}function Vc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(u,o,a){var s=Yc(u,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(a):c.value}},te(e,t,r||e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q(e)}function zc(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 Wc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gc(){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 Xc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable}))),n.forEach(function(u){qc(e,u,r[u])})}return e}function Qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),r.push.apply(r,n)}return r}function Jc(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qc(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Zc(e,t){return t&&(ef(t)==="object"||typeof t=="function")?t:kr(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Jt(e,t)}function Yc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=q(e),e!==null););return e}function Nr(e){return Hc(e)||Kc(e)||tf(e)||Gc()}var ef=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tf(e,t){if(!!e){if(typeof e=="string")return Qt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qt(e,t)}}function nf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rf(e){var t=nf();return function(){var n=q(e),u;if(t){var o=q(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Zc(this,u)}}var uf=1e4,X=function(t){zc(n,t);var r=rf(n);function n(o){Vc(this,n);var a;a=r.call(this,o),a.controlType="layout";var s=Wc(this,n)?this.constructor:void 0,c=s.excludes,y=s.childrenMaxLength;return a.props=new V(o==null?void 0:o.props),Xt(kr(a),"children",o==null?void 0:o.children),a.excludes=G(c),a.childrenMaxLength=y,a}var u=n.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var s=this.judgeExcludesChildren(a);return s&&this.childrenMaxLength>this.children.length},u.validate=function(a,s){var c=this,y=this,d=function(){return te(q(n.prototype),"validate",c)};return Uc(L.default.mark(function h(){return L.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,d().call(y,a,s);case 2:return E.next=4,Promise.all(y.children.map(function(A){return A.validate(a,s)}));case 4:return E.abrupt("return",!0);case 5:case"end":return E.stop()}},h)}))()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=te(q(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(y,d){var h=d.toDataBindModel(a);if(Array.isArray(h)){var b=h.filter(function(E){return!!E});return Nr(y).concat(Nr(b))}return h&&y.push(h),y},c)},u.toSchema=function(){var a=te(q(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var y=c.toSchema();return y});return Jc(Xc({},a),{children:s})},n}(F);X.excludes=!1,X.childrenMaxLength=uf;function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function af(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 lf(e,t){return t&&(sf(t)==="object"||typeof t=="function")?t:Lr(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Zt(e,t)}var sf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ff(e){var t=cf();return function(){var n=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return lf(this,u)}}var _e=function(e){af(r,e);var t=ff(r);function r(n){of(this,r);var u;return u=t.call(this,n),u.controlType="layout",u.props=new V(n==null?void 0:n.props),Xt(Lr(u),"children",n==null?void 0:n.children),u}return r}(be);function Mr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function df(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(e)}function yf(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 pf(e,t){return t&&(vf(t)==="object"||typeof t=="function")?t:Mr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yt(e,t)}var vf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bf(e){var t=hf();return function(){var n=ke(e),u;if(t){var o=ke(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return pf(this,u)}}var _f=function(e){yf(r,e);var t=bf(r);function r(n,u){df(this,r);var o;return o=t.call(this,u),Xt(Mr(o),"headers",u==null?void 0:u.headers,n),o}return r}(H);function en(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mf(e){if(Array.isArray(e))return en(e)}function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jr(e,t,r,n,u,o,a){try{var s=e[o](a),c=s.value}catch(y){r(y);return}s.done?t(c):Promise.resolve(c).then(n,u)}function gf(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(c){jr(o,n,u,a,s,"next",c)}function s(c){jr(o,n,u,a,s,"throw",c)}a(void 0)})}}function Ef(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ne=Reflect.get:ne=function(u,o,a){var s=Pf(u,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(a):c.value}},ne(e,t,r||e)}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},z(e)}function Of(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 Af(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wf(){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 Hr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable}))),n.forEach(function(u){If(e,u,r[u])})}return e}function Sf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),r.push.apply(r,n)}return r}function Ur(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Rf(e,t){return t&&(Cf(t)==="object"||typeof t=="function")?t:xr(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},tn(e,t)}function Pf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=z(e),e!==null););return e}function Vr(e){return mf(e)||Af(e)||Bf(e)||wf()}var Cf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bf(e,t){if(!!e){if(typeof e=="string")return en(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return en(e,t)}}function Df(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tf(e){var t=Df();return function(){var n=z(e),u;if(t){var o=z(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Rf(this,u)}}var $f=function(e){Of(r,e);var t=Tf(r);function r(u){Ef(this,r);var o;return o=t.call(this,u),o.controlType="list",o.props=new _f(xr(o),u==null?void 0:u.props),o}var n=r.prototype;return n.validate=function(o,a){var s=this,c=this,y=function(){return ne(z(r.prototype),"validate",s)};return gf(L.default.mark(function d(){return L.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,y().call(c,o);case 2:return b.next=4,Promise.all(c.props.headers.map(function(E){return E.validate(o,a)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},d)}))()},n.toDataBindModel=function(){var o=ne(z(r.prototype),"toDataBindModel",this).call(this),a=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,y){var d=y.toDataBindModel(s);if(Array.isArray(d)){var h=d.filter(function(b){return!!b});return Vr(c).concat(Vr(h))}return d&&c.push(d),c},a)},n.toSchema=function(){var o=ne(z(r.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(s){return s.toSchema()});return Ur(Hr({},o),{props:Ur(Hr({},this.props),{headers:a})})},r}(F);$f.controlFieldType=f.LIST;function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function zr(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 Ff(e,t){return t&&(Nf(t)==="object"||typeof t=="function")?t:kf(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},nn(e,t)}var Nf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wr(e){var t=Lf();return function(){var n=Fe(e),u;if(t){var o=Fe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Ff(this,u)}}var Mf=function(e){zr(r,e);var t=Wr(r);function r(n){qr(this,r);var u;return u=t.call(this,n),u.caption={type:"string",required:!0,message:I.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:I.getMessage("pleaseEnterColumnWidth")},u.width.required=n.widthType==="px",u}return r}(pe),xf=function(e){zr(r,e);var t=Wr(r);function r(n){qr(this,r);var u;u=t.call(this,n);var o;u.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:150,u.widthType=(n==null?void 0:n.widthType)||"auto";var a;u.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var s;u.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:"none",u.dataBind=new Ae(n==null?void 0:n.dataBind);var c;return u.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,u.align=n==null?void 0:n.align,u.colSpan=n==null?void 0:n.colSpan,u}return r}(H);xf.Rules=Mf,l.IS_HIDE,l.IS_HIDE;function jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function Uf(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 Vf(e,t){return t&&(qf(t)==="object"||typeof t=="function")?t:jf(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},rn(e,t)}var qf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wf(e){var t=zf();return function(){var n=Ne(e),u;if(t){var o=Ne(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Vf(this,u)}}var Kf=function(e){Uf(r,e);var t=Wf(r);function r(n){Hf(this,r);var u;u=t.call(this,n);var o;u.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE";var a;u.buttonType=(a=n==null?void 0:n.buttonType)!==null&&a!==void 0?a:"primary";var s;u.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"text";var c;u.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var y;u.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:"iconfenlei2";var d;u.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var h;u.command=(h=n==null?void 0:n.command)!==null&&h!==void 0?h:"custom";var b;return u.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,u}return r}(H);function Gf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qf(e,t,r){return t&&Kr(e.prototype,t),r&&Kr(e,r),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function Jf(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 Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Gf(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},un(e,t)}var Yf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=ed();return function(){var n=Le(e),u;if(t){var o=Le(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Zf(this,u)}}var Gr=function(e){Jf(r,e);var t=td(r);function r(n){Xf(this,r);var u;return u=t.call(this,n),u.props=new Kf(n==null?void 0:n.props),u}return Qf(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Gr.controlEventKeys=["on_click"],Gr.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];var Xr;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar"})(Xr||(Xr={}));var Qr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Qr||(Qr={}));var Jr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Jr||(Jr={}));var Zr;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Zr||(Zr={}));var Yr;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(Yr||(Yr={}));function ei(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ti;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ti||(ti={}));var ni;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(ni||(ni={}));var ri;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ri||(ri={}));var ii;(function(e){e.ALL="all",e.ASSIGN="assign"})(ii||(ii={}));var ui;(function(e){e.ALL="all",e.ADMIN="admin"})(ui||(ui={})),l.IS_HIDE,f.AUTO_NUMBER,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function an(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&&ln(e,t)}function rd(e,t){return t&&(id(t)==="object"||typeof t=="function")?t:nd(e)}function ln(e,t){return ln=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ln(e,t)}var id=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ud(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sn(e){var t=ud();return function(){var n=Me(e),u;if(t){var o=Me(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return rd(this,u)}}var od=function(e){an(r,e);var t=sn(r);function r(n){on(this,r);var u;return u=t.call(this,n),u.maxLength={type:"number",min:0,message:I.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},u.minLength={type:"number",max:200,message:I.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},u.defaultValue=[{type:"string",max:200,min:0,message:I.getMessage("stringRangeError")},{pattern:"",message:""}],u.maxLength.min=n.minLength,u.minLength.max=n.maxLength,u.defaultValue[0].max=n.maxLength,u.defaultValue[0].min=n.minLength,u.defaultValue[0].message=I.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),u.defaultValue[1].pattern=ei(n.regularRules.expression),u.defaultValue[1].message=n.regularRules.errMessage,u}return r}(Ut),ad=function(e){an(r,e);var t=sn(r);function r(n){on(this,r);var u;return u=t.call(this,n),u.push({type:"string",message:I.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:I.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&u.push({pattern:ei(n.regularRules.expression),message:n.regularRules.errMessage}),u}return r}(Vt),cn=function(e){an(r,e);var t=sn(r);function r(n){on(this,r);var u;u=t.call(this,n);var o;u.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:200;var a;u.minLength=(a=n==null?void 0:n.minLength)!==null&&a!==void 0?a:0,u.regularRules=new ss(n==null?void 0:n.regularRules);var s;u.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var c;u.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:je.controlName;var y;u.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165";var d;u.encrypted=(d=n==null?void 0:n.encrypted)!==null&&d!==void 0?d:!1;var h;return u.encryptedMode=(h=n==null?void 0:n.encryptedMode)!==null&&h!==void 0?h:"",u}return r}(ee);cn.Rules=od,cn.RuntimeRules=ad;function ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cd(e,t,r){return t&&oi(e.prototype,t),r&&oi(e,r),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function fd(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&&fn(e,t)}function dd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:ld(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},fn(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vd(e){var t=pd();return function(){var n=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return dd(this,u)}}var je=function(e){fd(r,e);var t=vd(r);function r(n){sd(this,r);var u;return u=t.call(this,n),u.props=new cn(n==null?void 0:n.props),u}return cd(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(zt);je.controlEventKeys=["on_change","on_input","on_focus","on_blur"],je.controlFieldType=f.VARCHAR,je.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.CAPTION,l.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}],f.VARCHAR,f.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.ARRAY,f.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.VARCHAR,f.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,f.DECIMAL,f.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.TIMESTAMP,f.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.TIMESCOPE,f.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.TEXT,f.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.TEXT,f.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,f.VARCHAR,f.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,f.ARRAY,f.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,f.EMPLOYEES;function hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dn(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(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function yn(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&&pn(e,t)}function bd(e,t){return t&&(_d(t)==="object"||typeof t=="function")?t:hd(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pn(e,t)}var _d=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function md(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vn(e){var t=md();return function(){var n=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return bd(this,u)}}var gd=104857600,Ed=1048576e3,Id=function(e){yn(r,e);var t=vn(r);function r(n){dn(this,r);var u;return u=t.call(this,n),u.maxSize={type:"number",min:0,max:Ed,message:I.getMessage("attachmentMaxSize")},u}return r}(Ut),Od=function(e){yn(r,e);var t=vn(r);function r(n){dn(this,r);var u;return u=t.call(this,n),u[0].type="array",u.push({type:"array",max:n.maxLimit,min:n.minLimit,message:I.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),u}return r}(Vt),Ue=function(e){yn(r,e);var t=vn(r);function r(n){dn(this,r);var u;u=t.call(this,n);var o;u.defaultValue=(o=n==null?void 0:n.defaultValue)!==null&&o!==void 0?o:[];var a;u.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"default";var s;u.attachmentAccept=(s=n==null?void 0:n.attachmentAccept)!==null&&s!==void 0?s:[];var c;u.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var y;u.minLimit=(y=n==null?void 0:n.minLimit)!==null&&y!==void 0?y:0;var d;u.maxSize=(d=n==null?void 0:n.maxSize)!==null&&d!==void 0?d:gd;var h;u.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:qe.controlName;var b;return u.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",u}return r}(ee);Ue.Rules=Id,Ue.RuntimeRules=Od;function Ad(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sd(e,t,r){return t&&ai(e.prototype,t),r&&ai(e,r),e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ve(e)}function Rd(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&&hn(e,t)}function Pd(e,t){return t&&(Cd(t)==="object"||typeof t=="function")?t:Ad(e)}function hn(e,t){return hn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},hn(e,t)}var Cd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dd(e){var t=Bd();return function(){var n=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Pd(this,u)}}var qe=function(e){Rd(r,e);var t=Dd(r);function r(n){wd(this,r);var u;return u=t.call(this,n),u.props=new Ue(n==null?void 0:n.props),u}return Sd(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(zt);qe.controlEventKeys=["on_change"],qe.controlFieldType=f.FILE,qe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.CAPTION,l.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];function Td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kd(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function Fd(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&&bn(e,t)}function Nd(e,t){return t&&(Ld(t)==="object"||typeof t=="function")?t:Td(e)}function bn(e,t){return bn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},bn(e,t)}var Ld=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Md(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xd(e){var t=Md();return function(){var n=ze(e),u;if(t){var o=ze(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Nd(this,u)}}var jd=function(e){Fd(r,e);var t=xd(r);function r(n){$d(this,r);var u;return u=t.call(this,n),u.props=new Ue(n==null?void 0:n.props),u}return kd(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Rc);jd.controlFieldType=f.FILE,f.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.MONEY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,f.MONEY,f.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.DECIMAL,f.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,f.ADDRESS,f.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,f.DEPARTMENTS,f.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.AUTO_NUMBER,f.CALC,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,f.CALC,f.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.DECIMAL_RANGE,f.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.ARRAY,f.ANY,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,f.ANY,f.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,f.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,f.VARCHAR,f.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,f.ARRAY,f.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,f.EMPLOYEES,f.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,f.VARCHAR,f.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,f.FILE,f.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,f.DEPARTMENTS,v.GRID;function Hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function Vd(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&&_n(e,t)}function qd(e,t){return t&&(zd(t)==="object"||typeof t=="function")?t:Hd(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},_n(e,t)}var zd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=Wd();return function(){var n=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return qd(this,u)}}var Gd=24,mn=function(e){Vd(r,e);var t=Kd(r);function r(n){Ud(this,r);var u;u=t.call(this,n);var o;u.span=(o=n==null?void 0:n.span)!==null&&o!==void 0?o:Gd;var a;return u.offset=(a=n==null?void 0:n.offset)!==null&&a!==void 0?a:0,u}return r}(V);function Xd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jd(e,t,r){return t&&si(e.prototype,t),r&&si(e,r),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function Zd(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&&gn(e,t)}function Yd(e,t){return t&&(ey(t)==="object"||typeof t=="function")?t:Xd(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},gn(e,t)}var ey=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ty(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ny(e){var t=ty();return function(){var n=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Yd(this,u)}}var En=function(e){Zd(r,e);var t=ny(r);function r(n){Qd(this,r);var u;return u=t.call(this,n),u.props=new mn(n==null?void 0:n.props),u}return Jd(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(X);En.excludes=[v.COL,v.CARD_GROUP,v.SUBTABLE,v.SUBTABLE_COLUMN,v.DIVIDER],En.childrenMaxLength=1;function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uy(e,t,r){return t&&ci(e.prototype,t),r&&ci(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function oy(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&&In(e,t)}function ay(e,t){return t&&(ly(t)==="object"||typeof t=="function")?t:ry(e)}function In(e,t){return In=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},In(e,t)}var ly=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cy(e){var t=sy();return function(){var n=Ge(e),u;if(t){var o=Ge(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return ay(this,u)}}var fy=function(e){oy(r,e);var t=cy(r);function r(n){iy(this,r);var u;return u=t.call(this,n),u.props=new mn(n==null?void 0:n.props),u}return uy(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(_e),fi={Designer:En,Runtime:fy,Property:mn};function dy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function py(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 vy(e,t){return t&&(hy(t)==="object"||typeof t=="function")?t:dy(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},On(e,t)}var hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function by(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _y(e){var t=by();return function(){var n=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return vy(this,u)}}var An=function(e){py(r,e);var t=_y(r);function r(n){yy(this,r);var u;u=t.call(this,n);var o;u.layoutMode=(o=n==null?void 0:n.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=n==null?void 0:n.gutter)!==null&&a!==void 0?a:0,u}return r}(V);function my(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ey(e,t,r){return t&&di(e.prototype,t),r&&di(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Iy(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&&wn(e,t)}function Oy(e,t){return t&&(Ay(t)==="object"||typeof t=="function")?t:my(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},wn(e,t)}var Ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sy(e){var t=wy();return function(){var n=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Oy(this,u)}}var Sn=function(e){Iy(r,e);var t=Sy(r);function r(n){gy(this,r);var u;return u=t.call(this,n),u.props=new An(n==null?void 0:n.props),u}return Ey(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(X);Sn.excludes=[v.ROW],Sn.setting=[{key:"col-setting",visible:!0}];function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cy(e,t,r){return t&&yi(e.prototype,t),r&&yi(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function By(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 Dy(e,t){return t&&(Ty(t)==="object"||typeof t=="function")?t:Ry(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Rn(e,t)}var Ty=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ky(e){var t=$y();return function(){var n=Je(e),u;if(t){var o=Je(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Dy(this,u)}}var Fy=function(e){By(r,e);var t=ky(r);function r(n){Py(this,r);var u;return u=t.call(this,n),u.props=new An(n==null?void 0:n.props),u}return Cy(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(_e);function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function My(e,t,r){return t&&pi(e.prototype,t),r&&pi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function xy(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&&Pn(e,t)}function jy(e,t){return t&&(Hy(t)==="object"||typeof t=="function")?t:Ny(e)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Pn(e,t)}var Hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vy(e){var t=Uy();return function(){var n=Ze(e),u;if(t){var o=Ze(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return jy(this,u)}}var qy=4,Ye=function(e){xy(r,e);var t=Vy(r);function r(n){return Ly(this,r),t.call(this,n)}return My(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Sn);Ye.excludes=[v.GRID_ROW],Ye.setting=[],Ye.childrenMaxLength=qy;function zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ky(e,t,r){return t&&vi(e.prototype,t),r&&vi(e,r),e}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(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&&Cn(e,t)}function Xy(e,t){return t&&(Qy(t)==="object"||typeof t=="function")?t:zy(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Cn(e,t)}var Qy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zy(e){var t=Jy();return function(){var n=et(e),u;if(t){var o=et(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Xy(this,u)}}var Yy=function(e){Gy(r,e);var t=Zy(r);function r(n){return Wy(this,r),t.call(this,n)}return Ky(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Fy);function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function np(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&&Bn(e,t)}function rp(e,t){return t&&(ip(t)==="object"||typeof t=="function")?t:ep(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Bn(e,t)}var ip=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function up(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function op(e){var t=up();return function(){var n=tt(e),u;if(t){var o=tt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return rp(this,u)}}var ap=function(e){np(r,e);var t=op(r);function r(n){return tp(this,r),t.call(this,n)}return r}(An),lp={Designer:Ye,Runtime:Yy,Property:ap};function sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(e)}function fp(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&&Dn(e,t)}function dp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Dn(e,t)}var yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vp(e){var t=pp();return function(){var n=nt(e),u;if(t){var o=nt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return dp(this,u)}}V.Rules,l.CAPTION,l.IS_HIDE,v.CARD_GROUP;function hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function bi(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 bp(e,t){return t&&(_p(t)==="object"||typeof t=="function")?t:hp(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Tn(e,t)}var _p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _i(e){var t=mp();return function(){var n=rt(e),u;if(t){var o=rt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return bp(this,u)}}var gp=function(e){bi(r,e);var t=_i(r);function r(n){hi(this,r);var u;return u=t.call(this,n),u.caption={type:"string",required:!0,message:I.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:I.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:I.getMessage("pleaseEnterCaptionTip")},u.width.required=n.widthType==="px",n.isShowCaptionTip&&(u.captionTip.required=!0),u}return r}(pe),it=function(e){bi(r,e);var t=_i(r);function r(n){hi(this,r);var u;u=t.call(this,n);var o;u.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:240,u.widthType=(n==null?void 0:n.widthType)||"auto";var a;u.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var s;u.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:!1;var c;u.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var y;u.captionTip=(y=n==null?void 0:n.captionTip)!==null&&y!==void 0?y:"";var d;return u.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1,u}return r}(V);it.Rules=gp;function Ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function Op(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&&$n(e,t)}function Ap(e,t){return t&&(wp(t)==="object"||typeof t=="function")?t:Ep(e)}function $n(e,t){return $n=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},$n(e,t)}var wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rp(e){var t=Sp();return function(){var n=ut(e),u;if(t){var o=ut(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Ap(this,u)}}var Q=function(e){Op(r,e);var t=Rp(r);function r(n){Ip(this,r);var u;return u=t.call(this,n),u.props=new it(n==null?void 0:n.props),u}return r}(X);Q.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Q.controlType="subtable-column",Q.controlIcon="subtable-column",Q.childrenMaxLength=1,Q.excludes=[v.SUBTABLE,v.SUBTABLE_COLUMN,v.ROW,v.COL,v.CARD_GROUP,v.DIVIDER,v.TEXT],Q.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];function Pp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ot(e)}function Bp(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&&kn(e,t)}function Dp(e,t){return t&&(Tp(t)==="object"||typeof t=="function")?t:Pp(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},kn(e,t)}var Tp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $p(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kp(e){var t=$p();return function(){var n=ot(e),u;if(t){var o=ot(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Dp(this,u)}}var mi=function(e){Bp(r,e);var t=kp(r);function r(n){Cp(this,r);var u;return u=t.call(this,n),u.props=new it(n==null?void 0:n.props),u}return r}(_e);mi.controlType="subtable-column";var Fp={Designer:Q,Runtime:mi,Property:it};v.SUBTABLE,v.SUBTABLE_COLUMN,v.SUBTABLE_ROW,v.ROW,v.COL,v.CARD_GROUP,v.DIVIDER,v.TEXT,l.CAPTION,v.GRID_TABLE,v.GRID_TABLE_COLUMN,v.ROW,v.COL,v.CARD_GROUP,v.DIVIDER,v.TEXT,l.CAPTION,v.TAB,l.CAPTION,l.IS_HIDE,v.TAB,v.GRID_ROW,v.ROW,v.GRID,v.SUBTABLE,v.TAB,v.TOOLBOX;function gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function Nn(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&&Ln(e,t)}function Np(e,t){return t&&(Lp(t)==="object"||typeof t=="function")?t:gi(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ln(e,t)}var Lp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mn(e){var t=Mp();return function(){var n=at(e),u;if(t){var o=at(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Np(this,u)}}var lt;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(lt||(lt={}));var xp=function(e){Nn(r,e);var t=Mn(r);function r(n){Fn(this,r);var u;return u=t.call(this,n),u.push({type:"object",fields:{}}),u}return r}(Se),jp=function(e){Nn(r,e);var t=Mn(r);function r(n){Fn(this,r);var u;if(u=t.call(this,n),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},n.triggerType===lt.CLICK_CELL&&n.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:I.getMessage("pleaseEnterFieldCode")}),ac.call(gi(u),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return r}(pe),me=function(e){Nn(r,e);var t=Mn(r);function r(n){Fn(this,r);var u;u=t.call(this,n),u.datasourceBind=new ce(n==null?void 0:n.datasourceBind);var o;u.isLoading=(o=n==null?void 0:n.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=n==null?void 0:n.triggerType)!==null&&s!==void 0?s:lt.CLICK_ROW;var c;u.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",u.sublistPage=new es(n==null?void 0:n.sublistPage);var y;u.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var d;u.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var h;u.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var b;return u.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,u}return r}(V);me.Rules=jp,me.RuntimeRules=xp;function Hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ei(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vp(e,t,r){return t&&Ei(e.prototype,t),r&&Ei(e,r),e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(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&&xn(e,t)}function zp(e,t){return t&&(Wp(t)==="object"||typeof t=="function")?t:Hp(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},xn(e,t)}var Wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gp(e){var t=Kp();return function(){var n=st(e),u;if(t){var o=st(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return zp(this,u)}}var ct=function(e){qp(r,e);var t=Gp(r);function r(n){Up(this,r);var u;return u=t.call(this,n),u.props=new me(n==null?void 0:n.props),u}return Vp(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(X);ct.excludes=[v.ROW],ct.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],ct.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jp(e,t,r){return t&&Ii(e.prototype,t),r&&Ii(e,r),e}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(e)}function Zp(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&&jn(e,t)}function Yp(e,t){return t&&(ev(t)==="object"||typeof t=="function")?t:Xp(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},jn(e,t)}var ev=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nv(e){var t=tv();return function(){var n=ft(e),u;if(t){var o=ft(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Yp(this,u)}}var rv=function(e){Zp(r,e);var t=nv(r);function r(n){Qp(this,r);var u;return u=t.call(this,n),u.props=new me(n==null?void 0:n.props),u}return Jp(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(_e),iv={Designer:ct,Runtime:rv,Property:me};function uv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Ai(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&&Hn(e,t)}function ov(e,t){return t&&(av(t)==="object"||typeof t=="function")?t:uv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Hn(e,t)}var av=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wi(e){var t=lv();return function(){var n=dt(e),u;if(t){var o=dt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return ov(this,u)}}var sv=function(e){Ai(r,e);var t=wi(r);function r(n){Oi(this,r);var u;return u=t.call(this,n),u.push({type:"object",fields:{}}),u}return r}(Se),yt=function(e){Ai(r,e);var t=wi(r);function r(n){Oi(this,r);var u;u=t.call(this,n);var o;u.save=new fe((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new fe((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new fe((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;u.print=new fe((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var y;u.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(h){return new fe(h)});var d;return u.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,u.datasourceBind=new ce(n==null?void 0:n.datasourceBind),u}return r}(V);yt.RuntimeRules=sv;function cv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dv(e,t,r){return t&&Si(e.prototype,t),r&&Si(e,r),e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function yv(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 pv(e,t){return t&&(vv(t)==="object"||typeof t=="function")?t:cv(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Un(e,t)}var vv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bv(e){var t=hv();return function(){var n=pt(e),u;if(t){var o=pt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return pv(this,u)}}var Ri=function(e){yv(r,e);var t=bv(r);function r(n){fv(this,r);var u;return u=t.call(this,n),u.props=new yt(n==null?void 0:n.props),u}return dv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(X);Ri.excludes=[];function _v(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gv(e,t,r){return t&&Pi(e.prototype,t),r&&Pi(e,r),e}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function Ev(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&&Vn(e,t)}function Iv(e,t){return t&&(Ov(t)==="object"||typeof t=="function")?t:_v(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vn(e,t)}var Ov=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wv(e){var t=Av();return function(){var n=vt(e),u;if(t){var o=vt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Iv(this,u)}}var Sv=function(e){Ev(r,e);var t=wv(r);function r(n){mv(this,r);var u;return u=t.call(this,n),u.props=new yt(n==null?void 0:n.props),u}return gv(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(_e),Rv={Designer:Ri,Runtime:Sv,Property:yt};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,f.DECIMAL,l.CAPTION,l.CAN_CHECK,l.CAN_EDIT,l.CAN_DELETE,f.FILE,f.VARCHAR,l.CAPTION,f.VARCHAR,f.TEXT,l.CAPTION,f.TEXT,f.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,f.DECIMAL,f.TIMESCOPE,l.CAPTION,f.TIMESCOPE,f.TIMESTAMP,l.CAPTION,f.TIMESTAMP,f.ARRAY,l.CAPTION,f.ARRAY,f.DEPARTMENTS,l.CAPTION,f.DEPARTMENTS,f.AUTO_NUMBER,l.CAPTION,f.AUTO_NUMBER,f.FILE,l.CAPTION,f.FILE,f.IMAGE,l.CAPTION,f.IMAGE,f.EMPLOYEES,l.CAPTION,f.EMPLOYEES,f.ADDRESS,l.CAPTION,f.ADDRESS,l.CAPTION,f.EMPLOYEES,l.CAPTION,f.EMPLOYEES,l.IS_HIDE;const Pv=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];jv(t==null?void 0:t.events),kv(n),Fv(n);const u=$v(n),o=Nv(u,t);let a=Z(N(o,s=>Tv(s,t)));return r?a:a[0]},Cv=[v.DIVIDER,v.TEXT,v.TITLE,v.LINK,v.BUTTON,"list-btn-export-list","list-btn-export-record"],Bv=["subtable","grid-table"],Dv=["simple-search"];function Tv(e,t){var u,o,a,s,c,y;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Cv.includes(r.type)?r.controlType="base":r.controlType="form",Bv.includes(r.type)&&(r.controlType="list"),Dv.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),T((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(r.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),T((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(T(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const d=r.props.entry_type||r.props.entryType;r.props.openType=d==="subpage"?"modal":"default",((y=r.children[0])==null?void 0:y.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((h,b)=>{const E=new Fp.Designer;E.props.widthType=h.header_width_config==="1"?"auto":"px",E.props.width=h.header_width===""?200:Number(h.header_width),E.props.caption=T(h.field_name)?h.field_name.zh:h.field_name;const A=E.toSchema();A.id=h.header_id;const m=r.children[0].children[b].children[0];return m&&(A.children=[m]),A}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(d=>{d.label=T(d.text)?d.text.zh:d.text,d.id=d.id||d.opt_id||d.optId||d.data_id}),r=e),e.type==="grid-row"){const d=24/r.children.length;r.children=r.children.map(h=>{const b=new fi.Designer;b.props.span=d;const E=b.toSchema();return E.children.push(h),E})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const d=r==null?void 0:r.children[0],h=r==null?void 0:r.children[1],b={};d&&(Ci(r,t),b.result=d.props.data_bind,r.id=d.id,r.props=d.props,r.props.script_src=d.props.script_src,r.props.script_echo=d.props.script_echo,r.props.precision=d.props.precision,r.props.micrometer=d.props.is_show_money,r.props.showUpperCase=d.props.is_show_chn),h&&(b.unit=h.props.data_bind,r.props.default_value={unit:h.props.value}),r.props.dataBind=b,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const d=r==null?void 0:r.children[0],h=r==null?void 0:r.children[1],b={},E={};d&&(Ci(r,t),r.id=d.id,b.amount=d.props.data_bind,r.props.range_min=J(d.props.range_min),r.props.range_max=J(d.props.range_max),E.amount=J(d.props.value),r.props.required=d.props.required,r.props.is_hide=d.props.is_hide,r.props.default_state=d.props.default_state,r.props.caption=T(d.props.caption)?d.props.caption.zh:d.props.caption,r.props.is_hide_caption=d.props.is_hide_caption,r.props.showUpperCase=d.props.is_show_chn),h&&(b.currency=h.props.data_bind,E.currency=h.props.value,r.props.datasourceBind=h.props.datasource_bind,r.props.options=h.props.options.map(A=>({label:A.text,value:A.value}))),r.props.dataBind=b,r.props.defaultValue=E,delete r.children}if(e.type==="date-range"){r.controlType="form";const d=r==null?void 0:r.children[0],h=r==null?void 0:r.children[1];r.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const b={};d&&(b.min=d.props.data_bind),h&&(b.max=h.props.data_bind),r.props.dataBind=b,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=J(e.props.range_min),r.props.range_max=J(e.props.range_max),r.props.defaultValue=J(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),Hv(r,t==null?void 0:t.control_events),r}function Ci(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,u=e.id,o=e.children[0].id;r.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(y=>y===u),c=a.hide_controls.findIndex(y=>y===u);s>-1&&a.show_controls.splice(s,1,o),c>-1&&a.hide_controls.splice(c,1,o)}),n.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function $v(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const n=new Rv.Designer().toSchema();return n.children=e,[n]}function kv(e){e.forEach(t=>{t.children&&xv(t.children)})}function Fv(e){e.forEach(t=>{var n,u;if(!(t&&t.children))return;const r=t.children;for(let o=0;o<r.length;o++){const a=r[o],s=(u=(n=r[o])==null?void 0:n.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&r.splice(o,1,s)}})}function Nv(e,t){var E,A,m,w,p,_,C,g;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:u}=r,[o,a,s]=u;Lv(o),s.props.is_fixed_header=(E=n==null?void 0:n.source_config)==null?void 0:E.is_fixed_header,Mv(s,a);const c=(m=(A=n==null?void 0:n.source_config)==null?void 0:A.data_code)!=null?m:t==null?void 0:t.dataCode,y=((p=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,d=(C=(_=n==null?void 0:n.source_config)==null?void 0:_.orders)!=null?C:[],h=new iv.Designer;h.props.datasourceBind=new ce({dataCode:c,svcCode:y,orders:jl(d)}),h.props.isShowSubList=n.is_show_sublist,h.props.triggerType=n.timing_type,h.props.triggerFieldCode=n.ctrl_field_code,(g=n==null?void 0:n.sublist_page)==null||g.sublists.forEach(S=>{S.title=T(S.title)?S.title.zh:S.title}),h.props.sublistPage=n.sublist_page;const b=h.toSchema();return b.children.push(o,s),[b]}function Lv(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,u;const r=T(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(u=(n=t.dateType)==null?void 0:n.replace)==null?void 0:u.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Mv(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var u,o,a;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:T(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=T(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(u=r.check)!=null?u:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(a=r.edit)!=null?a:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ce({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function xv(e){var r;let t=null;for(let n=0;n<e.length;n++){const u=e[n];if(!!u){if(u.children&&((r=u.children[0])==null?void 0:r.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(n,1),n--)}}}function jv(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Hv(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Uv=(e,t)=>{const r=Array.isArray(e);let u=Z(N(r?e:[e],o=>Vv(o)));return r?u:u[0]};function Vv(e,t){return e.type===v.LIST_VIEW&&e.children.find(n=>n.type===v.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ae({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const qv=(e,t)=>{const r=Array.isArray(e);let u=Z(N(r?e:[e],o=>zv(o)));return r?u:u[0]};function zv(e,t){return[v.BUTTON,v.CREATE_FORM_LIST_BUTTON,v.BATCH_SUBMISSION_LIST_BUTTON,v.SUBMISSION_RECORD_LIST_BUTTON,v.IMPORT_RECORD_LIST_BUTTON,v.EXPORT_RECORD_LIST_BUTTON,v.EXPORT_LIST_BUTTON,v.FORM_SELECT_BUTTON,v.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===v.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===v.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Wv=(e,t)=>{const r=Array.isArray(e);let u=Z(N(r?e:[e],o=>Kv(o)));return r?u:u[0]};function Kv(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const Gv=(e,t)=>{const r=Array.isArray(e);let u=Z(N(r?e:[e],o=>Qv(o)));return r?u:u[0]},Xv=[v.ROW,v.TAB,v.SUBTABLE,v.GRID_ROW,v.CARD_GROUP];function Qv(e,t){return e.type===v.TAB_PANE&&(e.children=e.children.map(r=>{if(Xv.includes(r.type))return r;const n=new lp.Designer,u=new fi.Designer;n.children.push(u);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const Jv=(e,t)=>{const r=Array.isArray(e);let u=Z(N(r?e:[e],o=>Zv(o)));return r?u:u[0]};function Zv(e,t){return e.type===v.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===v.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Yv=(e,t)=>{const r=Array.isArray(e);let u=N(r?e:[e],o=>eh(o));return r?u:u[0]};function eh(e,t){return e.type===v.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const th=(e,t)=>{const r=Array.isArray(e);let u=N(r?e:[e],o=>nh(o));return r?u:u[0]};function W(e,t){e.field_code&&(e.field_type=t)}function nh(e,t){var n;const r={[v.TITLE]:f.AUTO_NUMBER,[v.ADDRESS]:f.ADDRESS,[v.ATTACHMENT]:f.FILE,[v.AUTO_NUMBER]:f.AUTO_NUMBER,[v.CHECKBOX]:f.ARRAY,[v.DATE_PICKER]:f.TIMESTAMP,[v.DEPARTMENT]:f.DEPARTMENTS,[v.EMPLOYEE]:f.EMPLOYEES,[v.EMPLOYEE2]:f.EMPLOYEES,[v.IMAGE]:f.IMAGE,[v.INPUT]:f.VARCHAR,[v.NUMBER]:f.DECIMAL,[v.RADIO]:f.VARCHAR,[v.RICH_TEXT]:f.TEXT,[v.SCORE]:f.DECIMAL,[v.SELECT]:f.VARCHAR,[v.SELECT_MULTIPLE]:f.ARRAY,[v.SELECT_RELATION]:f.VARCHAR,[v.TEXTAREA]:f.TEXT,[v.TREE]:f.ARRAY,[v.SEARCH_DATE_RANGE]:f.ARRAY,[v.SEARCH_INPUT]:f.VARCHAR,[v.SEARCH_NUMBER_RANGE]:f.ARRAY};return r.hasOwnProperty(e.type)&&W(e.props.data_bind,r[e.type]),e.type===v.AMOUNT&&(W(e.props.data_bind.amount,f.DECIMAL),W(e.props.data_bind.currency,f.VARCHAR)),e.type===v.CALC&&(W(e.props.data_bind.result,f.DECIMAL),W(e.props.data_bind.unit,f.VARCHAR)),e.type===v.DATE_RANGE&&(W(e.props.data_bind.min,f.TIMESTAMP),W(e.props.data_bind.max,f.TIMESTAMP)),e.type===v.VUE_FORM_ITEM&&W(e.props.data_bind,(n=e.field_type)!=null?n:f.ANY),e}const rh=(e,t)=>{const r=Array.isArray(e);let u=N(r?e:[e],o=>ih(o));return r?u:u[0]};function ih(e,t){return e.type===v.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===v.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const uh=(e,t)=>{const r=Array.isArray(e);let u=N(r?e:[e],o=>oh(o));return r?u:u[0]};function oh(e,t){return e.type===v.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,u;[f.VARCHAR,f.TEXT,f.AUTO_NUMBER].includes((u=(n=r.props)==null?void 0:n.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Bi={"v1.0":Pv,"v2.0":Uv,"v2.1":qv,"v2.2":Wv,"v2.3":Gv,"v2.4":Jv,"v2.5":Yv,"v2.6":th,"v2.7":rh,"v2.8":uh,"v2.9":()=>{}};function ht(e){return e.replace(/^v/,"")}function bt(e){return Number(ht(e))}const re=Object.keys(Bi).map(e=>ht(e)).sort((e,t)=>Number(e)-Number(t)),ge=re[re.length-1];class ah{constructor(t,r=ge){this.schemaVersion=t,this.toVersion=r,bt(r)>bt(ge)?er(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${ge}`):(!re.includes(ht(r))||!re.includes(ht(t)))&&er(`Version Builder: Please give me a valid version number, The valid version is: ${re.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===this._schemaVersion)return t;const n=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var h;const c=(h=s[a+1])!=null?h:this.toVersion;Ie(`Version Builder: current version: ${o}, nextVersion: ${c}`);const y=Bi[o];let d=u;if(typeof y=="function"){const b=y(u,r);b&&(d=b)}return d},t);return Ie(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return re.filter(t=>Number(t)>=this._schemaVersion&&Number(t)<this._version)}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return bt(this.toVersion)}get _schemaVersion(){return bt(this.schemaVersion)}get version(){return ge}static get version(){return ge}}K.VersionBuilder=ah,Object.defineProperty(K,"__esModule",{value:!0})});
|
|
1
|
+
(function(J,ue){typeof exports=="object"&&typeof module!="undefined"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(J=typeof globalThis!="undefined"?globalThis:J||self,ue(J.modelDrivenUpgrade={}))})(this,function(J){"use strict";var ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Yi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",eo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",to="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",no="{caption}\u5FC5\u586B",ro="\u8BF7\u8F93\u5165\u6807\u9898",io="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",oo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",uo="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ao="\u8BF7\u7ED1\u5B9A\u8868\u5355",lo="\u8BF7\u7ED1\u5B9A\u5217\u8868",so="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",co="\u8BF7\u8F93\u5165\u663E\u793A\u503C",fo="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",yo="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",po="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",vo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ho="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bo="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",_o="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",go="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",mo="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Eo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Io="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",wo="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Oo="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ao="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",So="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ro="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Po="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Co="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Bo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ko="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",To="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Do="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$o="\u8BF7\u9009\u62E9\u7701",Fo="\u8BF7\u9009\u62E9\u5E02",No="\u8BF7\u9009\u62E9\u533A",xo="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Lo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Mo="\u8BF7\u8F93\u5165\u5217\u5BBD",jo="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ho="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Uo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Vo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",zo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Wo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Go="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ko="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Jo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ru="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",iu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ou="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",au="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cu={isNotNumber:ue,isNotString:Zi,isNotObject:Yi,isNotArray:eo,isNotBoolean:to,runtimeRequired:no,pleaseEnterCaption:ro,pleaseEnterCaptionTip:io,pleaseEnterPlaceholder:oo,pleaseEnterFieldCode:uo,pleaseEnterForm:ao,pleaseEnterList:lo,pleaseEnterProcess:so,pleaseEnterLabel:co,pleaseEnterValue:fo,bizKeyNotBindFiled:yo,pleaseEnterNumberRange:po,pleaseEnterAValueGreaterThanMin:vo,pleaseEnterAValueLessThanMax:ho,numberRangeSetError:bo,stringRangeError:_o,attachmentMaxSize:go,pleaseEnterTotalScoreSetting:mo,theTotalScoreMustNotBeLessThan1:Eo,scoreDefaultValueRange:Io,attachmentLimitError:wo,PleaseReselectTheOptionalQuantity:Oo,TheMaximumLengthIsGreaterThanTheMinimumLength:Ao,TheMinimumLengthIsGreaterThanTheMaximumLength:So,PleaseSelectTheCorrectOptionSettings:Ro,optionIdIsRepeat:Po,optionIsRequired:Co,pleaseEnterDataCode:Bo,pleaseEnterValueFieldCode:ko,pleaseEnterSvcCode:To,pleaseBindAtLeastOneDisplayValue:Do,pleaseSelectProvince:$o,pleaseSelectCity:Fo,pleaseSelectDistrict:No,limitRowsCannotBeLessThan0:xo,TheNumberOfRowsCannotBeLessThanMinRows:Lo,pleaseEnterColumnWidth:Mo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jo,pleaseCompleteAllRulesAndConditions:Ho,pleaseSelectControl:Uo,pleaseSelectAtLeastOneColumn:Vo,pleaseSelectFillBackMode:qo,pleaseSelectDashboard:zo,rootNodeIsRequired:Wo,theViewNameCannotBeEmpty:Go,pleaseSelectOcrType:Ko,pleaseSelectAtLeastOneFieldToFillIn:Xo,pleaseChooseAtLeastOne:Qo,pleaseEnterButtonContent:Jo,pleaseEnterDataCodeInDataSetting:Zo,pleaseEnterValueFieldCodeInDataSetting:Yo,pleaseEnterSvcCodeInDataSetting:eu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:nu,pleaseEnterMaxHeight:ru,pleaseEnter:iu,pleaseEnterWatermark:ou,pleaseEnterFileName:uu,pleaseUploadAtLeastOnePrintTemplate:au,pleaseAssignBusiness:lu,pleaseAssignExternal:su},fu="Please enter a number",yu="Please enter a string",du="Please enter an object",pu="Please enter an array",vu="Please enter a boolean",hu="{caption} Required",bu="Please enter the title",_u="Please enter the bubble prompt",gu="Please enter the prompt text",mu="Please bind data items",Eu="Please bind the form",Iu="Please bind the list",wu="Please bind the process",Ou="Please enter the displayed value",Au="Please enter the stored value",Su="The document number is not bound to the data item",Ru="Please enter a value greater than or equal to {min} and less than or equal to {max}",Pu="Please enter a value greater than or equal to {min}",Cu="Please enter a value less than or equal to {max}",Bu="The value range is set incorrectly",ku="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Tu="The attachment size must be between 0MB and 1000MB",Du="Please fill in the total score setting",$u="The total score cannot be less than 1",Fu="The default value must be between {min} and {max}",Nu="The number of attachments uploaded must be between {min} and {max}",xu="Please re-select the optional quantity",Lu="The maximum length of the control must be greater than the minimum length",Mu="The minimum length of the control must be less than the maximum length",ju="Please select the correct option setting",Hu="Option ID cannot be repeated",Uu="Please enter at least one option",Vu="Please bind the data source",qu="Please bind the stored value",zu="Please bind the service",Wu="At least one display value must be bound",Gu="Please select a province",Ku="Please select a city",Xu="Please select a district",Qu="The minimum number of lines to fill in cannot be less than 0",Ju="The number of rows cannot be less than {min} rows",Zu="Please enter the column width",Yu="Please set the logical relationship of all rule conditions",ea="Please complete all rules and conditions",ta="please select control",na="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ra="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ia="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",oa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ua="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",aa="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",la="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",sa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",da="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",va="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ha="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ba="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",_a="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ga="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ma={isNotNumber:fu,isNotString:yu,isNotObject:du,isNotArray:pu,isNotBoolean:vu,runtimeRequired:hu,pleaseEnterCaption:bu,pleaseEnterCaptionTip:_u,pleaseEnterPlaceholder:gu,pleaseEnterFieldCode:mu,pleaseEnterForm:Eu,pleaseEnterList:Iu,pleaseEnterProcess:wu,pleaseEnterLabel:Ou,pleaseEnterValue:Au,bizKeyNotBindFiled:Su,pleaseEnterNumberRange:Ru,pleaseEnterAValueGreaterThanMin:Pu,pleaseEnterAValueLessThanMax:Cu,numberRangeSetError:Bu,stringRangeError:ku,attachmentMaxSize:Tu,pleaseEnterTotalScoreSetting:Du,theTotalScoreMustNotBeLessThan1:$u,scoreDefaultValueRange:Fu,attachmentLimitError:Nu,PleaseReselectTheOptionalQuantity:xu,TheMaximumLengthIsGreaterThanTheMinimumLength:Lu,TheMinimumLengthIsGreaterThanTheMaximumLength:Mu,PleaseSelectTheCorrectOptionSettings:ju,optionIdIsRepeat:Hu,optionIsRequired:Uu,pleaseEnterDataCode:Vu,pleaseEnterValueFieldCode:qu,pleaseEnterSvcCode:zu,pleaseBindAtLeastOneDisplayValue:Wu,pleaseSelectProvince:Gu,pleaseSelectCity:Ku,pleaseSelectDistrict:Xu,limitRowsCannotBeLessThan0:Qu,TheNumberOfRowsCannotBeLessThanMinRows:Ju,pleaseEnterColumnWidth:Zu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yu,pleaseCompleteAllRulesAndConditions:ea,pleaseSelectControl:ta,pleaseSelectDashboard:na,theViewNameCannotBeEmpty:ra,pleaseSelectOcrType:ia,pleaseSelectAtLeastOneFieldToFillIn:oa,pleaseChooseAtLeastOne:ua,pleaseEnterButtonContent:aa,pleaseEnterDataCodeInDataSetting:la,pleaseEnterValueFieldCodeInDataSetting:sa,pleaseEnterSvcCodeInDataSetting:ca,pleaseBindAtLeastOneDisplayValueInDataSetting:fa,rootNodeIsRequiredInDataSetting:ya,pleaseEnterMaxHeight:da,pleaseEnter:pa,pleaseEnterWatermark:va,pleaseEnterFileName:ha,pleaseUploadAtLeastOnePrintTemplate:ba,pleaseAssignBusiness:_a,pleaseAssignExternal:ga},Ea="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Aa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="{caption}\u5FC5\u9808",Ra="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pa="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ca="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ka="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ta="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",xa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",La="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ha="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Va="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",za="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ga="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ka="\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",Xa="\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",Qa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ja="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Za="\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",el="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tl="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nl="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",rl="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",il="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ol="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ul="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",al="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ll="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sl="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",cl="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fl="please select control",yl="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",dl="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pl="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",bl="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_l="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ml="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",El="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Il="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ol="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Al="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Rl="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pl="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Cl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bl={isNotNumber:Ea,isNotString:Ia,isNotObject:wa,isNotArray:Oa,isNotBoolean:Aa,runtimeRequired:Sa,pleaseEnterCaption:Ra,pleaseEnterCaptionTip:Pa,pleaseEnterPlaceholder:Ca,pleaseEnterFieldCode:Ba,pleaseEnterForm:ka,pleaseEnterList:Ta,pleaseEnterProcess:Da,pleaseEnterLabel:$a,pleaseEnterValue:Fa,bizKeyNotBindFiled:Na,pleaseEnterNumberRange:xa,pleaseEnterAValueGreaterThanMin:La,pleaseEnterAValueLessThanMax:Ma,numberRangeSetError:ja,stringRangeError:Ha,attachmentMaxSize:Ua,pleaseEnterTotalScoreSetting:Va,theTotalScoreMustNotBeLessThan1:qa,scoreDefaultValueRange:za,attachmentLimitError:Wa,PleaseReselectTheOptionalQuantity:Ga,TheMaximumLengthIsGreaterThanTheMinimumLength:Ka,TheMinimumLengthIsGreaterThanTheMaximumLength:Xa,PleaseSelectTheCorrectOptionSettings:Qa,optionIdIsRepeat:Ja,optionIsRequired:Za,pleaseEnterDataCode:Ya,pleaseEnterValueFieldCode:el,pleaseEnterSvcCode:tl,pleaseBindAtLeastOneDisplayValue:nl,pleaseSelectProvince:rl,pleaseSelectCity:il,pleaseSelectDistrict:ol,limitRowsCannotBeLessThan0:ul,TheNumberOfRowsCannotBeLessThanMinRows:al,pleaseEnterColumnWidth:ll,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sl,pleaseCompleteAllRulesAndConditions:cl,pleaseSelectControl:fl,pleaseSelectDashboard:yl,theViewNameCannotBeEmpty:dl,pleaseSelectOcrType:pl,pleaseSelectAtLeastOneFieldToFillIn:vl,pleaseChooseAtLeastOne:hl,pleaseEnterButtonContent:bl,pleaseEnterDataCodeInDataSetting:_l,pleaseEnterValueFieldCodeInDataSetting:gl,pleaseEnterSvcCodeInDataSetting:ml,pleaseBindAtLeastOneDisplayValueInDataSetting:El,rootNodeIsRequiredInDataSetting:Il,pleaseEnterMaxHeight:wl,pleaseEnter:Ol,pleaseEnterWatermark:Al,pleaseEnterFileName:Sl,pleaseUploadAtLeastOnePrintTemplate:Rl,pleaseAssignBusiness:Pl,pleaseAssignExternal:Cl},kl={zhCN:cu,enUS:ma,jaJP:Bl},zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(zn||(zn={}));var Wn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Wn||(Wn={}));var Tl="zh-CN";function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Gn||(Gn={}));var d;(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.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(d||(d={}));var y;(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"})(y||(y={}));var k;k={},D(k,y.ARRAY,d.ARRAY_COLUMN),D(k,y.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),D(k,y.DECIMAL,d.DECIMAL_COLUMN),D(k,y.DEPARTMENTS,d.DEPARTMENT_COLUMN),D(k,y.FILE,d.FILE_COLUMN),D(k,y.IMAGE,d.IMAGE_COLUMN),D(k,y.ADDRESS,d.LOCATION_COLUMN),D(k,y.EMPLOYEES,d.EMPLOYEE_COLUMN),D(k,y.TEXT,d.TEXT_COLUMN),D(k,y.TIMESCOPE,d.TIMESCOPE_COLUMN),D(k,y.TIMESTAMP,d.TIMESTAMP_COLUMN),D(k,y.VARCHAR,d.VARCHAR_COLUMN),D(k,y.RELATION,d.VARCHAR_COLUMN);var Kn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(Kn||(Kn={}));var Xn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Dl=Xn+"0123456789";function ae(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Xn:Dl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function gt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $l(e){if(Array.isArray(e))return gt(e)}function Fl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nl(){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 Ie(e,t,r){return Nl()?Ie=Reflect.construct:Ie=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&se(a,u.prototype),a},Ie.apply(null,arguments)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},le(e)}function Jn(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&&se(e,t)}function xl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ll(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ml(){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 jl(e,t){return t&&(Hl(t)==="object"||typeof t=="function")?t:Fl(e)}function se(e,t){return se=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},se(e,t)}function Zn(e){return $l(e)||Ll(e)||Ul(e)||Ml()}var Hl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ul(e,t){if(!!e){if(typeof e=="string")return gt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gt(e,t)}}function mt(e){var t=typeof Map=="function"?new Map:void 0;return mt=function(n){if(n===null||!xl(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Ie(n,arguments,le(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),se(i,n)},mt(e)}function Vl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yn(e){var t=Vl();return function(){var n=le(e),i;if(t){var o=le(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return jl(this,i)}}var Et=console;function ql(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t.slice(1);(n=Et).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Zn(i)))}function we(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t.slice(1);(n=Et).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Zn(i)))}function zl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var It=function(e){Jn(r,e);var t=Yn(r);function r(n){Qn(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?zl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(mt(Error)),Wl=function(e){Jn(r,e);var t=Yn(r);function r(n){Qn(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(It);function er(e){throw new It(e)}function tr(e){throw new Wl(e)}function Gl(e){Et.error(new It(e))}var Kl=Object.prototype.toString;function nr(e,t){return Kl.call(e)==="[object "+t+"]"}function Xl(e){return nr(e,"String")}function Ql(e){return nr(e,"Promise")}var Jl=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();Ql(n)?n.then(function(i){r._messageCache.clear(),r.messages[r.localeInMessageKey]=i}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var i=this.getMessage(t);return i?this.formatMessage(i,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(i,o,u,s){if(i!==void 0){var c=i[o];if(!(u===s.length-1&&!Xl(c)))return c}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,i){var o=r[i];return o!==void 0?String(o):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},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 Zl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){Zl(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tl;return new Jl({locale:r,messages:kl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function Yl(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,u){return"."+u}).split("."),i=!1;return n.reduce(function(o,u,s,c){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,u)){ql("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),o,o);return}return s===c.length-1&&!Object.is(a[u],r)&&(a[u]=r,i=!0),a[u]}},e),i}var es=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wt={exports:{}};(function(e){(function(t){var r=function(p,b,P){if(!a(b)||v(b)||h(b)||g(b)||c(b))return b;var w,S=0,N=0;if(f(b))for(w=[],N=b.length;S<N;S++)w.push(r(p,b[S],P));else{w={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(w[p(R,P)]=r(p,b[R],P))}return w},n=function(p,b){b=b||{};var P=b.separator||"_",w=b.split||/(?=[A-Z])/;return p.split(w).join(P)},i=function(p){return I(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var b=i(p);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(p,b){return n(p,b).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},f=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},h=function(p){return s.call(p)=="[object RegExp]"},g=function(p){return s.call(p)=="[object Boolean]"},I=function(p){return p=p-0,p===p},_=function(p,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?p:function(w,S){return P(w,p,S)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(p,b){return r(_(i,b),p)},decamelizeKeys:function(p,b){return r(_(u,b),p,b)},pascalizeKeys:function(p,b){return r(_(o,b),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(es)})(wt);function K(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function T(e){return rr(e)&&"zh"in e}function rr(e){return Object.prototype.toString.call(e)==="[object Object]"}function ts(e){return Array.isArray(e)}function Z(e){return isNaN(parseFloat(e))?"":Number(e)}function ns(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function L(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var i=n;return Array.isArray(n==null?void 0:n.children)&&(i.children=L(n.children,t)),t(i)})),r}function rs(e){return wt.exports.camelizeKeys(e)}function Y(e){return wt.exports.decamelizeKeys(e)}function Ot(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function is(e){if(Array.isArray(e))return Ot(e)}function ir(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function os(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){ir(o,n,i,u,s,"next",c)}function s(c){ir(o,n,i,u,s,"throw",c)}u(void 0)})}}function us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function as(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ls(){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 At(e){return is(e)||as(e)||ss(e)||ls()}function ss(e,t){if(!!e){if(typeof e=="string")return Ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ot(e,t)}}var cs=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},fs=function(){function e(){us(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];var s=this;return os(function(){var c,a,f,v,h,g,I,_,E,p,b,P;return cs(this,function(w){switch(w.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];f=c.slice(),v=!0,h=!1,g=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),I=f[Symbol.iterator](),w.label=2;case 2:if(v=(_=I.next()).done)return[3,7];if(E=_.value,!c.includes(E))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),s.debug&&we.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(At(o))),[4,E.apply(null,At(o))];case 4:return p=w.sent(),s.debug&&we.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(At(o),[p])),a.push(p),p===!1?[3,7]:[3,6];case 5:return b=w.sent(),Gl(String(b)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=w.sent(),h=!0,g=P,[3,10];case 9:try{!v&&I.return!=null&&I.return()}finally{if(h)throw g}return[7];case 10:return[2,a]}})})()},t.on=function(n,i){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(i)}else this._events.set(n,[i])},t.off=function(n,i){if(this._events.has(n)){var o=this._events.get(n),u=o==null?void 0:o.indexOf(i);o==null||o.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),ys=[];new Set(ys.map(function(e){return e.Designer.controlType}));function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function ur(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&&St(e,t)}function ar(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ds(e,t){return t&&(ps(t)==="object"||typeof t=="function")?t:or(e)}function St(e,t){return St=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},St(e,t)}var ps=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lr(e){var t=vs();return function(){var n=Oe(e),i;if(t){var o=Oe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ds(this,i)}}var Ae=function e(t){B(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:""},sr=function e(t){B(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:""},hs=function e(t){B(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:y.VARCHAR},bs=function(e){ur(r,e);var t=lr(r);function r(n){B(this,r);var i;i=t.call(this,n);var o;i.title=(o=n==null?void 0:n.title)!==null&&o!==void 0?o:"";var u;i.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var s;i.isOpenFilter=(s=n==null?void 0:n.isOpenFilter)!==null&&s!==void 0?s:!1;var c;return i.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],i}return r}(sr),_s=function e(t){B(this,e);var r,n;this.type="sublist-page",this.formBind=new sr(t==null?void 0:t.formBind);var i;this.displayFields=(i=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new hs(u)}))!==null&&i!==void 0?i:[];var o;this.sublists=(o=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new bs(u)}))!==null&&o!==void 0?o:[]},gs=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ms=function e(t){B(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var i;this.displayBos=(i=t==null?void 0:t.displayBos)!==null&&i!==void 0?i:[]},Es=function e(t){var r=this;B(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ae();var i;this.ruleId=(i=t==null?void 0:t.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var o;this.level=(o=t==null?void 0:t.level)!==null&&o!==void 0?o:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(s){if(s.children!==void 0){var c,a=new e(s);(c=r.children)===null||c===void 0||c.push(a)}else{var f,v=new cr(s);(f=r.children)===null||f===void 0||f.push(v)}}))},cr=function e(t){B(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ae();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var i;this.symbol=(i=t==null?void 0:t.symbol)!==null&&i!==void 0?i:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new gs(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ms(t==null?void 0:t.rightVariableBo)},Is=function e(t){B(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},ws=function e(t){B(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Os=function e(t){B(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function fr(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(o){return o.children!==void 0?new Es(o):new cr(o)}))!==null&&r!==void 0?r:[],ar(this,ce)||ar(this,Ss)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new Os(o)}))!==null&&i!==void 0?i:[]}}var ce=function e(t){var r=this;B(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:"";var o;this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(c){var a;(a=r.displayBoList)===null||a===void 0||a.push(new ws(c))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",fr.call(this,t)},As=function e(t){B(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:"";var o;this.fillList=(o=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Is(u)}))!==null&&o!==void 0?o:[]},Ss=function(e){ur(r,e);var t=lr(r);function r(n){B(this,r);var i;return i=t.call(this,n),fr.call(or(i),n),i}return r}(As),Rs=function e(t){B(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var i;this.errMessage=(i=t==null?void 0:t.errMessage)!==null&&i!==void 0?i:""},yr;(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"})(yr||(yr={}));var l;(function(e){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.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(l||(l={}));var Rt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Rt||(Rt={}));var Ps=function e(t){B(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ae(8);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var i;this.isShow=(i=t==null?void 0:t.isShow)!==null&&i!==void 0?i:!0,this.invalidType=t==null?void 0:t.invalidType,this.condition=t==null?void 0:t.condition;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"",this.icon=t==null?void 0:t.icon,this.showType=t==null?void 0:t.showType;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal",this.priorityProcess=t==null?void 0:t.priorityProcess,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage,this.options=t==null?void 0:t.options},Cs=function e(t){B(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var i;this.widthConfig=(i=t==null?void 0:t.widthConfig)!==null&&i!==void 0?i:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Bs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ks(){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 Se(e,t,r){return ks()?Se=Reflect.construct:Se=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&ye(a,u.prototype),a},Se.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fe(e)}function Ts(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&&ye(e,t)}function Ds(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $s(e,t){return t&&(Fs(t)==="object"||typeof t=="function")?t:Bs(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ye(e,t)}var Fs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ct(e){var t=typeof Map=="function"?new Map:void 0;return Ct=function(n){if(n===null||!Ds(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Se(n,arguments,fe(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ye(i,n)},Ct(e)}function Ns(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xs(e){var t=Ns();return function(){var n=fe(e),i;if(t){var o=fe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return $s(this,i)}}var de=function e(t){Pt(this,e),this.isHide={type:"boolean"}},Re=function(e){Ts(r,e);var t=xs(r);function r(n){return Pt(this,r),t.call(this)}return r}(Ct(Array)),j=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Pt(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Cs(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};j.Rules=de,j.RuntimeRules=Re;function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},M.apply(this,arguments)}function Ls(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function Pe(e,t){return Pe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pe(e,t)}function Ms(){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 Ce(e,t,r){return Ms()?Ce=Reflect.construct:Ce=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Pe(a,u.prototype),a},Ce.apply(null,arguments)}function js(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kt(e){var t=typeof Map=="function"?new Map:void 0;return kt=function(n){if(n===null||!js(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Ce(n,arguments,Bt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Pe(i,n)},kt(e)}var Hs=/%[sdj%]/g,dr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(dr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Tt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function $(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,i=t[0],o=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var u=String(i).replace(Hs,function(s){if(s==="%%")return"%";if(n>=o)return s;switch(s){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(c){return"[Circular]"}break;default:return s}});return u}return i}function Us(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||Us(t)&&typeof e=="string"&&!e)}function Vs(e,t,r){var n=[],i=0,o=e.length;function u(s){n.push.apply(n,s),i++,i===o&&r(n)}e.forEach(function(s){t(s,u)})}function pr(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var s=n;n=n+1,s<i?t(e[s],o):r([])}o([])}function qs(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var vr=function(e){Ls(t,e);function t(r,n){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=r,i.fields=n,i}return t}(kt(Error));function zs(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var g=function(E){return n(E),E.length?h(new vr(E,Tt(E))):v()},I=qs(e);pr(I,r,g)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),s=u.length,c=0,a=[],f=new Promise(function(v,h){var g=function(_){if(a.push.apply(a,_),c++,c===s)return n(a),a.length?h(new vr(a,Tt(a))):v()};u.length||(n(a),v()),u.forEach(function(I){var _=e[I];o.indexOf(I)!==-1?pr(_,r,g):Vs(_,r,g)})});return f.catch(function(v){return v}),f}function hr(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 br(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=M(M({},e[r]),n):e[r]=n}}return e}function _r(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||C(t,o||e.type))&&n.push($(i.messages.required,e.fullField))}function Ws(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push($(i.messages.whitespace,e.fullField))}var Dt={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},pe={integer:function(t){return pe.number(t)&&parseInt(t,10)===t},float:function(t){return pe.number(t)&&!pe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){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"&&!pe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Dt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Dt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Dt.hex)}};function Gs(e,t,r,n,i){if(e.required&&t===void 0){_r(e,t,r,n,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;o.indexOf(u)>-1?pe[u](t)||n.push($(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push($(i.messages.types[u],e.fullField,e.type))}function Ks(e,t,r,n,i){var o=typeof e.len=="number",u=typeof e.min=="number",s=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?f="number":h?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push($(i.messages[f].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push($(i.messages[f].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push($(i.messages[f].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push($(i.messages[f].range,e.fullField,e.min,e.max))}var ee="enum";function Xs(e,t,r,n,i){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&n.push($(i.messages[ee],e.fullField,e[ee].join(", ")))}function Qs(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push($(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||n.push($(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var O={required:_r,whitespace:Ws,type:Gs,range:Ks,enum:Xs,pattern:Qs};function Js(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"string")&&!e.required)return r();O.required(e,t,n,o,i,"string"),C(t,"string")||(O.type(e,t,n,o,i),O.range(e,t,n,o,i),O.pattern(e,t,n,o,i),e.whitespace===!0&&O.whitespace(e,t,n,o,i))}r(o)}function Zs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&O.type(e,t,n,o,i)}r(o)}function Ys(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&(O.type(e,t,n,o,i),O.range(e,t,n,o,i))}r(o)}function ec(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&O.type(e,t,n,o,i)}r(o)}function tc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),C(t)||O.type(e,t,n,o,i)}r(o)}function nc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&(O.type(e,t,n,o,i),O.range(e,t,n,o,i))}r(o)}function rc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&(O.type(e,t,n,o,i),O.range(e,t,n,o,i))}r(o)}function ic(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();O.required(e,t,n,o,i,"array"),t!=null&&(O.type(e,t,n,o,i),O.range(e,t,n,o,i))}r(o)}function oc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&O.type(e,t,n,o,i)}r(o)}var uc="enum";function ac(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i),t!==void 0&&O[uc](e,t,n,o,i)}r(o)}function lc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"string")&&!e.required)return r();O.required(e,t,n,o,i),C(t,"string")||O.pattern(e,t,n,o,i)}r(o)}function sc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"date")&&!e.required)return r();if(O.required(e,t,n,o,i),!C(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),O.type(e,s,n,o,i),s&&O.range(e,s.getTime(),n,o,i)}}r(o)}function cc(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;O.required(e,t,n,o,i,u),r(o)}function $t(e,t,r,n,i){var o=e.type,u=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(C(t,o)&&!e.required)return r();O.required(e,t,n,u,i,o),C(t,o)||O.type(e,t,n,u,i)}r(u)}function fc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();O.required(e,t,n,o,i)}r(o)}var ve={string:Js,method:Zs,number:Ys,boolean:ec,regexp:tc,integer:nc,float:rc,array:ic,object:oc,enum:ac,pattern:lc,date:sc,url:$t,hex:$t,email:$t,required:cc,any:fc};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 Nt=Ft();function V(e){this.rules=null,this._messages=Nt,this.define(e)}V.prototype={messages:function(t){return t&&(this._messages=br(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 r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,u=r,s=n;if(typeof u=="function"&&(s=u,u={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(_){var E,p=[],b={};function P(w){if(Array.isArray(w)){var S;p=(S=p).concat.apply(S,w)}else p.push(w)}for(E=0;E<_.length;E++)P(_[E]);p.length?b=Tt(p):(p=null,b=null),s(p,b)}if(u.messages){var a=this.messages();a===Nt&&(a=Ft()),br(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(_){f=i.rules[_],v=o[_],f.forEach(function(E){var p=E;typeof p.transform=="function"&&(o===t&&(o=M({},o)),v=o[_]=p.transform(v)),typeof p=="function"?p={validator:p}:p=M({},p),p.validator=i.getValidationMethod(p),p.field=_,p.fullField=p.fullField||_,p.type=i.getType(p),p.validator&&(h[_]=h[_]||[],h[_].push({rule:p,value:v,source:o,field:_}))})});var I={};return zs(h,u,function(_,E){var p=_.rule,b=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");b=b&&(p.required||!p.required&&_.value),p.field=_.field;function P(N,R){return M(M({},R),{},{fullField:p.fullField+"."+N})}function w(N){N===void 0&&(N=[]);var R=N;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&V.warning("async-validator:",R),R.length&&p.message!==void 0&&(R=[].concat(p.message)),R=R.map(hr(p)),u.first&&R.length)return I[p.field]=1,E(R);if(!b)E(R);else{if(p.required&&!_.value)return p.message!==void 0?R=[].concat(p.message).map(hr(p)):u.error&&(R=[u.error(p,$(u.messages.required,p.field))]),E(R);var x={};if(p.defaultField)for(var me in _.value)_.value.hasOwnProperty(me)&&(x[me]=p.defaultField);x=M(M({},x),_.rule.fields);for(var H in x)if(x.hasOwnProperty(H)){var A=Array.isArray(x[H])?x[H]:[x[H]];x[H]=A.map(P.bind(null,H))}var Ee=new V(x);Ee.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),Ee.validate(_.value,_.rule.options||u,function(oe){var U=[];R&&R.length&&U.push.apply(U,R),oe&&oe.length&&U.push.apply(U,oe),E(U.length?U:null)})}}var S;p.asyncValidator?S=p.asyncValidator(p,_.value,w,_.source,u):p.validator&&(S=p.validator(p,_.value,w,_.source,u),S===!0?w():S===!1?w(p.message||p.field+" fails"):S instanceof Array?w(S):S instanceof Error&&w(S.message)),S&&S.then&&S.then(function(){return w()},function(N){return w(N)})},function(_){c(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ve.hasOwnProperty(t.type))throw new Error($("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?ve.required:ve[this.getType(t)]||!1}},V.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ve[t]=r},V.warning=dr,V.messages=Nt,V.validators=ve;var yc={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 dc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new V(e);return r.messages(Object.assign(yc,t)),r}var pc=new fs;function xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vc(e){if(Array.isArray(e))return e}function hc(e){if(Array.isArray(e))return xt(e)}function gr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function mr(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){gr(o,n,i,u,s,"next",c)}function s(c){gr(o,n,i,u,s,"throw",c)}u(void 0)})}}function bc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _c(e,t,r){return t&&Er(e.prototype,t),r&&Er(e,r),e}function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ir(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function wr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mc(){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 Ec(){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 Or(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){gc(e,i,r[i])})}return e}function Ic(e){return vc(e)||wr(e)||Ar(e)||mc()}function Lt(e){return hc(e)||wr(e)||Ar(e)||Ec()}function Ar(e,t){if(!!e){if(typeof e=="string")return xt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xt(e,t)}}var Sr=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},F=function(){function t(n){var i=this;bc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Pr,this.removeSetting=Rr,this._callControlHooks("preInstance",n);var o=Ir(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||tr("The ".concat(h," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:ae(10),this.name=u,this.icon=s;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:c,this.props=new j(n==null?void 0:n.props,(Ir(this,t)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=K(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:a,this.eventKeys=K(f),this.customEvents=K(v),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];var s,c=Ic(o),a=c[0],f=c.slice(1);return(s=pc).emit.apply(s,[a,this].concat(Lt(f)))},r.preUpdate=function(i,o){this._callControlHooks("preUpdateProps",i,o)},r.postUpdate=function(i,o){this._callControlHooks("postUpdateProps",i,o)},r.updateProps=function(i,o){this.preUpdate(i,o),Yl(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return mr(function(){var o,u,s;return Sr(this,function(c){switch(c.label){case 0:return o=Or({},i.rules),[4,i._callControlHooks("preValidate",o)];case 1:return u=c.sent(),s=u[u.length-1],[2,s===!1?void 0:s]}})})()},r.validate=function(i,o){var u=this;return mr(function(){var s,c,a,f;return Sr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:Or({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=dc(c,i),v.label=2;case 2:return v.trys.push([2,4,,5]),[4,a.validate(u.props)];case 3:return v.sent(),[2,!0];case 4:throw f=v.sent(),f.control||(f.control=u),f;case 5:return[2]}})})()},r.toDataBindModel=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,u=this.id,s=this.type,c=this.props,a=c.dataBind,f=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,I=c.maxLength,_=c.options,E=c.encrypted,p=c.encryptedMode;if(!(!o&&!a&&!f)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:f&&(b.datasourceBind=f);break;case"custom":b.props.options=_;break}return g!==void 0&&(b.required=g),I!==void 0&&(b.maxLength=I),E!==void 0&&(b.encrypted=E),p!==void 0&&(b.encryptedMode=p),b}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:K(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(i,o){if(i==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,Lt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},_c(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=Rr,F.updateSettingItem=Pr;function Rr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",o=t.setting.findIndex(function(c){return c.key===(i?n.key:n)});if(o!==-1){var u,s;i?t.setting[o].showItems=(u=t.setting[o].showItems)===null||u===void 0?void 0:u.filter(function(c){return!n.hideItems.includes(c)}):t.setting.splice(o,1),i&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function Pr(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(i){var o=r.setting.find(function(a){return a.key===i});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var u,s=(u=t.type)!==null&&u!==void 0?u:"replace";if(s==="replace")o.showItems=t.showItems;else{var c;(c=o.showItems).push.apply(c,Lt(t.showItems))}}}})}function wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oc(e,t,r){return t&&Cr(e.prototype,t),r&&Cr(e,r),e}function Ac(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var he=function(){function t(r){wc(this,t),this.customEvents=[],this.parent=null;var n=Ac(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,s=n.controlCustomEvents;i||tr("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:ae(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new j(r==null?void 0:r.props),this.customEvents=s;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var v;this.fieldType=(v=r==null?void 0:r.fieldType)!==null&&v!==void 0?v:o;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:Rt.UNKNOWN}return Oc(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var i=new n(this.props);return Array.from(i)}return[]}}]),t}();he.controlType="control",he.__is_control__=!0,he.controlCustomEvents=[];function Sc(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:m.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:m.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(s){return s.value}),u=ns(o);o.length!==u.length?i(m.getMessage("optionIdIsRepeat")):i()},message:m.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:m.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}])}function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function jt(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&&Ht(e,t)}function Pc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Cc(e,t){return t&&(Bc(t)==="object"||typeof t=="function")?t:Rc(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ht(e,t)}var Bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ut(e){var t=kc();return function(){var n=Be(e),i;if(t){var o=Be(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Cc(this,i)}}var Vt=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(this,r);var i;i=t.call(this,n),i.dataBind={},i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.isHideCaption={type:"boolean"},i.labelPosition={type:"enum",enum:["top","left"]},i.defaultState={type:"enum",enum:["default","readonly"]},i.required={type:"boolean"},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(Pc(n.dataBind,Ae))i.dataBind={type:"object",required:!0,fields:K(o),message:m.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){u.fields[s]={type:"object",required:!0,fields:K(o),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(de),qt=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(this,r);var i;return i=t.call(this,n),i.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:m.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(Re),te=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(this,r);var i;i=t.call(this,n);var o;i.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var u;i.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var c;i.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;i.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var f;i.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var v;i.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var h;i.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new Ae(n==null?void 0:n.dataBind);var I;return i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return r}(j);te.Rules=Vt,te.RuntimeRules=qt;function Tc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(e)}function $c(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 Fc(e,t){return t&&(Nc(t)==="object"||typeof t=="function")?t:Tc(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zt(e,t)}var Nc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lc(e){var t=xc();return function(){var n=ke(e),i;if(t){var o=ke(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fc(this,i)}}var Wt=function(e){$c(r,e);var t=Lc(r);function r(n){Dc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new te(n==null?void 0:n.props),i}return r}(F);Wt.controlEventKeys=["on_change","on_focus","on_blur"];function Mc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jc(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(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function Hc(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&&Gt(e,t)}function Uc(e,t){return t&&(Vc(t)==="object"||typeof t=="function")?t:Mc(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gt(e,t)}var Vc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zc(e){var t=qc();return function(){var n=Te(e),i;if(t){var o=Te(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Uc(this,i)}}var Wc=function(e){Hc(r,e);var t=zc(r);function r(n){jc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new te(n==null?void 0:n.props),i}return r}(he);function Gc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(e)}function Xc(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 Qc(e,t){return t&&(Jc(t)==="object"||typeof t=="function")?t:Gc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var Jc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yc(e){var t=Zc();return function(){var n=De(e),i;if(t){var o=De(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Qc(this,i)}}var q=function(e){Xc(r,e);var t=Yc(r);function r(n){return Kc(this,r),t.call(this,n)}return r}(j);function Xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ef(e){if(Array.isArray(e))return Xt(e)}function tf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nf(){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){return ef(e)||tf(e)||rf(e)||nf()}function rf(e,t){if(!!e){if(typeof e=="string")return Xt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xt(e,t)}}function of(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function kr(e,t){e.parent=t,of(e,"parent")}function uf(e,t){e.forEach(function(r){kr(r,t)})}var Tr=Symbol("targetKey");function Dr(e){var t;return(t=e[Tr])!==null&&t!==void 0?t:e}function $r(e,t){return uf(e,t),new Proxy(e,{get:function(n,i){for(var o=arguments.length,u=new Array(o>2?o-2:0),s=2;s<o;s++)u[s-2]=arguments[s];var c;return i===Tr?n:(c=Reflect).get.apply(c,[n,i].concat(Br(u)))},set:function(n,i,o){for(var u=arguments.length,s=new Array(u>3?u-3:0),c=3;c<u;c++)s[c-3]=arguments[c];var a;if(ts(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(Br(s)));return rr(o)&&kr(o,t),f}})}function Qt(e,t,r,n){var i=n!=null?n:e,o=$r(Dr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=$r(Dr(s),i)},enumerable:!0})}function Jt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function af(e){if(Array.isArray(e))return Jt(e)}function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function lf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Nr(o,n,i,u,s,"next",c)}function s(c){Nr(o,n,i,u,s,"throw",c)}u(void 0)})}}function sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ne=Reflect.get:ne=function(i,o,u){var s=gf(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ne(e,t,r||e)}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},z(e)}function ff(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 yf(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function df(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pf(){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 vf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){cf(e,i,r[i])})}return e}function hf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function bf(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _f(e,t){return t&&(mf(t)==="object"||typeof t=="function")?t:Fr(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zt(e,t)}function gf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=z(e),e!==null););return e}function xr(e){return af(e)||df(e)||Ef(e)||pf()}var mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ef(e,t){if(!!e){if(typeof e=="string")return Jt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jt(e,t)}}function If(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wf(e){var t=If();return function(){var n=z(e),i;if(t){var o=z(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return _f(this,i)}}var Of=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Af=1e4,X=function(t){ff(n,t);var r=wf(n);function n(o){sf(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=yf(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new q(o==null?void 0:o.props),Qt(Fr(u),"children",o==null?void 0:o.children),u.excludes=K(c),u.childrenMaxLength=a,u}var i=n.prototype;return i.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},i.judgeJoinChildren=function(u){var s=this.judgeExcludesChildren(u);return s&&this.childrenMaxLength>this.children.length},i.validate=function(u,s){var c=this,a=this,f=function(){return ne(z(n.prototype),"validate",c)};return lf(function(){return Of(this,function(v){switch(v.label){case 0:return[4,f().call(a,u,s)];case 1:return v.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(u,s)}))];case 2:return v.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=ne(z(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return xr(a).concat(xr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=ne(z(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return bf(vf({},u),{children:s})},n}(F);X.excludes=!1,X.childrenMaxLength=Af;function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function Rf(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 Pf(e,t){return t&&(Cf(t)==="object"||typeof t=="function")?t:Lr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var Cf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kf(e){var t=Bf();return function(){var n=$e(e),i;if(t){var o=$e(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Pf(this,i)}}var be=function(e){Rf(r,e);var t=kf(r);function r(n){Sf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new q(n==null?void 0:n.props),Qt(Lr(i),"children",n==null?void 0:n.children),i}return r}(he);function Mr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function Df(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 $f(e,t){return t&&(Ff(t)==="object"||typeof t=="function")?t:Mr(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var Ff=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xf(e){var t=Nf();return function(){var n=Fe(e),i;if(t){var o=Fe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return $f(this,i)}}var Lf=function(e){Df(r,e);var t=xf(r);function r(n,i){Tf(this,r);var o;return o=t.call(this,i),Qt(Mr(o),"headers",i==null?void 0:i.headers,n),o}return r}(j);function tn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Mf(e){if(Array.isArray(e))return tn(e)}function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function jf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Hr(o,n,i,u,s,"next",c)}function s(c){Hr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Hf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(i,o,u){var s=Kf(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},re(e,t,r||e)}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W(e)}function Vf(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 qf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zf(){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 Ur(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){Uf(e,i,r[i])})}return e}function Wf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Vr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Gf(e,t){return t&&(Xf(t)==="object"||typeof t=="function")?t:jr(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}function Kf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=W(e),e!==null););return e}function qr(e){return Mf(e)||qf(e)||Qf(e)||zf()}var Xf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qf(e,t){if(!!e){if(typeof e=="string")return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(e,t)}}function Jf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zf(e){var t=Jf();return function(){var n=W(e),i;if(t){var o=W(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Gf(this,i)}}var Yf=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ey=function(e){Vf(r,e);var t=Zf(r);function r(i){Hf(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Lf(jr(o),i==null?void 0:i.props),o}var n=r.prototype;return n.validate=function(o,u){var s=this,c=this,a=function(){return re(W(r.prototype),"validate",s)};return jf(function(){return Yf(this,function(f){switch(f.label){case 0:return[4,a().call(c,o)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=re(W(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(s);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return qr(c).concat(qr(v))}return f&&c.push(f),c},u)},n.toSchema=function(){var o=re(W(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return Vr(Ur({},o),{props:Vr(Ur({},this.props),{headers:u})})},r}(F);ey.controlFieldType=y.LIST;function ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function Wr(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 ny(e,t){return t&&(ry(t)==="object"||typeof t=="function")?t:ty(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rn(e,t)}var ry=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gr(e){var t=iy();return function(){var n=Ne(e),i;if(t){var o=Ne(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ny(this,i)}}var oy=function(e){Wr(r,e);var t=Gr(r);function r(n){zr(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(de),uy=function(e){Wr(r,e);var t=Gr(r);function r(n){zr(this,r);var i;i=t.call(this,n);var o;i.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var s;i.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:"none",i.dataBind=new Ae(n==null?void 0:n.dataBind);var c;return i.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i}return r}(j);uy.Rules=oy,l.IS_HIDE,l.IS_HIDE;function ay(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function sy(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 cy(e,t){return t&&(fy(t)==="object"||typeof t=="function")?t:ay(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var fy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dy(e){var t=yy();return function(){var n=xe(e),i;if(t){var o=xe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return cy(this,i)}}var py=function(e){sy(r,e);var t=dy(r);function r(n){ly(this,r);var i;i=t.call(this,n);var o;i.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE";var u;i.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var s;i.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"text";var c;i.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;i.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var f;i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,i}return r}(j);function vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function by(e,t,r){return t&&Kr(e.prototype,t),r&&Kr(e,r),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(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&&un(e,t)}function gy(e,t){return t&&(my(t)==="object"||typeof t=="function")?t:vy(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var my=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ey(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iy(e){var t=Ey();return function(){var n=Le(e),i;if(t){var o=Le(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return gy(this,i)}}var Xr=function(e){_y(r,e);var t=Iy(r);function r(n){hy(this,r);var i;return i=t.call(this,n),i.props=new py(n==null?void 0:n.props),i}return by(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Xr.controlEventKeys=["on_click"],Xr.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];var Qr;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar"})(Qr||(Qr={}));var Jr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Jr||(Jr={}));var Zr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Zr||(Zr={}));var Yr;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Yr||(Yr={}));var ei;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(ei||(ei={}));function ti(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ni;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ni||(ni={}));var ri;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(ri||(ri={}));var ii;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ii||(ii={}));var oi;(function(e){e.ALL="all",e.ASSIGN="assign"})(oi||(oi={}));var ui;(function(e){e.ALL="all",e.ADMIN="admin"})(ui||(ui={})),l.IS_HIDE,y.AUTO_NUMBER,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function wy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function an(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function ln(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&&sn(e,t)}function Oy(e,t){return t&&(Ay(t)==="object"||typeof t=="function")?t:wy(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}var Ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cn(e){var t=Sy();return function(){var n=Me(e),i;if(t){var o=Me(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Oy(this,i)}}var Ry=function(e){ln(r,e);var t=cn(r);function r(n){an(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:m.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:m.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:m.getMessage("stringRangeError")},{pattern:"",message:""}],i.maxLength.min=n.minLength,i.minLength.max=n.maxLength,i.defaultValue[0].max=n.maxLength,i.defaultValue[0].min=n.minLength,i.defaultValue[0].message=m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=ti(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Vt),Py=function(e){ln(r,e);var t=cn(r);function r(n){an(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:m.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:ti(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(qt),fn=function(e){ln(r,e);var t=cn(r);function r(n){an(this,r);var i;i=t.call(this,n);var o;i.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:200;var u;i.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,i.regularRules=new Rs(n==null?void 0:n.regularRules);var s;i.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var c;i.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:He.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var f;i.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(te);fn.Rules=Ry,fn.RuntimeRules=Py;function Cy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function By(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ky(e,t,r){return t&&ai(e.prototype,t),r&&ai(e,r),e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(e)}function Ty(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&&yn(e,t)}function Dy(e,t){return t&&($y(t)==="object"||typeof t=="function")?t:Cy(e)}function yn(e,t){return yn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},yn(e,t)}var $y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ny(e){var t=Fy();return function(){var n=je(e),i;if(t){var o=je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Dy(this,i)}}var He=function(e){Ty(r,e);var t=Ny(r);function r(n){By(this,r);var i;return i=t.call(this,n),i.props=new fn(n==null?void 0:n.props),i}return ky(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(Wt);He.controlEventKeys=["on_change","on_input","on_focus","on_blur"],He.controlFieldType=y.VARCHAR,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.CAPTION,l.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}],y.VARCHAR,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,y.DECIMAL,y.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESTAMP,y.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESCOPE,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,y.VARCHAR,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES;function xy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function pn(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&&vn(e,t)}function Ly(e,t){return t&&(My(t)==="object"||typeof t=="function")?t:xy(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var My=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hn(e){var t=jy();return function(){var n=Ue(e),i;if(t){var o=Ue(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ly(this,i)}}var Hy=104857600,Uy=1048576e3,Vy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:Uy,message:m.getMessage("attachmentMaxSize")},i}return r}(Vt),qy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i[0].type="array",i.push({type:"array",max:n.maxLimit,min:n.minLimit,message:m.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(qt),Ve=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;i=t.call(this,n);var o;i.defaultValue=(o=n==null?void 0:n.defaultValue)!==null&&o!==void 0?o:[];var u;i.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var s;i.attachmentAccept=(s=n==null?void 0:n.attachmentAccept)!==null&&s!==void 0?s:[];var c;i.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var a;i.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var f;i.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:Hy;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:ze.controlName;var h;return i.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",i}return r}(te);Ve.Rules=Vy,Ve.RuntimeRules=qy;function zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gy(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Ky(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&&bn(e,t)}function Xy(e,t){return t&&(Qy(t)==="object"||typeof t=="function")?t:zy(e)}function bn(e,t){return bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},bn(e,t)}var Qy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zy(e){var t=Jy();return function(){var n=qe(e),i;if(t){var o=qe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Xy(this,i)}}var ze=function(e){Ky(r,e);var t=Zy(r);function r(n){Wy(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return Gy(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Wt);ze.controlEventKeys=["on_change"],ze.controlFieldType=y.FILE,ze.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.CAPTION,l.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];function Yy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function td(e,t,r){return t&&si(e.prototype,t),r&&si(e,r),e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function nd(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&&_n(e,t)}function rd(e,t){return t&&(id(t)==="object"||typeof t=="function")?t:Yy(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var id=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function od(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ud(e){var t=od();return function(){var n=We(e),i;if(t){var o=We(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return rd(this,i)}}var ad=function(e){nd(r,e);var t=ud(r);function r(n){ed(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return td(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Wc);ad.controlFieldType=y.FILE,y.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.MONEY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,y.MONEY,y.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,y.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.ADDRESS,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.AUTO_NUMBER,y.CALC,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,y.CALC,y.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL_RANGE,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.ANY,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,y.ANY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,y.VARCHAR,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,y.FILE,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,d.GRID;function ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function cd(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&&gn(e,t)}function fd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:ld(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},gn(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pd(e){var t=dd();return function(){var n=Ge(e),i;if(t){var o=Ge(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return fd(this,i)}}var vd=24,mn=function(e){cd(r,e);var t=pd(r);function r(n){sd(this,r);var i;i=t.call(this,n);var o;i.span=(o=n==null?void 0:n.span)!==null&&o!==void 0?o:vd;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(q);function hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _d(e,t,r){return t&&ci(e.prototype,t),r&&ci(e,r),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function gd(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 md(e,t){return t&&(Ed(t)==="object"||typeof t=="function")?t:hd(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var Ed=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Id(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wd(e){var t=Id();return function(){var n=Ke(e),i;if(t){var o=Ke(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return md(this,i)}}var In=function(e){gd(r,e);var t=wd(r);function r(n){bd(this,r);var i;return i=t.call(this,n),i.props=new mn(n==null?void 0:n.props),i}return _d(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(X);In.excludes=[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.DIVIDER],In.childrenMaxLength=1;function Od(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sd(e,t,r){return t&&fi(e.prototype,t),r&&fi(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Rd(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&&wn(e,t)}function Pd(e,t){return t&&(Cd(t)==="object"||typeof t=="function")?t:Od(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var Cd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kd(e){var t=Bd();return function(){var n=Xe(e),i;if(t){var o=Xe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Pd(this,i)}}var Td=function(e){Rd(r,e);var t=kd(r);function r(n){Ad(this,r);var i;return i=t.call(this,n),i.props=new mn(n==null?void 0:n.props),i}return Sd(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(be),yi={Designer:In,Runtime:Td,Property:mn};function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(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(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Fd(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 Nd(e,t){return t&&(xd(t)==="object"||typeof t=="function")?t:Dd(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var xd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ld(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Md(e){var t=Ld();return function(){var n=Qe(e),i;if(t){var o=Qe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Nd(this,i)}}var An=function(e){Fd(r,e);var t=Md(r);function r(n){$d(this,r);var i;i=t.call(this,n);var o;i.layoutMode=(o=n==null?void 0:n.layoutMode)!==null&&o!==void 0?o:"select";var u;return i.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,i}return r}(q);function jd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ud(e,t,r){return t&&di(e.prototype,t),r&&di(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function Vd(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&&Sn(e,t)}function qd(e,t){return t&&(zd(t)==="object"||typeof t=="function")?t:jd(e)}function Sn(e,t){return Sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sn(e,t)}var zd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gd(e){var t=Wd();return function(){var n=Je(e),i;if(t){var o=Je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return qd(this,i)}}var Rn=function(e){Vd(r,e);var t=Gd(r);function r(n){Hd(this,r);var i;return i=t.call(this,n),i.props=new An(n==null?void 0:n.props),i}return Ud(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(X);Rn.excludes=[d.ROW],Rn.setting=[{key:"col-setting",visible:!0}];function Kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qd(e,t,r){return t&&pi(e.prototype,t),r&&pi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function Jd(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&&Pn(e,t)}function Zd(e,t){return t&&(Yd(t)==="object"||typeof t=="function")?t:Kd(e)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pn(e,t)}var Yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ep(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tp(e){var t=ep();return function(){var n=Ze(e),i;if(t){var o=Ze(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zd(this,i)}}var np=function(e){Jd(r,e);var t=tp(r);function r(n){Xd(this,r);var i;return i=t.call(this,n),i.props=new An(n==null?void 0:n.props),i}return Qd(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(be);function rp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function op(e,t,r){return t&&vi(e.prototype,t),r&&vi(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function up(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&&Cn(e,t)}function ap(e,t){return t&&(lp(t)==="object"||typeof t=="function")?t:rp(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var lp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cp(e){var t=sp();return function(){var n=Ye(e),i;if(t){var o=Ye(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ap(this,i)}}var fp=4,et=function(e){up(r,e);var t=cp(r);function r(n){return ip(this,r),t.call(this,n)}return op(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Rn);et.excludes=[d.GRID_ROW],et.setting=[],et.childrenMaxLength=fp;function yp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pp(e,t,r){return t&&hi(e.prototype,t),r&&hi(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function vp(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&&Bn(e,t)}function hp(e,t){return t&&(bp(t)==="object"||typeof t=="function")?t:yp(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var bp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _p(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gp(e){var t=_p();return function(){var n=tt(e),i;if(t){var o=tt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return hp(this,i)}}var mp=function(e){vp(r,e);var t=gp(r);function r(n){return dp(this,r),t.call(this,n)}return pp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(np);function Ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(e)}function wp(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&&kn(e,t)}function Op(e,t){return t&&(Ap(t)==="object"||typeof t=="function")?t:Ep(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(e,t)}var Ap=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rp(e){var t=Sp();return function(){var n=nt(e),i;if(t){var o=nt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Op(this,i)}}var Pp=function(e){wp(r,e);var t=Rp(r);function r(n){return Ip(this,r),t.call(this,n)}return r}(An),Cp={Designer:et,Runtime:mp,Property:Pp};function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function Tp(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 Dp(e,t){return t&&($p(t)==="object"||typeof t=="function")?t:Bp(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var $p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Np(e){var t=Fp();return function(){var n=rt(e),i;if(t){var o=rt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Dp(this,i)}}q.Rules,l.CAPTION,l.IS_HIDE,d.CARD_GROUP;function xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function _i(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&&Dn(e,t)}function Lp(e,t){return t&&(Mp(t)==="object"||typeof t=="function")?t:xp(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var Mp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gi(e){var t=jp();return function(){var n=it(e),i;if(t){var o=it(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Lp(this,i)}}var Hp=function(e){_i(r,e);var t=gi(r);function r(n){bi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(de),ot=function(e){_i(r,e);var t=gi(r);function r(n){bi(this,r);var i;i=t.call(this,n);var o;i.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:240,i.widthType=(n==null?void 0:n.widthType)||"auto";var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var s;i.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;i.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return i.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,i}return r}(q);ot.Rules=Hp;function Up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(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&&$n(e,t)}function zp(e,t){return t&&(Wp(t)==="object"||typeof t=="function")?t:Up(e)}function $n(e,t){return $n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$n(e,t)}var Wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kp(e){var t=Gp();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return zp(this,i)}}var Q=function(e){qp(r,e);var t=Kp(r);function r(n){Vp(this,r);var i;return i=t.call(this,n),i.props=new ot(n==null?void 0:n.props),i}return r}(X);Q.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Q.controlType="subtable-column",Q.controlIcon="subtable-column",Q.childrenMaxLength=1,Q.excludes=[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT],Q.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];function Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function Jp(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&&Fn(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Xp(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var Yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=ev();return function(){var n=at(e),i;if(t){var o=at(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zp(this,i)}}var mi=function(e){Jp(r,e);var t=tv(r);function r(n){Qp(this,r);var i;return i=t.call(this,n),i.props=new ot(n==null?void 0:n.props),i}return r}(be);mi.controlType="subtable-column";var nv={Designer:Q,Runtime:mi,Property:ot};d.SUBTABLE,d.SUBTABLE_COLUMN,d.SUBTABLE_ROW,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT,l.CAPTION,d.GRID_TABLE,d.GRID_TABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT,l.CAPTION,d.TAB,l.CAPTION,l.IS_HIDE,d.TAB,d.GRID_ROW,d.ROW,d.GRID,d.SUBTABLE,d.TAB,d.TOOLBOX;function Ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function xn(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&&Ln(e,t)}function rv(e,t){return t&&(iv(t)==="object"||typeof t=="function")?t:Ei(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var iv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mn(e){var t=ov();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return rv(this,i)}}var st;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(st||(st={}));var uv=function(e){xn(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Re),av=function(e){xn(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===st.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),Sc.call(Ei(i),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(i.datasourceBind)&&i.datasourceBind.length>1){var o=i.datasourceBind.find(function(u){return u.type==="object"&&u.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return i}return r}(de),_e=function(e){xn(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;i=t.call(this,n),i.datasourceBind=new ce(n==null?void 0:n.datasourceBind);var o;i.isLoading=(o=n==null?void 0:n.isLoading)!==null&&o!==void 0?o:!1;var u;i.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var s;i.triggerType=(s=n==null?void 0:n.triggerType)!==null&&s!==void 0?s:st.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new _s(n==null?void 0:n.sublistPage);var a;i.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var f;i.showFullScreen=(f=n==null?void 0:n.showFullScreen)!==null&&f!==void 0?f:!1;var v;i.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var h;return i.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,i}return r}(q);_e.Rules=av,_e.RuntimeRules=uv;function lv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cv(e,t,r){return t&&Ii(e.prototype,t),r&&Ii(e,r),e}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function fv(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&&jn(e,t)}function yv(e,t){return t&&(dv(t)==="object"||typeof t=="function")?t:lv(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var dv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vv(e){var t=pv();return function(){var n=ct(e),i;if(t){var o=ct(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yv(this,i)}}var ft=function(e){fv(r,e);var t=vv(r);function r(n){sv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return cv(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(X);ft.excludes=[d.ROW],ft.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],ft.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function hv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _v(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function gv(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&&Hn(e,t)}function mv(e,t){return t&&(Ev(t)==="object"||typeof t=="function")?t:hv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var Ev=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wv(e){var t=Iv();return function(){var n=yt(e),i;if(t){var o=yt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return mv(this,i)}}var Ov=function(e){gv(r,e);var t=wv(r);function r(n){bv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return _v(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(be),Av={Designer:ft,Runtime:Ov,Property:_e};function Sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Ai(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 Rv(e,t){return t&&(Pv(t)==="object"||typeof t=="function")?t:Sv(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Un(e,t)}var Pv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Si(e){var t=Cv();return function(){var n=dt(e),i;if(t){var o=dt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rv(this,i)}}var Bv=function(e){Ai(r,e);var t=Si(r);function r(n){Oi(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Re),pt=function(e){Ai(r,e);var t=Si(r);function r(n){Oi(this,r);var i;i=t.call(this,n);var o;i.buttons=((o=n==null?void 0:n.buttons)!==null&&o!==void 0?o:[]).map(function(s){return new Ps(s)});var u;return i.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1,i.datasourceBind=new ce(n==null?void 0:n.datasourceBind),i}return r}(q);pt.RuntimeRules=Bv;function kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dv(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function $v(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&&Vn(e,t)}function Fv(e,t){return t&&(Nv(t)==="object"||typeof t=="function")?t:kv(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vn(e,t)}var Nv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lv(e){var t=xv();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fv(this,i)}}var Pi=function(e){$v(r,e);var t=Lv(r);function r(n){Tv(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return Dv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(X);Pi.excludes=[];function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hv(e,t,r){return t&&Ci(e.prototype,t),r&&Ci(e,r),e}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function Uv(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&&qn(e,t)}function Vv(e,t){return t&&(qv(t)==="object"||typeof t=="function")?t:Mv(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var qv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wv(e){var t=zv();return function(){var n=ht(e),i;if(t){var o=ht(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Vv(this,i)}}var Gv=function(e){Uv(r,e);var t=Wv(r);function r(n){jv(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return Hv(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(be),Kv={Designer:Pi,Runtime:Gv,Property:pt};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,l.CAPTION,l.CAN_CHECK,l.CAN_EDIT,l.CAN_DELETE,y.FILE,y.VARCHAR,l.CAPTION,y.VARCHAR,y.TEXT,l.CAPTION,y.TEXT,y.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,y.DECIMAL,y.TIMESCOPE,l.CAPTION,y.TIMESCOPE,y.TIMESTAMP,l.CAPTION,y.TIMESTAMP,y.ARRAY,l.CAPTION,y.ARRAY,y.DEPARTMENTS,l.CAPTION,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,y.AUTO_NUMBER,y.FILE,l.CAPTION,y.FILE,y.IMAGE,l.CAPTION,y.IMAGE,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,y.ADDRESS,l.CAPTION,y.ADDRESS,l.CAPTION,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,l.IS_HIDE;const Xv=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];ah(t==null?void 0:t.events),th(n),nh(n);const i=eh(n),o=rh(i,t);let u=Y(L(o,s=>Yv(s,t)));return r?u:u[0]},Qv=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],Jv=["subtable","grid-table"],Zv=["simple-search"];function Yv(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Qv.includes(r.type)?r.controlType="base":r.controlType="form",Jv.includes(r.type)&&(r.controlType="list"),Zv.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),T((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),T((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(T(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((v,h)=>{const g=new nv.Designer;g.props.widthType=v.header_width_config==="1"?"auto":"px",g.props.width=v.header_width===""?200:Number(v.header_width),g.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const I=g.toSchema();I.id=v.header_id;const _=r.children[0].children[h].children[0];return _&&(I.children=[_]),I}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=T(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(v=>{const h=new yi.Designer;h.props.span=f;const g=h.toSchema();return g.children.push(v),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};f&&(Bi(r,t),h.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),v&&(h.unit=v.props.data_bind,r.props.default_value={unit:v.props.value}),r.props.dataBind=h,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};f&&(Bi(r,t),r.id=f.id,h.amount=f.props.data_bind,r.props.range_min=Z(f.props.range_min),r.props.range_max=Z(f.props.range_max),g.amount=Z(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=T(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),v&&(h.currency=v.props.data_bind,g.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(I=>({label:I.text,value:I.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};f&&(h.min=f.props.data_bind),v&&(h.max=v.props.data_bind),r.props.dataBind=h,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Z(e.props.range_min),r.props.range_max=Z(e.props.range_max),r.props.defaultValue=Z(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),lh(r,t==null?void 0:t.control_events),r}function Bi(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,i=e.id,o=e.children[0].id;r.forEach(u=>{u.id===i&&(u.id=o);const s=u.show_controls.findIndex(a=>a===i),c=u.hide_controls.findIndex(a=>a===i);s>-1&&u.show_controls.splice(s,1,o),c>-1&&u.hide_controls.splice(c,1,o)}),n.forEach(u=>{u.ctrl_id===i&&(u.id=o)})}function eh(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Kv.Designer().toSchema();return n.children=e,[n]}function th(e){e.forEach(t=>{t.children&&uh(t.children)})}function nh(e){e.forEach(t=>{var n,i;if(!(t&&t.children))return;const r=t.children;for(let o=0;o<r.length;o++){const u=r[o],s=(i=(n=r[o])==null?void 0:n.children)==null?void 0:i[0];u.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&r.splice(o,1,s)}})}function rh(e,t){var g,I,_,E,p,b,P,w;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,s]=i;ih(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,oh(s,u);const c=(_=(I=n==null?void 0:n.source_config)==null?void 0:I.data_code)!=null?_:t==null?void 0:t.dataCode,a=((p=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,f=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new Av.Designer;v.props.datasourceBind=new ce({dataCode:c,svcCode:a,orders:rs(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(w=n==null?void 0:n.sublist_page)==null||w.sublists.forEach(S=>{S.title=T(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function ih(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=T(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function oh(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:T(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=T(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ce({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function uh(e){var r;let t=null;for(let n=0;n<e.length;n++){const i=e[n];if(!!i){if(i.children&&((r=i.children[0])==null?void 0:r.type)==="group-panel"){t=i.children[0];continue}t&&(t.children.push(i),e.splice(n,1),n--)}}}function ah(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function lh(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(i=>{!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),t[e.id][i].push(...e.props.events[i].map(o=>o.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const sh=(e,t)=>{const r=Array.isArray(e);let i=Y(L(r?e:[e],o=>ch(o)));return r?i:i[0]};function ch(e,t){return e.type===d.LIST_VIEW&&e.children.find(n=>n.type===d.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ae({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const fh=(e,t)=>{const r=Array.isArray(e);let i=Y(L(r?e:[e],o=>yh(o)));return r?i:i[0]};function yh(e,t){return[d.BUTTON,d.CREATE_FORM_LIST_BUTTON,d.BATCH_SUBMISSION_LIST_BUTTON,d.SUBMISSION_RECORD_LIST_BUTTON,d.IMPORT_RECORD_LIST_BUTTON,d.EXPORT_RECORD_LIST_BUTTON,d.EXPORT_LIST_BUTTON,d.FORM_SELECT_BUTTON,d.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===d.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===d.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const dh=(e,t)=>{const r=Array.isArray(e);let i=Y(L(r?e:[e],o=>ph(o)));return r?i:i[0]};function ph(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const vh=(e,t)=>{const r=Array.isArray(e);let i=Y(L(r?e:[e],o=>bh(o)));return r?i:i[0]},hh=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function bh(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(hh.includes(r.type))return r;const n=new Cp.Designer,i=new yi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const _h=(e,t)=>{const r=Array.isArray(e);let i=Y(L(r?e:[e],o=>gh(o)));return r?i:i[0]};function gh(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===d.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const mh=(e,t)=>{const r=Array.isArray(e);let i=L(r?e:[e],o=>Eh(o));return r?i:i[0]};function Eh(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Ih=(e,t)=>{const r=Array.isArray(e);let i=L(r?e:[e],o=>wh(o));return r?i:i[0]};function G(e,t){e.field_code&&(e.field_type=t)}function wh(e,t){var n;const r={[d.TITLE]:y.AUTO_NUMBER,[d.ADDRESS]:y.ADDRESS,[d.ATTACHMENT]:y.FILE,[d.AUTO_NUMBER]:y.AUTO_NUMBER,[d.CHECKBOX]:y.ARRAY,[d.DATE_PICKER]:y.TIMESTAMP,[d.DEPARTMENT]:y.DEPARTMENTS,[d.EMPLOYEE]:y.EMPLOYEES,[d.EMPLOYEE2]:y.EMPLOYEES,[d.IMAGE]:y.IMAGE,[d.INPUT]:y.VARCHAR,[d.NUMBER]:y.DECIMAL,[d.RADIO]:y.VARCHAR,[d.RICH_TEXT]:y.TEXT,[d.SCORE]:y.DECIMAL,[d.SELECT]:y.VARCHAR,[d.SELECT_MULTIPLE]:y.ARRAY,[d.SELECT_RELATION]:y.VARCHAR,[d.TEXTAREA]:y.TEXT,[d.TREE]:y.ARRAY,[d.SEARCH_DATE_RANGE]:y.ARRAY,[d.SEARCH_INPUT]:y.VARCHAR,[d.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&G(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(G(e.props.data_bind.amount,y.DECIMAL),G(e.props.data_bind.currency,y.VARCHAR)),e.type===d.CALC&&(G(e.props.data_bind.result,y.DECIMAL),G(e.props.data_bind.unit,y.VARCHAR)),e.type===d.DATE_RANGE&&(G(e.props.data_bind.min,y.TIMESTAMP),G(e.props.data_bind.max,y.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&G(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const Oh=(e,t)=>{const r=Array.isArray(e);let i=L(r?e:[e],o=>Ah(o));return r?i:i[0]};function Ah(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===d.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Sh=(e,t)=>{const r=Array.isArray(e);let i=L(r?e:[e],o=>Rh(o));return r?i:i[0]};function Rh(e,t){return e.type===d.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[y.VARCHAR,y.TEXT,y.AUTO_NUMBER].includes((i=(n=r.props)==null?void 0:n.data_bind)==null?void 0:i.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Ph=(e,t)=>{const r=Array.isArray(e);let i=L(r?e:[e],o=>Ch(o));return r?i:i[0]};function Ch(e,t){var r,n,i,o,u,s,c,a,f,v,h,g,I,_,E,p,b,P,w,S,N,R,x,me,H;return e.type===d.GRID_TABLE&&e.props.headers.map(A=>{var Ee,oe,U,Ti,Di,$i,Fi,Ni,xi,Li,Mi,ji,Hi,Ui,Vi,qi,zi,Wi,Gi,Ki,Xi,Qi,Ji;A.type===d.OPERATION_COLUMN&&(A.props.buttons=[],delete A.props.custom,((Ee=A.props)==null?void 0:Ee.check)!==void 0&&(A.props.buttons.push({id:(oe=A.props)==null?void 0:oe.check.id,type:"check",content:(U=A.props)==null?void 0:U.check.content,is_show:(Ti=A.props)==null?void 0:Ti.check.is_show,priority_process:(Di=A.props)==null?void 0:Di.check.priority_process,open_type:($i=A.props)==null?void 0:$i.check.open_type,form_key:(Fi=A.props)==null?void 0:Fi.check.form_key}),(Ni=A.props)==null||delete Ni.check),((xi=A.props)==null?void 0:xi.edit)!==void 0&&(A.props.buttons.push({id:(Li=A.props)==null?void 0:Li.edit.id,type:"edit",content:(Mi=A.props)==null?void 0:Mi.edit.content,is_show:(ji=A.props)==null?void 0:ji.edit.is_show,priority_process:(Hi=A.props)==null?void 0:Hi.edit.priority_process,open_type:(Ui=A.props)==null?void 0:Ui.edit.open_type,form_key:(Vi=A.props)==null?void 0:Vi.edit.form_key}),(qi=A.props)==null||delete qi.edit),((zi=A.props)==null?void 0:zi.delete)!==void 0&&(A.props.buttons.push({id:(Wi=A.props)==null?void 0:Wi.delete.id,type:"delete",content:(Gi=A.props)==null?void 0:Gi.delete.content,is_show:(Ki=A.props)==null?void 0:Ki.delete.is_show,open_type:(Xi=A.props)==null?void 0:Xi.delete.open_type,form_key:(Qi=A.props)==null?void 0:Qi.delete.form_key}),(Ji=A.props)==null||delete Ji.delete))}),e.type===d.DATA_VIEW&&(e.props.buttons=[],delete e.props.custom,((r=e.props)==null?void 0:r.save)!==void 0&&(e.props.buttons.push({id:(n=e.props)==null?void 0:n.save.id,type:"save",content:(i=e.props)==null?void 0:i.save.content,is_show:(o=e.props)==null?void 0:o.save.is_show,open_type:(u=e.props)==null?void 0:u.save.open_type,form_key:(s=e.props)==null?void 0:s.save.form_key}),(c=e.props)==null||delete c.save),e.props.cancel!==void 0&&(e.props.buttons.push({id:(a=e.props)==null?void 0:a.cancel.id,type:"cancel",content:(f=e.props)==null?void 0:f.cancel.content,is_show:(v=e.props)==null?void 0:v.cancel.is_show,open_type:(h=e.props)==null?void 0:h.cancel.open_type,form_key:(g=e.props)==null?void 0:g.cancel.form_key}),(I=e.props)==null||delete I.cancel),e.props.save_as!==void 0&&(e.props.buttons.push({id:(_=e.props)==null?void 0:_.save_as.id,type:"save_as",content:(E=e.props)==null?void 0:E.save_as.content,is_show:(p=e.props)==null?void 0:p.save_as.is_show,open_type:(b=e.props)==null?void 0:b.save_as.open_type,form_key:(P=e.props)==null?void 0:P.save_as.form_key}),(w=e.props)==null||delete w.save_as),e.props.print!==void 0&&(e.props.buttons.push({id:(S=e.props)==null?void 0:S.print.id,type:"print",content:(N=e.props)==null?void 0:N.print.content,is_show:(R=e.props)==null?void 0:R.print.is_show,open_type:(x=e.props)==null?void 0:x.print.open_type,form_key:(me=e.props)==null?void 0:me.print.form_key}),(H=e.props)==null||delete H.print)),e}var ki={"v1.0":Xv,"v2.0":sh,"v2.1":fh,"v2.2":dh,"v2.3":vh,"v2.4":_h,"v2.5":mh,"v2.6":Ih,"v2.7":Oh,"v2.8":Sh,"v2.9":Ph,"v2.10":()=>{}};function bt(e){return e.replace(/^v/,"")}function _t(e){return Number(bt(e))}const ie=Object.keys(ki).map(e=>bt(e)).sort((e,t)=>Number(e)-Number(t)),ge=ie[ie.length-1];class Bh{constructor(t,r=ge){this.schemaVersion=t,this.toVersion=r,_t(r)>_t(ge)?er(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${ge}`):(!ie.includes(bt(r))||!ie.includes(bt(t)))&&er(`Version Builder: Please give me a valid version number, The valid version is: ${ie.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===this._schemaVersion)return t;const n=this.callDataCleanerKeys.reduce((i,o,u,s)=>{var v;const c=(v=s[u+1])!=null?v:this.toVersion;we(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=ki[o];let f=i;if(typeof a=="function"){const h=a(i,r);h&&(f=h)}return f},t);return we(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return ie.filter(t=>Number(t)>=this._schemaVersion&&Number(t)<this._version)}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return _t(this.toVersion)}get _schemaVersion(){return _t(this.schemaVersion)}get version(){return ge}static get version(){return ge}}J.VersionBuilder=Bh,Object.defineProperty(J,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-upgrade",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-beta.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@byteluck-fe/model-driven-controls": "^1.
|
|
26
|
-
"@byteluck-fe/model-driven-core": "^1.
|
|
27
|
-
"@byteluck-fe/model-driven-shared": "^1.
|
|
25
|
+
"@byteluck-fe/model-driven-controls": "^1.8.0-beta.0",
|
|
26
|
+
"@byteluck-fe/model-driven-core": "^1.8.0-beta.0",
|
|
27
|
+
"@byteluck-fe/model-driven-shared": "^1.8.0-beta.0",
|
|
28
28
|
"tslib": "^2.1.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "f709000371a428ee181b1560cc99539d6424b7e5"
|
|
31
31
|
}
|