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