@byteluck-fe/model-driven-upgrade 2.7.0-alpha.1 → 2.7.0-alpha.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/index.umd.js +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(X,le){typeof exports=="object"&&typeof module!="undefined"?le(exports):typeof define=="function"&&define.amd?define(["exports"],le):(X=typeof globalThis!="undefined"?globalThis:X||self,le(X.modelDrivenUpgrade={}))})(this,function(X){"use strict";var le="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",io="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",uo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ao="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lo="{caption}\u5FC5\u586B",so="\u8BF7\u8F93\u5165\u6807\u9898",co="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",fo="\u8BF7\u8F93\u5165\u884C\u6807\u9898",yo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",po="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",vo="\u8BF7\u7ED1\u5B9A\u8868\u5355",ho="\u8BF7\u7ED1\u5B9A\u5217\u8868",_o="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bo="\u8BF7\u8F93\u5165\u663E\u793A\u503C",go="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",mo="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Eo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Io="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Oo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ao="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",So="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ro="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Po="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Co="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Bo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",To="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ko="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Do="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$o="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",No="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Lo="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Mo="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",jo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ho="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Uo="\u8BF7\u9009\u62E9\u7701",Vo="\u8BF7\u9009\u62E9\u5E02",qo="\u8BF7\u9009\u62E9\u533A",Wo="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",zo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ko="\u8BF7\u8F93\u5165\u5217\u5BBD",Go="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xo="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",eu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",tu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ru="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",iu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ou="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",lu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",fu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",du="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",yu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",hu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_u="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",bu={isNotNumber:le,isNotString:io,isNotObject:oo,isNotArray:uo,isNotBoolean:ao,runtimeRequired:lo,pleaseEnterCaption:so,pleaseEnterCaptionTip:co,pleaseEnterRowCaption:fo,pleaseEnterPlaceholder:yo,pleaseEnterFieldCode:po,pleaseEnterForm:vo,pleaseEnterList:ho,pleaseEnterProcess:_o,pleaseEnterLabel:bo,pleaseEnterValue:go,bizKeyNotBindFiled:mo,pleaseSelectOneField:Eo,pleaseEnterNumberRange:Io,pleaseEnterAValueGreaterThanMin:wo,pleaseEnterAValueLessThanMax:Oo,numberRangeSetError:Ao,stringRangeError:So,attachmentMaxSize:Ro,pleaseEnterTotalScoreSetting:Po,theTotalScoreMustNotBeLessThan1:Co,scoreDefaultValueRange:Bo,attachmentLimitError:To,PleaseReselectTheOptionalQuantity:ko,TheMaximumLengthIsGreaterThanTheMinimumLength:Do,TheMinimumLengthIsGreaterThanTheMaximumLength:$o,PleaseSelectTheCorrectOptionSettings:Fo,optionIdIsRepeat:No,optionIsRequired:Lo,pleaseEnterDataCode:xo,pleaseEnterValueFieldCode:Mo,pleaseEnterSvcCode:jo,pleaseBindAtLeastOneDisplayValue:Ho,pleaseSelectProvince:Uo,pleaseSelectCity:Vo,pleaseSelectDistrict:qo,limitRowsCannotBeLessThan0:Wo,TheNumberOfRowsCannotBeLessThanMinRows:zo,pleaseEnterColumnWidth:Ko,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Go,pleaseCompleteAllRulesAndConditions:Xo,pleaseSelectControl:Qo,pleaseSelectAtLeastOneColumn:Jo,pleaseSelectFillBackMode:Zo,pleaseSelectDashboard:Yo,rootNodeIsRequired:eu,theViewNameCannotBeEmpty:tu,pleaseSelectOcrType:nu,pleaseSelectAtLeastOneFieldToFillIn:ru,pleaseChooseAtLeastOne:iu,pleaseEnterButtonContent:ou,pleaseEnterDataCodeInDataSetting:uu,pleaseEnterValueFieldCodeInDataSetting:au,pleaseEnterSvcCodeInDataSetting:lu,pleaseBindAtLeastOneDisplayValueInDataSetting:su,rootNodeIsRequiredInDataSetting:cu,pleaseEnterMaxHeight:fu,pleaseEnter:du,pleaseEnterWatermark:yu,pleaseEnterFileName:pu,pleaseUploadAtLeastOnePrintTemplate:vu,pleaseAssignBusiness:hu,pleaseAssignExternal:_u},gu="Please enter a number",mu="Please enter a string",Eu="Please enter an object",Iu="Please enter an array",wu="Please enter a boolean",Ou="{caption} Required",Au="Please enter the title",Su="Please enter the bubble prompt",Ru="Please enter the row title",Pu="Please enter the prompt text",Cu="Please bind data items",Bu="Please bind the form",Tu="Please bind the list",ku="Please bind the process",Du="Please enter the displayed value",$u="Please enter the stored value",Fu="The document number is not bound to the data item",Nu="Please select at least one display field",Lu="Please enter a value greater than or equal to {min} and less than or equal to {max}",xu="Please enter a value greater than or equal to {min}",Mu="Please enter a value less than or equal to {max}",ju="The value range is set incorrectly",Hu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uu="The attachment size must be between 0MB and 1000MB",Vu="Please fill in the total score setting",qu="The total score cannot be less than 1",Wu="The default value must be between {min} and {max}",zu="The number of attachments uploaded must be between {min} and {max}",Ku="Please re-select the optional quantity",Gu="The maximum length of the control must be greater than the minimum length",Xu="The minimum length of the control must be less than the maximum length",Qu="Please select the correct option setting",Ju="Option ID cannot be repeated",Zu="Please enter at least one option",Yu="Please bind the data source",ea="Please bind the stored value",ta="Please bind the service",na="At least one display value must be bound",ra="Please select a province",ia="Please select a city",oa="Please select a district",ua="The minimum number of lines to fill in cannot be less than 0",aa="The number of rows cannot be less than {min} rows",la="Please enter the column width",sa="Please set the logical relationship of all rule conditions",ca="Please complete all rules and conditions",fa="please select control",da="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ya="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ha="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_a="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ba="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ia="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Oa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Aa="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ra="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ba={isNotNumber:gu,isNotString:mu,isNotObject:Eu,isNotArray:Iu,isNotBoolean:wu,runtimeRequired:Ou,pleaseEnterCaption:Au,pleaseEnterCaptionTip:Su,pleaseEnterRowCaption:Ru,pleaseEnterPlaceholder:Pu,pleaseEnterFieldCode:Cu,pleaseEnterForm:Bu,pleaseEnterList:Tu,pleaseEnterProcess:ku,pleaseEnterLabel:Du,pleaseEnterValue:$u,bizKeyNotBindFiled:Fu,pleaseSelectOneField:Nu,pleaseEnterNumberRange:Lu,pleaseEnterAValueGreaterThanMin:xu,pleaseEnterAValueLessThanMax:Mu,numberRangeSetError:ju,stringRangeError:Hu,attachmentMaxSize:Uu,pleaseEnterTotalScoreSetting:Vu,theTotalScoreMustNotBeLessThan1:qu,scoreDefaultValueRange:Wu,attachmentLimitError:zu,PleaseReselectTheOptionalQuantity:Ku,TheMaximumLengthIsGreaterThanTheMinimumLength:Gu,TheMinimumLengthIsGreaterThanTheMaximumLength:Xu,PleaseSelectTheCorrectOptionSettings:Qu,optionIdIsRepeat:Ju,optionIsRequired:Zu,pleaseEnterDataCode:Yu,pleaseEnterValueFieldCode:ea,pleaseEnterSvcCode:ta,pleaseBindAtLeastOneDisplayValue:na,pleaseSelectProvince:ra,pleaseSelectCity:ia,pleaseSelectDistrict:oa,limitRowsCannotBeLessThan0:ua,TheNumberOfRowsCannotBeLessThanMinRows:aa,pleaseEnterColumnWidth:la,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sa,pleaseCompleteAllRulesAndConditions:ca,pleaseSelectControl:fa,pleaseSelectDashboard:da,theViewNameCannotBeEmpty:ya,pleaseSelectOcrType:pa,pleaseSelectAtLeastOneFieldToFillIn:va,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:_a,pleaseEnterDataCodeInDataSetting:ba,pleaseEnterValueFieldCodeInDataSetting:ga,pleaseEnterSvcCodeInDataSetting:ma,pleaseBindAtLeastOneDisplayValueInDataSetting:Ea,rootNodeIsRequiredInDataSetting:Ia,pleaseEnterMaxHeight:wa,pleaseEnter:Oa,pleaseEnterWatermark:Aa,pleaseEnterFileName:Sa,pleaseUploadAtLeastOnePrintTemplate:Ra,pleaseAssignBusiness:Pa,pleaseAssignExternal:Ca},Ta="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ka="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="{caption}\u5FC5\u9808",La="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",za="\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",Ga="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",el="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tl="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nl="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rl="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",il="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ol="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ul="\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",al="\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",ll="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sl="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cl="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fl="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dl="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yl="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pl="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vl="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hl="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_l="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bl="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gl="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ml="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",El="\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",wl="please select control",Ol="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Al="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Sl="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Rl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Pl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Cl="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",kl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$l="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Fl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Nl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ll="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ml="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",jl="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ul={isNotNumber:Ta,isNotString:ka,isNotObject:Da,isNotArray:$a,isNotBoolean:Fa,runtimeRequired:Na,pleaseEnterCaption:La,pleaseEnterCaptionTip:xa,pleaseEnterRowCaption:Ma,pleaseEnterPlaceholder:ja,pleaseEnterFieldCode:Ha,pleaseEnterForm:Ua,pleaseEnterList:Va,pleaseEnterProcess:qa,pleaseEnterLabel:Wa,pleaseEnterValue:za,bizKeyNotBindFiled:Ka,pleaseSelectOneField:Ga,pleaseEnterNumberRange:Xa,pleaseEnterAValueGreaterThanMin:Qa,pleaseEnterAValueLessThanMax:Ja,numberRangeSetError:Za,stringRangeError:Ya,attachmentMaxSize:el,pleaseEnterTotalScoreSetting:tl,theTotalScoreMustNotBeLessThan1:nl,scoreDefaultValueRange:rl,attachmentLimitError:il,PleaseReselectTheOptionalQuantity:ol,TheMaximumLengthIsGreaterThanTheMinimumLength:ul,TheMinimumLengthIsGreaterThanTheMaximumLength:al,PleaseSelectTheCorrectOptionSettings:ll,optionIdIsRepeat:sl,optionIsRequired:cl,pleaseEnterDataCode:fl,pleaseEnterValueFieldCode:dl,pleaseEnterSvcCode:yl,pleaseBindAtLeastOneDisplayValue:pl,pleaseSelectProvince:vl,pleaseSelectCity:hl,pleaseSelectDistrict:_l,limitRowsCannotBeLessThan0:bl,TheNumberOfRowsCannotBeLessThanMinRows:gl,pleaseEnterColumnWidth:ml,pleaseSetTheLogicalRelationshipOfAllRuleConditions:El,pleaseCompleteAllRulesAndConditions:Il,pleaseSelectControl:wl,pleaseSelectDashboard:Ol,theViewNameCannotBeEmpty:Al,pleaseSelectOcrType:Sl,pleaseSelectAtLeastOneFieldToFillIn:Rl,pleaseChooseAtLeastOne:Pl,pleaseEnterButtonContent:Cl,pleaseEnterDataCodeInDataSetting:Bl,pleaseEnterValueFieldCodeInDataSetting:Tl,pleaseEnterSvcCodeInDataSetting:kl,pleaseBindAtLeastOneDisplayValueInDataSetting:Dl,rootNodeIsRequiredInDataSetting:$l,pleaseEnterMaxHeight:Fl,pleaseEnter:Nl,pleaseEnterWatermark:Ll,pleaseEnterFileName:xl,pleaseUploadAtLeastOnePrintTemplate:Ml,pleaseAssignBusiness:jl,pleaseAssignExternal:Hl},Vl={zhCN:bu,enUS:Ba,jaJP:Ul},or;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(or||(or={}));var ur;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ur||(ur={}));var ql="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 ar;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(ar||(ar={}));var f;(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.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(f||(f={}));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={},F(T,y.ARRAY,f.ARRAY_COLUMN),F(T,y.AUTO_NUMBER,f.AUTO_NUMBER_COLUMN),F(T,y.DECIMAL,f.DECIMAL_COLUMN),F(T,y.DEPARTMENTS,f.DEPARTMENT_COLUMN),F(T,y.FILE,f.FILE_COLUMN),F(T,y.IMAGE,f.IMAGE_COLUMN),F(T,y.ADDRESS,f.LOCATION_COLUMN),F(T,y.EMPLOYEES,f.EMPLOYEE_COLUMN),F(T,y.TEXT,f.TEXT_COLUMN),F(T,y.TIMESCOPE,f.TIMESCOPE_COLUMN),F(T,y.TIMESTAMP,f.TIMESTAMP_COLUMN),F(T,y.VARCHAR,f.VARCHAR_COLUMN),F(T,y.RELATION,f.VARCHAR_COLUMN);var lr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(lr||(lr={}));var sr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Wl=sr+"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?sr:Wl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function mt(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 mt(e)}function Kl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gl(){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 Gl()?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&&ce(a,u.prototype),a},me.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(e)}function fr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ql(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jl(){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 Zl(e,t){return t&&(Yl(t)==="object"||typeof t=="function")?t:Kl(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ce(e,t)}function dr(e){return zl(e)||Ql(e)||es(e)||Jl()}var Yl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function es(e,t){if(!!e){if(typeof e=="string")return mt(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 mt(e,t)}}function Et(e){var t=typeof Map=="function"?new Map:void 0;return Et=function(n){if(n===null||!Xl(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return me(n,arguments,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ce(i,n)},Et(e)}function ts(){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 yr(e){var t=ts();return function(){var n=se(e),i;if(t){var o=se(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zl(this,i)}}var It=console;function ns(){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(dr(i)))}function Ee(){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(dr(i)))}function rs(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wt=function(e){fr(r,e);var t=yr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?rs(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)),is=function(e){fr(r,e);var t=yr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(wt);function pr(e){throw new wt(e)}function vr(e){throw new is(e)}function os(e){It.error(new wt(e))}var us=Object.prototype.toString;function hr(e,t){return us.call(e)==="[object "+t+"]"}function as(e){return hr(e,"String")}function ls(e){return hr(e,"Promise")}var ss=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();ls(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&&!as(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 cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){cs(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]:ql;return new ss({locale:r,messages:Vl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function fs(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)){ns("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 ds=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,b,P){if(!a(b)||v(b)||h(b)||g(b)||c(b))return b;var w,S=0,L=0;if(d(b))for(w=[],L=b.length;S<L;S++)w.push(r(p,b[S],P));else{w={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(w[p(R,P)]=r(p,b[R],P))}return w},n=function(p,b){b=b||{};var P=b.separator||"_",w=b.split||/(?=[A-Z])/;return p.split(w).join(P)},i=function(p){return E(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var b=i(p);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(p,b){return n(p,b).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},d=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},h=function(p){return s.call(p)=="[object RegExp]"},g=function(p){return s.call(p)=="[object Boolean]"},E=function(p){return p=p-0,p===p},_=function(p,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?p:function(w,S){return P(w,p,S)}},I={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(p,b){return r(_(i,b),p)},decamelizeKeys:function(p,b){return r(_(u,b),p,b)},pascalizeKeys:function(p,b){return r(_(o,b),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=I:t.humps=I})(ds)})(Ot);var _r={};Object.defineProperty(_r,"__esModule",{value:!0});function At(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:At(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:At(n)}return t}}var ys=_r.default=At;function z(e){if(e!==void 0)return typeof e=="object"?ys(e):e}function k(e){return br(e)&&"zh"in e}function br(e){return Object.prototype.toString.call(e)==="[object Object]"}function ps(e){return Array.isArray(e)}function Q(e){return isNaN(parseFloat(e))?"":Number(e)}function vs(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function D(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=D(n.children,t)),t(i)})),r}function hs(e){return Ot.exports.camelizeKeys(e)}function J(e){return Ot.exports.decamelizeKeys(e)}function St(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 _s(e){if(Array.isArray(e))return St(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 bs(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 gs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ms(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Es(){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 Rt(e){return _s(e)||ms(e)||Is(e)||Es()}function Is(e,t){if(!!e){if(typeof e=="string")return St(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 St(e,t)}}var ws=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(d){return c([a,d])}}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(d){a=[6,d],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(){gs(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 bs(function(){var c,a,d,v,h,g,E,_,I,p,b,P;return ws(this,function(w){switch(w.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];d=c.slice(),v=!0,h=!1,g=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),E=d[Symbol.iterator](),w.label=2;case 2:if(v=(_=E.next()).done)return[3,7];if(I=_.value,!c.includes(I))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Rt(o))),[4,I.apply(null,Rt(o))];case 4:return p=w.sent(),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.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(Rt(o),[p])),a.push(p),p===!1?[3,7]:[3,6];case 5:return b=w.sent(),os(String(b)+":"+String(b.stack)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=w.sent(),h=!0,g=P,[3,10];case 9:try{!v&&E.return!=null&&E.return()}finally{if(h)throw g}return[7];case 10:return[2,a]}})})()},t.on=function(n,i){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(i)}else this._events.set(n,[i])},t.off=function(n,i){if(this._events.has(n)){var o=this._events.get(n),u=o==null?void 0:o.indexOf(i);o==null||o.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),As=[];new Set(As.map(function(e){return e.Designer.controlType}));function mr(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 Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ie(e)}function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ct(e,t)}function Er(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ss(e,t){return t&&(Rs(t)==="object"||typeof t=="function")?t:mr(e)}function Ct(e,t){return Ct=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ct(e,t)}var Rs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ps(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bt(e){var t=Ps();return function(){var n=Ie(e),i;if(t){var o=Ie(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ss(this,i)}}var we=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:"",this.aliasCode=t==null?void 0:t.aliasCode},Ir=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},Tt=function(e){Pt(r,e);var t=Bt(r);function r(n){C(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;var u;return i.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",i}return r}(Ir),Cs=function e(t){C(this,e),this.pc=new Tt(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Tt(t==null?void 0:t.mobile):new Tt({width:130,minWidth:180})},wr=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:""},Bs=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},Ts=function(e){Pt(r,e);var t=Bt(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}(wr),ks=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new wr(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 Bs(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 Ts(u)}))!==null&&o!==void 0?o:[]},Ds=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},$s=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:[]},Or=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:ge();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 d,v=new kt(s);(d=r.children)===null||d===void 0||d.push(v)}}))},kt=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:ge();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 Ds(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new $s(t==null?void 0:t.rightVariableBo)},Fs=function e(t){C(this,e);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Z(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ns=function e(t){C(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},Ls=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},xs=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 Ar(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(s){return s.children!==void 0?new Or(s):new kt(s)}))!==null&&n!==void 0?n:[];var i;if(this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Or(s):new kt(s)}))!==null&&i!==void 0?i:[],Er(this,Z)||Er(this,js)){var o,u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(s){return new xs(s)}))!==null&&u!==void 0?u:[]}}var Z=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=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(d){var v;(v=r.displayBoList)===null||v===void 0||v.push(new Ls(d))}));var s;this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!==null&&s!==void 0?s:"";var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ar.call(this,t)},Ms=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 Ns(u)}))!==null&&o!==void 0?o:[]},js=function(e){Pt(r,e);var t=Bt(r);function r(n){C(this,r);var i;return i=t.call(this,n),Ar.call(mr(i),n),i}return r}(Ms),Hs=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:""},Sr;(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"})(Sr||(Sr={}));var l;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(l||(l={}));var Dt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Dt||(Dt={}));var fe=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},Us=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"},Vs=function e(t){C(this,e);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function qs(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 Ws(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Oe(e,t,r){return Ws()?Oe=Reflect.construct:Oe=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},Oe.apply(null,arguments)}function de(e){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},de(e)}function zs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ks(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Gs(e,t){return t&&(Xs(t)==="object"||typeof t=="function")?t:qs(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ye(e,t)}var Xs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ft(e){var t=typeof Map=="function"?new Map:void 0;return Ft=function(n){if(n===null||!Ks(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Oe(n,arguments,de(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ye(i,n)},Ft(e)}function Qs(){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 Js(e){var t=Qs();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 Gs(this,i)}}var Y=function e(t){$t(this,e),this.isHide={type:"boolean"}},Ae=function(e){zs(r,e);var t=Js(r);function r(n){return $t(this,r),t.call(this)}return r}(Ft(Array)),M=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 Us(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};M.Rules=Y,M.RuntimeRules=Ae;function j(){return j=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},j.apply(this,arguments)}function Zs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(e)}function Se(e,t){return Se=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Se(e,t)}function Ys(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Re(e,t,r){return Ys()?Re=Reflect.construct:Re=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Se(a,u.prototype),a},Re.apply(null,arguments)}function ec(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lt(e){var t=typeof Map=="function"?new Map:void 0;return Lt=function(n){if(n===null||!ec(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 Re(n,arguments,Nt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Se(i,n)},Lt(e)}var tc=/%[sdj%]/g,Rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function xt(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(tc,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 nc(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||nc(t)&&typeof e=="string"&&!e)}function rc(e,t,r){var n=[],i=0,o=e.length;function u(s){n.push.apply(n,s),i++,i===o&&r(n)}e.forEach(function(s){t(s,u)})}function Pr(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var s=n;n=n+1,s<i?t(e[s],o):r([])}o([])}function ic(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Cr=function(e){Zs(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}(Lt(Error));function oc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var g=function(I){return n(I),I.length?h(new Cr(I,xt(I))):v()},E=ic(e);Pr(E,r,g)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),s=u.length,c=0,a=[],d=new Promise(function(v,h){var g=function(_){if(a.push.apply(a,_),c++,c===s)return n(a),a.length?h(new Cr(a,xt(a))):v()};u.length||(n(a),v()),u.forEach(function(E){var _=e[E];o.indexOf(E)!==-1?Pr(_,r,g):rc(_,r,g)})});return d.catch(function(v){return v}),d}function Br(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 Tr(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]=j(j({},e[r]),n):e[r]=n}}return e}function kr(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 uc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(N(i.messages.whitespace,e.fullField))}var Mt={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},pe={integer:function(t){return pe.number(t)&&parseInt(t,10)===t},float:function(t){return pe.number(t)&&!pe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!pe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Mt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Mt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Mt.hex)}};function ac(e,t,r,n,i){if(e.required&&t===void 0){kr(e,t,r,n,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;o.indexOf(u)>-1?pe[u](t)||n.push(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 lc(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,d=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?d="number":h?d="string":g&&(d="array"),!d)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push(N(i.messages[d].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push(N(i.messages[d].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push(N(i.messages[d].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push(N(i.messages[d].range,e.fullField,e.min,e.max))}var ee="enum";function sc(e,t,r,n,i){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&n.push(N(i.messages[ee],e.fullField,e[ee].join(", ")))}function cc(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:kr,whitespace:uc,type:ac,range:lc,enum:sc,pattern:cc};function fc(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 dc(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 yc(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 pc(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 vc(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 hc(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 _c(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 bc(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 gc(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 mc="enum";function Ec(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[mc](e,t,n,o,i)}r(o)}function Ic(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(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 wc(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 Oc(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 jt(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 Ac(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 ve={string:fc,method:dc,number:yc,boolean:pc,regexp:vc,integer:hc,float:_c,array:bc,object:gc,enum:Ec,pattern:Ic,date:wc,url:jt,hex:jt,email:jt,required:Oc,any:Ac};function Ht(){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 Ut=Ht();function H(e){this.rules=null,this._messages=Ut,this.define(e)}H.prototype={messages:function(t){return t&&(this._messages=Tr(Ht(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,u=r,s=n;if(typeof u=="function"&&(s=u,u={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(_){var I,p=[],b={};function P(w){if(Array.isArray(w)){var S;p=(S=p).concat.apply(S,w)}else p.push(w)}for(I=0;I<_.length;I++)P(_[I]);p.length?b=xt(p):(p=null,b=null),s(p,b)}if(u.messages){var a=this.messages();a===Ut&&(a=Ht()),Tr(a,u.messages),u.messages=a}else u.messages=this.messages();var d,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(_){d=i.rules[_],v=o[_],d.forEach(function(I){var p=I;typeof p.transform=="function"&&(o===t&&(o=j({},o)),v=o[_]=p.transform(v)),typeof p=="function"?p={validator:p}:p=j({},p),p.validator=i.getValidationMethod(p),p.field=_,p.fullField=p.fullField||_,p.type=i.getType(p),p.validator&&(h[_]=h[_]||[],h[_].push({rule:p,value:v,source:o,field:_}))})});var E={};return oc(h,u,function(_,I){var p=_.rule,b=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");b=b&&(p.required||!p.required&&_.value),p.field=_.field;function P(L,R){return j(j({},R),{},{fullField:p.fullField+"."+L})}function w(L){L===void 0&&(L=[]);var R=L;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&H.warning("async-validator:",R),R.length&&p.message!==void 0&&(R=[].concat(p.message)),R=R.map(Br(p)),u.first&&R.length)return E[p.field]=1,I(R);if(!b)I(R);else{if(p.required&&!_.value)return p.message!==void 0?R=[].concat(p.message).map(Br(p)):u.error&&(R=[u.error(p,N(u.messages.required,p.field))]),I(R);var x={};if(p.defaultField)for(var A in _.value)_.value.hasOwnProperty(A)&&(x[A]=p.defaultField);x=j(j({},x),_.rule.fields);for(var ue in x)if(x.hasOwnProperty(ue)){var E_=Array.isArray(x[ue])?x[ue]:[x[ue]];x[ue]=E_.map(P.bind(null,ue))}var ro=new H(x);ro.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),ro.validate(_.value,_.rule.options||u,function(ir){var ae=[];R&&R.length&&ae.push.apply(ae,R),ir&&ir.length&&ae.push.apply(ae,ir),I(ae.length?ae:null)})}}var S;p.asyncValidator?S=p.asyncValidator(p,_.value,w,_.source,u):p.validator&&(S=p.validator(p,_.value,w,_.source,u),S===!0?w():S===!1?w(p.message||p.field+" fails"):S instanceof Array?w(S):S instanceof Error&&w(S.message)),S&&S.then&&S.then(function(){return w()},function(L){return w(L)})},function(_){c(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ve.hasOwnProperty(t.type))throw new Error(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"?ve.required:ve[this.getType(t)]||!1}},H.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ve[t]=r},H.warning=Rr,H.messages=Ut,H.validators=ve;var Sc={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 Rc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new H(e);return r.messages(Object.assign(Sc,t)),r}var Pc=new Os;function Vt(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 Cc(e){if(Array.isArray(e))return e}function Bc(e){if(Array.isArray(e))return Vt(e)}function Dr(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 $r(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Dr(o,n,i,u,s,"next",c)}function s(c){Dr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(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 kc(e,t,r){return t&&Fr(e.prototype,t),r&&Fr(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 Nr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Lr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $c(){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 Fc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function 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){Dc(e,i,r[i])})}return e}function Nc(e){return Cc(e)||Lr(e)||Mr(e)||$c()}function qt(e){return Bc(e)||Lr(e)||Mr(e)||Fc()}function Mr(e,t){if(!!e){if(typeof e=="string")return Vt(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 Vt(e,t)}}var jr=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(d){return c([a,d])}}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(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$=function(){function t(n){var i=this;Tc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ur,this.removeSetting=Hr,this._callControlHooks("preInstance",n);var o=Nr(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,d=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||vr("The ".concat(h," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:ge(10),this.name=u,this.icon=s;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:c,this.props=new M(n==null?void 0:n.props,(Nr(this,t)?this.constructor:void 0).controlName);var I;this.controlType=(I=n==null?void 0:n.controlType)!==null&&I!==void 0?I:"base",this.setting=z(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:a,this.eventKeys=z(d),this.customEvents=z(v),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];var s,c=Nc(o),a=c[0],d=c.slice(1);return(s=Pc).emit.apply(s,[a,this].concat(qt(d)))},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),fs(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return $r(function(){var o,u,s;return jr(this,function(c){switch(c.label){case 0:return o=xr({},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 $r(function(){var s,c,a,d;return jr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:xr({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=Rc(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 d=v.sent(),d.control||(d.control=u),d;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,d=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,E=c.maxLength,_=c.options,I=c.encrypted,p=c.encryptedMode;if(!(!o&&!a&&!d)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:d&&(b.datasourceBind=d);break;case"custom":b.props.options=_;break}return g!==void 0&&(b.required=g),E!==void 0&&(b.maxLength=E),I!==void 0&&(b.encrypted=I),p!==void 0&&(b.encryptedMode=p),b}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:z(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(i,o){if(i==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,qt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},kc(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();$.controlName="\u63A7\u4EF6",$.controlIcon="icon",$.controlType="control",$.controlEventKeys=[],$.controlCustomEvents=[],$.setting=[],$.__is_control__=!0,$.removeSettingItem=Hr,$.updateSettingItem=Ur;function Hr(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 Ur(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,qt(t.showItems))}}}})}function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(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 xc(e,t,r){return t&&Vr(e.prototype,t),r&&Vr(e,r),e}function Mc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var te=function(){function t(r){Lc(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||vr("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:ge(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new M(r==null?void 0:r.props),this.customEvents=s;var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"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:Dt.UNKNOWN}return xc(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}();te.controlType="control",te.__is_control__=!0,te.controlCustomEvents=[];function jc(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:m.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:m.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(s){return s.value}),u=vs(o);o.length!==u.length?i(m.getMessage("optionIdIsRepeat")):i()},message:m.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:m.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}])}function Hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(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 zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kt(e,t)}function Uc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Vc(e,t){return t&&(qc(t)==="object"||typeof t=="function")?t:Hc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var qc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gt(e){var t=Wc();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 Vc(this,i)}}var Xt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;i=t.call(this,n),i.dataBind={},i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.isHideCaption={type:"boolean"},i.labelPosition={type:"enum",enum:["top","left"]},i.defaultState={type:"enum",enum:["default","readonly"]},i.required={type:"boolean"},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(Uc(n.dataBind,we))i.dataBind={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){u.fields[s]={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Y),Qt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;return i=t.call(this,n),i.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:m.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(Ae),ne=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(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 d;i.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var v;i.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var h;i.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new we(n==null?void 0:n.dataBind);var E;return i.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:"",i}return r}(M);ne.Rules=Xt,ne.RuntimeRules=Qt;function zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function Gc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function Xc(e,t){return t&&(Qc(t)==="object"||typeof t=="function")?t:zc(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jt(e,t)}var Qc=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 Zc(e){var t=Jc();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 Xc(this,i)}}var Zt=function(e){Gc(r,e);var t=Zc(r);function r(n){Kc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ne(n==null?void 0:n.props),i}return r}($);Zt.controlEventKeys=["on_change","on_focus","on_blur"];function Yc(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 Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function nf(e,t){return t&&(rf(t)==="object"||typeof t=="function")?t:Yc(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var rf=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 uf(e){var t=of();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 nf(this,i)}}var af=function(e){tf(r,e);var t=uf(r);function r(n){ef(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ne(n==null?void 0:n.props),i}return r}(te);function lf(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 Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function ff(e,t){return t&&(df(t)==="object"||typeof t=="function")?t:lf(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var df=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yf(){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 pf(e){var t=yf();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 ff(this,i)}}var U=function(e){cf(r,e);var t=pf(r);function r(n){return sf(this,r),t.call(this,n)}return r}(M);function tn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vf(e){if(Array.isArray(e))return tn(e)}function hf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _f(){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){return vf(e)||hf(e)||bf(e)||_f()}function bf(e,t){if(!!e){if(typeof e=="string")return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(e,t)}}function gf(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Wr(e,t){e.parent=t,gf(e,"parent")}function mf(e,t){e.forEach(function(r){Wr(r,t)})}var zr=Symbol("targetKey");function Kr(e){var t;return(t=e[zr])!==null&&t!==void 0?t:e}function Gr(e,t){return mf(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===zr?n:(c=Reflect).get.apply(c,[n,i].concat(qr(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(ps(e)&&i==="length"&&o===e.length)return!0;var d=(a=Reflect).set.apply(a,[n,i,o].concat(qr(s)));return br(o)&&Wr(o,t),d}})}function nn(e,t,r,n){var i=n!=null?n:e,o=Gr(Kr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Gr(Kr(s),i)},enumerable:!0})}function rn(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 rn(e)}function Xr(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,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 If(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Qr(o,n,i,u,s,"next",c)}function s(c){Qr(o,n,i,u,s,"throw",c)}u(void 0)})}}function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(i,o,u){var s=Df(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},re(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(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&&on(e,t)}function Sf(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Rf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pf(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cf(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){Of(e,i,r[i])})}return e}function Bf(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 Tf(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function kf(e,t){return t&&($f(t)==="object"||typeof t=="function")?t:Xr(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}function Df(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return Ef(e)||Rf(e)||Ff(e)||Pf()}var $f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ff(e,t){if(!!e){if(typeof e=="string")return rn(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 rn(e,t)}}function Nf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lf(e){var t=Nf();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 kf(this,i)}}var xf=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(d){return c([a,d])}}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(d){a=[6,d],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,K=function(t){Af(n,t);var r=Lf(n);function n(o){wf(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=Sf(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new U(o==null?void 0:o.props),nn(Xr(u),"children",o==null?void 0:o.children),u.excludes=z(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,d=function(){return re(V(n.prototype),"validate",c)};return If(function(){return xf(this,function(v){switch(v.label){case 0:return[4,d().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=re(V(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,d){var v=d.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return Jr(a).concat(Jr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=re(V(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return Tf(Cf({},u),{children:s})},n}($);K.excludes=!1,K.childrenMaxLength=Mf;function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jf(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 Hf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uf(e,t){return t&&(Vf(t)==="object"||typeof t=="function")?t:Zr(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var Vf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wf(e){var t=qf();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 Uf(this,i)}}var he=function(e){Hf(r,e);var t=Wf(r);function r(n){jf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new U(n==null?void 0:n.props),nn(Zr(i),"children",n==null?void 0:n.children),i}return r}(te);function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zf(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 Kf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gf(e,t){return t&&(Xf(t)==="object"||typeof t=="function")?t:Yr(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var Xf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jf(e){var t=Qf();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 Gf(this,i)}}var Zf=function(e){Kf(r,e);var t=Jf(r);function r(n,i){zf(this,r);var o;return o=t.call(this,i),nn(Yr(o),"headers",i==null?void 0:i.headers,n),o}return r}(M);function ln(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 Yf(e){if(Array.isArray(e))return ln(e)}function ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ti(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 ed(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){ti(o,n,i,u,s,"next",c)}function s(c){ti(o,n,i,u,s,"throw",c)}u(void 0)})}}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nd(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(i,o,u){var s=ld(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ie(e,t,r||e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q(e)}function rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sn(e,t)}function id(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function od(){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 ni(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){nd(e,i,r[i])})}return e}function ud(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 ri(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ud(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ad(e,t){return t&&(sd(t)==="object"||typeof t=="function")?t:ei(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}function ld(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=q(e),e!==null););return e}function ii(e){return Yf(e)||id(e)||cd(e)||od()}var sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cd(e,t){if(!!e){if(typeof e=="string")return ln(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 ln(e,t)}}function fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dd(e){var t=fd();return function(){var n=q(e),i;if(t){var o=q(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ad(this,i)}}var yd=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(d){return c([a,d])}}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(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},pd=function(e){rd(r,e);var t=dd(r);function r(i){td(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Zf(ei(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 ie(q(r.prototype),"validate",s)};return ed(function(){return yd(this,function(d){switch(d.label){case 0:return[4,a().call(c,o)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return d.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=ie(q(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var d=a.toDataBindModel(s);if(Array.isArray(d)){var v=d.filter(function(h){return!!h});return ii(c).concat(ii(v))}return d&&c.push(d),c},u)},n.toSchema=function(){var o=ie(q(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return ri(ni({},o),{props:ri(ni({},this.props),{headers:u})})},r}($);pd.controlFieldType=y.LIST;function vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function ui(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hd(e,t){return t&&(_d(t)==="object"||typeof t=="function")?t:vd(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var _d=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ai(e){var t=bd();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 hd(this,i)}}var gd=function(e){ui(r,e);var t=ai(r);function r(n){oi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(Y),md=function(e){ui(r,e);var t=ai(r);function r(n){oi(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 Ir(n==null?void 0:n.autoWidth),i.dataBind=new we(n==null?void 0:n.dataBind);var c;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;var a;return i.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,i}return r}(M);md.Rules=gd,l.IS_HIDE,l.IS_HIDE;function Ed(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Od(e,t){return t&&(Ad(t)==="object"||typeof t=="function")?t:Ed(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Ad=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rd(e){var t=Sd();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 Od(this,i)}}var Pd=function(e){wd(r,e);var t=Rd(r);function r(n){Id(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 d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1;var g;return i.optObj=new Vs((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),i}return r}(M);function Cd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Td(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dn(e,t)}function Dd(e,t){return t&&($d(t)==="object"||typeof t=="function")?t:Cd(e)}function dn(e,t){return dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},dn(e,t)}var $d=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nd(e){var t=Fd();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 Dd(this,i)}}var si=function(e){kd(r,e);var t=Nd(r);function r(n){Bd(this,r);var i;return i=t.call(this,n),i.props=new Pd(n==null?void 0:n.props),i}return Td(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);si.controlEventKeys=["on_click","on_click_finish"],si.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 yn;(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",e.ShowTitle="is_show_title"})(yn||(yn={}));var ci;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ci||(ci={}));var fi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(fi||(fi={}));var di;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(di||(di={}));var yi;(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"})(yi||(yi={}));function pi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var vi;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(vi||(vi={}));var hi;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(hi||(hi={}));var _i;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(_i||(_i={}));var bi;(function(e){e.ALL="all",e.ASSIGN="assign"})(bi||(bi={}));var gi;(function(e){e.ALL="all",e.ADMIN="admin"})(gi||(gi={})),l.IS_HIDE,y.AUTO_NUMBER,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(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&&pn(e,t)}function xd(e,t){return t&&(Md(t)==="object"||typeof t=="function")?t:Ld(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pn(e,t)}var Md=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ii(e){var t=jd();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 xd(this,i)}}var Hd=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(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:m.getMessage("pleaseEnterForm")}),i}return r}(Y),xe=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(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}(M);xe.Rules=Hd;function Ud(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qd(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function Wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zd(e,t){return t&&(Kd(t)==="object"||typeof t=="function")?t:Ud(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Kd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=Gd();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 zd(this,i)}}var hn=function(e){Wd(r,e);var t=Xd(r);function r(n){Vd(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return qd(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}($);hn.controlEventKeys=["on_click"],hn.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 Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zd(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 Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ey(e,t){return t&&(ty(t)==="object"||typeof t=="function")?t:Qd(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var ty=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 ry(e){var t=ny();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 ey(this,i)}}var iy=function(e){Yd(r,e);var t=ry(r);function r(n){Jd(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return Zd(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(te),bn={Designer:hn,Runtime:iy,Property:xe};l.IS_HIDE;function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function mn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uy(e,t){return t&&(ay(t)==="object"||typeof t=="function")?t:oy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ly(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function In(e){var t=ly();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 uy(this,i)}}var sy=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:m.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:m.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:m.getMessage("stringRangeError")},{pattern:"",message:""}],i.maxLength.min=n.minLength,i.minLength.max=n.maxLength,i.defaultValue[0].max=n.maxLength,i.defaultValue[0].min=n.minLength,i.defaultValue[0].message=m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=pi(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Xt),cy=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:m.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:pi(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(Qt),wn=function(e){mn(r,e);var t=In(r);function r(n){gn(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 Hs(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:Ve.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var d;i.encrypted=(d=n==null?void 0:n.encrypted)!==null&&d!==void 0?d:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(ne);wn.Rules=sy,wn.RuntimeRules=cy;function fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dy(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 yy(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&On(e,t)}function vy(e,t){return t&&(hy(t)==="object"||typeof t=="function")?t:fy(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function by(e){var t=_y();return function(){var n=Ue(e),i;if(t){var o=Ue(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return vy(this,i)}}var Ve=function(e){py(r,e);var t=by(r);function r(n){dy(this,r);var i;return i=t.call(this,n),i.props=new wn(n==null?void 0:n.props),i}return yy(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(Zt);Ve.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ve.controlFieldType=y.VARCHAR,Ve.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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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 gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Sn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 my(e,t){return t&&(Ey(t)==="object"||typeof t=="function")?t:gy(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Ey=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pn(e){var t=Iy();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 my(this,i)}}var wy=104857600,Oy=1048576e3,Ay=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:Oy,message:m.getMessage("attachmentMaxSize")},i}return r}(Xt),Sy=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i[0].type="array",i.push({type:"array",max:n.maxLimit,min:n.minLimit,message:m.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(Qt),We=function(e){Sn(r,e);var t=Pn(r);function r(n){An(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 d;i.maxSize=(d=n==null?void 0:n.maxSize)!==null&&d!==void 0?d:wy;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ke.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}(ne);We.Rules=Ay,We.RuntimeRules=Sy;function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cy(e,t,r){return t&&Si(e.prototype,t),r&&Si(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Ty(e,t){return t&&(ky(t)==="object"||typeof t=="function")?t:Ry(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var ky=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $y(e){var t=Dy();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 Ty(this,i)}}var Ke=function(e){By(r,e);var t=$y(r);function r(n){Py(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Cy(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Zt);Ke.controlEventKeys=["on_change"],Ke.controlFieldType=y.FILE,Ke.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 Fy(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 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 Ly(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function xy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function My(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Fy(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var jy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uy(e){var t=Hy();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 My(this,i)}}var Vy=function(e){xy(r,e);var t=Uy(r);function r(n){Ny(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Ly(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(af);Vy.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.VIEW_FORM_MODEL_TYPE,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.DEFAULT_DISPLAY,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,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,f.GRID;function qy(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 Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tn(e,t)}function Ky(e,t){return t&&(Gy(t)==="object"||typeof t=="function")?t:qy(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var Gy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xy(){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 Qy(e){var t=Xy();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 Ky(this,i)}}var Jy=24,kn=function(e){zy(r,e);var t=Qy(r);function r(n){Wy(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:Jy;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(U);function Zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(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&&Dn(e,t)}function np(e,t){return t&&(rp(t)==="object"||typeof t=="function")?t:Zy(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ip(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function op(e){var t=ip();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 np(this,i)}}var $n=function(e){tp(r,e);var t=op(r);function r(n){Yy(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return ep(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(K);$n.excludes=[f.COL,f.CARD_GROUP,f.SUBTABLE,f.SUBTABLE_COLUMN,f.DIVIDER],$n.childrenMaxLength=1;function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(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 lp(e,t,r){return t&&Ci(e.prototype,t),r&&Ci(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function sp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cp(e,t){return t&&(fp(t)==="object"||typeof t=="function")?t:up(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var fp=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 yp(e){var t=dp();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 cp(this,i)}}var pp=function(e){sp(r,e);var t=yp(r);function r(n){ap(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return lp(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(he),Bi={Designer:$n,Runtime:pp,Property:kn};function vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(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&&Nn(e,t)}function bp(e,t){return t&&(gp(t)==="object"||typeof t=="function")?t:vp(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var gp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ep(e){var t=mp();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 bp(this,i)}}var Ln=function(e){_p(r,e);var t=Ep(r);function r(n){hp(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}(U);function Ip(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Op(e,t,r){return t&&Ti(e.prototype,t),r&&Ti(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function Ap(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sp(e,t){return t&&(Rp(t)==="object"||typeof t=="function")?t:Ip(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cp(e){var t=Pp();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 Sp(this,i)}}var Mn=function(e){Ap(r,e);var t=Cp(r);function r(n){wp(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return Op(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(K);Mn.excludes=[f.ROW],Mn.setting=[{key:"col-setting",visible:!0}];function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(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 kp(e,t,r){return t&&ki(e.prototype,t),r&&ki(e,r),e}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function Dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jn(e,t)}function $p(e,t){return t&&(Fp(t)==="object"||typeof t=="function")?t:Bp(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var Fp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Np(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lp(e){var t=Np();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 $p(this,i)}}var xp=function(e){Dp(r,e);var t=Lp(r);function r(n){Tp(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return kp(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(he);function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(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 Hp(e,t,r){return t&&Di(e.prototype,t),r&&Di(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function Up(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hn(e,t)}function Vp(e,t){return t&&(qp(t)==="object"||typeof t=="function")?t:Mp(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var qp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=Wp();return function(){var n=tt(e),i;if(t){var o=tt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Vp(this,i)}}var Kp=4,nt=function(e){Up(r,e);var t=zp(r);function r(n){return jp(this,r),t.call(this,n)}return Hp(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}(Mn);nt.excludes=[f.GRID_ROW],nt.setting=[],nt.childrenMaxLength=Kp;function Gp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 Qp(e,t,r){return t&&$i(e.prototype,t),r&&$i(e,r),e}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Gp(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Un(e,t)}var Yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=ev();return function(){var n=rt(e),i;if(t){var o=rt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zp(this,i)}}var nv=function(e){Jp(r,e);var t=tv(r);function r(n){return Xp(this,r),t.call(this,n)}return Qp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(xp);function rv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function ov(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vn(e,t)}function uv(e,t){return t&&(av(t)==="object"||typeof t=="function")?t:rv(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vn(e,t)}var av=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sv(e){var t=lv();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 uv(this,i)}}var cv=function(e){ov(r,e);var t=sv(r);function r(n){return iv(this,r),t.call(this,n)}return r}(Ln),fv={Designer:nt,Runtime:nv,Property:cv};function dv(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 ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ot(e)}function pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(hv(t)==="object"||typeof t=="function")?t:dv(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var hv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _v(){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=_v();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 vv(this,i)}}U.Rules,l.CAPTION,l.IS_HIDE,f.CARD_GROUP;function gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fi(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 Ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mv(e,t){return t&&(Ev(t)==="object"||typeof t=="function")?t:gv(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(e,t)}var Ev=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Li(e){var t=Iv();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return mv(this,i)}}var wv=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Y),at=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(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.fixed=(u=n==null?void 0:n.fixed)!==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;return i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,i.metaAutoWidth=new Cs(n==null?void 0:n.metaAutoWidth),i}return r}(U);at.Rules=wv;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 lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zn(e,t)}function Rv(e,t){return t&&(Pv(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 Pv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bv(e){var t=Cv();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rv(this,i)}}var G=function(e){Sv(r,e);var t=Bv(r);function r(n){Av(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[f.SUBTABLE,f.SUBTABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Tv(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 st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function Dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function $v(e,t){return t&&(Fv(t)==="object"||typeof t=="function")?t:Tv(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(e,t)}var Fv=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 Lv(e){var t=Nv();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 $v(this,i)}}var xi=function(e){Dv(r,e);var t=Lv(r);function r(n){kv(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(he);xi.controlType="subtable-column";var xv={Designer:G,Runtime:xi,Property:at};f.SUBTABLE,f.SUBTABLE_COLUMN,f.SUBTABLE_ROW,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.GRID_TABLE,f.GRID_TABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.TAB,l.CAPTION,l.IS_HIDE,f.TAB,f.GRID_ROW,f.ROW,f.GRID,f.SUBTABLE,f.TAB,f.TOOLBOX;function Mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(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 Xn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function Mv(e,t){return t&&(jv(t)==="object"||typeof t=="function")?t:Mi(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var jv=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 Jn(e){var t=Hv();return function(){var n=ct(e),i;if(t){var o=ct(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Mv(this,i)}}var ft;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ft||(ft={}));var Uv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),Vv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ft.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),jc.call(Mi(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}(Y),_e=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;i=t.call(this,n),i.datasourceBind=new Z(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:ft.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new ks(n==null?void 0:n.sublistPage);var a;i.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,i.joinRelation=new Fs(n==null?void 0:n.joinRelation);var d;i.showType=(d=n==null?void 0:n.showType)!==null&&d!==void 0?d:"stretch";var v;i.showFullScreen=(v=n==null?void 0:n.showFullScreen)!==null&&v!==void 0?v:!1;var h;i.selectionType=(h=n==null?void 0:n.selectionType)!==null&&h!==void 0?h:"multiple";var g;i.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var E;i.isShowSelection=(E=n==null?void 0:n.isShowSelection)!==null&&E!==void 0?E:!1;var _;return i.isAllLoaded=(_=n==null?void 0:n.isAllLoaded)!==null&&_!==void 0?_:!0,i.countType=n==null?void 0:n.countType,i}return r}(U);_e.Rules=Vv,_e.RuntimeRules=Uv;function qv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zv(e,t,r){return t&&ji(e.prototype,t),r&&ji(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gv(e,t){return t&&(Xv(t)==="object"||typeof t=="function")?t:qv(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zn(e,t)}var Xv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jv(e){var t=Qv();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 Gv(this,i)}}var yt=function(e){Kv(r,e);var t=Jv(r);function r(n){Wv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return zv(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}(K);yt.excludes=[f.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-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];function Zv(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 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 eh(e,t,r){return t&&Hi(e.prototype,t),r&&Hi(e,r),e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function th(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}function nh(e,t){return t&&(rh(t)==="object"||typeof t=="function")?t:Zv(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yn(e,t)}var rh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ih(){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 oh(e){var t=ih();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 nh(this,i)}}var uh=function(e){th(r,e);var t=oh(r);function r(n){Yv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return eh(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(he),ah={Designer:yt,Runtime:uh,Property:_e};function lh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(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&&er(e,t)}function sh(e,t){return t&&(ch(t)==="object"||typeof t=="function")?t:lh(e)}function er(e,t){return er=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},er(e,t)}var ch=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fh(){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 qi(e){var t=fh();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return sh(this,i)}}var dh=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),ht=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;i=t.call(this,n);var o;i.save=new fe((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new fe((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new fe((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;i.print=new fe((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 fe(v)});var d;return i.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,i.datasourceBind=new Z(n==null?void 0:n.datasourceBind),i}return r}(U);ht.RuntimeRules=dh;function yh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ph(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 vh(e,t,r){return t&&Wi(e.prototype,t),r&&Wi(e,r),e}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_t(e)}function hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}function _h(e,t){return t&&(bh(t)==="object"||typeof t=="function")?t:yh(e)}function tr(e,t){return tr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tr(e,t)}var bh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gh(){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 mh(e){var t=gh();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 _h(this,i)}}var zi=function(e){hh(r,e);var t=mh(r);function r(n){ph(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return vh(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(K);zi.excludes=[];function Eh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ih(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ki(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 wh(e,t,r){return t&&Ki(e.prototype,t),r&&Ki(e,r),e}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function Oh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nr(e,t)}function Ah(e,t){return t&&(Sh(t)==="object"||typeof t=="function")?t:Eh(e)}function nr(e,t){return nr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nr(e,t)}var Sh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rh(){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 Ph(e){var t=Rh();return function(){var n=bt(e),i;if(t){var o=bt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ah(this,i)}}var Ch=function(e){Oh(r,e);var t=Ph(r);function r(n){Ih(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return wh(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(he),Bh={Designer:zi,Runtime:Ch,Property:ht};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.CAPTION,l.IS_HIDE;const Th=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Vh(t==null?void 0:t.events),Lh(n),xh(n);const i=Nh(n),o=Mh(i,t);let u=J(D(o,s=>Fh(s,t)));return r?u:u[0]},kh=[f.DIVIDER,f.TEXT,f.TITLE,f.LINK,f.BUTTON,"list-btn-export-list","list-btn-export-record"],Dh=["subtable","grid-table"],$h=["simple-search"];function Fh(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":kh.includes(r.type)?r.controlType="base":r.controlType="form",Dh.includes(r.type)&&(r.controlType="list"),$h.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(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 d=r.props.entry_type||r.props.entryType;r.props.openType=d==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((v,h)=>{const g=new xv.Designer;g.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const E=g.toSchema();E.id=v.header_id;const _=r.children[0].children[h].children[0];return _&&(E.children=[_]),E}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(d=>{d.label=k(d.text)?d.text.zh:d.text,d.id=d.id||d.opt_id||d.optId||d.data_id}),r=e),e.type==="grid-row"){const d=24/r.children.length;r.children=r.children.map(v=>{const h=new Bi.Designer;h.props.span=d;const g=h.toSchema();return g.children.push(v),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};d&&(Gi(r,t),h.result=d.props.data_bind,r.id=d.id,r.props=d.props,r.props.script_src=d.props.script_src,r.props.script_echo=d.props.script_echo,r.props.precision=d.props.precision,r.props.micrometer=d.props.is_show_money,r.props.showUpperCase=d.props.is_show_chn),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 d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};d&&(Gi(r,t),r.id=d.id,h.amount=d.props.data_bind,r.props.range_min=Q(d.props.range_min),r.props.range_max=Q(d.props.range_max),g.amount=Q(d.props.value),r.props.required=d.props.required,r.props.is_hide=d.props.is_hide,r.props.default_state=d.props.default_state,r.props.caption=k(d.props.caption)?d.props.caption.zh:d.props.caption,r.props.is_hide_caption=d.props.is_hide_caption,r.props.showUpperCase=d.props.is_show_chn),v&&(h.currency=v.props.data_bind,g.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(E=>({label:E.text,value:E.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};d&&(h.min=d.props.data_bind),v&&(h.max=v.props.data_bind),r.props.dataBind=h,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=k(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Q(e.props.range_min),r.props.range_max=Q(e.props.range_max),r.props.defaultValue=Q(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"),qh(r,t==null?void 0:t.control_events),r}function Gi(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 Nh(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Bh.Designer().toSchema();return n.children=e,[n]}function Lh(e){e.forEach(t=>{t.children&&Uh(t.children)})}function xh(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 g,E,_,I,p,b,P,w;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,s]=i;jh(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Hh(s,u);const c=(_=(E=n==null?void 0:n.source_config)==null?void 0:E.data_code)!=null?_:t==null?void 0:t.dataCode,a=((p=(I=n==null?void 0:n.source_config)==null?void 0:I.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,d=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new ah.Designer;v.props.datasourceBind=new Z({dataCode:c,svcCode:a,orders:hs(d)}),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=k(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 jh(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Hh(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Uh(e){var r;let t=null;for(let n=0;n<e.length;n++){const i=e[n];if(!!i){if(i.children&&((r=i.children[0])==null?void 0:r.type)==="group-panel"){t=i.children[0];continue}t&&(t.children.push(i),e.splice(n,1),n--)}}}function Vh(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 qh(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(i=>{!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),t[e.id][i].push(...e.props.events[i].map(o=>o.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Wh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>zh(o)));return r?i:i[0]};function zh(e,t){return e.type===f.LIST_VIEW&&e.children.find(n=>n.type===f.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 Kh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Gh(o)));return r?i:i[0]};function Gh(e,t){return[f.BUTTON,f.CREATE_FORM_LIST_BUTTON,f.BATCH_SUBMISSION_LIST_BUTTON,f.SUBMISSION_RECORD_LIST_BUTTON,f.IMPORT_RECORD_LIST_BUTTON,f.EXPORT_RECORD_LIST_BUTTON,f.EXPORT_LIST_BUTTON,f.FORM_SELECT_BUTTON,f.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===f.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===f.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Xh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Qh(o)));return r?i:i[0]};function Qh(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 Jh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Yh(o)));return r?i:i[0]},Zh=[f.ROW,f.TAB,f.SUBTABLE,f.GRID_ROW,f.CARD_GROUP];function Yh(e,t){return e.type===f.TAB_PANE&&(e.children=e.children.map(r=>{if(Zh.includes(r.type))return r;const n=new fv.Designer,i=new Bi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const e_=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>t_(o)));return r?i:i[0]};function t_(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===f.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const n_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>r_(o));return r?i:i[0]};function r_(e,t){return e.type===f.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const i_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>o_(o));return r?i:i[0]};function W(e,t){e.field_code&&(e.field_type=t)}function o_(e,t){var n;const r={[f.TITLE]:y.AUTO_NUMBER,[f.ADDRESS]:y.ADDRESS,[f.ATTACHMENT]:y.FILE,[f.AUTO_NUMBER]:y.AUTO_NUMBER,[f.CHECKBOX]:y.ARRAY,[f.DATE_PICKER]:y.TIMESTAMP,[f.DEPARTMENT]:y.DEPARTMENTS,[f.EMPLOYEE]:y.EMPLOYEES,[f.EMPLOYEE2]:y.EMPLOYEES,[f.IMAGE]:y.IMAGE,[f.INPUT]:y.VARCHAR,[f.NUMBER]:y.DECIMAL,[f.RADIO]:y.VARCHAR,[f.RICH_TEXT]:y.TEXT,[f.SCORE]:y.DECIMAL,[f.SELECT]:y.VARCHAR,[f.SELECT_MULTIPLE]:y.ARRAY,[f.SELECT_RELATION]:y.VARCHAR,[f.TEXTAREA]:y.TEXT,[f.TREE]:y.ARRAY,[f.SEARCH_DATE_RANGE]:y.ARRAY,[f.SEARCH_INPUT]:y.VARCHAR,[f.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&W(e.props.data_bind,r[e.type]),e.type===f.AMOUNT&&(W(e.props.data_bind.amount,y.DECIMAL),W(e.props.data_bind.currency,y.VARCHAR)),e.type===f.CALC&&(W(e.props.data_bind.result,y.DECIMAL),W(e.props.data_bind.unit,y.VARCHAR)),e.type===f.DATE_RANGE&&(W(e.props.data_bind.min,y.TIMESTAMP),W(e.props.data_bind.max,y.TIMESTAMP)),e.type===f.VUE_FORM_ITEM&&W(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const u_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>a_(o));return r?i:i[0]};function a_(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===f.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const l_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>s_(o));return r?i:i[0]};function s_(e,t){return e.type===f.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 c_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>f_(o));return r?i:i[0]};function f_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const d_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>y_(o));return r?i:i[0]};function y_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const p_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>v_(o));return r?i:i[0]};function v_(e,t){return e.type===f.TITLE&&e.props.config.push(yn.ShowTitle),e.type===f.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,s,c,a,d,v,h,g,E,_,I,p,b,P,w,S,L,R,x;if(r.type===f.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((i=r.props)==null?void 0:i.check)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",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=(s=r.props)==null?void 0:s.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.check}if(((v=r.props)==null?void 0:v.edit)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(h=r.props)==null?void 0:h.edit.content,A.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,A.props.openType=(E=r.props)==null?void 0:E.edit.open_type,A.props.formKey=(_=r.props)==null?void 0:_.edit.form_key,(I=r.props)!=null&&I.edit.is_show&&r.children.push(A.toSchema()),(p=r.props)==null||delete p.edit}if(((b=r.props)==null?void 0:b.delete)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=r.props)==null?void 0:P.delete.content,A.props.priorityProcess=(w=r.props)==null?void 0:w.delete.priority_process,A.props.openType=(S=r.props)==null?void 0:S.delete.open_type,A.props.formKey=(L=r.props)==null?void 0:L.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(R=r.props)!=null&&R.delete.is_show&&r.children.push(A.toSchema()),(x=r.props)==null||delete x.delete}}}),[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Xi={"v1.0":Th,"v2.0":Wh,"v2.1":Kh,"v2.2":Xh,"v2.3":Jh,"v2.4":e_,"v2.5":n_,"v2.6":i_,"v2.7":u_,"v2.8":l_,"v2.9":c_,"v2.10":d_,"v3.0":p_,"v3.1":()=>{}};const Qi=(e,t)=>{const r=Ji(e),n=Ji(t),i=r.pop(),o=n.pop(),u=eo(r,n);return u!==0?u:i&&o?eo(i.split("."),o.split(".")):i||o?i?-1:1:0},gt=(e,t,r)=>{g_(r);const n=Qi(e,t);return to[r].includes(n)},h_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ji=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(h_);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Zi=e=>e==="*"||e==="x"||e==="X",Yi=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},__=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],b_=(e,t)=>{if(Zi(e)||Zi(t))return 0;const[r,n]=__(Yi(e),Yi(t));return r>n?1:r<n?-1:0},eo=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=b_(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},to={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},no=Object.keys(to),g_=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(no.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${no.join("|")}`)};function rr(e){return e.replace(/^v/,"")}const oe=Object.keys(Xi).map(e=>rr(e)).sort(Qi),be=oe[oe.length-1];class m_{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,gt(r,be,">")?pr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!oe.includes(rr(r))||!oe.includes(rr(t)))&&pr(`Version Builder: Please give me a valid version number, The valid version is: ${oe.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(gt(this.toVersion,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;Ee(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=Xi[o];let d=i;if(typeof a=="function"){const h=a(i,r);h&&(d=h)}return d},t);return Ee(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return oe.filter(t=>gt(t,this.schemaVersion,">=")&>(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return be}static get version(){return be}}X.VersionBuilder=m_,Object.defineProperty(X,"__esModule",{value:!0})});
|
|
1
|
+
(function(X,le){typeof exports=="object"&&typeof module!="undefined"?le(exports):typeof define=="function"&&define.amd?define(["exports"],le):(X=typeof globalThis!="undefined"?globalThis:X||self,le(X.modelDrivenUpgrade={}))})(this,function(X){"use strict";var le="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",io="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",uo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ao="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lo="{caption}\u5FC5\u586B",so="\u8BF7\u8F93\u5165\u6807\u9898",co="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",fo="\u8BF7\u8F93\u5165\u884C\u6807\u9898",yo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",po="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",vo="\u8BF7\u7ED1\u5B9A\u8868\u5355",ho="\u8BF7\u7ED1\u5B9A\u5217\u8868",_o="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bo="\u8BF7\u8F93\u5165\u663E\u793A\u503C",go="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",mo="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Eo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Io="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Oo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",wo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ao="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",So="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ro="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Po="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Co="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Bo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",To="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ko="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Do="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$o="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",No="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Lo="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Mo="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",jo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ho="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Uo="\u8BF7\u9009\u62E9\u7701",Vo="\u8BF7\u9009\u62E9\u5E02",qo="\u8BF7\u9009\u62E9\u533A",Wo="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",zo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ko="\u8BF7\u8F93\u5165\u5217\u5BBD",Go="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xo="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",eu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",tu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ru="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",iu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ou="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",lu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",fu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",du="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",yu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",hu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_u="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",bu={isNotNumber:le,isNotString:io,isNotObject:oo,isNotArray:uo,isNotBoolean:ao,runtimeRequired:lo,pleaseEnterCaption:so,pleaseEnterCaptionTip:co,pleaseEnterRowCaption:fo,pleaseEnterPlaceholder:yo,pleaseEnterFieldCode:po,pleaseEnterForm:vo,pleaseEnterList:ho,pleaseEnterProcess:_o,pleaseEnterLabel:bo,pleaseEnterValue:go,bizKeyNotBindFiled:mo,pleaseSelectOneField:Eo,pleaseEnterNumberRange:Io,pleaseEnterAValueGreaterThanMin:Oo,pleaseEnterAValueLessThanMax:wo,numberRangeSetError:Ao,stringRangeError:So,attachmentMaxSize:Ro,pleaseEnterTotalScoreSetting:Po,theTotalScoreMustNotBeLessThan1:Co,scoreDefaultValueRange:Bo,attachmentLimitError:To,PleaseReselectTheOptionalQuantity:ko,TheMaximumLengthIsGreaterThanTheMinimumLength:Do,TheMinimumLengthIsGreaterThanTheMaximumLength:$o,PleaseSelectTheCorrectOptionSettings:Fo,optionIdIsRepeat:No,optionIsRequired:Lo,pleaseEnterDataCode:xo,pleaseEnterValueFieldCode:Mo,pleaseEnterSvcCode:jo,pleaseBindAtLeastOneDisplayValue:Ho,pleaseSelectProvince:Uo,pleaseSelectCity:Vo,pleaseSelectDistrict:qo,limitRowsCannotBeLessThan0:Wo,TheNumberOfRowsCannotBeLessThanMinRows:zo,pleaseEnterColumnWidth:Ko,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Go,pleaseCompleteAllRulesAndConditions:Xo,pleaseSelectControl:Qo,pleaseSelectAtLeastOneColumn:Jo,pleaseSelectFillBackMode:Zo,pleaseSelectDashboard:Yo,rootNodeIsRequired:eu,theViewNameCannotBeEmpty:tu,pleaseSelectOcrType:nu,pleaseSelectAtLeastOneFieldToFillIn:ru,pleaseChooseAtLeastOne:iu,pleaseEnterButtonContent:ou,pleaseEnterDataCodeInDataSetting:uu,pleaseEnterValueFieldCodeInDataSetting:au,pleaseEnterSvcCodeInDataSetting:lu,pleaseBindAtLeastOneDisplayValueInDataSetting:su,rootNodeIsRequiredInDataSetting:cu,pleaseEnterMaxHeight:fu,pleaseEnter:du,pleaseEnterWatermark:yu,pleaseEnterFileName:pu,pleaseUploadAtLeastOnePrintTemplate:vu,pleaseAssignBusiness:hu,pleaseAssignExternal:_u},gu="Please enter a number",mu="Please enter a string",Eu="Please enter an object",Iu="Please enter an array",Ou="Please enter a boolean",wu="{caption} Required",Au="Please enter the title",Su="Please enter the bubble prompt",Ru="Please enter the row title",Pu="Please enter the prompt text",Cu="Please bind data items",Bu="Please bind the form",Tu="Please bind the list",ku="Please bind the process",Du="Please enter the displayed value",$u="Please enter the stored value",Fu="The document number is not bound to the data item",Nu="Please select at least one display field",Lu="Please enter a value greater than or equal to {min} and less than or equal to {max}",xu="Please enter a value greater than or equal to {min}",Mu="Please enter a value less than or equal to {max}",ju="The value range is set incorrectly",Hu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uu="The attachment size must be between 0MB and 1000MB",Vu="Please fill in the total score setting",qu="The total score cannot be less than 1",Wu="The default value must be between {min} and {max}",zu="The number of attachments uploaded must be between {min} and {max}",Ku="Please re-select the optional quantity",Gu="The maximum length of the control must be greater than the minimum length",Xu="The minimum length of the control must be less than the maximum length",Qu="Please select the correct option setting",Ju="Option ID cannot be repeated",Zu="Please enter at least one option",Yu="Please bind the data source",ea="Please bind the stored value",ta="Please bind the service",na="At least one display value must be bound",ra="Please select a province",ia="Please select a city",oa="Please select a district",ua="The minimum number of lines to fill in cannot be less than 0",aa="The number of rows cannot be less than {min} rows",la="Please enter the column width",sa="Please set the logical relationship of all rule conditions",ca="Please complete all rules and conditions",fa="please select control",da="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ya="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ha="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_a="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ba="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ia="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Oa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Aa="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ra="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ba={isNotNumber:gu,isNotString:mu,isNotObject:Eu,isNotArray:Iu,isNotBoolean:Ou,runtimeRequired:wu,pleaseEnterCaption:Au,pleaseEnterCaptionTip:Su,pleaseEnterRowCaption:Ru,pleaseEnterPlaceholder:Pu,pleaseEnterFieldCode:Cu,pleaseEnterForm:Bu,pleaseEnterList:Tu,pleaseEnterProcess:ku,pleaseEnterLabel:Du,pleaseEnterValue:$u,bizKeyNotBindFiled:Fu,pleaseSelectOneField:Nu,pleaseEnterNumberRange:Lu,pleaseEnterAValueGreaterThanMin:xu,pleaseEnterAValueLessThanMax:Mu,numberRangeSetError:ju,stringRangeError:Hu,attachmentMaxSize:Uu,pleaseEnterTotalScoreSetting:Vu,theTotalScoreMustNotBeLessThan1:qu,scoreDefaultValueRange:Wu,attachmentLimitError:zu,PleaseReselectTheOptionalQuantity:Ku,TheMaximumLengthIsGreaterThanTheMinimumLength:Gu,TheMinimumLengthIsGreaterThanTheMaximumLength:Xu,PleaseSelectTheCorrectOptionSettings:Qu,optionIdIsRepeat:Ju,optionIsRequired:Zu,pleaseEnterDataCode:Yu,pleaseEnterValueFieldCode:ea,pleaseEnterSvcCode:ta,pleaseBindAtLeastOneDisplayValue:na,pleaseSelectProvince:ra,pleaseSelectCity:ia,pleaseSelectDistrict:oa,limitRowsCannotBeLessThan0:ua,TheNumberOfRowsCannotBeLessThanMinRows:aa,pleaseEnterColumnWidth:la,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sa,pleaseCompleteAllRulesAndConditions:ca,pleaseSelectControl:fa,pleaseSelectDashboard:da,theViewNameCannotBeEmpty:ya,pleaseSelectOcrType:pa,pleaseSelectAtLeastOneFieldToFillIn:va,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:_a,pleaseEnterDataCodeInDataSetting:ba,pleaseEnterValueFieldCodeInDataSetting:ga,pleaseEnterSvcCodeInDataSetting:ma,pleaseBindAtLeastOneDisplayValueInDataSetting:Ea,rootNodeIsRequiredInDataSetting:Ia,pleaseEnterMaxHeight:Oa,pleaseEnter:wa,pleaseEnterWatermark:Aa,pleaseEnterFileName:Sa,pleaseUploadAtLeastOnePrintTemplate:Ra,pleaseAssignBusiness:Pa,pleaseAssignExternal:Ca},Ta="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ka="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="{caption}\u5FC5\u9808",La="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",za="\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",Ga="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",el="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tl="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nl="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rl="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",il="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ol="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ul="\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",al="\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",ll="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sl="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cl="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fl="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dl="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yl="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pl="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vl="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hl="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_l="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bl="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gl="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ml="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",El="\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",wl="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Al="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Sl="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Rl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Pl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Cl="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",kl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$l="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Fl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Nl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ll="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ml="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",jl="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ul={isNotNumber:Ta,isNotString:ka,isNotObject:Da,isNotArray:$a,isNotBoolean:Fa,runtimeRequired:Na,pleaseEnterCaption:La,pleaseEnterCaptionTip:xa,pleaseEnterRowCaption:Ma,pleaseEnterPlaceholder:ja,pleaseEnterFieldCode:Ha,pleaseEnterForm:Ua,pleaseEnterList:Va,pleaseEnterProcess:qa,pleaseEnterLabel:Wa,pleaseEnterValue:za,bizKeyNotBindFiled:Ka,pleaseSelectOneField:Ga,pleaseEnterNumberRange:Xa,pleaseEnterAValueGreaterThanMin:Qa,pleaseEnterAValueLessThanMax:Ja,numberRangeSetError:Za,stringRangeError:Ya,attachmentMaxSize:el,pleaseEnterTotalScoreSetting:tl,theTotalScoreMustNotBeLessThan1:nl,scoreDefaultValueRange:rl,attachmentLimitError:il,PleaseReselectTheOptionalQuantity:ol,TheMaximumLengthIsGreaterThanTheMinimumLength:ul,TheMinimumLengthIsGreaterThanTheMaximumLength:al,PleaseSelectTheCorrectOptionSettings:ll,optionIdIsRepeat:sl,optionIsRequired:cl,pleaseEnterDataCode:fl,pleaseEnterValueFieldCode:dl,pleaseEnterSvcCode:yl,pleaseBindAtLeastOneDisplayValue:pl,pleaseSelectProvince:vl,pleaseSelectCity:hl,pleaseSelectDistrict:_l,limitRowsCannotBeLessThan0:bl,TheNumberOfRowsCannotBeLessThanMinRows:gl,pleaseEnterColumnWidth:ml,pleaseSetTheLogicalRelationshipOfAllRuleConditions:El,pleaseCompleteAllRulesAndConditions:Il,pleaseSelectControl:Ol,pleaseSelectDashboard:wl,theViewNameCannotBeEmpty:Al,pleaseSelectOcrType:Sl,pleaseSelectAtLeastOneFieldToFillIn:Rl,pleaseChooseAtLeastOne:Pl,pleaseEnterButtonContent:Cl,pleaseEnterDataCodeInDataSetting:Bl,pleaseEnterValueFieldCodeInDataSetting:Tl,pleaseEnterSvcCodeInDataSetting:kl,pleaseBindAtLeastOneDisplayValueInDataSetting:Dl,rootNodeIsRequiredInDataSetting:$l,pleaseEnterMaxHeight:Fl,pleaseEnter:Nl,pleaseEnterWatermark:Ll,pleaseEnterFileName:xl,pleaseUploadAtLeastOnePrintTemplate:Ml,pleaseAssignBusiness:jl,pleaseAssignExternal:Hl},Vl={zhCN:bu,enUS:Ba,jaJP:Ul},or;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(or||(or={}));var ur;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ur||(ur={}));var ql="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 ar;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(ar||(ar={}));var f;(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.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(f||(f={}));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={},F(T,y.ARRAY,f.ARRAY_COLUMN),F(T,y.AUTO_NUMBER,f.AUTO_NUMBER_COLUMN),F(T,y.DECIMAL,f.DECIMAL_COLUMN),F(T,y.DEPARTMENTS,f.DEPARTMENT_COLUMN),F(T,y.FILE,f.FILE_COLUMN),F(T,y.IMAGE,f.IMAGE_COLUMN),F(T,y.ADDRESS,f.LOCATION_COLUMN),F(T,y.EMPLOYEES,f.EMPLOYEE_COLUMN),F(T,y.TEXT,f.TEXT_COLUMN),F(T,y.TIMESCOPE,f.TIMESCOPE_COLUMN),F(T,y.TIMESTAMP,f.TIMESTAMP_COLUMN),F(T,y.VARCHAR,f.VARCHAR_COLUMN),F(T,y.RELATION,f.VARCHAR_COLUMN);var lr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(lr||(lr={}));var sr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Wl=sr+"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?sr:Wl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function mt(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 mt(e)}function Kl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gl(){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 Gl()?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&&ce(a,u.prototype),a},me.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(e)}function fr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ql(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jl(){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 Zl(e,t){return t&&(Yl(t)==="object"||typeof t=="function")?t:Kl(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ce(e,t)}function dr(e){return zl(e)||Ql(e)||es(e)||Jl()}var Yl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function es(e,t){if(!!e){if(typeof e=="string")return mt(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 mt(e,t)}}function Et(e){var t=typeof Map=="function"?new Map:void 0;return Et=function(n){if(n===null||!Xl(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return me(n,arguments,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ce(i,n)},Et(e)}function ts(){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 yr(e){var t=ts();return function(){var n=se(e),i;if(t){var o=se(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zl(this,i)}}var It=console;function ns(){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(dr(i)))}function Ee(){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(dr(i)))}function rs(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ot=function(e){fr(r,e);var t=yr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?rs(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)),is=function(e){fr(r,e);var t=yr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(Ot);function pr(e){throw new Ot(e)}function vr(e){throw new is(e)}function os(e){It.error(new Ot(e))}var us=Object.prototype.toString;function hr(e,t){return us.call(e)==="[object "+t+"]"}function as(e){return hr(e,"String")}function ls(e){return hr(e,"Promise")}var ss=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();ls(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&&!as(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 cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){cs(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]:ql;return new ss({locale:r,messages:Vl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function fs(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)){ns("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 ds=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wt={exports:{}};(function(e){(function(t){var r=function(p,b,P){if(!a(b)||v(b)||h(b)||g(b)||c(b))return b;var O,S=0,L=0;if(d(b))for(O=[],L=b.length;S<L;S++)O.push(r(p,b[S],P));else{O={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(O[p(R,P)]=r(p,b[R],P))}return O},n=function(p,b){b=b||{};var P=b.separator||"_",O=b.split||/(?=[A-Z])/;return p.split(O).join(P)},i=function(p){return E(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var b=i(p);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(p,b){return n(p,b).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},d=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},h=function(p){return s.call(p)=="[object RegExp]"},g=function(p){return s.call(p)=="[object Boolean]"},E=function(p){return p=p-0,p===p},_=function(p,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?p:function(O,S){return P(O,p,S)}},I={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(p,b){return r(_(i,b),p)},decamelizeKeys:function(p,b){return r(_(u,b),p,b)},pascalizeKeys:function(p,b){return r(_(o,b),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=I:t.humps=I})(ds)})(wt);var _r={};Object.defineProperty(_r,"__esModule",{value:!0});function At(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:At(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:At(n)}return t}}var ys=_r.default=At;function z(e){if(e!==void 0)return typeof e=="object"?ys(e):e}function k(e){return br(e)&&"zh"in e}function br(e){return Object.prototype.toString.call(e)==="[object Object]"}function ps(e){return Array.isArray(e)}function Q(e){return isNaN(parseFloat(e))?"":Number(e)}function vs(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function D(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=D(n.children,t)),t(i)})),r}function hs(e){return wt.exports.camelizeKeys(e)}function J(e){return wt.exports.decamelizeKeys(e)}function St(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 _s(e){if(Array.isArray(e))return St(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 bs(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 gs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ms(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Es(){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 Rt(e){return _s(e)||ms(e)||Is(e)||Es()}function Is(e,t){if(!!e){if(typeof e=="string")return St(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 St(e,t)}}var Os=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(d){return c([a,d])}}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(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ws=function(){function e(){gs(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 bs(function(){var c,a,d,v,h,g,E,_,I,p,b,P;return Os(this,function(O){switch(O.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];d=c.slice(),v=!0,h=!1,g=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),E=d[Symbol.iterator](),O.label=2;case 2:if(v=(_=E.next()).done)return[3,7];if(I=_.value,!c.includes(I))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Rt(o))),[4,I.apply(null,Rt(o))];case 4:return p=O.sent(),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.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(Rt(o),[p])),a.push(p),p===!1?[3,7]:[3,6];case 5:return b=O.sent(),os(String(b)+":"+String(b.stack)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=O.sent(),h=!0,g=P,[3,10];case 9:try{!v&&E.return!=null&&E.return()}finally{if(h)throw g}return[7];case 10:return[2,a]}})})()},t.on=function(n,i){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(i)}else this._events.set(n,[i])},t.off=function(n,i){if(this._events.has(n)){var o=this._events.get(n),u=o==null?void 0:o.indexOf(i);o==null||o.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),As=[];new Set(As.map(function(e){return e.Designer.controlType}));function mr(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 Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ie(e)}function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ct(e,t)}function Er(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ss(e,t){return t&&(Rs(t)==="object"||typeof t=="function")?t:mr(e)}function Ct(e,t){return Ct=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ct(e,t)}var Rs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ps(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bt(e){var t=Ps();return function(){var n=Ie(e),i;if(t){var o=Ie(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ss(this,i)}}var Oe=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:"",this.aliasCode=t==null?void 0:t.aliasCode},Ir=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},Tt=function(e){Pt(r,e);var t=Bt(r);function r(n){C(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;var u;return i.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",i}return r}(Ir),Cs=function e(t){C(this,e),this.pc=new Tt(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Tt(t==null?void 0:t.mobile):new Tt({width:130,minWidth:180})},Or=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:""},Bs=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},Ts=function(e){Pt(r,e);var t=Bt(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}(Or),ks=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new Or(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 Bs(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 Ts(u)}))!==null&&o!==void 0?o:[]},Ds=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},$s=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:[]},wr=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:ge();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 d,v=new kt(s);(d=r.children)===null||d===void 0||d.push(v)}}))},kt=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:ge();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 Ds(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new $s(t==null?void 0:t.rightVariableBo)},Fs=function e(t){C(this,e);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Z(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ns=function e(t){C(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},Ls=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},xs=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 Ar(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(s){return s.children!==void 0?new wr(s):new kt(s)}))!==null&&n!==void 0?n:[];var i;if(this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new wr(s):new kt(s)}))!==null&&i!==void 0?i:[],Er(this,Z)||Er(this,js)){var o,u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(s){return new xs(s)}))!==null&&u!==void 0?u:[]}}var Z=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=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(d){var v;(v=r.displayBoList)===null||v===void 0||v.push(new Ls(d))}));var s;this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!==null&&s!==void 0?s:"";var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ar.call(this,t)},Ms=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 Ns(u)}))!==null&&o!==void 0?o:[]},js=function(e){Pt(r,e);var t=Bt(r);function r(n){C(this,r);var i;return i=t.call(this,n),Ar.call(mr(i),n),i}return r}(Ms),Hs=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:""},Sr;(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"})(Sr||(Sr={}));var l;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(l||(l={}));var Dt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Dt||(Dt={}));var fe=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},Us=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"},Vs=function e(t){C(this,e);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function qs(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 Ws(){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 Ws()?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 de(e){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},de(e)}function zs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ks(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Gs(e,t){return t&&(Xs(t)==="object"||typeof t=="function")?t:qs(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ye(e,t)}var Xs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ft(e){var t=typeof Map=="function"?new Map:void 0;return Ft=function(n){if(n===null||!Ks(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,de(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ye(i,n)},Ft(e)}function Qs(){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 Js(e){var t=Qs();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 Gs(this,i)}}var Y=function e(t){$t(this,e),this.isHide={type:"boolean"}},Ae=function(e){zs(r,e);var t=Js(r);function r(n){return $t(this,r),t.call(this)}return r}(Ft(Array)),M=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 Us(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};M.Rules=Y,M.RuntimeRules=Ae;function j(){return j=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},j.apply(this,arguments)}function Zs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(e)}function Se(e,t){return Se=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Se(e,t)}function Ys(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Re(e,t,r){return Ys()?Re=Reflect.construct:Re=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Se(a,u.prototype),a},Re.apply(null,arguments)}function ec(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lt(e){var t=typeof Map=="function"?new Map:void 0;return Lt=function(n){if(n===null||!ec(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 Re(n,arguments,Nt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Se(i,n)},Lt(e)}var tc=/%[sdj%]/g,Rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function xt(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(tc,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 nc(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||nc(t)&&typeof e=="string"&&!e)}function rc(e,t,r){var n=[],i=0,o=e.length;function u(s){n.push.apply(n,s),i++,i===o&&r(n)}e.forEach(function(s){t(s,u)})}function Pr(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var s=n;n=n+1,s<i?t(e[s],o):r([])}o([])}function ic(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Cr=function(e){Zs(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}(Lt(Error));function oc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var g=function(I){return n(I),I.length?h(new Cr(I,xt(I))):v()},E=ic(e);Pr(E,r,g)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),s=u.length,c=0,a=[],d=new Promise(function(v,h){var g=function(_){if(a.push.apply(a,_),c++,c===s)return n(a),a.length?h(new Cr(a,xt(a))):v()};u.length||(n(a),v()),u.forEach(function(E){var _=e[E];o.indexOf(E)!==-1?Pr(_,r,g):rc(_,r,g)})});return d.catch(function(v){return v}),d}function Br(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 Tr(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]=j(j({},e[r]),n):e[r]=n}}return e}function kr(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 uc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(N(i.messages.whitespace,e.fullField))}var Mt={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},pe={integer:function(t){return pe.number(t)&&parseInt(t,10)===t},float:function(t){return pe.number(t)&&!pe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!pe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Mt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Mt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Mt.hex)}};function ac(e,t,r,n,i){if(e.required&&t===void 0){kr(e,t,r,n,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;o.indexOf(u)>-1?pe[u](t)||n.push(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 lc(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,d=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?d="number":h?d="string":g&&(d="array"),!d)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push(N(i.messages[d].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push(N(i.messages[d].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push(N(i.messages[d].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push(N(i.messages[d].range,e.fullField,e.min,e.max))}var ee="enum";function sc(e,t,r,n,i){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&n.push(N(i.messages[ee],e.fullField,e[ee].join(", ")))}function cc(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 w={required:kr,whitespace:uc,type:ac,range:lc,enum:sc,pattern:cc};function fc(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();w.required(e,t,n,o,i,"string"),B(t,"string")||(w.type(e,t,n,o,i),w.range(e,t,n,o,i),w.pattern(e,t,n,o,i),e.whitespace===!0&&w.whitespace(e,t,n,o,i))}r(o)}function dc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function yc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function pc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function vc(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();w.required(e,t,n,o,i),B(t)||w.type(e,t,n,o,i)}r(o)}function hc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function _c(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function bc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();w.required(e,t,n,o,i,"array"),t!=null&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function gc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}var mc="enum";function Ec(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();w.required(e,t,n,o,i),t!==void 0&&w[mc](e,t,n,o,i)}r(o)}function Ic(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t,"string")&&!e.required)return r();w.required(e,t,n,o,i),B(t,"string")||w.pattern(e,t,n,o,i)}r(o)}function Oc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t,"date")&&!e.required)return r();if(w.required(e,t,n,o,i),!B(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),w.type(e,s,n,o,i),s&&w.range(e,s.getTime(),n,o,i)}}r(o)}function wc(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,o,i,u),r(o)}function jt(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();w.required(e,t,n,u,i,o),B(t,o)||w.type(e,t,n,u,i)}r(u)}function Ac(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();w.required(e,t,n,o,i)}r(o)}var ve={string:fc,method:dc,number:yc,boolean:pc,regexp:vc,integer:hc,float:_c,array:bc,object:gc,enum:Ec,pattern:Ic,date:Oc,url:jt,hex:jt,email:jt,required:wc,any:Ac};function Ht(){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 Ut=Ht();function H(e){this.rules=null,this._messages=Ut,this.define(e)}H.prototype={messages:function(t){return t&&(this._messages=Tr(Ht(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,u=r,s=n;if(typeof u=="function"&&(s=u,u={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(_){var I,p=[],b={};function P(O){if(Array.isArray(O)){var S;p=(S=p).concat.apply(S,O)}else p.push(O)}for(I=0;I<_.length;I++)P(_[I]);p.length?b=xt(p):(p=null,b=null),s(p,b)}if(u.messages){var a=this.messages();a===Ut&&(a=Ht()),Tr(a,u.messages),u.messages=a}else u.messages=this.messages();var d,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(_){d=i.rules[_],v=o[_],d.forEach(function(I){var p=I;typeof p.transform=="function"&&(o===t&&(o=j({},o)),v=o[_]=p.transform(v)),typeof p=="function"?p={validator:p}:p=j({},p),p.validator=i.getValidationMethod(p),p.field=_,p.fullField=p.fullField||_,p.type=i.getType(p),p.validator&&(h[_]=h[_]||[],h[_].push({rule:p,value:v,source:o,field:_}))})});var E={};return oc(h,u,function(_,I){var p=_.rule,b=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");b=b&&(p.required||!p.required&&_.value),p.field=_.field;function P(L,R){return j(j({},R),{},{fullField:p.fullField+"."+L})}function O(L){L===void 0&&(L=[]);var R=L;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&H.warning("async-validator:",R),R.length&&p.message!==void 0&&(R=[].concat(p.message)),R=R.map(Br(p)),u.first&&R.length)return E[p.field]=1,I(R);if(!b)I(R);else{if(p.required&&!_.value)return p.message!==void 0?R=[].concat(p.message).map(Br(p)):u.error&&(R=[u.error(p,N(u.messages.required,p.field))]),I(R);var x={};if(p.defaultField)for(var A in _.value)_.value.hasOwnProperty(A)&&(x[A]=p.defaultField);x=j(j({},x),_.rule.fields);for(var ue in x)if(x.hasOwnProperty(ue)){var E_=Array.isArray(x[ue])?x[ue]:[x[ue]];x[ue]=E_.map(P.bind(null,ue))}var ro=new H(x);ro.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),ro.validate(_.value,_.rule.options||u,function(ir){var ae=[];R&&R.length&&ae.push.apply(ae,R),ir&&ir.length&&ae.push.apply(ae,ir),I(ae.length?ae:null)})}}var S;p.asyncValidator?S=p.asyncValidator(p,_.value,O,_.source,u):p.validator&&(S=p.validator(p,_.value,O,_.source,u),S===!0?O():S===!1?O(p.message||p.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(L){return O(L)})},function(_){c(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ve.hasOwnProperty(t.type))throw new Error(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"?ve.required:ve[this.getType(t)]||!1}},H.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ve[t]=r},H.warning=Rr,H.messages=Ut,H.validators=ve;var Sc={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 Rc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new H(e);return r.messages(Object.assign(Sc,t)),r}var Pc=new ws;function Vt(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 Cc(e){if(Array.isArray(e))return e}function Bc(e){if(Array.isArray(e))return Vt(e)}function Dr(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 $r(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Dr(o,n,i,u,s,"next",c)}function s(c){Dr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(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 kc(e,t,r){return t&&Fr(e.prototype,t),r&&Fr(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 Nr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Lr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $c(){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 Fc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function 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){Dc(e,i,r[i])})}return e}function Nc(e){return Cc(e)||Lr(e)||Mr(e)||$c()}function qt(e){return Bc(e)||Lr(e)||Mr(e)||Fc()}function Mr(e,t){if(!!e){if(typeof e=="string")return Vt(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 Vt(e,t)}}var jr=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(d){return c([a,d])}}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(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$=function(){function t(n){var i=this;Tc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ur,this.removeSetting=Hr,this._callControlHooks("preInstance",n);var o=Nr(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,d=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||vr("The ".concat(h," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:ge(10),this.name=u,this.icon=s;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:c,this.props=new M(n==null?void 0:n.props,(Nr(this,t)?this.constructor:void 0).controlName);var I;this.controlType=(I=n==null?void 0:n.controlType)!==null&&I!==void 0?I:"base",this.setting=z(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:a,this.eventKeys=z(d),this.customEvents=z(v),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];var s,c=Nc(o),a=c[0],d=c.slice(1);return(s=Pc).emit.apply(s,[a,this].concat(qt(d)))},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),fs(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return $r(function(){var o,u,s;return jr(this,function(c){switch(c.label){case 0:return o=xr({},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 $r(function(){var s,c,a,d;return jr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:xr({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=Rc(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 d=v.sent(),d.control||(d.control=u),d;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,d=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,E=c.maxLength,_=c.options,I=c.encrypted,p=c.encryptedMode;if(!(!o&&!a&&!d)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:d&&(b.datasourceBind=d);break;case"custom":b.props.options=_;break}return g!==void 0&&(b.required=g),E!==void 0&&(b.maxLength=E),I!==void 0&&(b.encrypted=I),p!==void 0&&(b.encryptedMode=p),b}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:z(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(i,o){if(i==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,qt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},kc(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();$.controlName="\u63A7\u4EF6",$.controlIcon="icon",$.controlType="control",$.controlEventKeys=[],$.controlCustomEvents=[],$.setting=[],$.__is_control__=!0,$.removeSettingItem=Hr,$.updateSettingItem=Ur;function Hr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i,o=typeof n!="string";if(!!Array.isArray(t.setting)){var u=(i=t.setting)===null||i===void 0?void 0:i.findIndex(function(a){return a.key===(o?n.key:n)});if(u!==-1){var s,c;o?t.setting[u].showItems=(s=t.setting[u].showItems)===null||s===void 0?void 0:s.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),o&&!(!((c=t.setting[u].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(u,1)}}})}function Ur(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,qt(t.showItems))}}}})}function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(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 xc(e,t,r){return t&&Vr(e.prototype,t),r&&Vr(e,r),e}function Mc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var te=function(){function t(r){Lc(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||vr("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:ge(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new M(r==null?void 0:r.props),this.customEvents=s;var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"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:Dt.UNKNOWN}return xc(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}();te.controlType="control",te.__is_control__=!0,te.controlCustomEvents=[];function jc(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:m.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:m.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(s){return s.value}),u=vs(o);o.length!==u.length?i(m.getMessage("optionIdIsRepeat")):i()},message:m.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:m.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}])}function Hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(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 zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kt(e,t)}function Uc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Vc(e,t){return t&&(qc(t)==="object"||typeof t=="function")?t:Hc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var qc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gt(e){var t=Wc();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 Vc(this,i)}}var Xt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;i=t.call(this,n),i.dataBind={},i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.isHideCaption={type:"boolean"},i.labelPosition={type:"enum",enum:["top","left"]},i.defaultState={type:"enum",enum:["default","readonly"]},i.required={type:"boolean"},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(Uc(n.dataBind,Oe))i.dataBind={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){u.fields[s]={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Y),Qt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;return i=t.call(this,n),i.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:m.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(Ae),ne=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(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 d;i.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var v;i.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var h;i.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new Oe(n==null?void 0:n.dataBind);var E;return i.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:"",i}return r}(M);ne.Rules=Xt,ne.RuntimeRules=Qt;function zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function Gc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function Xc(e,t){return t&&(Qc(t)==="object"||typeof t=="function")?t:zc(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jt(e,t)}var Qc=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 Zc(e){var t=Jc();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 Xc(this,i)}}var Zt=function(e){Gc(r,e);var t=Zc(r);function r(n){Kc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ne(n==null?void 0:n.props),i}return r}($);Zt.controlEventKeys=["on_change","on_focus","on_blur"];function Yc(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 Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function nf(e,t){return t&&(rf(t)==="object"||typeof t=="function")?t:Yc(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var rf=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 uf(e){var t=of();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 nf(this,i)}}var af=function(e){tf(r,e);var t=uf(r);function r(n){ef(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new ne(n==null?void 0:n.props),i}return r}(te);function lf(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 Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function ff(e,t){return t&&(df(t)==="object"||typeof t=="function")?t:lf(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var df=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yf(){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 pf(e){var t=yf();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 ff(this,i)}}var U=function(e){cf(r,e);var t=pf(r);function r(n){return sf(this,r),t.call(this,n)}return r}(M);function tn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vf(e){if(Array.isArray(e))return tn(e)}function hf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _f(){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){return vf(e)||hf(e)||bf(e)||_f()}function bf(e,t){if(!!e){if(typeof e=="string")return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(e,t)}}function gf(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Wr(e,t){e.parent=t,gf(e,"parent")}function mf(e,t){e.forEach(function(r){Wr(r,t)})}var zr=Symbol("targetKey");function Kr(e){var t;return(t=e[zr])!==null&&t!==void 0?t:e}function Gr(e,t){return mf(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===zr?n:(c=Reflect).get.apply(c,[n,i].concat(qr(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(ps(e)&&i==="length"&&o===e.length)return!0;var d=(a=Reflect).set.apply(a,[n,i,o].concat(qr(s)));return br(o)&&Wr(o,t),d}})}function nn(e,t,r,n){var i=n!=null?n:e,o=Gr(Kr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Gr(Kr(s),i)},enumerable:!0})}function rn(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 rn(e)}function Xr(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,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 If(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Qr(o,n,i,u,s,"next",c)}function s(c){Qr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(i,o,u){var s=Df(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},re(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(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&&on(e,t)}function Sf(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Rf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pf(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cf(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){wf(e,i,r[i])})}return e}function Bf(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 Tf(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function kf(e,t){return t&&($f(t)==="object"||typeof t=="function")?t:Xr(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}function Df(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return Ef(e)||Rf(e)||Ff(e)||Pf()}var $f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ff(e,t){if(!!e){if(typeof e=="string")return rn(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 rn(e,t)}}function Nf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lf(e){var t=Nf();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 kf(this,i)}}var xf=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(d){return c([a,d])}}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(d){a=[6,d],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,K=function(t){Af(n,t);var r=Lf(n);function n(o){Of(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=Sf(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new U(o==null?void 0:o.props),nn(Xr(u),"children",o==null?void 0:o.children),u.excludes=z(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,d=function(){return re(V(n.prototype),"validate",c)};return If(function(){return xf(this,function(v){switch(v.label){case 0:return[4,d().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=re(V(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,d){var v=d.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return Jr(a).concat(Jr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=re(V(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return Tf(Cf({},u),{children:s})},n}($);K.excludes=!1,K.childrenMaxLength=Mf;function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jf(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 Hf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uf(e,t){return t&&(Vf(t)==="object"||typeof t=="function")?t:Zr(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var Vf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wf(e){var t=qf();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 Uf(this,i)}}var he=function(e){Hf(r,e);var t=Wf(r);function r(n){jf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new U(n==null?void 0:n.props),nn(Zr(i),"children",n==null?void 0:n.children),i}return r}(te);function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zf(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 Kf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gf(e,t){return t&&(Xf(t)==="object"||typeof t=="function")?t:Yr(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var Xf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jf(e){var t=Qf();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 Gf(this,i)}}var Zf=function(e){Kf(r,e);var t=Jf(r);function r(n,i){zf(this,r);var o;return o=t.call(this,i),nn(Yr(o),"headers",i==null?void 0:i.headers,n),o}return r}(M);function ln(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 Yf(e){if(Array.isArray(e))return ln(e)}function ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ti(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 ed(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){ti(o,n,i,u,s,"next",c)}function s(c){ti(o,n,i,u,s,"throw",c)}u(void 0)})}}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nd(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(i,o,u){var s=ld(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ie(e,t,r||e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q(e)}function rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sn(e,t)}function id(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function od(){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 ni(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){nd(e,i,r[i])})}return e}function ud(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 ri(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ud(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ad(e,t){return t&&(sd(t)==="object"||typeof t=="function")?t:ei(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}function ld(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=q(e),e!==null););return e}function ii(e){return Yf(e)||id(e)||cd(e)||od()}var sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cd(e,t){if(!!e){if(typeof e=="string")return ln(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 ln(e,t)}}function fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dd(e){var t=fd();return function(){var n=q(e),i;if(t){var o=q(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ad(this,i)}}var yd=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(d){return c([a,d])}}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(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},pd=function(e){rd(r,e);var t=dd(r);function r(i){td(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Zf(ei(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 ie(q(r.prototype),"validate",s)};return ed(function(){return yd(this,function(d){switch(d.label){case 0:return[4,a().call(c,o)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return d.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=ie(q(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var d=a.toDataBindModel(s);if(Array.isArray(d)){var v=d.filter(function(h){return!!h});return ii(c).concat(ii(v))}return d&&c.push(d),c},u)},n.toSchema=function(){var o=ie(q(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return ri(ni({},o),{props:ri(ni({},this.props),{headers:u})})},r}($);pd.controlFieldType=y.LIST;function vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function ui(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hd(e,t){return t&&(_d(t)==="object"||typeof t=="function")?t:vd(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var _d=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ai(e){var t=bd();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 hd(this,i)}}var gd=function(e){ui(r,e);var t=ai(r);function r(n){oi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(Y),md=function(e){ui(r,e);var t=ai(r);function r(n){oi(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 Ir(n==null?void 0:n.autoWidth),i.dataBind=new Oe(n==null?void 0:n.dataBind);var c;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;var a;return i.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,i}return r}(M);md.Rules=gd,l.IS_HIDE,l.IS_HIDE;function Ed(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function Od(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}function wd(e,t){return t&&(Ad(t)==="object"||typeof t=="function")?t:Ed(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Ad=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rd(e){var t=Sd();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 wd(this,i)}}var Pd=function(e){Od(r,e);var t=Rd(r);function r(n){Id(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 d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1;var g;return i.optObj=new Vs((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),i}return r}(M);function Cd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Td(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dn(e,t)}function Dd(e,t){return t&&($d(t)==="object"||typeof t=="function")?t:Cd(e)}function dn(e,t){return dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},dn(e,t)}var $d=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nd(e){var t=Fd();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 Dd(this,i)}}var si=function(e){kd(r,e);var t=Nd(r);function r(n){Bd(this,r);var i;return i=t.call(this,n),i.props=new Pd(n==null?void 0:n.props),i}return Td(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);si.controlEventKeys=["on_click","on_click_finish"],si.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 yn;(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",e.ShowTitle="is_show_title"})(yn||(yn={}));var ci;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ci||(ci={}));var fi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(fi||(fi={}));var di;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(di||(di={}));var yi;(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"})(yi||(yi={}));function pi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var vi;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(vi||(vi={}));var hi;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(hi||(hi={}));var _i;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(_i||(_i={}));var bi;(function(e){e.ALL="all",e.ASSIGN="assign"})(bi||(bi={}));var gi;(function(e){e.ALL="all",e.ADMIN="admin"})(gi||(gi={})),l.IS_HIDE,y.AUTO_NUMBER,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(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&&pn(e,t)}function xd(e,t){return t&&(Md(t)==="object"||typeof t=="function")?t:Ld(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pn(e,t)}var Md=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ii(e){var t=jd();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 xd(this,i)}}var Hd=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(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:m.getMessage("pleaseEnterForm")}),i}return r}(Y),xe=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(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}(M);xe.Rules=Hd;function Ud(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qd(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function Wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zd(e,t){return t&&(Kd(t)==="object"||typeof t=="function")?t:Ud(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Kd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=Gd();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 zd(this,i)}}var hn=function(e){Wd(r,e);var t=Xd(r);function r(n){Vd(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return qd(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}($);hn.controlEventKeys=["on_click"],hn.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 Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zd(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ey(e,t){return t&&(ty(t)==="object"||typeof t=="function")?t:Qd(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var ty=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 ry(e){var t=ny();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 ey(this,i)}}var iy=function(e){Yd(r,e);var t=ry(r);function r(n){Jd(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return Zd(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(te),bn={Designer:hn,Runtime:iy,Property:xe};l.IS_HIDE;function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function mn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uy(e,t){return t&&(ay(t)==="object"||typeof t=="function")?t:oy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ly(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function In(e){var t=ly();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 uy(this,i)}}var sy=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:m.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:m.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:m.getMessage("stringRangeError")},{pattern:"",message:""}],i.maxLength.min=n.minLength,i.minLength.max=n.maxLength,i.defaultValue[0].max=n.maxLength,i.defaultValue[0].min=n.minLength,i.defaultValue[0].message=m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=pi(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Xt),cy=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:m.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:pi(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(Qt),On=function(e){mn(r,e);var t=In(r);function r(n){gn(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 Hs(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:Ve.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var d;i.encrypted=(d=n==null?void 0:n.encrypted)!==null&&d!==void 0?d:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(ne);On.Rules=sy,On.RuntimeRules=cy;function fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dy(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 yy(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function vy(e,t){return t&&(hy(t)==="object"||typeof t=="function")?t:fy(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function by(e){var t=_y();return function(){var n=Ue(e),i;if(t){var o=Ue(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return vy(this,i)}}var Ve=function(e){py(r,e);var t=by(r);function r(n){dy(this,r);var i;return i=t.call(this,n),i.props=new On(n==null?void 0:n.props),i}return yy(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(Zt);Ve.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ve.controlFieldType=y.VARCHAR,Ve.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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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 gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Sn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 my(e,t){return t&&(Ey(t)==="object"||typeof t=="function")?t:gy(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Ey=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pn(e){var t=Iy();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 my(this,i)}}var Oy=104857600,wy=1048576e3,Ay=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:wy,message:m.getMessage("attachmentMaxSize")},i}return r}(Xt),Sy=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i[0].type="array",i.push({type:"array",max:n.maxLimit,min:n.minLimit,message:m.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(Qt),We=function(e){Sn(r,e);var t=Pn(r);function r(n){An(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 d;i.maxSize=(d=n==null?void 0:n.maxSize)!==null&&d!==void 0?d:Oy;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ke.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}(ne);We.Rules=Ay,We.RuntimeRules=Sy;function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cy(e,t,r){return t&&Si(e.prototype,t),r&&Si(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Ty(e,t){return t&&(ky(t)==="object"||typeof t=="function")?t:Ry(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var ky=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $y(e){var t=Dy();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 Ty(this,i)}}var Ke=function(e){By(r,e);var t=$y(r);function r(n){Py(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Cy(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Zt);Ke.controlEventKeys=["on_change"],Ke.controlFieldType=y.FILE,Ke.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 Fy(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 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 Ly(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function xy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function My(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Fy(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var jy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uy(e){var t=Hy();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 My(this,i)}}var Vy=function(e){xy(r,e);var t=Uy(r);function r(n){Ny(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Ly(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(af);Vy.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.VIEW_FORM_MODEL_TYPE,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.DEFAULT_DISPLAY,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,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,f.GRID;function qy(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 Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tn(e,t)}function Ky(e,t){return t&&(Gy(t)==="object"||typeof t=="function")?t:qy(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var Gy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xy(){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 Qy(e){var t=Xy();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 Ky(this,i)}}var Jy=24,kn=function(e){zy(r,e);var t=Qy(r);function r(n){Wy(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:Jy;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(U);function Zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(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&&Dn(e,t)}function np(e,t){return t&&(rp(t)==="object"||typeof t=="function")?t:Zy(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ip(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function op(e){var t=ip();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 np(this,i)}}var $n=function(e){tp(r,e);var t=op(r);function r(n){Yy(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return ep(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(K);$n.excludes=[f.COL,f.CARD_GROUP,f.SUBTABLE,f.SUBTABLE_COLUMN,f.DIVIDER],$n.childrenMaxLength=1;function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(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 lp(e,t,r){return t&&Ci(e.prototype,t),r&&Ci(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function sp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cp(e,t){return t&&(fp(t)==="object"||typeof t=="function")?t:up(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var fp=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 yp(e){var t=dp();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 cp(this,i)}}var pp=function(e){sp(r,e);var t=yp(r);function r(n){ap(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return lp(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(he),Bi={Designer:$n,Runtime:pp,Property:kn};function vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(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&&Nn(e,t)}function bp(e,t){return t&&(gp(t)==="object"||typeof t=="function")?t:vp(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var gp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ep(e){var t=mp();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 bp(this,i)}}var Ln=function(e){_p(r,e);var t=Ep(r);function r(n){hp(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}(U);function Ip(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Op(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 wp(e,t,r){return t&&Ti(e.prototype,t),r&&Ti(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function Ap(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sp(e,t){return t&&(Rp(t)==="object"||typeof t=="function")?t:Ip(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cp(e){var t=Pp();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 Sp(this,i)}}var Mn=function(e){Ap(r,e);var t=Cp(r);function r(n){Op(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return wp(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(K);Mn.excludes=[f.ROW],Mn.setting=[{key:"col-setting",visible:!0}];function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(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 kp(e,t,r){return t&&ki(e.prototype,t),r&&ki(e,r),e}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function Dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jn(e,t)}function $p(e,t){return t&&(Fp(t)==="object"||typeof t=="function")?t:Bp(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var Fp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Np(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lp(e){var t=Np();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 $p(this,i)}}var xp=function(e){Dp(r,e);var t=Lp(r);function r(n){Tp(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return kp(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(he);function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(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 Hp(e,t,r){return t&&Di(e.prototype,t),r&&Di(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function Up(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hn(e,t)}function Vp(e,t){return t&&(qp(t)==="object"||typeof t=="function")?t:Mp(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var qp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=Wp();return function(){var n=tt(e),i;if(t){var o=tt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Vp(this,i)}}var Kp=4,nt=function(e){Up(r,e);var t=zp(r);function r(n){return jp(this,r),t.call(this,n)}return Hp(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}(Mn);nt.excludes=[f.GRID_ROW],nt.setting=[],nt.childrenMaxLength=Kp;function Gp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 Qp(e,t,r){return t&&$i(e.prototype,t),r&&$i(e,r),e}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Gp(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Un(e,t)}var Yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=ev();return function(){var n=rt(e),i;if(t){var o=rt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zp(this,i)}}var nv=function(e){Jp(r,e);var t=tv(r);function r(n){return Xp(this,r),t.call(this,n)}return Qp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(xp);function rv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function ov(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vn(e,t)}function uv(e,t){return t&&(av(t)==="object"||typeof t=="function")?t:rv(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vn(e,t)}var av=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sv(e){var t=lv();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 uv(this,i)}}var cv=function(e){ov(r,e);var t=sv(r);function r(n){return iv(this,r),t.call(this,n)}return r}(Ln),fv={Designer:nt,Runtime:nv,Property:cv};function dv(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 ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ot(e)}function pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(hv(t)==="object"||typeof t=="function")?t:dv(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var hv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _v(){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=_v();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 vv(this,i)}}U.Rules,l.CAPTION,l.IS_HIDE,f.CARD_GROUP;function gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fi(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 Ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mv(e,t){return t&&(Ev(t)==="object"||typeof t=="function")?t:gv(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(e,t)}var Ev=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Li(e){var t=Iv();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return mv(this,i)}}var Ov=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Y),at=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(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.fixed=(u=n==null?void 0:n.fixed)!==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;return i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,i.metaAutoWidth=new Cs(n==null?void 0:n.metaAutoWidth),i}return r}(U);at.Rules=Ov;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 lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zn(e,t)}function Rv(e,t){return t&&(Pv(t)==="object"||typeof t=="function")?t:wv(e)}function zn(e,t){return zn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zn(e,t)}var Pv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bv(e){var t=Cv();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rv(this,i)}}var G=function(e){Sv(r,e);var t=Bv(r);function r(n){Av(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[f.SUBTABLE,f.SUBTABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Tv(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 st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function Dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function $v(e,t){return t&&(Fv(t)==="object"||typeof t=="function")?t:Tv(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(e,t)}var Fv=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 Lv(e){var t=Nv();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 $v(this,i)}}var xi=function(e){Dv(r,e);var t=Lv(r);function r(n){kv(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(he);xi.controlType="subtable-column";var xv={Designer:G,Runtime:xi,Property:at};f.SUBTABLE,f.SUBTABLE_COLUMN,f.SUBTABLE_ROW,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.GRID_TABLE,f.GRID_TABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.GRID_LAYOUT_CONTAINER,f.CARD_GROUP,f.TAB,f.TAB,l.CAPTION,l.IS_HIDE,f.TAB,f.GRID_ROW,f.ROW,f.GRID,f.SUBTABLE,f.TAB,f.TOOLBOX;function Mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(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 Xn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function Mv(e,t){return t&&(jv(t)==="object"||typeof t=="function")?t:Mi(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var jv=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 Jn(e){var t=Hv();return function(){var n=ct(e),i;if(t){var o=ct(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Mv(this,i)}}var ft;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ft||(ft={}));var Uv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),Vv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ft.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),jc.call(Mi(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}(Y),_e=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;i=t.call(this,n),i.datasourceBind=new Z(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:ft.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new ks(n==null?void 0:n.sublistPage);var a;i.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,i.joinRelation=new Fs(n==null?void 0:n.joinRelation);var d;i.showType=(d=n==null?void 0:n.showType)!==null&&d!==void 0?d:"stretch";var v;i.showFullScreen=(v=n==null?void 0:n.showFullScreen)!==null&&v!==void 0?v:!1;var h;i.selectionType=(h=n==null?void 0:n.selectionType)!==null&&h!==void 0?h:"multiple";var g;i.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var E;i.isShowSelection=(E=n==null?void 0:n.isShowSelection)!==null&&E!==void 0?E:!1;var _;return i.isAllLoaded=(_=n==null?void 0:n.isAllLoaded)!==null&&_!==void 0?_:!0,i.countType=n==null?void 0:n.countType,i}return r}(U);_e.Rules=Vv,_e.RuntimeRules=Uv;function qv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zv(e,t,r){return t&&ji(e.prototype,t),r&&ji(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gv(e,t){return t&&(Xv(t)==="object"||typeof t=="function")?t:qv(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zn(e,t)}var Xv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jv(e){var t=Qv();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 Gv(this,i)}}var yt=function(e){Kv(r,e);var t=Jv(r);function r(n){Wv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return zv(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}(K);yt.excludes=[f.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-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];function Zv(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 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 eh(e,t,r){return t&&Hi(e.prototype,t),r&&Hi(e,r),e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function th(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}function nh(e,t){return t&&(rh(t)==="object"||typeof t=="function")?t:Zv(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yn(e,t)}var rh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ih(){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 oh(e){var t=ih();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 nh(this,i)}}var uh=function(e){th(r,e);var t=oh(r);function r(n){Yv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return eh(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(he),ah={Designer:yt,Runtime:uh,Property:_e};function lh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(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&&er(e,t)}function sh(e,t){return t&&(ch(t)==="object"||typeof t=="function")?t:lh(e)}function er(e,t){return er=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},er(e,t)}var ch=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fh(){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 qi(e){var t=fh();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return sh(this,i)}}var dh=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),ht=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;i=t.call(this,n);var o;i.save=new fe((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new fe((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new fe((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;i.print=new fe((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 fe(v)});var d;return i.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,i.datasourceBind=new Z(n==null?void 0:n.datasourceBind),i}return r}(U);ht.RuntimeRules=dh;function yh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ph(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 vh(e,t,r){return t&&Wi(e.prototype,t),r&&Wi(e,r),e}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_t(e)}function hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}function _h(e,t){return t&&(bh(t)==="object"||typeof t=="function")?t:yh(e)}function tr(e,t){return tr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tr(e,t)}var bh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gh(){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 mh(e){var t=gh();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 _h(this,i)}}var zi=function(e){hh(r,e);var t=mh(r);function r(n){ph(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return vh(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(K);zi.excludes=[];function Eh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ih(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ki(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 Oh(e,t,r){return t&&Ki(e.prototype,t),r&&Ki(e,r),e}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function wh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nr(e,t)}function Ah(e,t){return t&&(Sh(t)==="object"||typeof t=="function")?t:Eh(e)}function nr(e,t){return nr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nr(e,t)}var Sh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rh(){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 Ph(e){var t=Rh();return function(){var n=bt(e),i;if(t){var o=bt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ah(this,i)}}var Ch=function(e){wh(r,e);var t=Ph(r);function r(n){Ih(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return Oh(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(he),Bh={Designer:zi,Runtime:Ch,Property:ht};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.CAPTION,l.IS_HIDE;const Th=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Vh(t==null?void 0:t.events),Lh(n),xh(n);const i=Nh(n),o=Mh(i,t);let u=J(D(o,s=>Fh(s,t)));return r?u:u[0]},kh=[f.DIVIDER,f.TEXT,f.TITLE,f.LINK,f.BUTTON,"list-btn-export-list","list-btn-export-record"],Dh=["subtable","grid-table"],$h=["simple-search"];function Fh(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":kh.includes(r.type)?r.controlType="base":r.controlType="form",Dh.includes(r.type)&&(r.controlType="list"),$h.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(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 d=r.props.entry_type||r.props.entryType;r.props.openType=d==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((v,h)=>{const g=new xv.Designer;g.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const E=g.toSchema();E.id=v.header_id;const _=r.children[0].children[h].children[0];return _&&(E.children=[_]),E}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(d=>{d.label=k(d.text)?d.text.zh:d.text,d.id=d.id||d.opt_id||d.optId||d.data_id}),r=e),e.type==="grid-row"){const d=24/r.children.length;r.children=r.children.map(v=>{const h=new Bi.Designer;h.props.span=d;const g=h.toSchema();return g.children.push(v),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};d&&(Gi(r,t),h.result=d.props.data_bind,r.id=d.id,r.props=d.props,r.props.script_src=d.props.script_src,r.props.script_echo=d.props.script_echo,r.props.precision=d.props.precision,r.props.micrometer=d.props.is_show_money,r.props.showUpperCase=d.props.is_show_chn),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 d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};d&&(Gi(r,t),r.id=d.id,h.amount=d.props.data_bind,r.props.range_min=Q(d.props.range_min),r.props.range_max=Q(d.props.range_max),g.amount=Q(d.props.value),r.props.required=d.props.required,r.props.is_hide=d.props.is_hide,r.props.default_state=d.props.default_state,r.props.caption=k(d.props.caption)?d.props.caption.zh:d.props.caption,r.props.is_hide_caption=d.props.is_hide_caption,r.props.showUpperCase=d.props.is_show_chn),v&&(h.currency=v.props.data_bind,g.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(E=>({label:E.text,value:E.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};d&&(h.min=d.props.data_bind),v&&(h.max=v.props.data_bind),r.props.dataBind=h,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=k(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Q(e.props.range_min),r.props.range_max=Q(e.props.range_max),r.props.defaultValue=Q(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"),qh(r,t==null?void 0:t.control_events),r}function Gi(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 Nh(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Bh.Designer().toSchema();return n.children=e,[n]}function Lh(e){e.forEach(t=>{t.children&&Uh(t.children)})}function xh(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 g,E,_,I,p,b,P,O;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,s]=i;jh(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Hh(s,u);const c=(_=(E=n==null?void 0:n.source_config)==null?void 0:E.data_code)!=null?_:t==null?void 0:t.dataCode,a=((p=(I=n==null?void 0:n.source_config)==null?void 0:I.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,d=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new ah.Designer;v.props.datasourceBind=new Z({dataCode:c,svcCode:a,orders:hs(d)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(S=>{S.title=k(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function jh(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Hh(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Uh(e){var r;let t=null;for(let n=0;n<e.length;n++){const i=e[n];if(!!i){if(i.children&&((r=i.children[0])==null?void 0:r.type)==="group-panel"){t=i.children[0];continue}t&&(t.children.push(i),e.splice(n,1),n--)}}}function Vh(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 qh(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(i=>{!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),t[e.id][i].push(...e.props.events[i].map(o=>o.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Wh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>zh(o)));return r?i:i[0]};function zh(e,t){return e.type===f.LIST_VIEW&&e.children.find(n=>n.type===f.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Oe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Kh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Gh(o)));return r?i:i[0]};function Gh(e,t){return[f.BUTTON,f.CREATE_FORM_LIST_BUTTON,f.BATCH_SUBMISSION_LIST_BUTTON,f.SUBMISSION_RECORD_LIST_BUTTON,f.IMPORT_RECORD_LIST_BUTTON,f.EXPORT_RECORD_LIST_BUTTON,f.EXPORT_LIST_BUTTON,f.FORM_SELECT_BUTTON,f.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===f.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===f.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Xh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Qh(o)));return r?i:i[0]};function Qh(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 Jh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Yh(o)));return r?i:i[0]},Zh=[f.ROW,f.TAB,f.SUBTABLE,f.GRID_ROW,f.CARD_GROUP];function Yh(e,t){return e.type===f.TAB_PANE&&(e.children=e.children.map(r=>{if(Zh.includes(r.type))return r;const n=new fv.Designer,i=new Bi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const e_=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>t_(o)));return r?i:i[0]};function t_(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===f.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const n_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>r_(o));return r?i:i[0]};function r_(e,t){return e.type===f.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const i_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>o_(o));return r?i:i[0]};function W(e,t){e.field_code&&(e.field_type=t)}function o_(e,t){var n;const r={[f.TITLE]:y.AUTO_NUMBER,[f.ADDRESS]:y.ADDRESS,[f.ATTACHMENT]:y.FILE,[f.AUTO_NUMBER]:y.AUTO_NUMBER,[f.CHECKBOX]:y.ARRAY,[f.DATE_PICKER]:y.TIMESTAMP,[f.DEPARTMENT]:y.DEPARTMENTS,[f.EMPLOYEE]:y.EMPLOYEES,[f.EMPLOYEE2]:y.EMPLOYEES,[f.IMAGE]:y.IMAGE,[f.INPUT]:y.VARCHAR,[f.NUMBER]:y.DECIMAL,[f.RADIO]:y.VARCHAR,[f.RICH_TEXT]:y.TEXT,[f.SCORE]:y.DECIMAL,[f.SELECT]:y.VARCHAR,[f.SELECT_MULTIPLE]:y.ARRAY,[f.SELECT_RELATION]:y.VARCHAR,[f.TEXTAREA]:y.TEXT,[f.TREE]:y.ARRAY,[f.SEARCH_DATE_RANGE]:y.ARRAY,[f.SEARCH_INPUT]:y.VARCHAR,[f.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&W(e.props.data_bind,r[e.type]),e.type===f.AMOUNT&&(W(e.props.data_bind.amount,y.DECIMAL),W(e.props.data_bind.currency,y.VARCHAR)),e.type===f.CALC&&(W(e.props.data_bind.result,y.DECIMAL),W(e.props.data_bind.unit,y.VARCHAR)),e.type===f.DATE_RANGE&&(W(e.props.data_bind.min,y.TIMESTAMP),W(e.props.data_bind.max,y.TIMESTAMP)),e.type===f.VUE_FORM_ITEM&&W(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const u_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>a_(o));return r?i:i[0]};function a_(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===f.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const l_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>s_(o));return r?i:i[0]};function s_(e,t){return e.type===f.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 c_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>f_(o));return r?i:i[0]};function f_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const d_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>y_(o));return r?i:i[0]};function y_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const p_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>v_(o));return r?i:i[0]};function v_(e,t){return e.type===f.TITLE&&e.props.config.push(yn.ShowTitle),e.type===f.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,s,c,a,d,v,h,g,E,_,I,p,b,P,O,S,L,R,x;if(r.type===f.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((i=r.props)==null?void 0:i.check)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",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=(s=r.props)==null?void 0:s.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.check}if(((v=r.props)==null?void 0:v.edit)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(h=r.props)==null?void 0:h.edit.content,A.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,A.props.openType=(E=r.props)==null?void 0:E.edit.open_type,A.props.formKey=(_=r.props)==null?void 0:_.edit.form_key,(I=r.props)!=null&&I.edit.is_show&&r.children.push(A.toSchema()),(p=r.props)==null||delete p.edit}if(((b=r.props)==null?void 0:b.delete)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=r.props)==null?void 0:P.delete.content,A.props.priorityProcess=(O=r.props)==null?void 0:O.delete.priority_process,A.props.openType=(S=r.props)==null?void 0:S.delete.open_type,A.props.formKey=(L=r.props)==null?void 0:L.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(R=r.props)!=null&&R.delete.is_show&&r.children.push(A.toSchema()),(x=r.props)==null||delete x.delete}}}),[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Xi={"v1.0":Th,"v2.0":Wh,"v2.1":Kh,"v2.2":Xh,"v2.3":Jh,"v2.4":e_,"v2.5":n_,"v2.6":i_,"v2.7":u_,"v2.8":l_,"v2.9":c_,"v2.10":d_,"v3.0":p_,"v3.1":()=>{}};const Qi=(e,t)=>{const r=Ji(e),n=Ji(t),i=r.pop(),o=n.pop(),u=eo(r,n);return u!==0?u:i&&o?eo(i.split("."),o.split(".")):i||o?i?-1:1:0},gt=(e,t,r)=>{g_(r);const n=Qi(e,t);return to[r].includes(n)},h_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ji=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(h_);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Zi=e=>e==="*"||e==="x"||e==="X",Yi=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},__=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],b_=(e,t)=>{if(Zi(e)||Zi(t))return 0;const[r,n]=__(Yi(e),Yi(t));return r>n?1:r<n?-1:0},eo=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=b_(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},to={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},no=Object.keys(to),g_=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(no.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${no.join("|")}`)};function rr(e){return e.replace(/^v/,"")}const oe=Object.keys(Xi).map(e=>rr(e)).sort(Qi),be=oe[oe.length-1];class m_{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,gt(r,be,">")?pr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!oe.includes(rr(r))||!oe.includes(rr(t)))&&pr(`Version Builder: Please give me a valid version number, The valid version is: ${oe.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(gt(this.toVersion,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;Ee(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=Xi[o];let d=i;if(typeof a=="function"){const h=a(i,r);h&&(d=h)}return d},t);return Ee(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return oe.filter(t=>gt(t,this.schemaVersion,">=")&>(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return be}static get version(){return be}}X.VersionBuilder=m_,Object.defineProperty(X,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-upgrade",
|
|
3
|
-
"version": "2.7.0-alpha.
|
|
3
|
+
"version": "2.7.0-alpha.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.
|
|
30
|
-
"@byteluck-fe/model-driven-core": "2.7.0-alpha.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.2",
|
|
30
|
+
"@byteluck-fe/model-driven-core": "2.7.0-alpha.2",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.2",
|
|
32
32
|
"compare-versions": "6.0.0-rc.1",
|
|
33
33
|
"tslib": "^2.1.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "23607484dc1f65494b32a6c2e9fff86f0ce8dc54"
|
|
36
36
|
}
|