@byteluck-fe/model-driven-upgrade 1.8.0-beta.6 → 1.8.0-beta.7
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/v2_9.js +47 -49
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/esm/upgrade/v2_9.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { loop, CONTROL_TYPE } from "@byteluck-fe/model-driven-shared";
|
|
2
|
-
import { OperationButton } from "@byteluck-fe/model-driven-controls";
|
|
3
2
|
var dataCleaner = function(schemaItems, payload) {
|
|
4
3
|
var isArray = Array.isArray(schemaItems);
|
|
5
4
|
var schemaArray = isArray ? schemaItems : [
|
|
@@ -12,54 +11,53 @@ var dataCleaner = function(schemaItems, payload) {
|
|
|
12
11
|
};
|
|
13
12
|
function conversion(schema, payload) {
|
|
14
13
|
if (schema.type === CONTROL_TYPE.GRID_TABLE) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
});
|
|
14
|
+
// schema.props.headers.map((item: any) => {
|
|
15
|
+
// if (item.type === CONTROL_TYPE.OPERATION_COLUMN) {
|
|
16
|
+
// item.children = []
|
|
17
|
+
// delete item.props.custom
|
|
18
|
+
// if (item.props?.check !== undefined) {
|
|
19
|
+
// const optbtn = new OperationButton.Designer()
|
|
20
|
+
// optbtn.props.code = 'view'
|
|
21
|
+
// optbtn.props.command = 'view'
|
|
22
|
+
// optbtn.props.content = item.props?.check.content,
|
|
23
|
+
// optbtn.props.priorityProcess = item.props?.check.priority_process
|
|
24
|
+
// optbtn.props.openType = item.props?.check.open_type
|
|
25
|
+
// optbtn.props.formKey = item.props?.check.form_key
|
|
26
|
+
// if (item.props?.check.is_show) {
|
|
27
|
+
// item.children.push(optbtn.toSchema())
|
|
28
|
+
// }
|
|
29
|
+
// delete item.props?.check
|
|
30
|
+
// }
|
|
31
|
+
// if (item.props?.edit !== undefined) {
|
|
32
|
+
// const optbtn = new OperationButton.Designer()
|
|
33
|
+
// optbtn.props.code = 'edit'
|
|
34
|
+
// optbtn.props.command = 'edit'
|
|
35
|
+
// optbtn.props.content = item.props?.edit.content,
|
|
36
|
+
// optbtn.props.priorityProcess = item.props?.edit.priority_process
|
|
37
|
+
// optbtn.props.openType = item.props?.edit.open_type
|
|
38
|
+
// optbtn.props.formKey = item.props?.edit.form_key
|
|
39
|
+
// if (item.props?.edit.is_show) {
|
|
40
|
+
// item.children.push(optbtn.toSchema())
|
|
41
|
+
// }
|
|
42
|
+
// delete item.props?.edit
|
|
43
|
+
// }
|
|
44
|
+
// if (item.props?.delete !== undefined) {
|
|
45
|
+
// const optbtn = new OperationButton.Designer()
|
|
46
|
+
// optbtn.props.code = 'delete'
|
|
47
|
+
// optbtn.props.command = 'delete'
|
|
48
|
+
// optbtn.props.content = item.props?.delete.content,
|
|
49
|
+
// optbtn.props.priorityProcess = item.props?.delete.priority_process
|
|
50
|
+
// optbtn.props.openType = item.props?.delete.open_type
|
|
51
|
+
// optbtn.props.formKey = item.props?.delete.form_key
|
|
52
|
+
// optbtn.props.needConfirm = true
|
|
53
|
+
// optbtn.props.confirmMessage = '确定要删除此条数据吗?'
|
|
54
|
+
// if (item.props?.delete.is_show) {
|
|
55
|
+
// item.children.push(optbtn.toSchema())
|
|
56
|
+
// }
|
|
57
|
+
// delete item.props?.delete
|
|
58
|
+
// }
|
|
59
|
+
// }
|
|
60
|
+
// })
|
|
63
61
|
}
|
|
64
62
|
return schema;
|
|
65
63
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(G,ue){typeof exports=="object"&&typeof module!="undefined"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(G=typeof globalThis!="undefined"?globalThis:G||self,ue(G.modelDrivenUpgrade={}))})(this,function(G){"use strict";var ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ki="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Xi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Qi="{caption}\u5FC5\u586B",Ji="\u8BF7\u8F93\u5165\u6807\u9898",Zi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Yi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",eo="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",to="\u8BF7\u7ED1\u5B9A\u8868\u5355",no="\u8BF7\u7ED1\u5B9A\u5217\u8868",ro="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",io="\u8BF7\u8F93\u5165\u663E\u793A\u503C",oo="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",uo="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ao="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",lo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",co="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",so="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",fo="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",yo="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",po="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",vo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ho="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bo="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_o="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",mo="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",go="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Eo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Io="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Oo="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",wo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ao="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",So="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ro="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Po="\u8BF7\u9009\u62E9\u7701",Co="\u8BF7\u9009\u62E9\u5E02",Bo="\u8BF7\u9009\u62E9\u533A",$o="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ko="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",To="\u8BF7\u8F93\u5165\u5217\u5BBD",Do="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Fo="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",No="\u8BF7\u9009\u62E9\u63A7\u4EF6",xo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Lo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Mo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ho="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uo="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Vo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",qo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ko="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Go="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Jo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Yo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",eu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",nu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ru="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",iu={isNotNumber:ue,isNotString:Wi,isNotObject:Ki,isNotArray:Gi,isNotBoolean:Xi,runtimeRequired:Qi,pleaseEnterCaption:Ji,pleaseEnterCaptionTip:Zi,pleaseEnterPlaceholder:Yi,pleaseEnterFieldCode:eo,pleaseEnterForm:to,pleaseEnterList:no,pleaseEnterProcess:ro,pleaseEnterLabel:io,pleaseEnterValue:oo,bizKeyNotBindFiled:uo,pleaseEnterNumberRange:ao,pleaseEnterAValueGreaterThanMin:lo,pleaseEnterAValueLessThanMax:co,numberRangeSetError:so,stringRangeError:fo,attachmentMaxSize:yo,pleaseEnterTotalScoreSetting:po,theTotalScoreMustNotBeLessThan1:vo,scoreDefaultValueRange:ho,attachmentLimitError:bo,PleaseReselectTheOptionalQuantity:_o,TheMaximumLengthIsGreaterThanTheMinimumLength:mo,TheMinimumLengthIsGreaterThanTheMaximumLength:go,PleaseSelectTheCorrectOptionSettings:Eo,optionIdIsRepeat:Io,optionIsRequired:Oo,pleaseEnterDataCode:wo,pleaseEnterValueFieldCode:Ao,pleaseEnterSvcCode:So,pleaseBindAtLeastOneDisplayValue:Ro,pleaseSelectProvince:Po,pleaseSelectCity:Co,pleaseSelectDistrict:Bo,limitRowsCannotBeLessThan0:$o,TheNumberOfRowsCannotBeLessThanMinRows:ko,pleaseEnterColumnWidth:To,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Do,pleaseCompleteAllRulesAndConditions:Fo,pleaseSelectControl:No,pleaseSelectAtLeastOneColumn:xo,pleaseSelectFillBackMode:Lo,pleaseSelectDashboard:Mo,rootNodeIsRequired:jo,theViewNameCannotBeEmpty:Ho,pleaseSelectOcrType:Uo,pleaseSelectAtLeastOneFieldToFillIn:Vo,pleaseChooseAtLeastOne:qo,pleaseEnterButtonContent:zo,pleaseEnterDataCodeInDataSetting:Wo,pleaseEnterValueFieldCodeInDataSetting:Ko,pleaseEnterSvcCodeInDataSetting:Go,pleaseBindAtLeastOneDisplayValueInDataSetting:Xo,rootNodeIsRequiredInDataSetting:Qo,pleaseEnterMaxHeight:Jo,pleaseEnter:Zo,pleaseEnterWatermark:Yo,pleaseEnterFileName:eu,pleaseUploadAtLeastOnePrintTemplate:tu,pleaseAssignBusiness:nu,pleaseAssignExternal:ru},ou="Please enter a number",uu="Please enter a string",au="Please enter an object",lu="Please enter an array",cu="Please enter a boolean",su="{caption} Required",fu="Please enter the title",yu="Please enter the bubble prompt",du="Please enter the prompt text",pu="Please bind data items",vu="Please bind the form",hu="Please bind the list",bu="Please bind the process",_u="Please enter the displayed value",mu="Please enter the stored value",gu="The document number is not bound to the data item",Eu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Iu="Please enter a value greater than or equal to {min}",Ou="Please enter a value less than or equal to {max}",wu="The value range is set incorrectly",Au="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Su="The attachment size must be between 0MB and 1000MB",Ru="Please fill in the total score setting",Pu="The total score cannot be less than 1",Cu="The default value must be between {min} and {max}",Bu="The number of attachments uploaded must be between {min} and {max}",$u="Please re-select the optional quantity",ku="The maximum length of the control must be greater than the minimum length",Tu="The minimum length of the control must be less than the maximum length",Du="Please select the correct option setting",Fu="Option ID cannot be repeated",Nu="Please enter at least one option",xu="Please bind the data source",Lu="Please bind the stored value",Mu="Please bind the service",ju="At least one display value must be bound",Hu="Please select a province",Uu="Please select a city",Vu="Please select a district",qu="The minimum number of lines to fill in cannot be less than 0",zu="The number of rows cannot be less than {min} rows",Wu="Please enter the column width",Ku="Please set the logical relationship of all rule conditions",Gu="Please complete all rules and conditions",Xu="please select control",Qu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ju="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Yu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ea="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ta="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ra="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ia="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",oa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ua="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",aa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",la="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ca="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fa="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ya="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",da="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pa={isNotNumber:ou,isNotString:uu,isNotObject:au,isNotArray:lu,isNotBoolean:cu,runtimeRequired:su,pleaseEnterCaption:fu,pleaseEnterCaptionTip:yu,pleaseEnterPlaceholder:du,pleaseEnterFieldCode:pu,pleaseEnterForm:vu,pleaseEnterList:hu,pleaseEnterProcess:bu,pleaseEnterLabel:_u,pleaseEnterValue:mu,bizKeyNotBindFiled:gu,pleaseEnterNumberRange:Eu,pleaseEnterAValueGreaterThanMin:Iu,pleaseEnterAValueLessThanMax:Ou,numberRangeSetError:wu,stringRangeError:Au,attachmentMaxSize:Su,pleaseEnterTotalScoreSetting:Ru,theTotalScoreMustNotBeLessThan1:Pu,scoreDefaultValueRange:Cu,attachmentLimitError:Bu,PleaseReselectTheOptionalQuantity:$u,TheMaximumLengthIsGreaterThanTheMinimumLength:ku,TheMinimumLengthIsGreaterThanTheMaximumLength:Tu,PleaseSelectTheCorrectOptionSettings:Du,optionIdIsRepeat:Fu,optionIsRequired:Nu,pleaseEnterDataCode:xu,pleaseEnterValueFieldCode:Lu,pleaseEnterSvcCode:Mu,pleaseBindAtLeastOneDisplayValue:ju,pleaseSelectProvince:Hu,pleaseSelectCity:Uu,pleaseSelectDistrict:Vu,limitRowsCannotBeLessThan0:qu,TheNumberOfRowsCannotBeLessThanMinRows:zu,pleaseEnterColumnWidth:Wu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ku,pleaseCompleteAllRulesAndConditions:Gu,pleaseSelectControl:Xu,pleaseSelectDashboard:Qu,theViewNameCannotBeEmpty:Ju,pleaseSelectOcrType:Zu,pleaseSelectAtLeastOneFieldToFillIn:Yu,pleaseChooseAtLeastOne:ea,pleaseEnterButtonContent:ta,pleaseEnterDataCodeInDataSetting:na,pleaseEnterValueFieldCodeInDataSetting:ra,pleaseEnterSvcCodeInDataSetting:ia,pleaseBindAtLeastOneDisplayValueInDataSetting:oa,rootNodeIsRequiredInDataSetting:ua,pleaseEnterMaxHeight:aa,pleaseEnter:la,pleaseEnterWatermark:ca,pleaseEnterFileName:sa,pleaseUploadAtLeastOnePrintTemplate:fa,pleaseAssignBusiness:ya,pleaseAssignExternal:da},va="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_a="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ga="{caption}\u5FC5\u9808",Ea="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ra="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ca="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$a="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ka="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ta="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Da="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Fa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",La="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ma="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ja="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ha="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="\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",Va="\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",za="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ka="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ga="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qa="\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",Za="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ya="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",el="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tl="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nl="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rl="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",il="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ol="please select control",ul="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",al="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ll="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",cl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",fl="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",yl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_l="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ml="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",El="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Il="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ol="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",wl={isNotNumber:va,isNotString:ha,isNotObject:ba,isNotArray:_a,isNotBoolean:ma,runtimeRequired:ga,pleaseEnterCaption:Ea,pleaseEnterCaptionTip:Ia,pleaseEnterPlaceholder:Oa,pleaseEnterFieldCode:wa,pleaseEnterForm:Aa,pleaseEnterList:Sa,pleaseEnterProcess:Ra,pleaseEnterLabel:Pa,pleaseEnterValue:Ca,bizKeyNotBindFiled:Ba,pleaseEnterNumberRange:$a,pleaseEnterAValueGreaterThanMin:ka,pleaseEnterAValueLessThanMax:Ta,numberRangeSetError:Da,stringRangeError:Fa,attachmentMaxSize:Na,pleaseEnterTotalScoreSetting:xa,theTotalScoreMustNotBeLessThan1:La,scoreDefaultValueRange:Ma,attachmentLimitError:ja,PleaseReselectTheOptionalQuantity:Ha,TheMaximumLengthIsGreaterThanTheMinimumLength:Ua,TheMinimumLengthIsGreaterThanTheMaximumLength:Va,PleaseSelectTheCorrectOptionSettings:qa,optionIdIsRepeat:za,optionIsRequired:Wa,pleaseEnterDataCode:Ka,pleaseEnterValueFieldCode:Ga,pleaseEnterSvcCode:Xa,pleaseBindAtLeastOneDisplayValue:Qa,pleaseSelectProvince:Ja,pleaseSelectCity:Za,pleaseSelectDistrict:Ya,limitRowsCannotBeLessThan0:el,TheNumberOfRowsCannotBeLessThanMinRows:tl,pleaseEnterColumnWidth:nl,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rl,pleaseCompleteAllRulesAndConditions:il,pleaseSelectControl:ol,pleaseSelectDashboard:ul,theViewNameCannotBeEmpty:al,pleaseSelectOcrType:ll,pleaseSelectAtLeastOneFieldToFillIn:cl,pleaseChooseAtLeastOne:sl,pleaseEnterButtonContent:fl,pleaseEnterDataCodeInDataSetting:yl,pleaseEnterValueFieldCodeInDataSetting:dl,pleaseEnterSvcCodeInDataSetting:pl,pleaseBindAtLeastOneDisplayValueInDataSetting:vl,rootNodeIsRequiredInDataSetting:hl,pleaseEnterMaxHeight:bl,pleaseEnter:_l,pleaseEnterWatermark:ml,pleaseEnterFileName:gl,pleaseUploadAtLeastOnePrintTemplate:El,pleaseAssignBusiness:Il,pleaseAssignExternal:Ol},Al={zhCN:iu,enUS:pa,jaJP:wl},Zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Zn||(Zn={}));var Yn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Yn||(Yn={}));var Sl="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 er;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(er||(er={}));var p;(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"})(p||(p={}));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 $;$={},D($,y.ARRAY,p.ARRAY_COLUMN),D($,y.AUTO_NUMBER,p.AUTO_NUMBER_COLUMN),D($,y.DECIMAL,p.DECIMAL_COLUMN),D($,y.DEPARTMENTS,p.DEPARTMENT_COLUMN),D($,y.FILE,p.FILE_COLUMN),D($,y.IMAGE,p.IMAGE_COLUMN),D($,y.ADDRESS,p.LOCATION_COLUMN),D($,y.EMPLOYEES,p.EMPLOYEE_COLUMN),D($,y.TEXT,p.TEXT_COLUMN),D($,y.TIMESCOPE,p.TIMESCOPE_COLUMN),D($,y.TIMESTAMP,p.TIMESTAMP_COLUMN),D($,y.VARCHAR,p.VARCHAR_COLUMN),D($,y.RELATION,p.VARCHAR_COLUMN);var tr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(tr||(tr={}));var nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Rl=nr+"0123456789";function _e(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?nr:Rl,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 Pl(e){if(Array.isArray(e))return gt(e)}function Cl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bl(){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 me(e,t,r){return Bl()?me=Reflect.construct:me=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&le(a,u.prototype),a},me.apply(null,arguments)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ae(e)}function ir(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&&le(e,t)}function $l(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tl(){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 Dl(e,t){return t&&(Fl(t)==="object"||typeof t=="function")?t:Cl(e)}function le(e,t){return le=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},le(e,t)}function or(e){return Pl(e)||kl(e)||Nl(e)||Tl()}var Fl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nl(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 Et(e){var t=typeof Map=="function"?new Map:void 0;return Et=function(n){if(n===null||!$l(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 me(n,arguments,ae(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),le(i,n)},Et(e)}function xl(){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 ur(e){var t=xl();return function(){var n=ae(e),i;if(t){var o=ae(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Dl(this,i)}}var It=console;function Ll(){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=It).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(or(i)))}function ge(){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=It).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(or(i)))}function Ml(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ot=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?Ml(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(Et(Error)),jl=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(Ot);function ar(e){throw new Ot(e)}function lr(e){throw new jl(e)}function Hl(e){It.error(new Ot(e))}var Ul=Object.prototype.toString;function cr(e,t){return Ul.call(e)==="[object "+t+"]"}function Vl(e){return cr(e,"String")}function ql(e){return cr(e,"Promise")}var zl=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,c){if(i!==void 0){var s=i[o];if(!(u===c.length-1&&!Vl(s)))return s}},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 Wl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var g=function(){function e(){Wl(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]:Sl;return new zl({locale:r,messages:Al})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();g.$i18n=g.resetI18n();function Kl(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,u){return"."+u}).split("."),i=!1;return n.reduce(function(o,u,c,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,u)){Ll("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 c===s.length-1&&!Object.is(a[u],r)&&(a[u]=r,i=!0),a[u]}},e),i}var Gl=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(d,b,P){if(!a(b)||v(b)||h(b)||m(b)||s(b))return b;var O,S=0,N=0;if(f(b))for(O=[],N=b.length;S<N;S++)O.push(r(d,b[S],P));else{O={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(O[d(R,P)]=r(d,b[R],P))}return O},n=function(d,b){b=b||{};var P=b.separator||"_",O=b.split||/(?=[A-Z])/;return d.split(O).join(P)},i=function(d){return I(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var b=i(d);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(d,b){return n(d,b).toLowerCase()},c=Object.prototype.toString,s=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},v=function(d){return c.call(d)=="[object Date]"},h=function(d){return c.call(d)=="[object RegExp]"},m=function(d){return c.call(d)=="[object Boolean]"},I=function(d){return d=d-0,d===d},_=function(d,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?d:function(O,S){return P(O,d,S)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(d,b){return r(_(i,b),d)},decamelizeKeys:function(d,b){return r(_(u,b),d,b)},pascalizeKeys:function(d,b){return r(_(o,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(Gl)})(wt);function z(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function k(e){return sr(e)&&"zh"in e}function sr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function Ql(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function x(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=x(n.children,t)),t(i)})),r}function Jl(e){return wt.exports.camelizeKeys(e)}function Q(e){return wt.exports.decamelizeKeys(e)}function At(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 Zl(e){if(Array.isArray(e))return At(e)}function fr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Yl(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){fr(o,n,i,u,c,"next",s)}function c(s){fr(o,n,i,u,c,"throw",s)}u(void 0)})}}function ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}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 St(e){return Zl(e)||tc(e)||rc(e)||nc()}function rc(e,t){if(!!e){if(typeof e=="string")return At(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 At(e,t)}}var ic=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},oc=function(){function e(){ec(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 c=this;return Yl(function(){var s,a,f,v,h,m,I,_,E,d,b,P;return ic(this,function(O){switch(O.label){case 0:if(s=c._events.get(n),a=[],!s)return[3,10];f=s.slice(),v=!0,h=!1,m=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),I=f[Symbol.iterator](),O.label=2;case 2:if(v=(_=I.next()).done)return[3,7];if(E=_.value,!s.includes(E))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),c.debug&&ge.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(St(o))),[4,E.apply(null,St(o))];case 4:return d=O.sent(),c.debug&&ge.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(St(o),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return b=O.sent(),Hl(String(b)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=O.sent(),h=!0,m=P,[3,10];case 9:try{!v&&I.return!=null&&I.return()}finally{if(h)throw m}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}(),uc=[];new Set(uc.map(function(e){return e.Designer.controlType}));function yr(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 Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rt(e,t)}function pr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ac(e,t){return t&&(lc(t)==="object"||typeof t=="function")?t:yr(e)}function Rt(e,t){return Rt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rt(e,t)}var lc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cc(){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 vr(e){var t=cc();return function(){var n=Ee(e),i;if(t){var o=Ee(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ac(this,i)}}var Ie=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:""},hr=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:""},sc=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},fc=function(e){dr(r,e);var t=vr(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 c;i.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var s;return i.filters=(s=n==null?void 0:n.filters)!==null&&s!==void 0?s:[],i}return r}(hr),yc=function e(t){B(this,e);var r,n;this.type="sublist-page",this.formBind=new hr(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 sc(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 fc(u)}))!==null&&o!==void 0?o:[]},dc=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},pc=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:[]},vc=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:_e();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(c){if(c.children!==void 0){var s,a=new e(c);(s=r.children)===null||s===void 0||s.push(a)}else{var f,v=new br(c);(f=r.children)===null||f===void 0||f.push(v)}}))},br=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:_e();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 dc(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new pc(t==null?void 0:t.rightVariableBo)},hc=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:""},bc=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},_c=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 _r(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 vc(o):new br(o)}))!==null&&r!==void 0?r:[],pr(this,ce)||pr(this,gc)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new _c(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(s){var a;(a=r.displayBoList)===null||a===void 0||a.push(new bc(s))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",_r.call(this,t)},mc=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 hc(u)}))!==null&&o!==void 0?o:[]},gc=function(e){dr(r,e);var t=vr(r);function r(n){B(this,r);var i;return i=t.call(this,n),_r.call(yr(i),n),i}return r}(mc),Ec=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:""},mr;(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"})(mr||(mr={}));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 Pt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Pt||(Pt={}));var se=function e(t){B(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var i;this.formKey=(i=t==null?void 0:t.formKey)!==null&&i!==void 0?i:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},Ic=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 Oc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Oe(e,t,r){return wc()?Oe=Reflect.construct:Oe=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&ye(a,u.prototype),a},Oe.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fe(e)}function Ac(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 Sc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Rc(e,t){return t&&(Pc(t)==="object"||typeof t=="function")?t:Oc(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ye(e,t)}var Pc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bt(e){var t=typeof Map=="function"?new Map:void 0;return Bt=function(n){if(n===null||!Sc(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 Oe(n,arguments,fe(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ye(i,n)},Bt(e)}function Cc(){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 Bc(e){var t=Cc();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 Rc(this,i)}}var J=function e(t){Ct(this,e),this.isHide={type:"boolean"}},we=function(e){Ac(r,e);var t=Bc(r);function r(n){return Ct(this,r),t.call(this)}return r}(Bt(Array)),L=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ct(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Ic(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};L.Rules=J,L.RuntimeRules=we;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 $c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ae(e,t)}function kc(){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 kc()?Se=Reflect.construct:Se=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&Ae(a,u.prototype),a},Se.apply(null,arguments)}function Tc(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||!Tc(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,$t(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ae(i,n)},kt(e)}var Dc=/%[sdj%]/g,gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(gr=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 F(){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(Dc,function(c){if(c==="%%")return"%";if(n>=o)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(s){return"[Circular]"}break;default:return c}});return u}return i}function Fc(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||Fc(t)&&typeof e=="string"&&!e)}function Nc(e,t,r){var n=[],i=0,o=e.length;function u(c){n.push.apply(n,c),i++,i===o&&r(n)}e.forEach(function(c){t(c,u)})}function Er(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<i?t(e[c],o):r([])}o([])}function xc(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ir=function(e){$c(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 Lc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var m=function(E){return n(E),E.length?h(new Ir(E,Tt(E))):v()},I=xc(e);Er(I,r,m)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),c=u.length,s=0,a=[],f=new Promise(function(v,h){var m=function(_){if(a.push.apply(a,_),s++,s===c)return n(a),a.length?h(new Ir(a,Tt(a))):v()};u.length||(n(a),v()),u.forEach(function(I){var _=e[I];o.indexOf(I)!==-1?Er(_,r,m):Nc(_,r,m)})});return f.catch(function(v){return v}),f}function Or(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 wr(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 Ar(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||C(t,o||e.type))&&n.push(F(i.messages.required,e.fullField))}function Mc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(F(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},de={integer:function(t){return de.number(t)&&parseInt(t,10)===t},float:function(t){return de.number(t)&&!de.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"&&!de.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 jc(e,t,r,n,i){if(e.required&&t===void 0){Ar(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?de[u](t)||n.push(F(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(F(i.messages.types[u],e.fullField,e.type))}function Hc(e,t,r,n,i){var o=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,v=typeof t=="number",h=typeof t=="string",m=Array.isArray(t);if(v?f="number":h?f="string":m&&(f="array"),!f)return!1;m&&(a=t.length),h&&(a=t.replace(s,"_").length),o?a!==e.len&&n.push(F(i.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(F(i.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(F(i.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(F(i.messages[f].range,e.fullField,e.min,e.max))}var Z="enum";function Uc(e,t,r,n,i){e[Z]=Array.isArray(e[Z])?e[Z]:[],e[Z].indexOf(t)===-1&&n.push(F(i.messages[Z],e.fullField,e[Z].join(", ")))}function Vc(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(F(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(F(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:Ar,whitespace:Mc,type:jc,range:Hc,enum:Uc,pattern:Vc};function qc(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();w.required(e,t,n,o,i,"string"),C(t,"string")||(w.type(e,t,n,o,i),w.range(e,t,n,o,i),w.pattern(e,t,n,o,i),e.whitespace===!0&&w.whitespace(e,t,n,o,i))}r(o)}function zc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function Wc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Kc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function Gc(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();w.required(e,t,n,o,i),C(t)||w.type(e,t,n,o,i)}r(o)}function Xc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Qc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Jc(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();w.required(e,t,n,o,i,"array"),t!=null&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Zc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}var Yc="enum";function es(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();w.required(e,t,n,o,i),t!==void 0&&w[Yc](e,t,n,o,i)}r(o)}function ts(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();w.required(e,t,n,o,i),C(t,"string")||w.pattern(e,t,n,o,i)}r(o)}function ns(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(w.required(e,t,n,o,i),!C(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),w.type(e,c,n,o,i),c&&w.range(e,c.getTime(),n,o,i)}}r(o)}function rs(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,o,i,u),r(o)}function Ft(e,t,r,n,i){var o=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(C(t,o)&&!e.required)return r();w.required(e,t,n,u,i,o),C(t,o)||w.type(e,t,n,u,i)}r(u)}function is(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();w.required(e,t,n,o,i)}r(o)}var pe={string:qc,method:zc,number:Wc,boolean:Kc,regexp:Gc,integer:Xc,float:Qc,array:Jc,object:Zc,enum:es,pattern:ts,date:ns,url:Ft,hex:Ft,email:Ft,required:rs,any:is};function Nt(){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 xt=Nt();function j(e){this.rules=null,this._messages=xt,this.define(e)}j.prototype={messages:function(t){return t&&(this._messages=wr(Nt(),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,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(_){var E,d=[],b={};function P(O){if(Array.isArray(O)){var S;d=(S=d).concat.apply(S,O)}else d.push(O)}for(E=0;E<_.length;E++)P(_[E]);d.length?b=Tt(d):(d=null,b=null),c(d,b)}if(u.messages){var a=this.messages();a===xt&&(a=Nt()),wr(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},m=u.keys||Object.keys(this.rules);m.forEach(function(_){f=i.rules[_],v=o[_],f.forEach(function(E){var d=E;typeof d.transform=="function"&&(o===t&&(o=M({},o)),v=o[_]=d.transform(v)),typeof d=="function"?d={validator:d}:d=M({},d),d.validator=i.getValidationMethod(d),d.field=_,d.fullField=d.fullField||_,d.type=i.getType(d),d.validator&&(h[_]=h[_]||[],h[_].push({rule:d,value:v,source:o,field:_}))})});var I={};return Lc(h,u,function(_,E){var d=_.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&_.value),d.field=_.field;function P(N,R){return M(M({},R),{},{fullField:d.fullField+"."+N})}function O(N){N===void 0&&(N=[]);var R=N;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&j.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message)),R=R.map(Or(d)),u.first&&R.length)return I[d.field]=1,E(R);if(!b)E(R);else{if(d.required&&!_.value)return d.message!==void 0?R=[].concat(d.message).map(Or(d)):u.error&&(R=[u.error(d,F(u.messages.required,d.field))]),E(R);var A={};if(d.defaultField)for(var qi in _.value)_.value.hasOwnProperty(qi)&&(A[qi]=d.defaultField);A=M(M({},A),_.rule.fields);for(var ie in A)if(A.hasOwnProperty(ie)){var Wh=Array.isArray(A[ie])?A[ie]:[A[ie]];A[ie]=Wh.map(P.bind(null,ie))}var zi=new j(A);zi.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),zi.validate(_.value,_.rule.options||u,function(Jn){var oe=[];R&&R.length&&oe.push.apply(oe,R),Jn&&Jn.length&&oe.push.apply(oe,Jn),E(oe.length?oe:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,_.value,O,_.source,u):d.validator&&(S=d.validator(d,_.value,O,_.source,u),S===!0?O():S===!1?O(d.message||d.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(N){return O(N)})},function(_){s(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!pe.hasOwnProperty(t.type))throw new Error(F("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"?pe.required:pe[this.getType(t)]||!1}},j.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[t]=r},j.warning=gr,j.messages=xt,j.validators=pe;var os={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 us(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(os,t)),r}var as=new oc;function Lt(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 ls(e){if(Array.isArray(e))return e}function cs(e){if(Array.isArray(e))return Lt(e)}function Sr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Rr(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Sr(o,n,i,u,c,"next",s)}function c(s){Sr(o,n,i,u,c,"throw",s)}u(void 0)})}}function ss(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 fs(e,t,r){return t&&Pr(e.prototype,t),r&&Pr(e,r),e}function ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Br(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ds(){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 ps(){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 $r(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){ys(e,i,r[i])})}return e}function vs(e){return ls(e)||Br(e)||kr(e)||ds()}function Mt(e){return cs(e)||Br(e)||kr(e)||ps()}function kr(e,t){if(!!e){if(typeof e=="string")return Lt(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 Lt(e,t)}}var Tr=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},T=function(){function t(n){var i=this;ss(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Fr,this.removeSetting=Dr,this._callControlHooks("preInstance",n);var o=Cr(this,t)?this.constructor:void 0,u=o.controlName,c=o.controlIcon,s=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,m=o.setting;u&&c&&s||lr("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:_e(10),this.name=u,this.icon=c;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:s,this.props=new L(n==null?void 0:n.props,(Cr(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=z(m);var d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d:a,this.eventKeys=z(f),this.customEvents=z(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 c,s=vs(o),a=s[0],f=s.slice(1);return(c=as).emit.apply(c,[a,this].concat(Mt(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),Kl(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return Rr(function(){var o,u,c;return Tr(this,function(s){switch(s.label){case 0:return o=$r({},i.rules),[4,i._callControlHooks("preValidate",o)];case 1:return u=s.sent(),c=u[u.length-1],[2,c===!1?void 0:c]}})})()},r.validate=function(i,o){var u=this;return Rr(function(){var c,s,a,f;return Tr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:c=v.sent(),s=c!==void 0?c:$r({},u.rules),Array.isArray(o)&&o.forEach(function(h){s.hasOwnProperty(h)&&delete s[h]}),a=us(s,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,c=this.type,s=this.props,a=s.dataBind,f=s.datasourceBind,v=s.optionConfig,h=s.caption,m=s.required,I=s.maxLength,_=s.options,E=s.encrypted,d=s.encryptedMode;if(!(!o&&!a&&!f)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:c,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:f&&(b.datasourceBind=f);break;case"custom":b.props.options=_;break}return m!==void 0&&(b.required=m),I!==void 0&&(b.maxLength=I),E!==void 0&&(b.encrypted=E),d!==void 0&&(b.encryptedMode=d),b}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:z(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,Mt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},fs(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();T.controlName="\u63A7\u4EF6",T.controlIcon="icon",T.controlType="control",T.controlEventKeys=[],T.controlCustomEvents=[],T.setting=[],T.__is_control__=!0,T.removeSettingItem=Dr,T.updateSettingItem=Fr;function Dr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",o=t.setting.findIndex(function(s){return s.key===(i?n.key:n)});if(o!==-1){var u,c;i?t.setting[o].showItems=(u=t.setting[o].showItems)===null||u===void 0?void 0:u.filter(function(s){return!n.hideItems.includes(s)}):t.setting.splice(o,1),i&&!(!((c=t.setting[o].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(o,1)}})}function Fr(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,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,Mt(t.showItems))}}}})}function hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(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 bs(e,t,r){return t&&Nr(e.prototype,t),r&&Nr(e,r),e}function _s(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Y=function(){function t(r){hs(this,t),this.customEvents=[],this.parent=null;var n=_s(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,c=n.controlCustomEvents;i||lr("The ".concat(u," controlType is not define"));var s;this.id=(s=r==null?void 0:r.id)!==null&&s!==void 0?s:_e(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new L(r==null?void 0:r.props),this.customEvents=c;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:Pt.UNKNOWN}return bs(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}();Y.controlType="control",Y.__is_control__=!0,Y.controlCustomEvents=[];function ms(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:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:g.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:g.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(c){return c.value}),u=Ql(o);o.length!==u.length?i(g.getMessage("optionIdIsRepeat")):i()},message:g.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:g.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:g.getMessage("isNotBoolean")}}}}]}}])}function gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Re(e)}function Ht(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function Es(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Is(e,t){return t&&(Os(t)==="object"||typeof t=="function")?t:gs(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ut(e,t)}var Os=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ws(){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 Vt(e){var t=ws();return function(){var n=Re(e),i;if(t){var o=Re(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Is(this,i)}}var qt=function(e){Ht(r,e);var t=Vt(r);function r(n){jt(this,r);var i;i=t.call(this,n),i.dataBind={},i.caption={type:"string",required:!0,message:g.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:g.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}};if(Es(n.dataBind,Ie))i.dataBind={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:g.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(J),zt=function(e){Ht(r,e);var t=Vt(r);function r(n){jt(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:g.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(we),ee=function(e){Ht(r,e);var t=Vt(r);function r(n){jt(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 c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var s;i.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";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 m;i.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",i.dataBind=new Ie(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}(L);ee.Rules=qt,ee.RuntimeRules=zt;function As(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function Rs(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 Ps(e,t){return t&&(Cs(t)==="object"||typeof t=="function")?t:As(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wt(e,t)}var Cs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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=Pe(e),i;if(t){var o=Pe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ps(this,i)}}var Kt=function(e){Rs(r,e);var t=$s(r);function r(n){Ss(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ee(n==null?void 0:n.props),i}return r}(T);Kt.controlEventKeys=["on_change","on_focus","on_blur"];function ks(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ts(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 Ds(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 Fs(e,t){return t&&(Ns(t)==="object"||typeof t=="function")?t:ks(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gt(e,t)}var Ns=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xs(){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 Ls(e){var t=xs();return function(){var n=Ce(e),i;if(t){var o=Ce(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fs(this,i)}}var Ms=function(e){Ds(r,e);var t=Ls(r);function r(n){Ts(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ee(n==null?void 0:n.props),i}return r}(Y);function js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hs(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 Us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function Vs(e,t){return t&&(qs(t)==="object"||typeof t=="function")?t:js(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xt(e,t)}var qs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zs(){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 Ws(e){var t=zs();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 Vs(this,i)}}var H=function(e){Us(r,e);var t=Ws(r);function r(n){return Hs(this,r),t.call(this,n)}return r}(L);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 Ks(e){if(Array.isArray(e))return Qt(e)}function Gs(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xs(){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 xr(e){return Ks(e)||Gs(e)||Qs(e)||Xs()}function Qs(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 Js(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Lr(e,t){e.parent=t,Js(e,"parent")}function Zs(e,t){e.forEach(function(r){Lr(r,t)})}var Mr=Symbol("targetKey");function jr(e){var t;return(t=e[Mr])!==null&&t!==void 0?t:e}function Hr(e,t){return Zs(e,t),new Proxy(e,{get:function(n,i){for(var o=arguments.length,u=new Array(o>2?o-2:0),c=2;c<o;c++)u[c-2]=arguments[c];var s;return i===Mr?n:(s=Reflect).get.apply(s,[n,i].concat(xr(u)))},set:function(n,i,o){for(var u=arguments.length,c=new Array(u>3?u-3:0),s=3;s<u;s++)c[s-3]=arguments[s];var a;if(Xl(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(xr(c)));return sr(o)&&Lr(o,t),f}})}function Jt(e,t,r,n){var i=n!=null?n:e,o=Hr(jr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(c){o=Hr(jr(c),i)},enumerable:!0})}function Zt(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 Ys(e){if(Array.isArray(e))return Zt(e)}function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function ef(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Vr(o,n,i,u,c,"next",s)}function c(s){Vr(o,n,i,u,c,"throw",s)}u(void 0)})}}function tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(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(i,o,u){var c=yf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},te(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(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 of(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function uf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function af(){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 lf(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){nf(e,i,r[i])})}return e}function cf(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 sf(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ff(e,t){return t&&(df(t)==="object"||typeof t=="function")?t:Ur(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}function yf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function qr(e){return Ys(e)||uf(e)||pf(e)||af()}var df=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pf(e,t){if(!!e){if(typeof e=="string")return Zt(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 Zt(e,t)}}function vf(){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 hf(e){var t=vf();return function(){var n=U(e),i;if(t){var o=U(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ff(this,i)}}var bf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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=1e4,W=function(t){rf(n,t);var r=hf(n);function n(o){tf(this,n);var u;u=r.call(this,o),u.controlType="layout";var c=of(this,n)?this.constructor:void 0,s=c.excludes,a=c.childrenMaxLength;return u.props=new H(o==null?void 0:o.props),Jt(Ur(u),"children",o==null?void 0:o.children),u.excludes=z(s),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 c=this.judgeExcludesChildren(u);return c&&this.childrenMaxLength>this.children.length},i.validate=function(u,c){var s=this,a=this,f=function(){return te(U(n.prototype),"validate",s)};return ef(function(){return bf(this,function(v){switch(v.label){case 0:return[4,f().call(a,u,c)];case 1:return v.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(u,c)}))];case 2:return v.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=te(U(n.prototype),"toDataBindModel",this).call(this),s=c?[c]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(m){return!!m});return qr(a).concat(qr(h))}return v&&a.push(v),a},s)},i.toSchema=function(){var u=te(U(n.prototype),"toSchema",this).call(this),c=this.children.map(function(s){var a=s.toSchema();return a});return sf(lf({},u),{children:c})},n}(T);W.excludes=!1,W.childrenMaxLength=_f;function zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mf(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 gf(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 Ef(e,t){return t&&(If(t)==="object"||typeof t=="function")?t:zr(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var If=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Of(){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=Of();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 Ef(this,i)}}var ve=function(e){gf(r,e);var t=wf(r);function r(n){mf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Jt(zr(i),"children",n==null?void 0:n.children),i}return r}(Y);function Wr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Af(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 Sf(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 Rf(e,t){return t&&(Pf(t)==="object"||typeof t=="function")?t:Wr(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tn(e,t)}var Pf=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 Bf(e){var t=Cf();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 Rf(this,i)}}var $f=function(e){Sf(r,e);var t=Bf(r);function r(n,i){Af(this,r);var o;return o=t.call(this,i),Jt(Wr(o),"headers",i==null?void 0:i.headers,n),o}return r}(L);function nn(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 kf(e){if(Array.isArray(e))return nn(e)}function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Tf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Gr(o,n,i,u,c,"next",s)}function c(s){Gr(o,n,i,u,c,"throw",s)}u(void 0)})}}function Df(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(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 c=Hf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},ne(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(e)}function Nf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}function xf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lf(){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 Xr(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){Ff(e,i,r[i])})}return e}function Mf(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 Qr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function jf(e,t){return t&&(Uf(t)==="object"||typeof t=="function")?t:Kr(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rn(e,t)}function Hf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return kf(e)||xf(e)||Vf(e)||Lf()}var Uf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vf(e,t){if(!!e){if(typeof e=="string")return nn(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 nn(e,t)}}function qf(){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=qf();return function(){var n=V(e),i;if(t){var o=V(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return jf(this,i)}}var Wf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},Kf=function(e){Nf(r,e);var t=zf(r);function r(i){Df(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new $f(Kr(o),i==null?void 0:i.props),o}var n=r.prototype;return n.validate=function(o,u){var c=this,s=this,a=function(){return ne(V(r.prototype),"validate",c)};return Tf(function(){return Wf(this,function(f){switch(f.label){case 0:return[4,a().call(s,o)];case 1:return f.sent(),[4,Promise.all(s.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=ne(V(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],c=this.id;return this.props.headers.reduce(function(s,a){var f=a.toDataBindModel(c);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return Jr(s).concat(Jr(v))}return f&&s.push(f),s},u)},n.toSchema=function(){var o=ne(V(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(c){return c.toSchema()});return Qr(Xr({},o),{props:Qr(Xr({},this.props),{headers:u})})},r}(T);Kf.controlFieldType=y.LIST;function Gf(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 Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function Yr(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 Xf(e,t){return t&&(Qf(t)==="object"||typeof t=="function")?t:Gf(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var Qf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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 ei(e){var t=Jf();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 Xf(this,i)}}var Zf=function(e){Yr(r,e);var t=ei(r);function r(n){Zr(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(J),Yf=function(e){Yr(r,e);var t=ei(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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",i.dataBind=new Ie(n==null?void 0:n.dataBind);var s;return i.sort=(s=n==null?void 0:n.sort)!==null&&s!==void 0?s:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i}return r}(L);Yf.Rules=Zf,l.IS_HIDE,l.IS_HIDE;function ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ty(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 ny(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 ry(e,t){return t&&(iy(t)==="object"||typeof t=="function")?t:ey(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var iy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oy(){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 uy(e){var t=oy();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 ry(this,i)}}var ay=function(e){ny(r,e);var t=uy(r);function r(n){ty(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 c;i.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var s;i.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"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}(L);function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(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 sy(e,t,r){return t&&ti(e.prototype,t),r&&ti(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function fy(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&&an(e,t)}function yy(e,t){return t&&(dy(t)==="object"||typeof t=="function")?t:ly(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var dy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function py(){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=py();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 yy(this,i)}}var ni=function(e){fy(r,e);var t=vy(r);function r(n){cy(this,r);var i;return i=t.call(this,n),i.props=new ay(n==null?void 0:n.props),i}return sy(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(T);ni.controlEventKeys=["on_click"],ni.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 ri;(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"})(ri||(ri={}));var ii;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ii||(ii={}));var oi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(oi||(oi={}));var ui;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ui||(ui={}));var ai;(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"})(ai||(ai={}));function li(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ci;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ci||(ci={}));var si;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(si||(si={}));var fi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(fi||(fi={}));var yi;(function(e){e.ALL="all",e.ASSIGN="assign"})(yi||(yi={}));var di;(function(e){e.ALL="all",e.ADMIN="admin"})(di||(di={})),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 hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pi(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 vi(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 by(e,t){return t&&(_y(t)==="object"||typeof t=="function")?t:hy(e)}function ln(e,t){return ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ln(e,t)}var _y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function my(){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 hi(e){var t=my();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 by(this,i)}}var gy=function(e){vi(r,e);var t=hi(r);function r(n){pi(this,r);var i;return i=t.call(this,n),i.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(i.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")}),i}return r}(J),xe=function(e){vi(r,e);var t=hi(r);function r(n){pi(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",i.code=n==null?void 0:n.code;var u;i.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;i.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",i.icon=n==null?void 0:n.icon,i.formKey=n==null?void 0:n.formKey,i.openType=n==null?void 0:n.openType,i.needConfirm=n==null?void 0:n.needConfirm,i.confirmMessage=n==null?void 0:n.confirmMessage,i.options=n==null?void 0:n.options;var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default",i.priorityProcess=n==null?void 0:n.priorityProcess;var a;return i.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,i}return r}(L);xe.Rules=gy;function Ey(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 bi(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 Oy(e,t,r){return t&&bi(e.prototype,t),r&&bi(e,r),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function wy(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 Ay(e,t){return t&&(Sy(t)==="object"||typeof t=="function")?t:Ey(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var Sy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ry(){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 Py(e){var t=Ry();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 Ay(this,i)}}var sn=function(e){wy(r,e);var t=Py(r);function r(n){Iy(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return Oy(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(T);sn.controlEventKeys=["on_click"],sn.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}];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 _i(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 $y(e,t,r){return t&&_i(e.prototype,t),r&&_i(e,r),e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(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&&fn(e,t)}function Ty(e,t){return t&&(Dy(t)==="object"||typeof t=="function")?t:Cy(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Dy=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=Me(e),i;if(t){var o=Me(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ty(this,i)}}var xy=function(e){ky(r,e);var t=Ny(r);function r(n){By(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return $y(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Y),yn={Designer:sn,Runtime:xy,Property:xe};function Ly(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 je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(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 My(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Ly(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var jy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hy(){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=Hy();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 My(this,i)}}var Uy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=li(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(qt),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.push({type:"string",message:g.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(zt),bn=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.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 Ec(n==null?void 0:n.regularRules);var c;i.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var s;i.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ue.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}(ee);bn.Rules=Uy,bn.RuntimeRules=Vy;function qy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mi(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 Wy(e,t,r){return t&&mi(e.prototype,t),r&&mi(e,r),e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(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&&_n(e,t)}function Gy(e,t){return t&&(Xy(t)==="object"||typeof t=="function")?t:qy(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var Xy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qy(){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 Jy(e){var t=Qy();return function(){var n=He(e),i;if(t){var o=He(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Gy(this,i)}}var Ue=function(e){Ky(r,e);var t=Jy(r);function r(n){zy(this,r);var i;return i=t.call(this,n),i.props=new bn(n==null?void 0:n.props),i}return Wy(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}(Kt);Ue.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ue.controlFieldType=y.VARCHAR,Ue.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 Zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ve(e)}function gn(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 Yy(e,t){return t&&(ed(t)==="object"||typeof t=="function")?t:Zy(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 td(){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 In(e){var t=td();return function(){var n=Ve(e),i;if(t){var o=Ve(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Yy(this,i)}}var nd=104857600,rd=1048576e3,id=function(e){gn(r,e);var t=In(r);function r(n){mn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:rd,message:g.getMessage("attachmentMaxSize")},i}return r}(qt),od=function(e){gn(r,e);var t=In(r);function r(n){mn(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:g.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(zt),qe=function(e){gn(r,e);var t=In(r);function r(n){mn(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 c;i.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var s;i.maxLimit=(s=n==null?void 0:n.maxLimit)!==null&&s!==void 0?s: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:nd;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:We.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}(ee);qe.Rules=id,qe.RuntimeRules=od;function ud(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 gi(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 ld(e,t,r){return t&&gi(e.prototype,t),r&&gi(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(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&&On(e,t)}function sd(e,t){return t&&(fd(t)==="object"||typeof t=="function")?t:ud(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yd(){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=yd();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 sd(this,i)}}var We=function(e){cd(r,e);var t=dd(r);function r(n){ad(this,r);var i;return i=t.call(this,n),i.props=new qe(n==null?void 0:n.props),i}return ld(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Kt);We.controlEventKeys=["on_change"],We.controlFieldType=y.FILE,We.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 pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vd(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 hd(e,t,r){return t&&Ei(e.prototype,t),r&&Ei(e,r),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function bd(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 _d(e,t){return t&&(md(t)==="object"||typeof t=="function")?t:pd(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var md=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gd(){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 Ed(e){var t=gd();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 _d(this,i)}}var Id=function(e){bd(r,e);var t=Ed(r);function r(n){vd(this,r);var i;return i=t.call(this,n),i.props=new qe(n==null?void 0:n.props),i}return hd(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Ms);Id.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,p.GRID;function Od(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 Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Ad(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&&An(e,t)}function Sd(e,t){return t&&(Rd(t)==="object"||typeof t=="function")?t:Od(e)}function An(e,t){return An=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},An(e,t)}var Rd=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 Cd(e){var t=Pd();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 Sd(this,i)}}var Bd=24,Sn=function(e){Ad(r,e);var t=Cd(r);function r(n){wd(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:Bd;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(H);function $d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kd(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 Td(e,t,r){return t&&Ii(e.prototype,t),r&&Ii(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rn(e,t)}function Fd(e,t){return t&&(Nd(t)==="object"||typeof t=="function")?t:$d(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Nd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xd(){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 Ld(e){var t=xd();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 Fd(this,i)}}var Pn=function(e){Dd(r,e);var t=Ld(r);function r(n){kd(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return Td(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);Pn.excludes=[p.COL,p.CARD_GROUP,p.SUBTABLE,p.SUBTABLE_COLUMN,p.DIVIDER],Pn.childrenMaxLength=1;function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jd(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 Hd(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Vd(e,t){return t&&(qd(t)==="object"||typeof t=="function")?t:Md(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var qd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zd(){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=zd();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 Vd(this,i)}}var Kd=function(e){Ud(r,e);var t=Wd(r);function r(n){jd(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return Hd(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(ve),wi={Designer:Pn,Runtime:Kd,Property:Sn};function Gd(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 Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function Qd(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 Jd(e,t){return t&&(Zd(t)==="object"||typeof t=="function")?t:Gd(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var Zd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yd(){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 ep(e){var t=Yd();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 Jd(this,i)}}var $n=function(e){Qd(r,e);var t=ep(r);function r(n){Xd(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}(H);function tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np(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 rp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function ip(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&&(up(t)==="object"||typeof t=="function")?t:tp(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(e,t)}var up=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ap(){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 lp(e){var t=ap();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 op(this,i)}}var Tn=function(e){ip(r,e);var t=lp(r);function r(n){np(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return rp(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);Tn.excludes=[p.ROW],Tn.setting=[{key:"col-setting",visible:!0}];function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sp(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 fp(e,t,r){return t&&Si(e.prototype,t),r&&Si(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function yp(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&&(pp(t)==="object"||typeof t=="function")?t:cp(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var pp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vp(){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 hp(e){var t=vp();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 dp(this,i)}}var bp=function(e){yp(r,e);var t=hp(r);function r(n){sp(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return fp(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(ve);function _p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(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 gp(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function Ep(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 Ip(e,t){return t&&(Op(t)==="object"||typeof t=="function")?t:_p(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var Op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wp(){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 Ap(e){var t=wp();return function(){var n=et(e),i;if(t){var o=et(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ip(this,i)}}var Sp=4,tt=function(e){Ep(r,e);var t=Ap(r);function r(n){return mp(this,r),t.call(this,n)}return gp(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}(Tn);tt.excludes=[p.GRID_ROW],tt.setting=[],tt.childrenMaxLength=Sp;function Rp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pp(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 Cp(e,t,r){return t&&Pi(e.prototype,t),r&&Pi(e,r),e}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(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&&Nn(e,t)}function $p(e,t){return t&&(kp(t)==="object"||typeof t=="function")?t:Rp(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var kp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tp(){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 Dp(e){var t=Tp();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 $p(this,i)}}var Fp=function(e){Bp(r,e);var t=Dp(r);function r(n){return Pp(this,r),t.call(this,n)}return Cp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(bp);function Np(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xp(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 Lp(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 Mp(e,t){return t&&(jp(t)==="object"||typeof t=="function")?t:Np(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var jp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hp(){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 Up(e){var t=Hp();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 Mp(this,i)}}var Vp=function(e){Lp(r,e);var t=Up(r);function r(n){return xp(this,r),t.call(this,n)}return r}($n),qp={Designer:tt,Runtime:Fp,Property:Vp};function zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wp(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 Kp(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 Gp(e,t){return t&&(Xp(t)==="object"||typeof t=="function")?t:zp(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var Xp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qp(){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 Jp(e){var t=Qp();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 Gp(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,p.CARD_GROUP;function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ci(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 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&&Mn(e,t)}function Yp(e,t){return t&&(ev(t)==="object"||typeof t=="function")?t:Zp(e)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(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 $i(e){var t=tv();return function(){var n=ot(e),i;if(t){var o=ot(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Yp(this,i)}}var nv=function(e){Bi(r,e);var t=$i(r);function r(n){Ci(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(J),ut=function(e){Bi(r,e);var t=$i(r);function r(n){Ci(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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!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}(H);ut.Rules=nv;function rv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iv(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 ov(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 uv(e,t){return t&&(av(t)==="object"||typeof t=="function")?t:rv(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(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 cv(e){var t=lv();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 uv(this,i)}}var K=function(e){ov(r,e);var t=cv(r);function r(n){iv(this,r);var i;return i=t.call(this,n),i.props=new ut(n==null?void 0:n.props),i}return r}(W);K.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",K.controlType="subtable-column",K.controlIcon="subtable-column",K.childrenMaxLength=1,K.excludes=[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT],K.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 sv(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 lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(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&&Hn(e,t)}function dv(e,t){return t&&(pv(t)==="object"||typeof t=="function")?t:sv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var pv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vv(){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 hv(e){var t=vv();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 dv(this,i)}}var ki=function(e){yv(r,e);var t=hv(r);function r(n){fv(this,r);var i;return i=t.call(this,n),i.props=new ut(n==null?void 0:n.props),i}return r}(ve);ki.controlType="subtable-column";var bv={Designer:K,Runtime:ki,Property:ut};p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.TAB,l.CAPTION,l.IS_HIDE,p.TAB,p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX;function Ti(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function Vn(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 _v(e,t){return t&&(mv(t)==="object"||typeof t=="function")?t:Ti(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var mv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gv(){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 zn(e){var t=gv();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 _v(this,i)}}var st;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(st||(st={}));var Ev=function(e){Vn(r,e);var t=zn(r);function r(n){Un(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),Iv=function(e){Vn(r,e);var t=zn(r);function r(n){Un(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:g.getMessage("pleaseEnterFieldCode")}),ms.call(Ti(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}(J),he=function(e){Vn(r,e);var t=zn(r);function r(n){Un(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 c;i.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:st.CLICK_ROW;var s;i.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",i.sublistPage=new yc(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}(H);he.Rules=Iv,he.RuntimeRules=Ev;function Ov(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wv(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 Av(e,t,r){return t&&Di(e.prototype,t),r&&Di(e,r),e}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(e)}function Sv(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 Rv(e,t){return t&&(Pv(t)==="object"||typeof t=="function")?t:Ov(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(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 Bv(e){var t=Cv();return function(){var n=ft(e),i;if(t){var o=ft(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rv(this,i)}}var yt=function(e){Sv(r,e);var t=Bv(r);function r(n){wv(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return Av(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}(W);yt.excludes=[p.ROW],yt.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],yt.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 $v(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kv(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 Tv(e,t,r){return t&&Fi(e.prototype,t),r&&Fi(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Dv(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 Fv(e,t){return t&&(Nv(t)==="object"||typeof t=="function")?t:$v(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(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=dt(e),i;if(t){var o=dt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fv(this,i)}}var Mv=function(e){Dv(r,e);var t=Lv(r);function r(n){kv(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return Tv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(ve),jv={Designer:yt,Runtime:Mv,Property:he};function Hv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ni(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function xi(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 Uv(e,t){return t&&(Vv(t)==="object"||typeof t=="function")?t:Hv(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gn(e,t)}var Vv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qv(){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 Li(e){var t=qv();return function(){var n=pt(e),i;if(t){var o=pt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Uv(this,i)}}var zv=function(e){xi(r,e);var t=Li(r);function r(n){Ni(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),vt=function(e){xi(r,e);var t=Li(r);function r(n){Ni(this,r);var i;i=t.call(this,n);var o;i.save=new se((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new se((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;i.saveAs=new se((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var s;i.print=new se((s=n==null?void 0:n.print)!==null&&s!==void 0?s:{content:"\u6253\u5370",type:"print",isShow:!1});var a;i.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(v){return new se(v)});var f;return i.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,i.datasourceBind=new ce(n==null?void 0:n.datasourceBind),i}return r}(H);vt.RuntimeRules=zv;function Wv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(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&&Mi(e.prototype,t),r&&Mi(e,r),e}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function Xv(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 Qv(e,t){return t&&(Jv(t)==="object"||typeof t=="function")?t:Wv(e)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xn(e,t)}var Jv=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 Yv(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 Qv(this,i)}}var ji=function(e){Xv(r,e);var t=Yv(r);function r(n){Kv(this,r);var i;return i=t.call(this,n),i.props=new vt(n==null?void 0:n.props),i}return Gv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);ji.excludes=[];function eh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function th(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 nh(e,t,r){return t&&Hi(e.prototype,t),r&&Hi(e,r),e}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function rh(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 ih(e,t){return t&&(oh(t)==="object"||typeof t=="function")?t:eh(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var oh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uh(){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 ah(e){var t=uh();return function(){var n=bt(e),i;if(t){var o=bt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ih(this,i)}}var lh=function(e){rh(r,e);var t=ah(r);function r(n){th(this,r);var i;return i=t.call(this,n),i.props=new vt(n==null?void 0:n.props),i}return nh(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(ve),ch={Designer:ji,Runtime:lh,Property:vt};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,l.CAPTION,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 sh=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Ih(t==null?void 0:t.events),hh(n),bh(n);const i=vh(n),o=_h(i,t);let u=Q(x(o,c=>ph(c,t)));return r?u:u[0]},fh=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],yh=["subtable","grid-table"],dh=["simple-search"];function ph(e,t){var i,o,u,c,s,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":fh.includes(r.type)?r.controlType="base":r.controlType="form",yh.includes(r.type)&&(r.controlType="list"),dh.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),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((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=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(k(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(k(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 m=new bv.Designer;m.props.widthType=v.header_width_config==="1"?"auto":"px",m.props.width=v.header_width===""?200:Number(v.header_width),m.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const I=m.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=k(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 wi.Designer;h.props.span=f;const m=h.toSchema();return m.children.push(v),m})}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&&(Ui(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={},m={};f&&(Ui(r,t),r.id=f.id,h.amount=f.props.data_bind,r.props.range_min=X(f.props.range_min),r.props.range_max=X(f.props.range_max),m.amount=X(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=k(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,m.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=m,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=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(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=k(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=X(e.props.range_min),r.props.range_max=X(e.props.range_max),r.props.defaultValue=X(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"),Oh(r,t==null?void 0:t.control_events),r}function Ui(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 c=u.show_controls.findIndex(a=>a===i),s=u.hide_controls.findIndex(a=>a===i);c>-1&&u.show_controls.splice(c,1,o),s>-1&&u.hide_controls.splice(s,1,o)}),n.forEach(u=>{u.ctrl_id===i&&(u.id=o)})}function vh(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new ch.Designer().toSchema();return n.children=e,[n]}function hh(e){e.forEach(t=>{t.children&&Eh(t.children)})}function bh(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],c=(i=(n=r[o])==null?void 0:n.children)==null?void 0:i[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(o,1,c)}})}function _h(e,t){var m,I,_,E,d,b,P,O;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,c]=i;mh(o),c.props.is_fixed_header=(m=n==null?void 0:n.source_config)==null?void 0:m.is_fixed_header,gh(c,u);const s=(_=(I=n==null?void 0:n.source_config)==null?void 0:I.data_code)!=null?_:t==null?void 0:t.dataCode,a=((d=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?d:s)?`${s}_selectMore`:void 0,f=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new jv.Designer;v.props.datasourceBind=new ce({dataCode:s,svcCode:a,orders:Jl(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(S=>{S.title=k(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,c),[h]}function mh(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(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 gh(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:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(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 Eh(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 Ih(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 Oh(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 wh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Ah(o)));return r?i:i[0]};function Ah(e,t){return e.type===p.LIST_VIEW&&e.children.find(n=>n.type===p.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ie({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Sh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Rh(o)));return r?i:i[0]};function Rh(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.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===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Ph=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Ch(o)));return r?i:i[0]};function Ch(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 Bh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>kh(o)));return r?i:i[0]},$h=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function kh(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(r=>{if($h.includes(r.type))return r;const n=new qp.Designer,i=new wi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const Th=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Dh(o)));return r?i:i[0]};function Dh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===p.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Fh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Nh(o));return r?i:i[0]};function Nh(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const xh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Lh(o));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function Lh(e,t){var n;const r={[p.TITLE]:y.AUTO_NUMBER,[p.ADDRESS]:y.ADDRESS,[p.ATTACHMENT]:y.FILE,[p.AUTO_NUMBER]:y.AUTO_NUMBER,[p.CHECKBOX]:y.ARRAY,[p.DATE_PICKER]:y.TIMESTAMP,[p.DEPARTMENT]:y.DEPARTMENTS,[p.EMPLOYEE]:y.EMPLOYEES,[p.EMPLOYEE2]:y.EMPLOYEES,[p.IMAGE]:y.IMAGE,[p.INPUT]:y.VARCHAR,[p.NUMBER]:y.DECIMAL,[p.RADIO]:y.VARCHAR,[p.RICH_TEXT]:y.TEXT,[p.SCORE]:y.DECIMAL,[p.SELECT]:y.VARCHAR,[p.SELECT_MULTIPLE]:y.ARRAY,[p.SELECT_RELATION]:y.VARCHAR,[p.TEXTAREA]:y.TEXT,[p.TREE]:y.ARRAY,[p.SEARCH_DATE_RANGE]:y.ARRAY,[p.SEARCH_INPUT]:y.VARCHAR,[p.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&q(e.props.data_bind,r[e.type]),e.type===p.AMOUNT&&(q(e.props.data_bind.amount,y.DECIMAL),q(e.props.data_bind.currency,y.VARCHAR)),e.type===p.CALC&&(q(e.props.data_bind.result,y.DECIMAL),q(e.props.data_bind.unit,y.VARCHAR)),e.type===p.DATE_RANGE&&(q(e.props.data_bind.min,y.TIMESTAMP),q(e.props.data_bind.max,y.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const Mh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>jh(o));return r?i:i[0]};function jh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===p.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Hh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Uh(o));return r?i:i[0]};function Uh(e,t){return e.type===p.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 Vh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>qh(o));return r?i:i[0]};function qh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,c,s,a,f,v,h,m,I,_,E,d,b,P,O,S,N,R;if(r.type===p.OPERATION_COLUMN){if(r.children=[],delete r.props.custom,((n=r.props)==null?void 0:n.check)!==void 0){const A=new yn.Designer;A.props.code="view",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(o=r.props)==null?void 0:o.check.priority_process,A.props.openType=(u=r.props)==null?void 0:u.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(s=r.props)!=null&&s.check.is_show&&r.children.push(A.toSchema()),(a=r.props)==null||delete a.check}if(((f=r.props)==null?void 0:f.edit)!==void 0){const A=new yn.Designer;A.props.code="edit",A.props.command="edit",A.props.content=(v=r.props)==null?void 0:v.edit.content,A.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,A.props.openType=(m=r.props)==null?void 0:m.edit.open_type,A.props.formKey=(I=r.props)==null?void 0:I.edit.form_key,(_=r.props)!=null&&_.edit.is_show&&r.children.push(A.toSchema()),(E=r.props)==null||delete E.edit}if(((d=r.props)==null?void 0:d.delete)!==void 0){const A=new yn.Designer;A.props.code="delete",A.props.command="delete",A.props.content=(b=r.props)==null?void 0:b.delete.content,A.props.priorityProcess=(P=r.props)==null?void 0:P.delete.priority_process,A.props.openType=(O=r.props)==null?void 0:O.delete.open_type,A.props.formKey=(S=r.props)==null?void 0:S.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(N=r.props)!=null&&N.delete.is_show&&r.children.push(A.toSchema()),(R=r.props)==null||delete R.delete}}}),e}var Vi={"v1.0":sh,"v2.0":wh,"v2.1":Sh,"v2.2":Ph,"v2.3":Bh,"v2.4":Th,"v2.5":Fh,"v2.6":xh,"v2.7":Mh,"v2.8":Hh,"v2.9":Vh,"v2.10":()=>{}};function _t(e){return e.replace(/^v/,"")}function mt(e){return Number(_t(e))}const re=Object.keys(Vi).map(e=>_t(e)).sort((e,t)=>Number(e)-Number(t)),be=re[re.length-1];class zh{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,mt(r)>mt(be)?ar(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!re.includes(_t(r))||!re.includes(_t(t)))&&ar(`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((i,o,u,c)=>{var v;const s=(v=c[u+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${s}`);const a=Vi[o];let f=i;if(typeof a=="function"){const h=a(i,r);h&&(f=h)}return f},t);return ge(`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 mt(this.toVersion)}get _schemaVersion(){return mt(this.schemaVersion)}get version(){return be}static get version(){return be}}G.VersionBuilder=zh,Object.defineProperty(G,"__esModule",{value:!0})});
|
|
1
|
+
(function(K,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(K=typeof globalThis!="undefined"?globalThis:K||self,ie(K.modelDrivenUpgrade={}))})(this,function(K){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Di="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ti="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",$i="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Fi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ni="{caption}\u5FC5\u586B",xi="\u8BF7\u8F93\u5165\u6807\u9898",Li="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Mi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ji="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Hi="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ui="\u8BF7\u7ED1\u5B9A\u5217\u8868",Vi="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",qi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",zi="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Wi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Gi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ki="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Xi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Qi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ji="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Zi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Yi="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",eu="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",tu="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",nu="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ru="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",iu="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",uu="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ou="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",au="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",lu="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",su="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cu="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",fu="\u8BF7\u7ED1\u5B9A\u670D\u52A1",yu="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",du="\u8BF7\u9009\u62E9\u7701",vu="\u8BF7\u9009\u62E9\u5E02",pu="\u8BF7\u9009\u62E9\u533A",hu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",bu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_u="\u8BF7\u8F93\u5165\u5217\u5BBD",mu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",gu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Eu="\u8BF7\u9009\u62E9\u63A7\u4EF6",Iu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",wu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ou="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Au="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Su="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ru="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Pu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Cu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ku="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Du="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$u="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Lu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ju="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Hu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Uu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vu={isNotNumber:ie,isNotString:Di,isNotObject:Ti,isNotArray:$i,isNotBoolean:Fi,runtimeRequired:Ni,pleaseEnterCaption:xi,pleaseEnterCaptionTip:Li,pleaseEnterPlaceholder:Mi,pleaseEnterFieldCode:ji,pleaseEnterForm:Hi,pleaseEnterList:Ui,pleaseEnterProcess:Vi,pleaseEnterLabel:qi,pleaseEnterValue:zi,bizKeyNotBindFiled:Wi,pleaseEnterNumberRange:Gi,pleaseEnterAValueGreaterThanMin:Ki,pleaseEnterAValueLessThanMax:Xi,numberRangeSetError:Qi,stringRangeError:Ji,attachmentMaxSize:Zi,pleaseEnterTotalScoreSetting:Yi,theTotalScoreMustNotBeLessThan1:eu,scoreDefaultValueRange:tu,attachmentLimitError:nu,PleaseReselectTheOptionalQuantity:ru,TheMaximumLengthIsGreaterThanTheMinimumLength:iu,TheMinimumLengthIsGreaterThanTheMaximumLength:uu,PleaseSelectTheCorrectOptionSettings:ou,optionIdIsRepeat:au,optionIsRequired:lu,pleaseEnterDataCode:su,pleaseEnterValueFieldCode:cu,pleaseEnterSvcCode:fu,pleaseBindAtLeastOneDisplayValue:yu,pleaseSelectProvince:du,pleaseSelectCity:vu,pleaseSelectDistrict:pu,limitRowsCannotBeLessThan0:hu,TheNumberOfRowsCannotBeLessThanMinRows:bu,pleaseEnterColumnWidth:_u,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mu,pleaseCompleteAllRulesAndConditions:gu,pleaseSelectControl:Eu,pleaseSelectAtLeastOneColumn:Iu,pleaseSelectFillBackMode:wu,pleaseSelectDashboard:Ou,rootNodeIsRequired:Au,theViewNameCannotBeEmpty:Su,pleaseSelectOcrType:Ru,pleaseSelectAtLeastOneFieldToFillIn:Pu,pleaseChooseAtLeastOne:Cu,pleaseEnterButtonContent:Bu,pleaseEnterDataCodeInDataSetting:ku,pleaseEnterValueFieldCodeInDataSetting:Du,pleaseEnterSvcCodeInDataSetting:Tu,pleaseBindAtLeastOneDisplayValueInDataSetting:$u,rootNodeIsRequiredInDataSetting:Fu,pleaseEnterMaxHeight:Nu,pleaseEnter:xu,pleaseEnterWatermark:Lu,pleaseEnterFileName:Mu,pleaseUploadAtLeastOnePrintTemplate:ju,pleaseAssignBusiness:Hu,pleaseAssignExternal:Uu},qu="Please enter a number",zu="Please enter a string",Wu="Please enter an object",Gu="Please enter an array",Ku="Please enter a boolean",Xu="{caption} Required",Qu="Please enter the title",Ju="Please enter the bubble prompt",Zu="Please enter the prompt text",Yu="Please bind data items",eo="Please bind the form",to="Please bind the list",no="Please bind the process",ro="Please enter the displayed value",io="Please enter the stored value",uo="The document number is not bound to the data item",oo="Please enter a value greater than or equal to {min} and less than or equal to {max}",ao="Please enter a value greater than or equal to {min}",lo="Please enter a value less than or equal to {max}",so="The value range is set incorrectly",co="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",fo="The attachment size must be between 0MB and 1000MB",yo="Please fill in the total score setting",vo="The total score cannot be less than 1",po="The default value must be between {min} and {max}",ho="The number of attachments uploaded must be between {min} and {max}",bo="Please re-select the optional quantity",_o="The maximum length of the control must be greater than the minimum length",mo="The minimum length of the control must be less than the maximum length",go="Please select the correct option setting",Eo="Option ID cannot be repeated",Io="Please enter at least one option",wo="Please bind the data source",Oo="Please bind the stored value",Ao="Please bind the service",So="At least one display value must be bound",Ro="Please select a province",Po="Please select a city",Co="Please select a district",Bo="The minimum number of lines to fill in cannot be less than 0",ko="The number of rows cannot be less than {min} rows",Do="Please enter the column width",To="Please set the logical relationship of all rule conditions",$o="Please complete all rules and conditions",Fo="please select control",No="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xo="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lo="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Mo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ho="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Uo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Vo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",qo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Go="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ko="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Xo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yo="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ea={isNotNumber:qu,isNotString:zu,isNotObject:Wu,isNotArray:Gu,isNotBoolean:Ku,runtimeRequired:Xu,pleaseEnterCaption:Qu,pleaseEnterCaptionTip:Ju,pleaseEnterPlaceholder:Zu,pleaseEnterFieldCode:Yu,pleaseEnterForm:eo,pleaseEnterList:to,pleaseEnterProcess:no,pleaseEnterLabel:ro,pleaseEnterValue:io,bizKeyNotBindFiled:uo,pleaseEnterNumberRange:oo,pleaseEnterAValueGreaterThanMin:ao,pleaseEnterAValueLessThanMax:lo,numberRangeSetError:so,stringRangeError:co,attachmentMaxSize:fo,pleaseEnterTotalScoreSetting:yo,theTotalScoreMustNotBeLessThan1:vo,scoreDefaultValueRange:po,attachmentLimitError:ho,PleaseReselectTheOptionalQuantity:bo,TheMaximumLengthIsGreaterThanTheMinimumLength:_o,TheMinimumLengthIsGreaterThanTheMaximumLength:mo,PleaseSelectTheCorrectOptionSettings:go,optionIdIsRepeat:Eo,optionIsRequired:Io,pleaseEnterDataCode:wo,pleaseEnterValueFieldCode:Oo,pleaseEnterSvcCode:Ao,pleaseBindAtLeastOneDisplayValue:So,pleaseSelectProvince:Ro,pleaseSelectCity:Po,pleaseSelectDistrict:Co,limitRowsCannotBeLessThan0:Bo,TheNumberOfRowsCannotBeLessThanMinRows:ko,pleaseEnterColumnWidth:Do,pleaseSetTheLogicalRelationshipOfAllRuleConditions:To,pleaseCompleteAllRulesAndConditions:$o,pleaseSelectControl:Fo,pleaseSelectDashboard:No,theViewNameCannotBeEmpty:xo,pleaseSelectOcrType:Lo,pleaseSelectAtLeastOneFieldToFillIn:Mo,pleaseChooseAtLeastOne:jo,pleaseEnterButtonContent:Ho,pleaseEnterDataCodeInDataSetting:Uo,pleaseEnterValueFieldCodeInDataSetting:Vo,pleaseEnterSvcCodeInDataSetting:qo,pleaseBindAtLeastOneDisplayValueInDataSetting:zo,rootNodeIsRequiredInDataSetting:Wo,pleaseEnterMaxHeight:Go,pleaseEnter:Ko,pleaseEnterWatermark:Xo,pleaseEnterFileName:Qo,pleaseUploadAtLeastOnePrintTemplate:Jo,pleaseAssignBusiness:Zo,pleaseAssignExternal:Yo},ta="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",na="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ia="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ua="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="{caption}\u5FC5\u9808",aa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ca="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ya="\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",va="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ba="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="{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",ga="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ea="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ia="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Oa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Aa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ra="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pa="\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",Ca="\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",Ba="\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",Da="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ta="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Na="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",xa="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",La="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ma="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ja="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ha="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ua="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",za="please select control",Wa="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ga="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ka="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ja="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",el="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",il="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ul="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ol="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",al="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ll="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",sl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cl={isNotNumber:ta,isNotString:na,isNotObject:ra,isNotArray:ia,isNotBoolean:ua,runtimeRequired:oa,pleaseEnterCaption:aa,pleaseEnterCaptionTip:la,pleaseEnterPlaceholder:sa,pleaseEnterFieldCode:ca,pleaseEnterForm:fa,pleaseEnterList:ya,pleaseEnterProcess:da,pleaseEnterLabel:va,pleaseEnterValue:pa,bizKeyNotBindFiled:ha,pleaseEnterNumberRange:ba,pleaseEnterAValueGreaterThanMin:_a,pleaseEnterAValueLessThanMax:ma,numberRangeSetError:ga,stringRangeError:Ea,attachmentMaxSize:Ia,pleaseEnterTotalScoreSetting:wa,theTotalScoreMustNotBeLessThan1:Oa,scoreDefaultValueRange:Aa,attachmentLimitError:Sa,PleaseReselectTheOptionalQuantity:Ra,TheMaximumLengthIsGreaterThanTheMinimumLength:Pa,TheMinimumLengthIsGreaterThanTheMaximumLength:Ca,PleaseSelectTheCorrectOptionSettings:Ba,optionIdIsRepeat:ka,optionIsRequired:Da,pleaseEnterDataCode:Ta,pleaseEnterValueFieldCode:$a,pleaseEnterSvcCode:Fa,pleaseBindAtLeastOneDisplayValue:Na,pleaseSelectProvince:xa,pleaseSelectCity:La,pleaseSelectDistrict:Ma,limitRowsCannotBeLessThan0:ja,TheNumberOfRowsCannotBeLessThanMinRows:Ha,pleaseEnterColumnWidth:Ua,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Va,pleaseCompleteAllRulesAndConditions:qa,pleaseSelectControl:za,pleaseSelectDashboard:Wa,theViewNameCannotBeEmpty:Ga,pleaseSelectOcrType:Ka,pleaseSelectAtLeastOneFieldToFillIn:Xa,pleaseChooseAtLeastOne:Qa,pleaseEnterButtonContent:Ja,pleaseEnterDataCodeInDataSetting:Za,pleaseEnterValueFieldCodeInDataSetting:Ya,pleaseEnterSvcCodeInDataSetting:el,pleaseBindAtLeastOneDisplayValueInDataSetting:tl,rootNodeIsRequiredInDataSetting:nl,pleaseEnterMaxHeight:rl,pleaseEnter:il,pleaseEnterWatermark:ul,pleaseEnterFileName:ol,pleaseUploadAtLeastOnePrintTemplate:al,pleaseAssignBusiness:ll,pleaseAssignExternal:sl},fl={zhCN:Vu,enUS:ea,jaJP:cl},Vn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Vn||(Vn={}));var qn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(qn||(qn={}));var yl="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 zn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(zn||(zn={}));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 B;B={},D(B,y.ARRAY,d.ARRAY_COLUMN),D(B,y.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),D(B,y.DECIMAL,d.DECIMAL_COLUMN),D(B,y.DEPARTMENTS,d.DEPARTMENT_COLUMN),D(B,y.FILE,d.FILE_COLUMN),D(B,y.IMAGE,d.IMAGE_COLUMN),D(B,y.ADDRESS,d.LOCATION_COLUMN),D(B,y.EMPLOYEES,d.EMPLOYEE_COLUMN),D(B,y.TEXT,d.TEXT_COLUMN),D(B,y.TIMESCOPE,d.TIMESCOPE_COLUMN),D(B,y.TIMESTAMP,d.TIMESTAMP_COLUMN),D(B,y.VARCHAR,d.VARCHAR_COLUMN),D(B,y.RELATION,d.VARCHAR_COLUMN);var Wn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(Wn||(Wn={}));var Gn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",dl=Gn+"0123456789";function _e(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Gn:dl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function ht(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 vl(e){if(Array.isArray(e))return ht(e)}function pl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hl(){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 me(e,t,r){return hl()?me=Reflect.construct:me=function(i,u,o){var s=[null];s.push.apply(s,u);var c=Function.bind.apply(i,s),a=new c;return o&&oe(a,o.prototype),a},me.apply(null,arguments)}function ue(e){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ue(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&&oe(e,t)}function bl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _l(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 gl(e,t){return t&&(El(t)==="object"||typeof t=="function")?t:pl(e)}function oe(e,t){return oe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},oe(e,t)}function Qn(e){return vl(e)||_l(e)||Il(e)||ml()}var El=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Il(e,t){if(!!e){if(typeof e=="string")return ht(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 ht(e,t)}}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(n){if(n===null||!bl(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 me(n,arguments,ue(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),oe(i,n)},bt(e)}function wl(){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 Jn(e){var t=wl();return function(){var n=ue(e),i;if(t){var u=ue(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return gl(this,i)}}var _t=console;function Ol(){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=_t).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Qn(i)))}function ge(){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=_t).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Qn(i)))}function Al(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var mt=function(e){Xn(r,e);var t=Jn(r);function r(n){Kn(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?Al(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(bt(Error)),Sl=function(e){Xn(r,e);var t=Jn(r);function r(n){Kn(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(mt);function Zn(e){throw new mt(e)}function Yn(e){throw new Sl(e)}function Rl(e){_t.error(new mt(e))}var Pl=Object.prototype.toString;function er(e,t){return Pl.call(e)==="[object "+t+"]"}function Cl(e){return er(e,"String")}function Bl(e){return er(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();Bl(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,u,o,s){if(i!==void 0){var c=i[u];if(!(o===s.length-1&&!Cl(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 u=r[i];return u!==void 0?String(u):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 Dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){Dl(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]:yl;return new kl({locale:r,messages:fl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function Tl(e,t,r){var n=t.replace(/\[(\d)]/g,function(u,o){return"."+o}).split("."),i=!1;return n.reduce(function(u,o,s,c){var a=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,o)){Ol("Can not set ".concat(t,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),u,u);return}return s===c.length-1&&!Object.is(a[o],r)&&(a[o]=r,i=!0),a[o]}},e),i}var $l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gt={exports:{}};(function(e){(function(t){var r=function(v,b,R){if(!a(b)||p(b)||h(b)||g(b)||c(b))return b;var O,A=0,x=0;if(f(b))for(O=[],x=b.length;A<x;A++)O.push(r(v,b[A],R));else{O={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&(O[v(S,R)]=r(v,b[S],R))}return O},n=function(v,b){b=b||{};var R=b.separator||"_",O=b.split||/(?=[A-Z])/;return v.split(O).join(R)},i=function(v){return w(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(b,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},u=function(v){var b=i(v);return b.substr(0,1).toUpperCase()+b.substr(1)},o=function(v,b){return n(v,b).toLowerCase()},s=Object.prototype.toString,c=function(v){return typeof v=="function"},a=function(v){return v===Object(v)},f=function(v){return s.call(v)=="[object Array]"},p=function(v){return s.call(v)=="[object Date]"},h=function(v){return s.call(v)=="[object RegExp]"},g=function(v){return s.call(v)=="[object Boolean]"},w=function(v){return v=v-0,v===v},_=function(v,b){var R=b&&"process"in b?b.process:b;return typeof R!="function"?v:function(O,A){return R(O,v,A)}},E={camelize:i,decamelize:o,pascalize:u,depascalize:o,camelizeKeys:function(v,b){return r(_(i,b),v)},decamelizeKeys:function(v,b){return r(_(o,b),v,b)},pascalizeKeys:function(v,b){return r(_(u,b),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})($l)})(gt);function z(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function k(e){return tr(e)&&"zh"in e}function tr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Fl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function Nl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function F(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=F(n.children,t)),t(i)})),r}function xl(e){return gt.exports.camelizeKeys(e)}function Q(e){return gt.exports.decamelizeKeys(e)}function Et(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 Ll(e){if(Array.isArray(e))return Et(e)}function nr(e,t,r,n,i,u,o){try{var s=e[u](o),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function Ml(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var u=e.apply(t,r);function o(c){nr(u,n,i,o,s,"next",c)}function s(c){nr(u,n,i,o,s,"throw",c)}o(void 0)})}}function jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ul(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function It(e){return Ll(e)||Hl(e)||Vl(e)||Ul()}function Vl(e,t){if(!!e){if(typeof e=="string")return Et(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 Et(e,t)}}var ql=function(e,t){var r,n,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},zl=function(){function e(){jl(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),o=1;o<i;o++)u[o-1]=arguments[o];var s=this;return Ml(function(){var c,a,f,p,h,g,w,_,E,v,b,R;return ql(this,function(O){switch(O.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];f=c.slice(),p=!0,h=!1,g=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),w=f[Symbol.iterator](),O.label=2;case 2:if(p=(_=w.next()).done)return[3,7];if(E=_.value,!c.includes(E))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),s.debug&&ge.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(u.map(function(){return"%o"}).join(","),"\u3002")].concat(It(u))),[4,E.apply(null,It(u))];case 4:return v=O.sent(),s.debug&&ge.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(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(It(u),[v])),a.push(v),v===!1?[3,7]:[3,6];case 5:return b=O.sent(),Rl(String(b)),[3,6];case 6:return p=!0,[3,2];case 7:return[3,10];case 8:return R=O.sent(),h=!0,g=R,[3,10];case 9:try{!p&&w.return!=null&&w.return()}finally{if(h)throw g}return[7];case 10:return[2,a]}})})()},t.on=function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])},t.off=function(n,i){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(i);u==null||u.splice(o,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),Wl=[];new Set(Wl.map(function(e){return e.Designer.controlType}));function rr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function ir(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 ur(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gl(e,t){return t&&(Kl(t)==="object"||typeof t=="function")?t:rr(e)}function wt(e,t){return wt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wt(e,t)}var Kl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xl(){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 or(e){var t=Xl();return function(){var n=Ee(e),i;if(t){var u=Ee(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Gl(this,i)}}var Ie=function e(t){C(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:""},ar=function e(t){C(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:""},Ql=function e(t){C(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},Jl=function(e){ir(r,e);var t=or(r);function r(n){C(this,r);var i;i=t.call(this,n);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var o;i.svcCode=(o=n==null?void 0:n.svcCode)!==null&&o!==void 0?o:"";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}(ar),Zl=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new ar(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(o){return new Ql(o)}))!==null&&i!==void 0?i:[];var u;this.sublists=(u=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(o){return new Jl(o)}))!==null&&u!==void 0?u:[]},Yl=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},es=function e(t){C(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:[]},ts=function e(t){var r=this;C(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_e();var i;this.ruleId=(i=t==null?void 0:t.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"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,p=new lr(s);(f=r.children)===null||f===void 0||f.push(p)}}))},lr=function e(t){C(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_e();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 u;this.checked=(u=t==null?void 0:t.checked)!==null&&u!==void 0?u:!1;var o;this.describe=(o=t==null?void 0:t.describe)!==null&&o!==void 0?o:"",this.leftVariableBo=new Yl(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new es(t==null?void 0:t.rightVariableBo)},ns=function e(t){C(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 u;this.propName=(u=t==null?void 0:t.propName)!==null&&u!==void 0?u:""},rs=function e(t){C(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},is=function e(t){C(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 sr(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(u){return u.children!==void 0?new ts(u):new lr(u)}))!==null&&r!==void 0?r:[],ur(this,ae)||ur(this,os)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(u){return new is(u)}))!==null&&i!==void 0?i:[]}}var ae=function e(t){var r=this;C(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 u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",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 rs(c))}));var o;this.showOrder=(o=t==null?void 0:t.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",sr.call(this,t)},us=function e(t){C(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 u;this.fillList=(u=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(o){return new ns(o)}))!==null&&u!==void 0?u:[]},os=function(e){ir(r,e);var t=or(r);function r(n){C(this,r);var i;return i=t.call(this,n),sr.call(rr(i),n),i}return r}(us),as=function e(t){C(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:""},cr;(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"})(cr||(cr={}));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 Ot;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ot||(Ot={}));var le=function e(t){C(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var i;this.formKey=(i=t==null?void 0:t.formKey)!==null&&i!==void 0?i:"";var u;this.openType=(u=t==null?void 0:t.openType)!==null&&u!==void 0?u:"modal";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},ls=function e(t){C(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 u;this.heightConfig=(u=t==null?void 0:t.heightConfig)!==null&&u!==void 0?u:"fill"};function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cs(){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 cs()?we=Reflect.construct:we=function(i,u,o){var s=[null];s.push.apply(s,u);var c=Function.bind.apply(i,s),a=new c;return o&&ce(a,o.prototype),a},we.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(e)}function fs(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&&ce(e,t)}function ys(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ds(e,t){return t&&(vs(t)==="object"||typeof t=="function")?t:ss(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ce(e,t)}var vs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function St(e){var t=typeof Map=="function"?new Map:void 0;return St=function(n){if(n===null||!ys(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 we(n,arguments,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ce(i,n)},St(e)}function ps(){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 hs(e){var t=ps();return function(){var n=se(e),i;if(t){var u=se(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return ds(this,i)}}var fe=function e(t){At(this,e),this.isHide={type:"boolean"}},Oe=function(e){fs(r,e);var t=hs(r);function r(n){return At(this,r),t.call(this)}return r}(St(Array)),M=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";At(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ls(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};M.Rules=fe,M.RuntimeRules=Oe;function N(){return N=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},N.apply(this,arguments)}function bs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ae(e,t)}function _s(){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 _s()?Se=Reflect.construct:Se=function(i,u,o){var s=[null];s.push.apply(s,u);var c=Function.bind.apply(i,s),a=new c;return o&&Ae(a,o.prototype),a},Se.apply(null,arguments)}function ms(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Pt(e){var t=typeof Map=="function"?new Map:void 0;return Pt=function(n){if(n===null||!ms(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,Rt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ae(i,n)},Pt(e)}var gs=/%[sdj%]/g,fr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(fr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Ct(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 T(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,i=t[0],u=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var o=String(i).replace(gs,function(s){if(s==="%%")return"%";if(n>=u)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 o}return i}function Es(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||Es(t)&&typeof e=="string"&&!e)}function Is(e,t,r){var n=[],i=0,u=e.length;function o(s){n.push.apply(n,s),i++,i===u&&r(n)}e.forEach(function(s){t(s,o)})}function yr(e,t,r){var n=0,i=e.length;function u(o){if(o&&o.length){r(o);return}var s=n;n=n+1,s<i?t(e[s],u):r([])}u([])}function ws(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var dr=function(e){bs(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}(Pt(Error));function Os(e,t,r,n){if(t.first){var i=new Promise(function(p,h){var g=function(E){return n(E),E.length?h(new dr(E,Ct(E))):p()},w=ws(e);yr(w,r,g)});return i.catch(function(p){return p}),i}var u=t.firstFields||[];u===!0&&(u=Object.keys(e));var o=Object.keys(e),s=o.length,c=0,a=[],f=new Promise(function(p,h){var g=function(_){if(a.push.apply(a,_),c++,c===s)return n(a),a.length?h(new dr(a,Ct(a))):p()};o.length||(n(a),p()),o.forEach(function(w){var _=e[w];u.indexOf(w)!==-1?yr(_,r,g):Is(_,r,g)})});return f.catch(function(p){return p}),f}function vr(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 pr(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]=N(N({},e[r]),n):e[r]=n}}return e}function hr(e,t,r,n,i,u){e.required&&(!r.hasOwnProperty(e.field)||P(t,u||e.type))&&n.push(T(i.messages.required,e.fullField))}function As(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(T(i.messages.whitespace,e.fullField))}var Bt={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},ye={integer:function(t){return ye.number(t)&&parseInt(t,10)===t},float:function(t){return ye.number(t)&&!ye.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"&&!ye.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Bt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Bt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Bt.hex)}};function Ss(e,t,r,n,i){if(e.required&&t===void 0){hr(e,t,r,n,i);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;u.indexOf(o)>-1?ye[o](t)||n.push(T(i.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&n.push(T(i.messages.types[o],e.fullField,e.type))}function Rs(e,t,r,n,i){var u=typeof e.len=="number",o=typeof e.min=="number",s=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,p=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(p?f="number":h?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),u?a!==e.len&&n.push(T(i.messages[f].len,e.fullField,e.len)):o&&!s&&a<e.min?n.push(T(i.messages[f].min,e.fullField,e.min)):s&&!o&&a>e.max?n.push(T(i.messages[f].max,e.fullField,e.max)):o&&s&&(a<e.min||a>e.max)&&n.push(T(i.messages[f].range,e.fullField,e.min,e.max))}var J="enum";function Ps(e,t,r,n,i){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&n.push(T(i.messages[J],e.fullField,e[J].join(", ")))}function Cs(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(T(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var u=new RegExp(e.pattern);u.test(t)||n.push(T(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:hr,whitespace:As,type:Ss,range:Rs,enum:Ps,pattern:Cs};function Bs(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t,"string")&&!e.required)return r();I.required(e,t,n,u,i,"string"),P(t,"string")||(I.type(e,t,n,u,i),I.range(e,t,n,u,i),I.pattern(e,t,n,u,i),e.whitespace===!0&&I.whitespace(e,t,n,u,i))}r(u)}function ks(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&I.type(e,t,n,u,i)}r(u)}function Ds(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&(I.type(e,t,n,u,i),I.range(e,t,n,u,i))}r(u)}function Ts(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&I.type(e,t,n,u,i)}r(u)}function $s(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),P(t)||I.type(e,t,n,u,i)}r(u)}function Fs(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&(I.type(e,t,n,u,i),I.range(e,t,n,u,i))}r(u)}function Ns(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&(I.type(e,t,n,u,i),I.range(e,t,n,u,i))}r(u)}function xs(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return r();I.required(e,t,n,u,i,"array"),t!=null&&(I.type(e,t,n,u,i),I.range(e,t,n,u,i))}r(u)}function Ls(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&I.type(e,t,n,u,i)}r(u)}var Ms="enum";function js(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i),t!==void 0&&I[Ms](e,t,n,u,i)}r(u)}function Hs(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t,"string")&&!e.required)return r();I.required(e,t,n,u,i),P(t,"string")||I.pattern(e,t,n,u,i)}r(u)}function Us(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t,"date")&&!e.required)return r();if(I.required(e,t,n,u,i),!P(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),I.type(e,s,n,u,i),s&&I.range(e,s.getTime(),n,u,i)}}r(u)}function Vs(e,t,r,n,i){var u=[],o=Array.isArray(t)?"array":typeof t;I.required(e,t,n,u,i,o),r(u)}function kt(e,t,r,n,i){var u=e.type,o=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(P(t,u)&&!e.required)return r();I.required(e,t,n,o,i,u),P(t,u)||I.type(e,t,n,o,i)}r(o)}function qs(e,t,r,n,i){var u=[],o=e.required||!e.required&&n.hasOwnProperty(e.field);if(o){if(P(t)&&!e.required)return r();I.required(e,t,n,u,i)}r(u)}var de={string:Bs,method:ks,number:Ds,boolean:Ts,regexp:$s,integer:Fs,float:Ns,array:xs,object:Ls,enum:js,pattern:Hs,date:Us,url:kt,hex:kt,email:kt,required:Vs,any:qs};function Dt(){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 Tt=Dt();function j(e){this.rules=null,this._messages=Tt,this.define(e)}j.prototype={messages:function(t){return t&&(this._messages=pr(Dt(),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 u=t,o=r,s=n;if(typeof o=="function"&&(s=o,o={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(_){var E,v=[],b={};function R(O){if(Array.isArray(O)){var A;v=(A=v).concat.apply(A,O)}else v.push(O)}for(E=0;E<_.length;E++)R(_[E]);v.length?b=Ct(v):(v=null,b=null),s(v,b)}if(o.messages){var a=this.messages();a===Tt&&(a=Dt()),pr(a,o.messages),o.messages=a}else o.messages=this.messages();var f,p,h={},g=o.keys||Object.keys(this.rules);g.forEach(function(_){f=i.rules[_],p=u[_],f.forEach(function(E){var v=E;typeof v.transform=="function"&&(u===t&&(u=N({},u)),p=u[_]=v.transform(p)),typeof v=="function"?v={validator:v}:v=N({},v),v.validator=i.getValidationMethod(v),v.field=_,v.fullField=v.fullField||_,v.type=i.getType(v),v.validator&&(h[_]=h[_]||[],h[_].push({rule:v,value:p,source:u,field:_}))})});var w={};return Os(h,o,function(_,E){var v=_.rule,b=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");b=b&&(v.required||!v.required&&_.value),v.field=_.field;function R(x,S){return N(N({},S),{},{fullField:v.fullField+"."+x})}function O(x){x===void 0&&(x=[]);var S=x;if(Array.isArray(S)||(S=[S]),!o.suppressWarning&&S.length&&j.warning("async-validator:",S),S.length&&v.message!==void 0&&(S=[].concat(v.message)),S=S.map(vr(v)),o.first&&S.length)return w[v.field]=1,E(S);if(!b)E(S);else{if(v.required&&!_.value)return v.message!==void 0?S=[].concat(v.message).map(vr(v)):o.error&&(S=[o.error(v,T(o.messages.required,v.field))]),E(S);var L={};if(v.defaultField)for(var Bi in _.value)_.value.hasOwnProperty(Bi)&&(L[Bi]=v.defaultField);L=N(N({},L),_.rule.fields);for(var ne in L)if(L.hasOwnProperty(ne)){var ch=Array.isArray(L[ne])?L[ne]:[L[ne]];L[ne]=ch.map(R.bind(null,ne))}var ki=new j(L);ki.messages(o.messages),_.rule.options&&(_.rule.options.messages=o.messages,_.rule.options.error=o.error),ki.validate(_.value,_.rule.options||o,function(Un){var re=[];S&&S.length&&re.push.apply(re,S),Un&&Un.length&&re.push.apply(re,Un),E(re.length?re:null)})}}var A;v.asyncValidator?A=v.asyncValidator(v,_.value,O,_.source,o):v.validator&&(A=v.validator(v,_.value,O,_.source,o),A===!0?O():A===!1?O(v.message||v.field+" fails"):A instanceof Array?O(A):A instanceof Error&&O(A.message)),A&&A.then&&A.then(function(){return O()},function(x){return O(x)})},function(_){c(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!de.hasOwnProperty(t.type))throw new Error(T("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"?de.required:de[this.getType(t)]||!1}},j.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");de[t]=r},j.warning=fr,j.messages=Tt,j.validators=de;var zs={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 Ws(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(zs,t)),r}var Gs=new zl;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 Ks(e){if(Array.isArray(e))return e}function Xs(e){if(Array.isArray(e))return $t(e)}function br(e,t,r,n,i,u,o){try{var s=e[u](o),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function _r(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var u=e.apply(t,r);function o(c){br(u,n,i,o,s,"next",c)}function s(c){br(u,n,i,o,s,"throw",c)}o(void 0)})}}function Qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(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 Js(e,t,r){return t&&mr(e.prototype,t),r&&mr(e,r),e}function Zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Er(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ys(){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 Ir(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){Zs(e,i,r[i])})}return e}function tc(e){return Ks(e)||Er(e)||wr(e)||Ys()}function Ft(e){return Xs(e)||Er(e)||wr(e)||ec()}function wr(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)}}var Or=function(e,t){var r,n,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$=function(){function t(n){var i=this;Qs(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Sr,this.removeSetting=Ar,this._callControlHooks("preInstance",n);var u=gr(this,t)?this.constructor:void 0,o=u.controlName,s=u.controlIcon,c=u.controlType,a=u.controlFieldType,f=u.controlEventKeys,p=u.controlCustomEvents,h=u.name,g=u.setting;o&&s&&c||Yn("The ".concat(h," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:_e(10),this.name=o,this.icon=s;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:c,this.props=new M(n==null?void 0:n.props,(gr(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=z(g);var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a,this.eventKeys=z(f),this.customEvents=z(p),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var i=arguments.length,u=new Array(i),o=0;o<i;o++)u[o]=arguments[o];var s,c=tc(u),a=c[0],f=c.slice(1);return(s=Gs).emit.apply(s,[a,this].concat(Ft(f)))},r.preUpdate=function(i,u){this._callControlHooks("preUpdateProps",i,u)},r.postUpdate=function(i,u){this._callControlHooks("postUpdateProps",i,u)},r.updateProps=function(i,u){this.preUpdate(i,u),Tl(this.props,i,u),this.postUpdate(i,u)},r.preValidate=function(){var i=this;return _r(function(){var u,o,s;return Or(this,function(c){switch(c.label){case 0:return u=Ir({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return o=c.sent(),s=o[o.length-1],[2,s===!1?void 0:s]}})})()},r.validate=function(i,u){var o=this;return _r(function(){var s,c,a,f;return Or(this,function(p){switch(p.label){case 0:return[4,o.preValidate()];case 1:s=p.sent(),c=s!==void 0?s:Ir({},o.rules),Array.isArray(u)&&u.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=Ws(c,i),p.label=2;case 2:return p.trys.push([2,4,,5]),[4,a.validate(o.props)];case 3:return p.sent(),[2,!0];case 4:throw f=p.sent(),f.control||(f.control=o),f;case 5:return[2]}})})()},r.toDataBindModel=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,s=this.type,c=this.props,a=c.dataBind,f=c.datasourceBind,p=c.optionConfig,h=c.caption,g=c.required,w=c.maxLength,_=c.options,E=c.encrypted,v=c.encryptedMode;if(!(!u&&!a&&!f)){var b={parentId:i,fieldType:u,controlId:o,caption:h,type:s,props:{}};switch(a&&(b.dataBind=a),p){case"datasource":case void 0:f&&(b.datasourceBind=f);break;case"custom":b.props.options=_;break}return g!==void 0&&(b.required=g),w!==void 0&&(b.maxLength=w),E!==void 0&&(b.encrypted=E),v!==void 0&&(b.encryptedMode=v),b}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:z(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(i,u){if(i==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,Ft(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}},Js(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();$.controlName="\u63A7\u4EF6",$.controlIcon="icon",$.controlType="control",$.controlEventKeys=[],$.controlCustomEvents=[],$.setting=[],$.__is_control__=!0,$.removeSettingItem=Ar,$.updateSettingItem=Sr;function Ar(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",u=t.setting.findIndex(function(c){return c.key===(i?n.key:n)});if(u!==-1){var o,s;i?t.setting[u].showItems=(o=t.setting[u].showItems)===null||o===void 0?void 0:o.filter(function(c){return!n.hideItems.includes(c)}):t.setting.splice(u,1),i&&!(!((s=t.setting[u].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(u,1)}})}function Sr(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(i){var u=r.setting.find(function(a){return a.key===i});if(u){if(typeof t=="boolean")u.visible=t;else if(typeof t=="object"){var o,s=(o=t.type)!==null&&o!==void 0?o:"replace";if(s==="replace")u.showItems=t.showItems;else{var c;(c=u.showItems).push.apply(c,Ft(t.showItems))}}}})}function nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(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 rc(e,t,r){return t&&Rr(e.prototype,t),r&&Rr(e,r),e}function ic(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ve=function(){function t(r){nc(this,t),this.customEvents=[],this.parent=null;var n=ic(this,t)?this.constructor:void 0,i=n.controlType,u=n.controlFieldType,o=n.name,s=n.controlCustomEvents;i||Yn("The ".concat(o," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:_e(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new M(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 p;this.fieldType=(p=r==null?void 0:r.fieldType)!==null&&p!==void 0?p:u;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:Ot.UNKNOWN}return rc(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}();ve.controlType="control",ve.__is_control__=!0,ve.controlCustomEvents=[];function uc(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 u=n.map(function(s){return s.value}),o=Nl(u);u.length!==o.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 oc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Re(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&&Lt(e,t)}function ac(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lc(e,t){return t&&(sc(t)==="object"||typeof t=="function")?t:oc(e)}function Lt(e,t){return Lt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Lt(e,t)}var sc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cc(){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 Mt(e){var t=cc();return function(){var n=Re(e),i;if(t){var u=Re(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return lc(this,i)}}var jt=function(e){xt(r,e);var t=Mt(r);function r(n){Nt(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 u={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(ac(n.dataBind,Ie))i.dataBind={type:"object",required:!0,fields:z(u),message:m.getMessage("pleaseEnterFieldCode")};else{var o={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){o.fields[s]={type:"object",required:!0,fields:z(u),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=o}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(fe),Ht=function(e){xt(r,e);var t=Mt(r);function r(n){Nt(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}(Oe),Z=function(e){xt(r,e);var t=Mt(r);function r(n){Nt(this,r);var i;i=t.call(this,n);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var o;i.isHideCaption=(o=n==null?void 0:n.isHideCaption)!==null&&o!==void 0?o:!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 p;i.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"";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 Ie(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return r}(M);Z.Rules=jt,Z.RuntimeRules=Ht;function fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function dc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function vc(e,t){return t&&(pc(t)==="object"||typeof t=="function")?t:fc(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ut(e,t)}var pc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hc(){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 bc(e){var t=hc();return function(){var n=Pe(e),i;if(t){var u=Pe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return vc(this,i)}}var Vt=function(e){dc(r,e);var t=bc(r);function r(n){yc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}($);Vt.controlEventKeys=["on_change","on_focus","on_blur"];function _c(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mc(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 gc(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 Ec(e,t){return t&&(Ic(t)==="object"||typeof t=="function")?t:_c(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qt(e,t)}var Ic=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 Oc(e){var t=wc();return function(){var n=Ce(e),i;if(t){var u=Ce(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Ec(this,i)}}var Ac=function(e){gc(r,e);var t=Oc(r);function r(n){mc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}(ve);function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rc(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 Pc(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 Cc(e,t){return t&&(Bc(t)==="object"||typeof t=="function")?t:Sc(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zt(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 Dc(e){var t=kc();return function(){var n=Be(e),i;if(t){var u=Be(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Cc(this,i)}}var H=function(e){Pc(r,e);var t=Dc(r);function r(n){return Rc(this,r),t.call(this,n)}return r}(M);function Wt(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 Tc(e){if(Array.isArray(e))return Wt(e)}function $c(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fc(){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 Pr(e){return Tc(e)||$c(e)||Nc(e)||Fc()}function Nc(e,t){if(!!e){if(typeof e=="string")return Wt(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 Wt(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 Cr(e,t){e.parent=t,xc(e,"parent")}function Lc(e,t){e.forEach(function(r){Cr(r,t)})}var Br=Symbol("targetKey");function kr(e){var t;return(t=e[Br])!==null&&t!==void 0?t:e}function Dr(e,t){return Lc(e,t),new Proxy(e,{get:function(n,i){for(var u=arguments.length,o=new Array(u>2?u-2:0),s=2;s<u;s++)o[s-2]=arguments[s];var c;return i===Br?n:(c=Reflect).get.apply(c,[n,i].concat(Pr(o)))},set:function(n,i,u){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var a;if(Fl(e)&&i==="length"&&u===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,u].concat(Pr(s)));return tr(u)&&Cr(u,t),f}})}function Gt(e,t,r,n){var i=n!=null?n:e,u=Dr(kr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return u},set:function(s){u=Dr(kr(s),i)},enumerable:!0})}function Kt(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 Mc(e){if(Array.isArray(e))return Kt(e)}function Tr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $r(e,t,r,n,i,u,o){try{var s=e[u](o),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function jc(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var u=e.apply(t,r);function o(c){$r(u,n,i,o,s,"next",c)}function s(c){$r(u,n,i,o,s,"throw",c)}o(void 0)})}}function Hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(i,u,o){var s=Jc(i,u);if(!!s){var c=Object.getOwnPropertyDescriptor(s,u);return c.get?c.get.call(o):c.value}},Y(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(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&&Xt(e,t)}function qc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wc(){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 Gc(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){Uc(e,i,r[i])})}return e}function Kc(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 Xc(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kc(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qc(e,t){return t&&(Zc(t)==="object"||typeof t=="function")?t:Tr(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xt(e,t)}function Jc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function Fr(e){return Mc(e)||zc(e)||Yc(e)||Wc()}var Zc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yc(e,t){if(!!e){if(typeof e=="string")return Kt(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 Kt(e,t)}}function ef(){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=ef();return function(){var n=U(e),i;if(t){var u=U(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Qc(this,i)}}var nf=function(e,t){var r,n,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},rf=1e4,W=function(t){Vc(n,t);var r=tf(n);function n(u){Hc(this,n);var o;o=r.call(this,u),o.controlType="layout";var s=qc(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return o.props=new H(u==null?void 0:u.props),Gt(Tr(o),"children",u==null?void 0:u.children),o.excludes=z(c),o.childrenMaxLength=a,o}var i=n.prototype;return i.judgeExcludesChildren=function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)},i.judgeJoinChildren=function(o){var s=this.judgeExcludesChildren(o);return s&&this.childrenMaxLength>this.children.length},i.validate=function(o,s){var c=this,a=this,f=function(){return Y(U(n.prototype),"validate",c)};return jc(function(){return nf(this,function(p){switch(p.label){case 0:return[4,f().call(a,o,s)];case 1:return p.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(o,s)}))];case 2:return p.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=Y(U(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,f){var p=f.toDataBindModel(o);if(Array.isArray(p)){var h=p.filter(function(g){return!!g});return Fr(a).concat(Fr(h))}return p&&a.push(p),a},c)},i.toSchema=function(){var o=Y(U(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return Xc(Gc({},o),{children:s})},n}($);W.excludes=!1,W.childrenMaxLength=rf;function Nr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uf(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 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&&Qt(e,t)}function af(e,t){return t&&(lf(t)==="object"||typeof t=="function")?t:Nr(e)}function Qt(e,t){return Qt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qt(e,t)}var lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sf(){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 cf(e){var t=sf();return function(){var n=ke(e),i;if(t){var u=ke(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return af(this,i)}}var pe=function(e){of(r,e);var t=cf(r);function r(n){uf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Gt(Nr(i),"children",n==null?void 0:n.children),i}return r}(ve);function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ff(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 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&&Jt(e,t)}function df(e,t){return t&&(vf(t)==="object"||typeof t=="function")?t:xr(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jt(e,t)}var vf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pf(){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 hf(e){var t=pf();return function(){var n=De(e),i;if(t){var u=De(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return df(this,i)}}var bf=function(e){yf(r,e);var t=hf(r);function r(n,i){ff(this,r);var u;return u=t.call(this,i),Gt(xr(u),"headers",i==null?void 0:i.headers,n),u}return r}(M);function Zt(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 _f(e){if(Array.isArray(e))return Zt(e)}function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mr(e,t,r,n,i,u,o){try{var s=e[u](o),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function mf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var u=e.apply(t,r);function o(c){Mr(u,n,i,o,s,"next",c)}function s(c){Mr(u,n,i,o,s,"throw",c)}o(void 0)})}}function gf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ee=Reflect.get:ee=function(i,u,o){var s=Rf(i,u);if(!!s){var c=Object.getOwnPropertyDescriptor(s,u);return c.get?c.get.call(o):c.value}},ee(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(e)}function If(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 wf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Of(){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 jr(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){Ef(e,i,r[i])})}return e}function Af(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 Hr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Af(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Sf(e,t){return t&&(Pf(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)}function Rf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Ur(e){return _f(e)||wf(e)||Cf(e)||Of()}var Pf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cf(e,t){if(!!e){if(typeof e=="string")return Zt(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 Zt(e,t)}}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=V(e),i;if(t){var u=V(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Sf(this,i)}}var Df=function(e,t){var r,n,i,u,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(a){return function(f){return c([a,f])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Tf=function(e){If(r,e);var t=kf(r);function r(i){gf(this,r);var u;return u=t.call(this,i),u.controlType="list",u.props=new bf(Lr(u),i==null?void 0:i.props),u}var n=r.prototype;return n.validate=function(u,o){var s=this,c=this,a=function(){return ee(V(r.prototype),"validate",s)};return mf(function(){return Df(this,function(f){switch(f.label){case 0:return[4,a().call(c,u)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(p){return p.validate(u,o)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var u=ee(V(r.prototype),"toDataBindModel",this).call(this),o=u?[u]:[],s=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(s);if(Array.isArray(f)){var p=f.filter(function(h){return!!h});return Ur(c).concat(Ur(p))}return f&&c.push(f),c},o)},n.toSchema=function(){var u=ee(V(r.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(s){return s.toSchema()});return Hr(jr({},u),{props:Hr(jr({},this.props),{headers:o})})},r}($);Tf.controlFieldType=y.LIST;function $f(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(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 qr(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 Ff(e,t){return t&&(Nf(t)==="object"||typeof t=="function")?t:$f(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var Nf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xf(){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 zr(e){var t=xf();return function(){var n=Te(e),i;if(t){var u=Te(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Ff(this,i)}}var Lf=function(e){qr(r,e);var t=zr(r);function r(n){Vr(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}(fe),Mf=function(e){qr(r,e);var t=zr(r);function r(n){Vr(this,r);var i;i=t.call(this,n);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var o;i.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var s;i.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:"none",i.dataBind=new Ie(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}(M);Mf.Rules=Lf,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 $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(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&&tn(e,t)}function Vf(e,t){return t&&(qf(t)==="object"||typeof t=="function")?t:jf(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tn(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=$e(e),i;if(t){var u=$e(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Vf(this,i)}}var Gf=function(e){Uf(r,e);var t=Wf(r);function r(n){Hf(this,r);var i;i=t.call(this,n);var u;i.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6309\u94AE";var o;i.buttonType=(o=n==null?void 0:n.buttonType)!==null&&o!==void 0?o:"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 p;i.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var h;return i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,i}return r}(M);function Kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(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&&Wr(e.prototype,t),r&&Wr(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(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&&nn(e,t)}function Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Kf(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}var Yf=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 ty(e){var t=ey();return function(){var n=Fe(e),i;if(t){var u=Fe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Zf(this,i)}}var Gr=function(e){Jf(r,e);var t=ty(r);function r(n){Xf(this,r);var i;return i=t.call(this,n),i.props=new Gf(n==null?void 0:n.props),i}return Qf(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);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 Kr;(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"})(Kr||(Kr={}));var Xr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Xr||(Xr={}));var Qr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Qr||(Qr={}));var Jr;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Jr||(Jr={}));var Zr;(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"})(Zr||(Zr={}));function Yr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ei;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ei||(ei={}));var ti;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(ti||(ti={}));var ni;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ni||(ni={}));var ri;(function(e){e.ALL="all",e.ASSIGN="assign"})(ri||(ri={}));var ii;(function(e){e.ALL="all",e.ADMIN="admin"})(ii||(ii={})),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,l.IS_HIDE;function ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rn(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 un(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 ry(e,t){return t&&(iy(t)==="object"||typeof t=="function")?t:ny(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var iy=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 an(e){var t=uy();return function(){var n=Ne(e),i;if(t){var u=Ne(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return ry(this,i)}}var oy=function(e){un(r,e);var t=an(r);function r(n){rn(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=Yr(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(jt),ay=function(e){un(r,e);var t=an(r);function r(n){rn(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:Yr(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(Ht),ln=function(e){un(r,e);var t=an(r);function r(n){rn(this,r);var i;i=t.call(this,n);var u;i.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:200;var o;i.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:0,i.regularRules=new as(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:Le.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 p;return i.encryptedMode=(p=n==null?void 0:n.encryptedMode)!==null&&p!==void 0?p:"",i}return r}(Z);ln.Rules=oy,ln.RuntimeRules=ay;function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(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&&ui(e.prototype,t),r&&ui(e,r),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function fy(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 yy(e,t){return t&&(dy(t)==="object"||typeof t=="function")?t:ly(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}var dy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vy(){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 py(e){var t=vy();return function(){var n=xe(e),i;if(t){var u=xe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return yy(this,i)}}var Le=function(e){fy(r,e);var t=py(r);function r(n){sy(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return cy(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}(Vt);Le.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Le.controlFieldType=y.VARCHAR,Le.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 hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cn(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 fn(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 by(e,t){return t&&(_y(t)==="object"||typeof t=="function")?t:hy(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 my(){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 dn(e){var t=my();return function(){var n=Me(e),i;if(t){var u=Me(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return by(this,i)}}var gy=104857600,Ey=1048576e3,Iy=function(e){fn(r,e);var t=dn(r);function r(n){cn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:Ey,message:m.getMessage("attachmentMaxSize")},i}return r}(jt),wy=function(e){fn(r,e);var t=dn(r);function r(n){cn(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}(Ht),je=function(e){fn(r,e);var t=dn(r);function r(n){cn(this,r);var i;i=t.call(this,n);var u;i.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:[];var o;i.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"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:gy;var p;i.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Ue.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}(Z);je.Rules=Iy,je.RuntimeRules=wy;function Oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ay(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 Sy(e,t,r){return t&&oi(e.prototype,t),r&&oi(e,r),e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function Ry(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 Py(e,t){return t&&(Cy(t)==="object"||typeof t=="function")?t:Oy(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Cy=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 ky(e){var t=By();return function(){var n=He(e),i;if(t){var u=He(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Py(this,i)}}var Ue=function(e){Ry(r,e);var t=ky(r);function r(n){Ay(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return Sy(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Vt);Ue.controlEventKeys=["on_change"],Ue.controlFieldType=y.FILE,Ue.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 Dy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ty(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 $y(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 Fy(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 Ny(e,t){return t&&(xy(t)==="object"||typeof t=="function")?t:Dy(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pn(e,t)}var xy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ly(){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 My(e){var t=Ly();return function(){var n=Ve(e),i;if(t){var u=Ve(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Ny(this,i)}}var jy=function(e){Fy(r,e);var t=My(r);function r(n){Ty(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return $y(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Ac);jy.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 Hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uy(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 Vy(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 qy(e,t){return t&&(zy(t)==="object"||typeof t=="function")?t:Hy(e)}function hn(e,t){return hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},hn(e,t)}var zy=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 Gy(e){var t=Wy();return function(){var n=qe(e),i;if(t){var u=qe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return qy(this,i)}}var Ky=24,bn=function(e){Vy(r,e);var t=Gy(r);function r(n){Uy(this,r);var i;i=t.call(this,n);var u;i.span=(u=n==null?void 0:n.span)!==null&&u!==void 0?u:Ky;var o;return i.offset=(o=n==null?void 0:n.offset)!==null&&o!==void 0?o:0,i}return r}(H);function Xy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(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 Jy(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 Zy(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 Yy(e,t){return t&&(ed(t)==="object"||typeof t=="function")?t:Xy(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var ed=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function td(){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 nd(e){var t=td();return function(){var n=ze(e),i;if(t){var u=ze(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Yy(this,i)}}var mn=function(e){Zy(r,e);var t=nd(r);function r(n){Qy(this,r);var i;return i=t.call(this,n),i.props=new bn(n==null?void 0:n.props),i}return Jy(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);mn.excludes=[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.DIVIDER],mn.childrenMaxLength=1;function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function id(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 ud(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 od(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 ad(e,t){return t&&(ld(t)==="object"||typeof t=="function")?t:rd(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},gn(e,t)}var ld=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sd(){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 cd(e){var t=sd();return function(){var n=We(e),i;if(t){var u=We(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return ad(this,i)}}var fd=function(e){od(r,e);var t=cd(r);function r(n){id(this,r);var i;return i=t.call(this,n),i.props=new bn(n==null?void 0:n.props),i}return ud(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(pe),ci={Designer:mn,Runtime:fd,Property:bn};function yd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dd(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 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&&En(e,t)}function pd(e,t){return t&&(hd(t)==="object"||typeof t=="function")?t:yd(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var hd=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 _d(e){var t=bd();return function(){var n=Ge(e),i;if(t){var u=Ge(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return pd(this,i)}}var In=function(e){vd(r,e);var t=_d(r);function r(n){dd(this,r);var i;i=t.call(this,n);var u;i.layoutMode=(u=n==null?void 0:n.layoutMode)!==null&&u!==void 0?u:"select";var o;return i.gutter=(o=n==null?void 0:n.gutter)!==null&&o!==void 0?o:0,i}return r}(H);function md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gd(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 Ed(e,t,r){return t&&fi(e.prototype,t),r&&fi(e,r),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function Id(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 wd(e,t){return t&&(Od(t)==="object"||typeof t=="function")?t:md(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var Od=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ad(){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 Sd(e){var t=Ad();return function(){var n=Ke(e),i;if(t){var u=Ke(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return wd(this,i)}}var On=function(e){Id(r,e);var t=Sd(r);function r(n){gd(this,r);var i;return i=t.call(this,n),i.props=new In(n==null?void 0:n.props),i}return Ed(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);On.excludes=[d.ROW],On.setting=[{key:"col-setting",visible:!0}];function Rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pd(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 Cd(e,t,r){return t&&yi(e.prototype,t),r&&yi(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Bd(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&&An(e,t)}function kd(e,t){return t&&(Dd(t)==="object"||typeof t=="function")?t:Rd(e)}function An(e,t){return An=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},An(e,t)}var Dd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Td(){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 $d(e){var t=Td();return function(){var n=Xe(e),i;if(t){var u=Xe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return kd(this,i)}}var Fd=function(e){Bd(r,e);var t=$d(r);function r(n){Pd(this,r);var i;return i=t.call(this,n),i.props=new In(n==null?void 0:n.props),i}return Cd(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(pe);function Nd(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 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 Ld(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 Md(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sn(e,t)}function jd(e,t){return t&&(Hd(t)==="object"||typeof t=="function")?t:Nd(e)}function Sn(e,t){return Sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sn(e,t)}var Hd=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 Vd(e){var t=Ud();return function(){var n=Qe(e),i;if(t){var u=Qe(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return jd(this,i)}}var qd=4,Je=function(e){Md(r,e);var t=Vd(r);function r(n){return xd(this,r),t.call(this,n)}return Ld(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}(On);Je.excludes=[d.GRID_ROW],Je.setting=[],Je.childrenMaxLength=qd;function zd(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 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 Gd(e,t,r){return t&&vi(e.prototype,t),r&&vi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function Kd(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 Xd(e,t){return t&&(Qd(t)==="object"||typeof t=="function")?t:zd(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Qd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jd(){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 Zd(e){var t=Jd();return function(){var n=Ze(e),i;if(t){var u=Ze(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Xd(this,i)}}var Yd=function(e){Kd(r,e);var t=Zd(r);function r(n){return Wd(this,r),t.call(this,n)}return Gd(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Fd);function ev(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 Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function nv(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 rv(e,t){return t&&(iv(t)==="object"||typeof t=="function")?t:ev(e)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pn(e,t)}var iv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uv(){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 ov(e){var t=uv();return function(){var n=Ye(e),i;if(t){var u=Ye(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return rv(this,i)}}var av=function(e){nv(r,e);var t=ov(r);function r(n){return tv(this,r),t.call(this,n)}return r}(In),lv={Designer:Je,Runtime:Yd,Property:av};function sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(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&&Cn(e,t)}function yv(e,t){return t&&(dv(t)==="object"||typeof t=="function")?t:sv(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var dv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vv(){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 pv(e){var t=vv();return function(){var n=et(e),i;if(t){var u=et(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return yv(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,d.CARD_GROUP;function hv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pi(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 hi(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 bv(e,t){return t&&(_v(t)==="object"||typeof t=="function")?t:hv(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var _v=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mv(){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 bi(e){var t=mv();return function(){var n=tt(e),i;if(t){var u=tt(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return bv(this,i)}}var gv=function(e){hi(r,e);var t=bi(r);function r(n){pi(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}(fe),nt=function(e){hi(r,e);var t=bi(r);function r(n){pi(this,r);var i;i=t.call(this,n);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(n==null?void 0:n.widthType)||"auto";var o;i.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";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}(H);nt.Rules=gv;function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iv(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 wv(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 Ov(e,t){return t&&(Av(t)==="object"||typeof t=="function")?t:Ev(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(e,t)}var Av=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sv(){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 Rv(e){var t=Sv();return function(){var n=rt(e),i;if(t){var u=rt(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Ov(this,i)}}var G=function(e){wv(r,e);var t=Rv(r);function r(n){Iv(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(W);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT],G.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 Pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cv(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 Bv(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 kv(e,t){return t&&(Dv(t)==="object"||typeof t=="function")?t:Pv(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var Dv=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 $v(e){var t=Tv();return function(){var n=it(e),i;if(t){var u=it(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return kv(this,i)}}var _i=function(e){Bv(r,e);var t=$v(r);function r(n){Cv(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(pe);_i.controlType="subtable-column";var Fv={Designer:G,Runtime:_i,Property:nt};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 mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tn(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 $n(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 Nv(e,t){return t&&(xv(t)==="object"||typeof t=="function")?t:mi(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var xv=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 Nn(e){var t=Lv();return function(){var n=ut(e),i;if(t){var u=ut(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Nv(this,i)}}var ot;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ot||(ot={}));var Mv=function(e){$n(r,e);var t=Nn(r);function r(n){Tn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Oe),jv=function(e){$n(r,e);var t=Nn(r);function r(n){Tn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ot.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),uc.call(mi(i),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(i.datasourceBind)&&i.datasourceBind.length>1){var u=i.datasourceBind.find(function(o){return o.type==="object"&&o.fields});u&&(delete u.fields.valueFieldCode,delete u.fields.displayBoList)}return i}return r}(fe),he=function(e){$n(r,e);var t=Nn(r);function r(n){Tn(this,r);var i;i=t.call(this,n),i.datasourceBind=new ae(n==null?void 0:n.datasourceBind);var u;i.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var o;i.isShowSubList=(o=n==null?void 0:n.isShowSubList)!==null&&o!==void 0?o:!1;var s;i.triggerType=(s=n==null?void 0:n.triggerType)!==null&&s!==void 0?s:ot.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new Zl(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 p;i.isFixedHeader=(p=n==null?void 0:n.isFixedHeader)!==null&&p!==void 0?p:!1;var h;return i.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,i}return r}(H);he.Rules=jv,he.RuntimeRules=Mv;function Hv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(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 Vv(e,t,r){return t&&gi(e.prototype,t),r&&gi(e,r),e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function qv(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 zv(e,t){return t&&(Wv(t)==="object"||typeof t=="function")?t:Hv(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Wv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gv(){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 Kv(e){var t=Gv();return function(){var n=at(e),i;if(t){var u=at(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return zv(this,i)}}var lt=function(e){qv(r,e);var t=Kv(r);function r(n){Uv(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return Vv(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}(W);lt.excludes=[d.ROW],lt.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],lt.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 Xv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qv(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 Jv(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 Zv(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 Yv(e,t){return t&&(ep(t)==="object"||typeof t=="function")?t:Xv(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var ep=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tp(){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=tp();return function(){var n=st(e),i;if(t){var u=st(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Yv(this,i)}}var rp=function(e){Zv(r,e);var t=np(r);function r(n){Qv(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return Jv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(pe),ip={Designer:lt,Runtime:rp,Property:he};function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function wi(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&&Mn(e,t)}function op(e,t){return t&&(ap(t)==="object"||typeof t=="function")?t:up(e)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(e,t)}var ap=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lp(){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 Oi(e){var t=lp();return function(){var n=ct(e),i;if(t){var u=ct(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return op(this,i)}}var sp=function(e){wi(r,e);var t=Oi(r);function r(n){Ii(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Oe),ft=function(e){wi(r,e);var t=Oi(r);function r(n){Ii(this,r);var i;i=t.call(this,n);var u;i.save=new le((u=n==null?void 0:n.save)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var o;i.cancel=new le((o=n==null?void 0:n.cancel)!==null&&o!==void 0?o:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new le((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;i.print=new le((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;i.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(p){return new le(p)});var f;return i.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,i.datasourceBind=new ae(n==null?void 0:n.datasourceBind),i}return r}(H);ft.RuntimeRules=sp;function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fp(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 yp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function dp(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 vp(e,t){return t&&(pp(t)==="object"||typeof t=="function")?t:cp(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var pp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hp(){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 bp(e){var t=hp();return function(){var n=yt(e),i;if(t){var u=yt(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return vp(this,i)}}var Si=function(e){dp(r,e);var t=bp(r);function r(n){fp(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return yp(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);Si.excludes=[];function _p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(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 gp(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Ep(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 Ip(e,t){return t&&(wp(t)==="object"||typeof t=="function")?t:_p(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Op(){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 Ap(e){var t=Op();return function(){var n=dt(e),i;if(t){var u=dt(this).constructor;i=Reflect.construct(n,arguments,u)}else i=n.apply(this,arguments);return Ip(this,i)}}var Sp=function(e){Ep(r,e);var t=Ap(r);function r(n){mp(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return gp(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(pe),Rp={Designer:Si,Runtime:Sp,Property:ft};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,l.CAPTION,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 Pp=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];jp(t==null?void 0:t.events),$p(n),Fp(n);const i=Tp(n),u=Np(i,t);let o=Q(F(u,s=>Dp(s,t)));return r?o:o[0]},Cp=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],Bp=["subtable","grid-table"],kp=["simple-search"];function Dp(e,t){var i,u,o,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Cp.includes(r.type)?r.controlType="base":r.controlType="form",Bp.includes(r.type)&&(r.controlType="list"),kp.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),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((o=e==null?void 0:e.props)==null?void 0:o.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"&&(k(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(k(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((p,h)=>{const g=new Fv.Designer;g.props.widthType=p.header_width_config==="1"?"auto":"px",g.props.width=p.header_width===""?200:Number(p.header_width),g.props.caption=k(p.field_name)?p.field_name.zh:p.field_name;const w=g.toSchema();w.id=p.header_id;const _=r.children[0].children[h].children[0];return _&&(w.children=[_]),w}),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=k(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(p=>{const h=new ci.Designer;h.props.span=f;const g=h.toSchema();return g.children.push(p),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],p=r==null?void 0:r.children[1],h={};f&&(Pi(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),p&&(h.unit=p.props.data_bind,r.props.default_value={unit:p.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],p=r==null?void 0:r.children[1],h={},g={};f&&(Pi(r,t),r.id=f.id,h.amount=f.props.data_bind,r.props.range_min=X(f.props.range_min),r.props.range_max=X(f.props.range_max),g.amount=X(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=k(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),p&&(h.currency=p.props.data_bind,g.currency=p.props.value,r.props.datasourceBind=p.props.datasource_bind,r.props.options=p.props.options.map(w=>({label:w.text,value:w.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],p=r==null?void 0:r.children[1];r.props.placeholderStart=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};f&&(h.min=f.props.data_bind),p&&(h.max=p.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=k(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=X(e.props.range_min),r.props.range_max=X(e.props.range_max),r.props.defaultValue=X(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"),Hp(r,t==null?void 0:t.control_events),r}function Pi(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,i=e.id,u=e.children[0].id;r.forEach(o=>{o.id===i&&(o.id=u);const s=o.show_controls.findIndex(a=>a===i),c=o.hide_controls.findIndex(a=>a===i);s>-1&&o.show_controls.splice(s,1,u),c>-1&&o.hide_controls.splice(c,1,u)}),n.forEach(o=>{o.ctrl_id===i&&(o.id=u)})}function Tp(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Rp.Designer().toSchema();return n.children=e,[n]}function $p(e){e.forEach(t=>{t.children&&Mp(t.children)})}function Fp(e){e.forEach(t=>{var n,i;if(!(t&&t.children))return;const r=t.children;for(let u=0;u<r.length;u++){const o=r[u],s=(i=(n=r[u])==null?void 0:n.children)==null?void 0:i[0];o.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&r.splice(u,1,s)}})}function Np(e,t){var g,w,_,E,v,b,R,O;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,[u,o,s]=i;xp(u),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Lp(s,o);const c=(_=(w=n==null?void 0:n.source_config)==null?void 0:w.data_code)!=null?_:t==null?void 0:t.dataCode,a=((v=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?v:c)?`${c}_selectMore`:void 0,f=(R=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?R:[],p=new ip.Designer;p.props.datasourceBind=new ae({dataCode:c,svcCode:a,orders:xl(f)}),p.props.isShowSubList=n.is_show_sublist,p.props.triggerType=n.timing_type,p.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(A=>{A.title=k(A.title)?A.title.zh:A.title}),p.props.sublistPage=n.sublist_page;const h=p.toSchema();return h.children.push(u,s),[h]}function xp(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(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 Lp(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,u,o;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(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=(u=r.delete)!=null?u:{},n.props.delete.openType="window",n.props.edit=(o=r.edit)!=null?o:{},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 ae({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 Mp(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 jp(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 Hp(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(u=>u.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 Up=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],u=>Vp(u)));return r?i:i[0]};function Vp(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 Ie({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const qp=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],u=>zp(u)));return r?i:i[0]};function zp(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 Wp=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],u=>Gp(u)));return r?i:i[0]};function Gp(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 Kp=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],u=>Qp(u)));return r?i:i[0]},Xp=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function Qp(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(Xp.includes(r.type))return r;const n=new lv.Designer,i=new ci.Designer;n.children.push(i);const u=n.toSchema();return u.children[0].children.push(r),u})),e}const Jp=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],u=>Zp(u)));return r?i:i[0]};function Zp(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 Yp=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],u=>eh(u));return r?i:i[0]};function eh(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const th=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],u=>nh(u));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function nh(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)&&q(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(q(e.props.data_bind.amount,y.DECIMAL),q(e.props.data_bind.currency,y.VARCHAR)),e.type===d.CALC&&(q(e.props.data_bind.result,y.DECIMAL),q(e.props.data_bind.unit,y.VARCHAR)),e.type===d.DATE_RANGE&&(q(e.props.data_bind.min,y.TIMESTAMP),q(e.props.data_bind.max,y.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const rh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],u=>ih(u));return r?i:i[0]};function ih(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 uh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],u=>oh(u));return r?i:i[0]};function oh(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 ah=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],u=>lh(u));return r?i:i[0]};function lh(e,t){return e.type,d.GRID_TABLE,e}var Ci={"v1.0":Pp,"v2.0":Up,"v2.1":qp,"v2.2":Wp,"v2.3":Kp,"v2.4":Jp,"v2.5":Yp,"v2.6":th,"v2.7":rh,"v2.8":uh,"v2.9":ah,"v2.10":()=>{}};function vt(e){return e.replace(/^v/,"")}function pt(e){return Number(vt(e))}const te=Object.keys(Ci).map(e=>vt(e)).sort((e,t)=>Number(e)-Number(t)),be=te[te.length-1];class sh{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,pt(r)>pt(be)?Zn(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!te.includes(vt(r))||!te.includes(vt(t)))&&Zn(`Version Builder: Please give me a valid version number, The valid version is: ${te.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===this._schemaVersion)return t;const n=this.callDataCleanerKeys.reduce((i,u,o,s)=>{var p;const c=(p=s[o+1])!=null?p:this.toVersion;ge(`Version Builder: current version: ${u}, nextVersion: ${c}`);const a=Ci[u];let f=i;if(typeof a=="function"){const h=a(i,r);h&&(f=h)}return f},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return te.filter(t=>Number(t)>=this._schemaVersion&&Number(t)<this._version)}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return pt(this.toVersion)}get _schemaVersion(){return pt(this.schemaVersion)}get version(){return be}static get version(){return be}}K.VersionBuilder=sh,Object.defineProperty(K,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-upgrade",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.7",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"@byteluck-fe/model-driven-shared": "^1.8.0-beta.1",
|
|
28
28
|
"tslib": "^2.1.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "6b2d4d588b63c84dc811b426892902cf0a10590c"
|
|
31
31
|
}
|