@byteluck-fe/model-driven-upgrade 2.7.0-alpha.2 → 2.7.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/VersionBuilder.js +40 -23
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
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",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})});
|
|
1
|
+
(function(Tn,Vr){typeof exports=="object"&&typeof module!="undefined"?Vr(exports):typeof define=="function"&&define.amd?define(["exports"],Vr):(Tn=typeof globalThis!="undefined"?globalThis:Tn||self,Vr(Tn.modelDrivenUpgrade={}))})(this,function(Tn){"use strict";var Vr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",RT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",$T="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ST="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ET="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",TT="{caption}\u5FC5\u586B",IT="\u8BF7\u8F93\u5165\u6807\u9898",BT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",CT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",AT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",NT="\u8BF7\u7ED1\u5B9A\u8868\u5355",kT="\u8BF7\u7ED1\u5B9A\u5217\u8868",DT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",FT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",LT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",MT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",VT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",HT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",UT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",WT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",KT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",GT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",XT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",QT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ZT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",YT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",eI="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",tI="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",nI="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rI="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",oI="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",iI="\u8BF7\u7ED1\u5B9A\u670D\u52A1",uI="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cI="\u8BF7\u9009\u62E9\u7701",lI="\u8BF7\u9009\u62E9\u5E02",aI="\u8BF7\u9009\u62E9\u533A",fI="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sI="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",yI="\u8BF7\u8F93\u5165\u5217\u5BBD",dI="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",pI="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",vI="\u8BF7\u9009\u62E9\u63A7\u4EF6",_I="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",hI="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",bI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",gI="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",mI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",OI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",PI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",RI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$I="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",SI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",EI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",TI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",II="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",BI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",CI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",AI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",NI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",DI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jI={isNotNumber:Vr,isNotString:RT,isNotObject:$T,isNotArray:ST,isNotBoolean:ET,runtimeRequired:TT,pleaseEnterCaption:IT,pleaseEnterCaptionTip:BT,pleaseEnterRowCaption:CT,pleaseEnterPlaceholder:AT,pleaseEnterFieldCode:xT,pleaseEnterForm:NT,pleaseEnterList:kT,pleaseEnterProcess:DT,pleaseEnterLabel:jT,pleaseEnterValue:FT,bizKeyNotBindFiled:LT,pleaseSelectOneField:MT,pleaseEnterNumberRange:VT,pleaseEnterAValueGreaterThanMin:zT,pleaseEnterAValueLessThanMax:HT,numberRangeSetError:qT,stringRangeError:UT,attachmentMaxSize:WT,pleaseEnterTotalScoreSetting:KT,theTotalScoreMustNotBeLessThan1:GT,scoreDefaultValueRange:XT,attachmentLimitError:QT,PleaseReselectTheOptionalQuantity:JT,TheMaximumLengthIsGreaterThanTheMinimumLength:ZT,TheMinimumLengthIsGreaterThanTheMaximumLength:YT,PleaseSelectTheCorrectOptionSettings:eI,optionIdIsRepeat:tI,optionIsRequired:nI,pleaseEnterDataCode:rI,pleaseEnterValueFieldCode:oI,pleaseEnterSvcCode:iI,pleaseBindAtLeastOneDisplayValue:uI,pleaseSelectProvince:cI,pleaseSelectCity:lI,pleaseSelectDistrict:aI,limitRowsCannotBeLessThan0:fI,TheNumberOfRowsCannotBeLessThanMinRows:sI,pleaseEnterColumnWidth:yI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:dI,pleaseCompleteAllRulesAndConditions:pI,pleaseSelectControl:vI,pleaseSelectAtLeastOneColumn:_I,pleaseSelectFillBackMode:hI,pleaseSelectDashboard:bI,rootNodeIsRequired:gI,theViewNameCannotBeEmpty:mI,pleaseSelectOcrType:OI,pleaseSelectAtLeastOneFieldToFillIn:wI,pleaseChooseAtLeastOne:PI,pleaseEnterButtonContent:RI,pleaseEnterDataCodeInDataSetting:$I,pleaseEnterValueFieldCodeInDataSetting:SI,pleaseEnterSvcCodeInDataSetting:EI,pleaseBindAtLeastOneDisplayValueInDataSetting:TI,rootNodeIsRequiredInDataSetting:II,pleaseEnterMaxHeight:BI,pleaseEnter:CI,pleaseEnterWatermark:AI,pleaseEnterFileName:xI,pleaseUploadAtLeastOnePrintTemplate:NI,pleaseAssignBusiness:kI,pleaseAssignExternal:DI},FI="Please enter a number",LI="Please enter a string",MI="Please enter an object",VI="Please enter an array",zI="Please enter a boolean",HI="{caption} Required",qI="Please enter the title",UI="Please enter the bubble prompt",WI="Please enter the row title",KI="Please enter the prompt text",GI="Please bind data items",XI="Please bind the form",QI="Please bind the list",JI="Please bind the process",ZI="Please enter the displayed value",YI="Please enter the stored value",eB="The document number is not bound to the data item",tB="Please select at least one display field",nB="Please enter a value greater than or equal to {min} and less than or equal to {max}",rB="Please enter a value greater than or equal to {min}",oB="Please enter a value less than or equal to {max}",iB="The value range is set incorrectly",uB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cB="The attachment size must be between 0MB and 1000MB",lB="Please fill in the total score setting",aB="The total score cannot be less than 1",fB="The default value must be between {min} and {max}",sB="The number of attachments uploaded must be between {min} and {max}",yB="Please re-select the optional quantity",dB="The maximum length of the control must be greater than the minimum length",pB="The minimum length of the control must be less than the maximum length",vB="Please select the correct option setting",_B="Option ID cannot be repeated",hB="Please enter at least one option",bB="Please bind the data source",gB="Please bind the stored value",mB="Please bind the service",OB="At least one display value must be bound",wB="Please select a province",PB="Please select a city",RB="Please select a district",$B="The minimum number of lines to fill in cannot be less than 0",SB="The number of rows cannot be less than {min} rows",EB="Please enter the column width",TB="Please set the logical relationship of all rule conditions",IB="Please complete all rules and conditions",BB="please select control",CB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",AB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",NB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",DB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",FB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",LB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",MB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",VB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",HB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",UB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",WB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",KB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",GB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",XB={isNotNumber:FI,isNotString:LI,isNotObject:MI,isNotArray:VI,isNotBoolean:zI,runtimeRequired:HI,pleaseEnterCaption:qI,pleaseEnterCaptionTip:UI,pleaseEnterRowCaption:WI,pleaseEnterPlaceholder:KI,pleaseEnterFieldCode:GI,pleaseEnterForm:XI,pleaseEnterList:QI,pleaseEnterProcess:JI,pleaseEnterLabel:ZI,pleaseEnterValue:YI,bizKeyNotBindFiled:eB,pleaseSelectOneField:tB,pleaseEnterNumberRange:nB,pleaseEnterAValueGreaterThanMin:rB,pleaseEnterAValueLessThanMax:oB,numberRangeSetError:iB,stringRangeError:uB,attachmentMaxSize:cB,pleaseEnterTotalScoreSetting:lB,theTotalScoreMustNotBeLessThan1:aB,scoreDefaultValueRange:fB,attachmentLimitError:sB,PleaseReselectTheOptionalQuantity:yB,TheMaximumLengthIsGreaterThanTheMinimumLength:dB,TheMinimumLengthIsGreaterThanTheMaximumLength:pB,PleaseSelectTheCorrectOptionSettings:vB,optionIdIsRepeat:_B,optionIsRequired:hB,pleaseEnterDataCode:bB,pleaseEnterValueFieldCode:gB,pleaseEnterSvcCode:mB,pleaseBindAtLeastOneDisplayValue:OB,pleaseSelectProvince:wB,pleaseSelectCity:PB,pleaseSelectDistrict:RB,limitRowsCannotBeLessThan0:$B,TheNumberOfRowsCannotBeLessThanMinRows:SB,pleaseEnterColumnWidth:EB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:TB,pleaseCompleteAllRulesAndConditions:IB,pleaseSelectControl:BB,pleaseSelectDashboard:CB,theViewNameCannotBeEmpty:AB,pleaseSelectOcrType:xB,pleaseSelectAtLeastOneFieldToFillIn:NB,pleaseChooseAtLeastOne:kB,pleaseEnterButtonContent:DB,pleaseEnterDataCodeInDataSetting:jB,pleaseEnterValueFieldCodeInDataSetting:FB,pleaseEnterSvcCodeInDataSetting:LB,pleaseBindAtLeastOneDisplayValueInDataSetting:MB,rootNodeIsRequiredInDataSetting:VB,pleaseEnterMaxHeight:zB,pleaseEnter:HB,pleaseEnterWatermark:qB,pleaseEnterFileName:UB,pleaseUploadAtLeastOnePrintTemplate:WB,pleaseAssignBusiness:KB,pleaseAssignExternal:GB},QB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="{caption}\u5FC5\u9808",nC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",dC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_C="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",bC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",OC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",PC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$C="\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",SC="\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",EC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",IC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",BC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",NC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",DC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",FC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",LC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",VC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",zC="please select control",HC="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qC="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",UC="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",WC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",KC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",GC="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",XC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",QC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",JC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ZC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",YC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",e1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",t1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",n1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",r1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",o1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",i1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",u1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",c1={isNotNumber:QB,isNotString:JB,isNotObject:ZB,isNotArray:YB,isNotBoolean:eC,runtimeRequired:tC,pleaseEnterCaption:nC,pleaseEnterCaptionTip:rC,pleaseEnterRowCaption:oC,pleaseEnterPlaceholder:iC,pleaseEnterFieldCode:uC,pleaseEnterForm:cC,pleaseEnterList:lC,pleaseEnterProcess:aC,pleaseEnterLabel:fC,pleaseEnterValue:sC,bizKeyNotBindFiled:yC,pleaseSelectOneField:dC,pleaseEnterNumberRange:pC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:_C,numberRangeSetError:hC,stringRangeError:bC,attachmentMaxSize:gC,pleaseEnterTotalScoreSetting:mC,theTotalScoreMustNotBeLessThan1:OC,scoreDefaultValueRange:wC,attachmentLimitError:PC,PleaseReselectTheOptionalQuantity:RC,TheMaximumLengthIsGreaterThanTheMinimumLength:$C,TheMinimumLengthIsGreaterThanTheMaximumLength:SC,PleaseSelectTheCorrectOptionSettings:EC,optionIdIsRepeat:TC,optionIsRequired:IC,pleaseEnterDataCode:BC,pleaseEnterValueFieldCode:CC,pleaseEnterSvcCode:AC,pleaseBindAtLeastOneDisplayValue:xC,pleaseSelectProvince:NC,pleaseSelectCity:kC,pleaseSelectDistrict:DC,limitRowsCannotBeLessThan0:jC,TheNumberOfRowsCannotBeLessThanMinRows:FC,pleaseEnterColumnWidth:LC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:MC,pleaseCompleteAllRulesAndConditions:VC,pleaseSelectControl:zC,pleaseSelectDashboard:HC,theViewNameCannotBeEmpty:qC,pleaseSelectOcrType:UC,pleaseSelectAtLeastOneFieldToFillIn:WC,pleaseChooseAtLeastOne:KC,pleaseEnterButtonContent:GC,pleaseEnterDataCodeInDataSetting:XC,pleaseEnterValueFieldCodeInDataSetting:QC,pleaseEnterSvcCodeInDataSetting:JC,pleaseBindAtLeastOneDisplayValueInDataSetting:ZC,rootNodeIsRequiredInDataSetting:YC,pleaseEnterMaxHeight:e1,pleaseEnter:t1,pleaseEnterWatermark:n1,pleaseEnterFileName:r1,pleaseUploadAtLeastOnePrintTemplate:o1,pleaseAssignBusiness:i1,pleaseAssignExternal:u1},l1={zhCN:jI,enUS:XB,jaJP:c1},Ag;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ag||(Ag={}));var xg;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(xg||(xg={}));var a1="zh-CN";function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var In;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(In||(In={}));var d;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.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"})(d||(d={}));var m;(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"})(m||(m={}));var ge;ge={},Ne(ge,m.ARRAY,d.ARRAY_COLUMN),Ne(ge,m.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),Ne(ge,m.DECIMAL,d.DECIMAL_COLUMN),Ne(ge,m.DEPARTMENTS,d.DEPARTMENT_COLUMN),Ne(ge,m.FILE,d.FILE_COLUMN),Ne(ge,m.IMAGE,d.IMAGE_COLUMN),Ne(ge,m.ADDRESS,d.LOCATION_COLUMN),Ne(ge,m.EMPLOYEES,d.EMPLOYEE_COLUMN),Ne(ge,m.TEXT,d.TEXT_COLUMN),Ne(ge,m.TIMESCOPE,d.TIMESCOPE_COLUMN),Ne(ge,m.TIMESTAMP,d.TIMESTAMP_COLUMN),Ne(ge,m.VARCHAR,d.VARCHAR_COLUMN),Ne(ge,m.RELATION,d.VARCHAR_COLUMN);var kt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(kt||(kt={}));var Ng="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",f1=Ng+"0123456789";function ht(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Ng:f1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Jf(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 s1(e){if(Array.isArray(e))return Jf(e)}function y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d1(){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 wo(e,t,r){return d1()?wo=Reflect.construct:wo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Hr(l,u.prototype),l},wo.apply(null,arguments)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function Dg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hr(e,t)}function p1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function v1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _1(){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 h1(e,t){return t&&(b1(t)==="object"||typeof t=="function")?t:y1(e)}function Hr(e,t){return Hr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hr(e,t)}function jg(e){return s1(e)||v1(e)||g1(e)||_1()}var b1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g1(e,t){if(!!e){if(typeof e=="string")return Jf(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 Jf(e,t)}}function Zf(e){var t=typeof Map=="function"?new Map:void 0;return Zf=function(n){if(n===null||!p1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return wo(n,arguments,zr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hr(o,n)},Zf(e)}function m1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fg(e){var t=m1();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h1(this,o)}}var Yf=console;function es(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(jg(o)))}function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Yf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(jg(o)))}function O1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ts=function(e){Dg(r,e);var t=Fg(r);function r(n){kg(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?O1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Zf(Error)),w1=function(e){Dg(r,e);var t=Fg(r);function r(n){kg(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ts);function qr(e){throw new ts(e)}function Lg(e){throw new w1(e)}function P1(e){Yf.error(new ts(e))}var R1=Object.prototype.toString;function Mg(e,t){return R1.call(e)==="[object "+t+"]"}function $1(e){return Mg(e,"String")}function S1(e){return Mg(e,"Promise")}var E1=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();S1(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var a=o[i];if(!(u===c.length-1&&!$1(a)))return a}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):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 T1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(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 I1(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function B1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=function(){function e(){T1(this,e)}return I1(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a1;return new E1({locale:r,messages:l1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();B1(_,"$i18n",_.resetI18n());function C1(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){es("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var A1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ns={exports:{}};(function(e){(function(t){var r=function(v,P,R){if(!l(P)||y(P)||p(P)||g(P)||a(P))return P;var $,E=0,F=0;if(f(P))for($=[],F=P.length;E<F;E++)$.push(r(v,P[E],R));else{$={};for(var C in P)Object.prototype.hasOwnProperty.call(P,C)&&($[v(C,R)]=r(v,P[C],R))}return $},n=function(v,P){P=P||{};var R=P.separator||"_",$=P.split||/(?=[A-Z])/;return v.split($).join(R)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(P,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var P=o(v);return P.substr(0,1).toUpperCase()+P.substr(1)},u=function(v,P){return n(v,P).toLowerCase()},c=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},f=function(v){return c.call(v)=="[object Array]"},y=function(v){return c.call(v)=="[object Date]"},p=function(v){return c.call(v)=="[object RegExp]"},g=function(v){return c.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},h=function(v,P){var R=P&&"process"in P?P.process:P;return typeof R!="function"?v:function($,E){return R($,v,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,P){return r(h(o,P),v)},decamelizeKeys:function(v,P){return r(h(u,P),v,P)},pascalizeKeys:function(v,P){return r(h(i,P),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(A1)})(ns);var zg={};Object.defineProperty(zg,"__esModule",{value:!0});function rs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rs(n)}return t}}var x1=zg.default=rs;function Dt(e){if(e!==void 0)return typeof e=="object"?x1(e):e}function me(e){return Hg(e)&&"zh"in e}function Hg(e){return Object.prototype.toString.call(e)==="[object Object]"}function os(e){return Array.isArray(e)}function Bn(e){return isNaN(parseFloat(e))?"":Number(e)}function N1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Re(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Re(n.children,t)),t(o)})),r}function k1(e){return ns.exports.camelizeKeys(e)}function Cn(e){return ns.exports.decamelizeKeys(e)}function is(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 D1(e){if(Array.isArray(e))return is(e)}function qg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function j1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){qg(i,n,o,u,c,"next",a)}function c(a){qg(i,n,o,u,c,"throw",a)}u(void 0)})}}function F1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(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 L1(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function Wg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V1(){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 us(e){return D1(e)||M1(e)||z1(e)||V1()}function z1(e,t){if(!!e){if(typeof e=="string")return is(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 is(e,t)}}var H1=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},q1=function(){function e(){F1(this,e),Wg(this,"_events",new Map),Wg(this,"debug",!1)}return L1(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return j1(function(){var c,a,l,f,y,p,g,O,h,w,v,P;return H1(this,function(R){switch(R.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,p=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),g=l[Symbol.iterator](),R.label=2;case 2:if(f=(O=g.next()).done)return[3,7];if(h=O.value,!c.includes(h))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(us(o))),[4,h.apply(null,us(o))];case 4:return w=R.sent(),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.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(us(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return v=R.sent(),P1(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return P=R.sent(),y=!0,p=P,[3,10];case 9:try{!f&&g.return!=null&&g.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function U1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kg(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 W1(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function K1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var G1=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],X1=function(){function e(){U1(this,e)}return W1(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();K1(X1,"events",G1);function Q1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(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 J1(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xg=[],cs=function(){function e(t){Q1(this,e),an(this,"registeredControlTypes",new Set),an(this,"controlConfigMap",new Map),an(this,"_controls",[]),an(this,"_type",void 0),this._type=t,this._initControls(t)}return J1(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||qr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(es("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===In.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===In.FORM}},{key:"isListControl",value:function(r){return r.controlType===In.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===In.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(l){return o.createControl(l,n)});r.children&&(r.children=r.children.map(function(l){return o.createControl(l,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(l){return o.createControl(l,n)}));var i=this.getControlFormType(r.type);if(i){var u=r;if(typeof n=="function"){var c=n(u);c&&(u=c)}var a=new i(u);return a}else qr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&qr("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(es("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();an(cs,"staticControls",Xg),an(cs,"staticRegisteredTypes",new Set(Xg.map(function(e){return e.Designer.controlType}))),an(cs,"staticRegisteredConfigs",new Map);function j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function Qg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Z1(e,t){return t&&(Y1(t)==="object"||typeof t=="function")?t:j(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var Y1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=eA();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z1(this,o)}}var Me=function e(t){S(this,e),b(this,"dataCode",void 0),b(this,"fieldCode",void 0),b(this,"fieldType",void 0),b(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},Jg=function e(t){S(this,e),b(this,"minWidth",void 0),b(this,"maxWidth",void 0),b(this,"flex",void 0);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},as=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),b(j(o),"width",void 0),b(j(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(Jg),tA=function e(t){S(this,e),b(this,"pc",void 0),b(this,"mobile",void 0),this.pc=new as(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new as(t==null?void 0:t.mobile):new as({width:130,minWidth:180})},nA=function e(t){S(this,e),b(this,"type",void 0),b(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},An=function e(t){S(this,e),b(this,"dataCode",void 0),b(this,"formKey",void 0),b(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},rA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),b(j(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(An),Zg=function e(t){S(this,e),b(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},fs=function e(t){S(this,e);var r;b(this,"appId",void 0),b(this,"formKey",void 0),b(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Zg(u)}))!==null&&i!==void 0?i:[]},oA=function e(t){S(this,e),b(this,"fieldName",void 0),b(this,"fieldCode",void 0),b(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},iA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),b(j(o),"title",void 0),b(j(o),"svcCode",void 0),b(j(o),"isOpenFilter",void 0),b(j(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(An),uA=function e(t){S(this,e);var r,n;b(this,"type","sublist-page"),b(this,"formBind",void 0),b(this,"displayFields",void 0),b(this,"sublists",void 0),this.formBind=new An(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new oA(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new iA(u)}))!==null&&i!==void 0?i:[]},cA=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ur=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),b(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Yg=function e(t){var r=this;S(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","conditions"),b(this,"level",void 0),b(this,"value",void 0),b(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ht();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,y=new ss(c);(f=r.children)===null||f===void 0||f.push(y)}}))},ss=function e(t){S(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","condition"),b(this,"symbol",void 0),b(this,"checked",void 0),b(this,"describe",void 0),b(this,"leftVariableBo",void 0),b(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ht();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new cA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ur(t==null?void 0:t.rightVariableBo)},lA=function e(t){S(this,e),b(this,"aliasCode",void 0),b(this,"datasourceBind",void 0),b(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Q(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},$e=function e(t){S(this,e),b(this,"controlId",void 0),b(this,"fieldCode",void 0),b(this,"fieldType",void 0),b(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},ys=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),b(this,"fieldType",void 0);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},aA=function e(t){S(this,e),b(this,"columnName",void 0),b(this,"desc",void 0);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 ds(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Yg(c):new ss(c)}))!==null&&n!==void 0?n:[];var o;if(this.viewFilters=(o=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new Yg(c):new ss(c)}))!==null&&o!==void 0?o:[],Qg(this,Q)||Qg(this,vs)){var i,u;this.orders=(u=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(c){return new aA(c)}))!==null&&u!==void 0?u:[]}}var Q=function e(t){var r=this;S(this,e),b(this,"dataCode",void 0),b(this,"valueFieldCode",void 0),b(this,"displayBoList",void 0),b(this,"keywordMapping",void 0),b(this,"svcCode",void 0),b(this,"appId",void 0),b(this,"filters",void 0),b(this,"viewFilters",void 0),b(this,"isOpenViewFilters",void 0),b(this,"orders",void 0),b(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",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(f){var y;(y=r.displayBoList)===null||y===void 0||y.push(new ys(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",ds.call(this,t)},ps=function e(t){S(this,e),b(this,"dataCode",void 0),b(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},jt=function e(t){S(this,e),b(this,"code",void 0),b(this,"color",void 0),b(this,"command",void 0),b(this,"confirmMessage",void 0),b(this,"defaultState",void 0),b(this,"formKey",void 0),b(this,"icon",void 0),b(this,"needConfirm",void 0),b(this,"openType",void 0),b(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},em=function e(t){S(this,e);var r;b(this,"name",void 0),b(this,"key",void 0),b(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new ys(u)}))!==null&&i!==void 0?i:[]},$o=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),b(j(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new em(c)}))!==null&&u!==void 0?u:[],o}return r}(Q),fA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),b(j(o),"attributes",void 0),b(j(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new em(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(Q),tm=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),b(j(o),"rootNode",void 0),b(j(o),"filterCode",void 0),o.rootNode=new Ur(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}($o),nm=function e(t){S(this,e);var r;b(this,"dataCode",void 0),b(this,"appId",void 0),b(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new $e(u)}))!==null&&i!==void 0?i:[]},vs=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this,n),b(j(o),"filters",void 0),b(j(o),"viewFilters",void 0),b(j(o),"orders",void 0),ds.call(j(o),n),o}return r}(nm),rm=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),b(j(o),"mode",void 0),b(j(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(nm),om=function e(t){S(this,e),b(this,"stencilName",void 0),b(this,"expression",void 0),b(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},sA=function e(t){S(this,e),b(this,"id",void 0),b(this,"label",void 0),b(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ht(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function bt(e){var t;return(t=e==null?void 0:e.map(function(r){return new sA(r)}))!==null&&t!==void 0?t:[]}var _s=function e(){S(this,e)},yA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),b(j(o),"amount",void 0),b(j(o),"currency",void 0),o.amount=new Me(n==null?void 0:n.amount),o.currency=new Me(n==null?void 0:n.currency),o}return r}(_s),dA=function e(t){S(this,e),b(this,"amount",void 0),b(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:So.CNY},pA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),b(j(o),"min",void 0),b(j(o),"max",void 0),o.min=new Me(n==null?void 0:n.min),o.max=new Me(n==null?void 0:n.max),o}return r}(_s),vA=function e(t){S(this,e),b(this,"min",void 0),b(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},_A=function e(t){S(this,e),b(this,"city",void 0),b(this,"cityDisplay",void 0),b(this,"district",void 0),b(this,"districtDisplay",void 0),b(this,"province",void 0),b(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},hA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),b(j(o),"result",void 0),b(j(o),"unit",void 0),o.result=new Me(n==null?void 0:n.result),o.unit=new Me(n==null?void 0:n.unit),o}return r}(_s),bA=function e(t){S(this,e),b(this,"result",void 0),b(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},So;(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"})(So||(So={}));var s;(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"})(s||(s={}));var hs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(hs||(hs={}));var Ft=function e(t){S(this,e),b(this,"isShow",void 0),b(this,"priorityProcess",void 0),b(this,"formKey",void 0),b(this,"content",void 0),b(this,"openType",void 0),b(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},gA=function e(t){S(this,e);var r;b(this,"id",void 0),b(this,"title",void 0),b(this,"filters",void 0),b(this,"viewFilters",void 0),b(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ht(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Zg(u)}))!==null&&i!==void 0?i:[],ds.call(this,t)},mA=function e(t){S(this,e),b(this,"width",void 0),b(this,"height",void 0),b(this,"widthConfig",void 0),b(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},OA=function e(t){S(this,e),b(this,"optCode",void 0),b(this,"optType",void 0);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 wA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PA(){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 Eo(e,t,r){return PA()?Eo=Reflect.construct:Eo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Kr(l,u.prototype),l},Eo.apply(null,arguments)}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function RA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kr(e,t)}function $A(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function SA(e,t){return t&&(EA(t)==="object"||typeof t=="function")?t:wA(e)}function Kr(e,t){return Kr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kr(e,t)}var EA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gs(e){var t=typeof Map=="function"?new Map:void 0;return gs=function(n){if(n===null||!$A(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Eo(n,arguments,Wr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Kr(o,n)},gs(e)}function TA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=TA();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SA(this,o)}}var J=function e(t){bs(this,e),fn(this,"isHide",{type:"boolean"})},sn=function(e){RA(r,e);var t=IA(r);function r(n){return bs(this,r),t.call(this)}return r}(gs(Array)),te=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";bs(this,e),fn(this,"isHide",void 0),fn(this,"className",void 0),fn(this,"style",void 0),fn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new mA(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};fn(te,"Rules",J),fn(te,"RuntimeRules",sn);function ut(){return ut=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},ut.apply(this,arguments)}function BA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function To(e,t){return To=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},To(e,t)}function CA(){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 Io(e,t,r){return CA()?Io=Reflect.construct:Io=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&To(l,u.prototype),l},Io.apply(null,arguments)}function AA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Os(e){var t=typeof Map=="function"?new Map:void 0;return Os=function(n){if(n===null||!AA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Io(n,arguments,ms(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),To(o,n)},Os(e)}var xA=/%[sdj%]/g,im=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(im=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ws(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 ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(xA,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return c}});return u}return o}function NA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Z(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||NA(t)&&typeof e=="string"&&!e)}function kA(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function um(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function DA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var cm=function(e){BA(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Os(Error));function jA(e,t,r,n){if(t.first){var o=new Promise(function(y,p){var g=function(w){return n(w),w.length?p(new cm(w,ws(w))):y()},O=DA(e);um(O,r,g)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,p){var g=function(h){if(l.push.apply(l,h),a++,a===c)return n(l),l.length?p(new cm(l,ws(l))):y()};u.length||(n(l),y()),u.forEach(function(O){var h=e[O];i.indexOf(O)!==-1?um(h,r,g):kA(h,r,g)})});return f.catch(function(y){return y}),f}function lm(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 am(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]=ut(ut({},e[r]),n):e[r]=n}}return e}function fm(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Z(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function FA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var Ps={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},Gr={integer:function(t){return Gr.number(t)&&parseInt(t,10)===t},float:function(t){return Gr.number(t)&&!Gr.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"&&!Gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ps.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ps.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ps.hex)}};function LA(e,t,r,n,o){if(e.required&&t===void 0){fm(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Gr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function MA(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",p=typeof t=="string",g=Array.isArray(t);if(y?f="number":p?f="string":g&&(f="array"),!f)return!1;g&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var xn="enum";function VA(e,t,r,n,o){e[xn]=Array.isArray(e[xn])?e[xn]:[],e[xn].indexOf(t)===-1&&n.push(ke(o.messages[xn],e.fullField,e[xn].join(", ")))}function zA(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var A={required:fm,whitespace:FA,type:LA,range:MA,enum:VA,pattern:zA};function HA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"string")&&!e.required)return r();A.required(e,t,n,i,o,"string"),Z(t,"string")||(A.type(e,t,n,i,o),A.range(e,t,n,i,o),A.pattern(e,t,n,i,o),e.whitespace===!0&&A.whitespace(e,t,n,i,o))}r(i)}function qA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}function UA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function WA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}function KA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),Z(t)||A.type(e,t,n,i,o)}r(i)}function GA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function XA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function QA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();A.required(e,t,n,i,o,"array"),t!=null&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function JA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}var ZA="enum";function YA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A[ZA](e,t,n,i,o)}r(i)}function e3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"string")&&!e.required)return r();A.required(e,t,n,i,o),Z(t,"string")||A.pattern(e,t,n,i,o)}r(i)}function t3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"date")&&!e.required)return r();if(A.required(e,t,n,i,o),!Z(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),A.type(e,c,n,i,o),c&&A.range(e,c.getTime(),n,i,o)}}r(i)}function n3(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;A.required(e,t,n,i,o,u),r(i)}function Rs(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Z(t,i)&&!e.required)return r();A.required(e,t,n,u,o,i),Z(t,i)||A.type(e,t,n,u,o)}r(u)}function r3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o)}r(i)}var Xr={string:HA,method:qA,number:UA,boolean:WA,regexp:KA,integer:GA,float:XA,array:QA,object:JA,enum:YA,pattern:e3,date:t3,url:Rs,hex:Rs,email:Rs,required:n3,any:r3};function $s(){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 Ss=$s();function Lt(e){this.rules=null,this._messages=Ss,this.define(e)}Lt.prototype={messages:function(t){return t&&(this._messages=am($s(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(h){var w,v=[],P={};function R($){if(Array.isArray($)){var E;v=(E=v).concat.apply(E,$)}else v.push($)}for(w=0;w<h.length;w++)R(h[w]);v.length?P=ws(v):(v=null,P=null),c(v,P)}if(u.messages){var l=this.messages();l===Ss&&(l=$s()),am(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,p={},g=u.keys||Object.keys(this.rules);g.forEach(function(h){f=o.rules[h],y=i[h],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(i===t&&(i=ut({},i)),y=i[h]=v.transform(y)),typeof v=="function"?v={validator:v}:v=ut({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(p[h]=p[h]||[],p[h].push({rule:v,value:y,source:i,field:h}))})});var O={};return jA(p,u,function(h,w){var v=h.rule,P=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");P=P&&(v.required||!v.required&&h.value),v.field=h.field;function R(F,C){return ut(ut({},C),{},{fullField:v.fullField+"."+F})}function $(F){F===void 0&&(F=[]);var C=F;if(Array.isArray(C)||(C=[C]),!u.suppressWarning&&C.length&&Lt.warning("async-validator:",C),C.length&&v.message!==void 0&&(C=[].concat(v.message)),C=C.map(lm(v)),u.first&&C.length)return O[v.field]=1,w(C);if(!P)w(C);else{if(v.required&&!h.value)return v.message!==void 0?C=[].concat(v.message).map(lm(v)):u.error&&(C=[u.error(v,ke(u.messages.required,v.field))]),w(C);var W={};if(v.defaultField)for(var T in h.value)h.value.hasOwnProperty(T)&&(W[T]=v.defaultField);W=ut(ut({},W),h.rule.fields);for(var vt in W)if(W.hasOwnProperty(vt)){var Oo=Array.isArray(W[vt])?W[vt]:[W[vt]];W[vt]=Oo.map(R.bind(null,vt))}var Mr=new Lt(W);Mr.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),Mr.validate(h.value,h.rule.options||u,function(En){var _t=[];C&&C.length&&_t.push.apply(_t,C),En&&En.length&&_t.push.apply(_t,En),w(_t.length?_t:null)})}}var E;v.asyncValidator?E=v.asyncValidator(v,h.value,$,h.source,u):v.validator&&(E=v.validator(v,h.value,$,h.source,u),E===!0?$():E===!1?$(v.message||v.field+" fails"):E instanceof Array?$(E):E instanceof Error&&$(E.message)),E&&E.then&&E.then(function(){return $()},function(F){return $(F)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Xr.hasOwnProperty(t.type))throw new Error(ke("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"?Xr.required:Xr[this.getType(t)]||!1}},Lt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Xr[t]=r},Lt.warning=im,Lt.messages=Ss,Lt.validators=Xr;var o3={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 i3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Lt(e);return r.messages(Object.assign(o3,t)),r}var u3=new q1;function Es(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 c3(e){if(Array.isArray(e))return e}function l3(e){if(Array.isArray(e))return Es(e)}function sm(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function ym(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){sm(i,n,o,u,c,"next",a)}function c(a){sm(i,n,o,u,c,"throw",a)}u(void 0)})}}function a3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(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 f3(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pm(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s3(){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 y3(){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 _m(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){L(e,o,r[o])})}return e}function d3(e){return c3(e)||vm(e)||hm(e)||s3()}function Ts(e){return l3(e)||vm(e)||hm(e)||y3()}function hm(e,t){if(!!e){if(typeof e=="string")return Es(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 Es(e,t)}}var bm=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},M=function(){function t(r){var n=this;a3(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",mm),L(this,"removeSetting",gm),this._callControlHooks("preInstance",r);var o=pm(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,y=o.name,p=o.setting;i&&u&&c||Lg("The ".concat(y," controlName,controlIcon,controlType is not define"));var g;this.id=(g=r==null?void 0:r.id)!==null&&g!==void 0?g:ht(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new te(r==null?void 0:r.props,(pm(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=r==null?void 0:r.controlType)!==null&&h!==void 0?h:"base",this.setting=Dt(p);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=Dt(l),this.customEvents=Dt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return f3(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=d3(o),a=c[0],l=c.slice(1);return(u=u3).emit.apply(u,[a,this].concat(Ts(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),C1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return ym(function(){var o,i,u;return bm(this,function(c){switch(c.label){case 0:return o=_m({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return ym(function(){var u,c,a,l;return bm(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:_m({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=i3(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,p=c.required,g=c.maxLength,O=c.options,h=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(a&&(v.dataBind=a),f){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=O;break}return p!==void 0&&(v.required=p),g!==void 0&&(v.maxLength=g),h!==void 0&&(v.encrypted=h),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Dt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ts(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(M,"controlName","\u63A7\u4EF6"),L(M,"controlIcon","icon"),L(M,"controlType","control"),L(M,"controlFieldType",void 0),L(M,"controlEventKeys",[]),L(M,"controlCustomEvents",[]),L(M,"setting",[]),L(M,"__is_control__",!0),L(M,"removeSettingItem",gm),L(M,"updateSettingItem",mm);function gm(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function mm(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Ts(t.showItems))}}}})}function p3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(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 v3(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Mt=function(){function t(r){p3(this,t),Ve(this,"id",void 0),Ve(this,"type",void 0),Ve(this,"controlType",void 0),Ve(this,"props",void 0),Ve(this,"fieldType",void 0),Ve(this,"customEvents",[]),Ve(this,"pageStatus",void 0),Ve(this,"parent",null);var n=_3(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||Lg("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ht(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new te(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:hs.UNKNOWN}return v3(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ve(Mt,"controlType","control"),Ve(Mt,"controlFieldType",void 0),Ve(Mt,"__is_control__",!0),Ve(Mt,"controlCustomEvents",[]);function Is(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:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:_.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:_.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=N1(i);i.length!==u.length?o(_.getMessage("optionIdIsRepeat")):o()},message:_.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:_.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}])}function Bo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:_.getMessage("isNotString")},key:{type:"string",required:!0,message:_.getMessage("isNotString")},value:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}]}function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Co(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function xo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function h3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function b3(e,t){return t&&(g3(t)==="object"||typeof t=="function")?t:V(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var g3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function No(e){var t=m3();return function(){var n=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b3(this,o)}}var de=function(e){xo(r,e);var t=No(r);function r(n){Co(this,r);var o;o=t.call(this,n),z(V(o),"dataBind",{}),z(V(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),z(V(o),"isHideCaption",{type:"boolean"}),z(V(o),"labelPosition",{type:"enum",enum:["top","left"]}),z(V(o),"defaultState",{type:"enum",enum:["default","readonly"]}),z(V(o),"required",{type:"boolean"}),z(V(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}};if(h3(n.dataBind,Me))o.dataBind={type:"object",required:!0,fields:Dt(i),message:_.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:_.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Dt(i),message:_.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),H=function(e){xo(r,e);var t=No(r);function r(n){Co(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:_.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(sn),N=function(e){xo(r,e);var t=No(r);function r(n){Co(this,r);var o;o=t.call(this,n),z(V(o),"caption",void 0),z(V(o),"isHideCaption",void 0),z(V(o),"isShowCaptionTip",void 0),z(V(o),"captionTip",void 0),z(V(o),"labelPosition",void 0),z(V(o),"dataBind",void 0),z(V(o),"defaultValue",void 0),z(V(o),"placeholder",void 0),z(V(o),"defaultState",void 0),z(V(o),"required",void 0),z(V(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new Me(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(te);z(N,"Rules",de),z(N,"RuntimeRules",H);var Nn=function(e){xo(r,e);var t=No(r);function r(n){Co(this,r);var o;return o=t.call(this,n),z(V(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),z(V(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),z(V(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Is.call(V(o),n),o}return r}(de);function Cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(e)}function w3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function P3(e,t){return t&&(R3(t)==="object"||typeof t=="function")?t:Cs(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var R3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S3(e){var t=$3();return function(){var n=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P3(this,o)}}var k=function(e){w3(r,e);var t=S3(r);function r(n){O3(this,r);var o;return o=t.call(this,n),ko(Cs(o),"controlType","form"),ko(Cs(o),"props",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(M);ko(k,"controlEventKeys",["on_change","on_focus","on_blur"]),ko(k,"controlCustomAttributes",void 0);function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function T3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function I3(e,t){return t&&(B3(t)==="object"||typeof t=="function")?t:jo(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var B3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A3(e){var t=C3();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I3(this,o)}}var D=function(e){T3(r,e);var t=A3(r);function r(n){E3(this,r);var o;return o=t.call(this,n),xs(jo(o),"controlType","form"),xs(jo(o),"props",void 0),xs(jo(o),"value",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(Mt);function x3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function D3(e,t){return t&&(j3(t)==="object"||typeof t=="function")?t:x3(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var j3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L3(e){var t=F3();return function(){var n=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D3(this,o)}}var ne=function(e){k3(r,e);var t=L3(r);function r(n){return N3(this,r),t.call(this,n)}return r}(te);function Ds(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 M3(e){if(Array.isArray(e))return Ds(e)}function V3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function z3(){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 wm(e){return M3(e)||V3(e)||H3(e)||z3()}function H3(e,t){if(!!e){if(typeof e=="string")return Ds(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 Ds(e,t)}}function q3(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Pm(e,t){e.parent=t,q3(e,"parent")}function U3(e,t){e.forEach(function(r){Pm(r,t)})}var Rm=Symbol("targetKey");function $m(e){var t;return(t=e[Rm])!==null&&t!==void 0?t:e}function Sm(e,t){return U3(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var a;return o===Rm?n:(a=Reflect).get.apply(a,[n,o].concat(wm(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),a=3;a<u;a++)c[a-3]=arguments[a];var l;if(os(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(wm(c)));return Hg(i)&&Pm(i,t),f}})}function Vt(e,t,r,n){var o=n!=null?n:e,i=Sm($m(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Sm($m(c),o)},enumerable:!0})}function js(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 W3(e){if(Array.isArray(e))return js(e)}function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Em(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function K3(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Em(i,n,o,u,c,"next",a)}function c(a){Em(i,n,o,u,c,"throw",a)}u(void 0)})}}function G3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(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 X3(e,t,r){return t&&Tm(e.prototype,t),r&&Tm(e,r),e}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kn=Reflect.get:kn=function(o,i,u){var c=ox(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},kn(e,t,r||e)}function Ht(e){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ht(e)}function Q3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function J3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Z3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y3(){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 ex(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){zt(e,o,r[o])})}return e}function tx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nx(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function rx(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:yn(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}function ox(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ht(e),e!==null););return e}function Im(e){return W3(e)||Z3(e)||ux(e)||Y3()}var ix=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ux(e,t){if(!!e){if(typeof e=="string")return js(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 js(e,t)}}function cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lx(e){var t=cx();return function(){var n=Ht(e),o;if(t){var i=Ht(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rx(this,o)}}var ax=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},fx=1e4,re=function(t){Q3(n,t);var r=lx(n);function n(o){G3(this,n);var i;i=r.call(this,o),zt(yn(i),"controlType","layout"),zt(yn(i),"children",void 0),zt(yn(i),"excludes",void 0),zt(yn(i),"childrenMaxLength",void 0),zt(yn(i),"props",void 0);var u=J3(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ne(o==null?void 0:o.props),Vt(yn(i),"children",o==null?void 0:o.children),i.excludes=Dt(c),i.childrenMaxLength=a,i}return X3(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return kn(Ht(n.prototype),"validate",c)};return K3(function(){return ax(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=kn(Ht(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var y=f.filter(function(p){return!!p});return Im(a).concat(Im(y))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=kn(Ht(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return nx(ex({},i),{children:u})}}]),n}(M);zt(re,"excludes",!1),zt(re,"childrenMaxLength",fx);function Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ls(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function yx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function dx(e,t){return t&&(px(t)==="object"||typeof t=="function")?t:Qr(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var px=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _x(e){var t=vx();return function(){var n=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dx(this,o)}}var dn=function(e){yx(r,e);var t=_x(r);function r(n){sx(this,r);var o;return o=t.call(this,n),Ls(Qr(o),"controlType","layout"),Ls(Qr(o),"children",void 0),Ls(Qr(o),"props",void 0),o.props=new ne(n==null?void 0:n.props),Vt(Qr(o),"children",n==null?void 0:n.children),o}return r}(Mt);function Vs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function mx(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:Vs(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var Ox=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Px(e){var t=wx();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mx(this,o)}}var Hs=function(e){gx(r,e);var t=Px(r);function r(n,o){hx(this,r);var i;return i=t.call(this,o),bx(Vs(i),"headers",void 0),Vt(Vs(i),"headers",o==null?void 0:o.headers,n),i}return r}(te);function qs(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 Rx(e){if(Array.isArray(e))return qs(e)}function zo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function $x(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Bm(i,n,o,u,c,"next",a)}function c(a){Bm(i,n,o,u,c,"throw",a)}u(void 0)})}}function Sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(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 Ex(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function Ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dn=Reflect.get:Dn=function(o,i,u){var c=xx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Dn(e,t,r||e)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qt(e)}function Tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function Ix(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bx(){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 Am(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ho(e,o,r[o])})}return e}function Cx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ax(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:zo(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function xx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qt(e),e!==null););return e}function Nm(e){return Rx(e)||Ix(e)||kx(e)||Bx()}var Nx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kx(e,t){if(!!e){if(typeof e=="string")return qs(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 qs(e,t)}}function Dx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jx(e){var t=Dx();return function(){var n=qt(e),o;if(t){var i=qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ax(this,o)}}var Fx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Ws=function(e){Tx(r,e);var t=jx(r);function r(n){Sx(this,r);var o;return o=t.call(this,n),Ho(zo(o),"controlType","list"),Ho(zo(o),"props",void 0),o.props=new Hs(zo(o),n==null?void 0:n.props),o}return Ex(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Dn(qt(r.prototype),"validate",u)};return $x(function(){return Fx(this,function(l){switch(l.label){case 0:return[4,a().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Dn(qt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return Nm(c).concat(Nm(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o=Dn(qt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return xm(Am({},o),{props:xm(Am({},this.props),{headers:i})})}}]),r}(M);Ho(Ws,"controlFieldType",m.LIST);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function Gs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function Lx(e,t){return t&&(Mx(t)==="object"||typeof t=="function")?t:ue(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var Mx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qs(e){var t=Vx();return function(){var n=qo(e),o;if(t){var i=qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lx(this,o)}}var gt=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o;return o=t.call(this,n),pe(ue(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),pe(ue(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(J),X=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o;o=t.call(this,n),pe(ue(o),"widthType",void 0),pe(ue(o),"width",void 0),pe(ue(o),"caption",void 0),pe(ue(o),"dataBind",void 0),pe(ue(o),"autoWidth",void 0),pe(ue(o),"fixed",void 0),pe(ue(o),"sort",void 0),pe(ue(o),"align",void 0),pe(ue(o),"colSpan",void 0),pe(ue(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new Jg(n==null?void 0:n.autoWidth),o.dataBind=new Me(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(te);pe(X,"Rules",gt);var km=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o;return o=t.call(this,n),pe(ue(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),pe(ue(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),pe(ue(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Is.call(ue(o),n),o}return r}(gt);function Js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function Hx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function qx(e,t){return t&&(Ux(t)==="object"||typeof t=="function")?t:Js(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var Ux=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kx(e){var t=Wx();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qx(this,o)}}var ce=function(e){Hx(r,e);var t=Kx(r);function r(n){zx(this,r);var o;return o=t.call(this,n),Dm(Js(o),"controlType","column"),Dm(Js(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(M);function Ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function Xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function Qx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:Ys(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var Jx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yx(e){var t=Zx();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qx(this,o)}}var le=function(e){Xx(r,e);var t=Yx(r);function r(n){Gx(this,r);var o;return o=t.call(this,n),jm(Ys(o),"controlType","column"),jm(Ys(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(Mt);function Fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function nN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function rN(e,t){return t&&(oN(t)==="object"||typeof t=="function")?t:Fm(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var oN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uN(e){var t=iN();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rN(this,o)}}var ny=function(e){nN(r,e);var t=uN(r);function r(n){eN(this,r);var o;return o=t.call(this,n),tN(Fm(o),"dataBind",void 0),o.dataBind=new Me(n==null?void 0:n.dataBind),o}return r}(ne);function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function lN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function aN(e,t){return t&&(fN(t)==="object"||typeof t=="function")?t:ry(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var fN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yN(e){var t=sN();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aN(this,o)}}var dN=function(e){lN(r,e);var t=yN(r);function r(n){cN(this,r);var o;return o=t.call(this,n),Lm(ry(o),"controlType","search"),Lm(ry(o),"props",void 0),o.props=new ny(n==null?void 0:n.props),o}return r}(re);function iy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function vN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function _N(e,t){return t&&(hN(t)==="object"||typeof t=="function")?t:iy(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var hN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gN(e){var t=bN();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _N(this,o)}}var mN=function(e){vN(r,e);var t=gN(r);function r(n){pN(this,r);var o;return o=t.call(this,n),Mm(iy(o),"controlType","search"),Mm(iy(o),"props",void 0),o.props=new ny(n==null?void 0:n.props),o}return r}(dn);function ON(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function PN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cy(e,t)}function RN(e,t){return t&&($N(t)==="object"||typeof t=="function")?t:ON(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var $N=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EN(e){var t=SN();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RN(this,o)}}var Vm=function(e){PN(r,e);var t=EN(r);function r(n){return wN(this,r),t.call(this,n)}return r}(ne);function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function IN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function BN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:ly(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var CN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xN(e){var t=AN();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BN(this,o)}}var NN=function(e){IN(r,e);var t=xN(r);function r(n){TN(this,r);var o;return o=t.call(this,n),zm(ly(o),"controlType","wrap"),zm(ly(o),"props",void 0),o.props=new Vm(n==null?void 0:n.props),o}return r}(re);function pn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}}}])}function jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function DN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function jN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:jn(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var FN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MN(e){var t=LN();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jN(this,o)}}var VN=function(e){DN(r,e);var t=MN(r);function r(n){kN(this,r);var o;o=t.call(this,n),Jr(jn(o),"content",void 0),Jr(jn(o),"fontSize",void 0),Jr(jn(o),"color",void 0),Jr(jn(o),"icon",void 0),Jr(jn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(te);function Hm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qm(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 HN(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function qN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function UN(e,t){return t&&(WN(t)==="object"||typeof t=="function")?t:Hm(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var WN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GN(e){var t=KN();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UN(this,o)}}var XN=function(e){qN(r,e);var t=GN(r);function r(n){zN(this,r);var o;return o=t.call(this,n),Um(Hm(o),"props",void 0),o.props=new VN(n==null?void 0:n.props),o}return HN(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(M);Um(XN,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function JN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:ei(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var YN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t2(e){var t=e2();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZN(this,o)}}var n2=function(e){JN(r,e);var t=t2(r);function r(n){QN(this,r);var o;o=t.call(this,n),yy(ei(o),"content",void 0),yy(ei(o),"url",void 0),yy(ei(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(te);function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(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 o2(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:Wm(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var c2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a2(e){var t=l2();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u2(this,o)}}var Gm=function(e){i2(r,e);var t=a2(r);function r(n){r2(this,r);var o;return o=t.call(this,n),py(Wm(o),"props",void 0),o.props=new n2(n==null?void 0:n.props),o}return o2(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(M);py(Gm,"controlEventKeys",["on_click"]),py(Gm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function s2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function y2(e,t){return t&&(d2(t)==="object"||typeof t=="function")?t:ct(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var d2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v2(e){var t=p2();return function(){var n=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y2(this,o)}}var De=function(e){s2(r,e);var t=v2(r);function r(n){f2(this,r);var o;o=t.call(this,n),mt(ct(o),"content",void 0),mt(ct(o),"buttonType",void 0),mt(ct(o),"showType",void 0),mt(ct(o),"color",void 0),mt(ct(o),"icon",void 0),mt(ct(o),"defaultState",void 0),mt(ct(o),"command",void 0),mt(ct(o),"isLoading",void 0),mt(ct(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var g;return o.optObj=new OA((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),o}return r}(te);function Xm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(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 h2(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function b2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function g2(e,t){return t&&(m2(t)==="object"||typeof t=="function")?t:Xm(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var m2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w2(e){var t=O2();return function(){var n=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g2(this,o)}}var Se=function(e){b2(r,e);var t=w2(r);function r(n){_2(this,r);var o;return o=t.call(this,n),hy(Xm(o),"props",void 0),o.props=new De(n==null?void 0:n.props),o}return h2(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(M);hy(Se,"controlEventKeys",["on_click","on_click_finish"]),hy(Se,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ot;(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"})(Ot||(Ot={}));var gy;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(gy||(gy={}));var my;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(my||(my={}));var Oy=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:gy.UN_SELECT_ABLE_INTERVAL,dateLimitType:my.FILE_IN_TIME,id:ht(8),value:["",""]};Ut(this,e),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},wy;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(wy||(wy={}));var Py=function e(t){Ut(this,e),I(this,"id",void 0),I(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ht();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},Ry;(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"})(Ry||(Ry={}));var Jm=function e(t){Ut(this,e),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Ur((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Ur((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Ur((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},P2=function e(t){Ut(this,e);var r;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Jm(a)}))!==null&&o!==void 0?o:[new Jm];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Zm=function e(t){Ut(this,e),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ht(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Ym=function e(t){Ut(this,e),I(this,"active",void 0),I(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},R2=function e(t){Ut(this,e),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Ym(t==null?void 0:t.watermark),this.autoRename=new Ym(t==null?void 0:t.autoRename)},$2=480;function ii(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var S2=function e(t){Ut(this,e),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},e0;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(e0||(e0={}));var $y;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})($y||($y={}));var ui;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ui||(ui={}));var Wt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Wt||(Wt={}));var Sy;(function(e){e.ALL="all",e.ADMIN="admin"})(Sy||(Sy={}));function Ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function T2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function I2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:Ey(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var B2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A2(e){var t=C2();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I2(this,o)}}var x2=function(e){T2(r,e);var t=A2(r);function r(n){E2(this,r);var o;o=t.call(this,n),t0(Ey(o),"color",void 0),t0(Ey(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:Ry.SOLID,o}return r}(te);function n0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r0(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 k2(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function o0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function D2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function j2(e,t){return t&&(F2(t)==="object"||typeof t=="function")?t:n0(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var F2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M2(e){var t=L2();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j2(this,o)}}var V2=function(e){D2(r,e);var t=M2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),o0(n0(o),"props",void 0),o.props=new x2(n==null?void 0:n.props),o}return k2(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(M);o0(V2,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function u0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function z2(e,t){return t&&(H2(t)==="object"||typeof t=="function")?t:Kt(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var H2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c0(e){var t=q2();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z2(this,o)}}var U2=function(e){u0(r,e);var t=c0(r);function r(n){i0(this,r);var o;return o=t.call(this,n),Gt(Kt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Gt(Kt(o),"dataBind",{type:"any"}),Gt(Kt(o),"config",{type:"array"}),n.config.includes(Ot.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")}},message:_.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:_.getMessage("pleaseSelectOneField")}),o}return r}(J),l0=function(e){u0(r,e);var t=c0(r);function r(n){i0(this,r);var o;o=t.call(this,n),Gt(Kt(o),"dataBind",void 0),Gt(Kt(o),"caption",void 0),Gt(Kt(o),"config",void 0),Gt(Kt(o),"position",void 0),o.dataBind=new Me(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[Ot.ShowSubmitUser,Ot.ShowSubmitDept,Ot.ShowSubmitTime,Ot.ShowCurrentApprovar,Ot.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Zr==null?void 0:Zr.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(te);Gt(l0,"Rules",U2);function a0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f0(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 K2(e,t,r){return t&&f0(e.prototype,t),r&&f0(e,r),e}function Cy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function G2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:a0(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z2(e){var t=J2();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X2(this,o)}}var Zr=function(e){G2(r,e);var t=Z2(r);function r(n){W2(this,r);var o;return o=t.call(this,n),Cy(a0(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return K2(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(M);Cy(Zr,"controlFieldType",m.AUTO_NUMBER),Cy(Zr,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function Y2(e,t){return t&&(ek(t)==="object"||typeof t=="function")?t:si(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var ek=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=tk();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y2(this,o)}}var nk=function(e){y0(r,e);var t=d0(r);function r(n){s0(this,r);var o;return o=t.call(this,n),yi(si(o),"formKey",{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(J),p0=function(e){y0(r,e);var t=d0(r);function r(n){s0(this,r);var o;o=t.call(this,n),yi(si(o),"formKey",void 0),yi(si(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(De);yi(p0,"Rules",nk);function v0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(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 ok(e,t,r){return t&&_0(e.prototype,t),r&&_0(e,r),e}function Ny(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function ik(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function uk(e,t){return t&&(ck(t)==="object"||typeof t=="function")?t:v0(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}var ck=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ak(e){var t=lk();return function(){var n=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uk(this,o)}}var vi=function(e){ik(r,e);var t=ak(r);function r(n){rk(this,r);var o;return o=t.call(this,n),Ny(v0(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return ok(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);Ny(vi,"controlEventKeys",["on_click","on_click_finish"]),Ny(vi,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function b0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function fk(e,t){return t&&(sk(t)==="object"||typeof t=="function")?t:Fn(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var sk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g0(e){var t=yk();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fk(this,o)}}var dk=function(e){b0(r,e);var t=g0(r);function r(n){h0(this,r);var o;return o=t.call(this,n),Ln(Fn(o),"processKey",[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterProcess")}]),o}return r}(J),m0=function(e){b0(r,e);var t=g0(r);function r(n){h0(this,r);var o;o=t.call(this,n),Ln(Fn(o),"processKey",void 0),Ln(Fn(o),"initiatorMode",void 0),Ln(Fn(o),"fieldCode",void 0),Ln(Fn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:bi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:bi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(De);Ln(m0,"Rules",dk);function O0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(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 vk(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function _k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function hk(e,t){return t&&(bk(t)==="object"||typeof t=="function")?t:O0(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var bk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mk(e){var t=gk();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hk(this,o)}}var bi=function(e){_k(r,e);var t=mk(r);function r(n){pk(this,r);var o;return o=t.call(this,n),jy(O0(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return vk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Se);jy(bi,"controlEventKeys",["on_click","on_click_finish"]),jy(bi,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Ok(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function Pk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function Rk(e,t){return t&&($k(t)==="object"||typeof t=="function")?t:Ok(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var $k=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ek(e){var t=Sk();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rk(this,o)}}var Tk=function(e){Pk(r,e);var t=Ek(r);function r(n){wk(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Oi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Oi.controlIcon,o}return r}(De);function P0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(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 Bk(e,t,r){return t&&R0(e.prototype,t),r&&R0(e,r),e}function My(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function Ck(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function Ak(e,t){return t&&(xk(t)==="object"||typeof t=="function")?t:P0(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var xk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kk(e){var t=Nk();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ak(this,o)}}var Oi=function(e){Ck(r,e);var t=kk(r);function r(n){Ik(this,r);var o;return o=t.call(this,n),My(P0(o),"props",void 0),o.props=new Tk(n==null?void 0:n.props),o}return Bk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Se);My(Oi,"controlEventKeys",["on_click"]),My(Oi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function $0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function Fk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function Lk(e,t){return t&&(Mk(t)==="object"||typeof t=="function")?t:$0(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}var Mk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zk(e){var t=Vk();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lk(this,o)}}var Hk=function(e){Fk(r,e);var t=zk(r);function r(n){Dk(this,r);var o,i;o=t.call(this,n),jk($0(o),"templateList",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ri.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ri.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Zm(l)}))!==null&&a!==void 0?a:[new Zm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(De);function S0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E0(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 Uk(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function Hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function Wk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function Kk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:S0(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var Gk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qk(e){var t=Xk();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kk(this,o)}}var Ri=function(e){Wk(r,e);var t=Qk(r);function r(n){qk(this,r);var o;return o=t.call(this,n),Hy(S0(o),"props",void 0),o.props=new Hk(n==null?void 0:n.props),o}return Uk(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Se);Hy(Ri,"controlEventKeys",["on_click","on_click_finish"]),Hy(Ri,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Jk(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var tD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rD(e){var t=nD();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function(e){Yk(r,e);var t=rD(r);function r(n){Zk(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ei.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ei.controlIcon,o}return r}(De);function T0(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 I0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uD(e,t,r){return t&&I0(e.prototype,t),r&&I0(e,r),e}function Wy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function cD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function lD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:T0(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var aD=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 sD(e){var t=fD();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lD(this,o)}}var Ei=function(e){cD(r,e);var t=sD(r);function r(n){iD(this,r);var o;return o=t.call(this,n),Wy(T0(o),"props",void 0),o.props=new oD(n==null?void 0:n.props),o}return uD(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Se);Wy(Ei,"controlEventKeys",["on_click"]),Wy(Ei,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function B0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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&&Gy(e,t)}function dD(e,t){return t&&(pD(t)==="object"||typeof t=="function")?t:B0(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var pD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _D(e){var t=vD();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dD(this,o)}}var hD=function e(t){C0(this,e),A0(this,"dataCode",void 0),this.dataCode=t.dataCode},bD=function(e){yD(r,e);var t=_D(r);function r(n){C0(this,r);var o,i;o=t.call(this,n),A0(B0(o),"canImportList",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Bi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Bi.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new hD(l)}))!==null&&a!==void 0?a:[],o}return r}(De);function x0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(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 mD(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function Xy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(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&&Qy(e,t)}function wD(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:x0(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var PD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $D(e){var t=RD();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wD(this,o)}}var Bi=function(e){OD(r,e);var t=$D(r);function r(n){gD(this,r);var o;return o=t.call(this,n),Xy(x0(o),"props",void 0),o.props=new bD(n==null?void 0:n.props),o}return mD(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Se);Xy(Bi,"controlEventKeys",["on_click","on_click_finish"]),Xy(Bi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}]);function Ci(){return{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}}}}}}function Xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function D0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function j0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){wt(e,o,r[o])})}return e}function SD(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:Xt(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var ED=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F0(e){var t=TD();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SD(this,o)}}var ID=function(e){D0(r,e);var t=F0(r);function r(n){k0(this,r);var o;return o=t.call(this,n),wt(Xt(o),"fillPayload",{type:"object",fields:j0({},Ci())}),wt(Xt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}}),wt(Xt(o),"fillBack",{type:"object",fields:j0({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},Ci())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return r}(J),L0=function(e){D0(r,e);var t=F0(r);function r(n){k0(this,r);var o;o=t.call(this,n),wt(Xt(o),"fillPayload",void 0),wt(Xt(o),"formBind",void 0),wt(Xt(o),"fillBack",void 0),wt(Xt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ni.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ni.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new vs(n==null?void 0:n.fillPayload),o.formBind=new rA(n==null?void 0:n.formBind),o.fillBack=new rm(n==null?void 0:n.fillBack),o}return r}(De);wt(L0,"Rules",ID);function M0(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 V0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CD(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function Zy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function AD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function xD(e,t){return t&&(ND(t)==="object"||typeof t=="function")?t:M0(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var ND=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kD();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xD(this,o)}}var Ni=function(e){AD(r,e);var t=DD(r);function r(n){BD(this,r);var o;return o=t.call(this,n),Zy(M0(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return CD(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Se);Zy(Ni,"controlEventKeys",["on_click","on_click_finish"]),Zy(Ni,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function H0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function q0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){lt(e,o,r[o])})}return e}function jD(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:Pt(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var FD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U0(e){var t=LD();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jD(this,o)}}var MD=function(e){H0(r,e);var t=U0(r);function r(n){z0(this,r);var o;return o=t.call(this,n),lt(Pt(o),"fillPayload",{type:"object",fields:q0({},Ci())}),lt(Pt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}),lt(Pt(o),"fillBack",{type:"object",fields:q0({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},Ci())}),o}return r}(J),W0=function(e){H0(r,e);var t=U0(r);function r(n){z0(this,r);var o;o=t.call(this,n),lt(Pt(o),"fillPayload",void 0),lt(Pt(o),"listPageBind",void 0),lt(Pt(o),"fillBack",void 0),lt(Pt(o),"showSelectedDetail",void 0),lt(Pt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ji.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ji.controlIcon,o.fillPayload=new vs(n==null?void 0:n.fillPayload),o.listPageBind=new fs(n==null?void 0:n.listPageBind),o.fillBack=new rm(n==null?void 0:n.fillBack);var c;return o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new ps(n==null?void 0:n.selectedContentConfig),o}return r}(De);lt(W0,"Rules",MD);function K0(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 G0(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&&G0(e.prototype,t),r&&G0(e,r),e}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function HD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function qD(e,t){return t&&(UD(t)==="object"||typeof t=="function")?t:K0(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var UD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KD(e){var t=WD();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qD(this,o)}}var ji=function(e){HD(r,e);var t=KD(r);function r(n){VD(this,r);var o;return o=t.call(this,n),td(K0(o),"props",void 0),o.props=new W0(n==null?void 0:n.props),o}return zD(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Se);td(ji,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),td(ji,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function GD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(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&&id(e,t)}function XD(e,t){return t&&(QD(t)==="object"||typeof t=="function")?t:GD(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var QD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ud(e){var t=JD();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XD(this,o)}}var ZD=function(e){od(r,e);var t=ud(r);function r(n){return rd(this,r),t.call(this,n)}return r}(J),YD=function(e){od(r,e);var t=ud(r);function r(n){return rd(this,r),t.call(this,n)}return r}(sn),cd=function(e){od(r,e);var t=ud(r);function r(n){return rd(this,r),t.call(this,n)}return r}(te);X0(cd,"Rules",ZD),X0(cd,"RuntimeRules",YD);function Q0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(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 tj(e,t,r){return t&&J0(e.prototype,t),r&&J0(e,r),e}function Z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function rj(e,t){return t&&(oj(t)==="object"||typeof t=="function")?t:Q0(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uj(e){var t=ij();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rj(this,o)}}var cj=function(e){nj(r,e);var t=uj(r);function r(n){ej(this,r);var o;return o=t.call(this,n),Z0(Q0(o),"props",void 0),o.props=new cd(n==null?void 0:n.props),o}return tj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(M);Z0(cj,"setting",[]);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function eO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function lj(e,t){return t&&(aj(t)==="object"||typeof t=="function")?t:ze(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var aj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tO(e){var t=fj();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lj(this,o)}}var sj=function(e){eO(r,e);var t=tO(r);function r(n){Y0(this,r);var o;return o=t.call(this,n),He(ze(o),"dashboardKey",{type:"string",required:!0,message:_.getMessage("pleaseSelectDashboard")}),He(ze(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),He(ze(o),"isHideCaption",{type:"boolean"}),He(ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),He(ze(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),nO=function(e){eO(r,e);var t=tO(r);function r(n){Y0(this,r);var o;o=t.call(this,n),He(ze(o),"dashboardKey",void 0),He(ze(o),"caption",void 0),He(ze(o),"isHideCaption",void 0),He(ze(o),"isShowCaptionTip",void 0),He(ze(o),"captionTip",void 0),He(ze(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(te);He(nO,"Rules",sj);function rO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oO(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 dj(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function iO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function vj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:rO(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var _j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bj(e){var t=hj();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vj(this,o)}}var gj=function(e){pj(r,e);var t=bj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),iO(rO(o),"props",void 0),o.props=new nO(n==null?void 0:n.props),o}return dj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(M);iO(gj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:Yr(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var Oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lO(e){var t=wj();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mj(this,o)}}var Pj=function(e){cO(r,e);var t=lO(r);function r(n){uO(this,r);var o;return o=t.call(this,n),eo(Yr(o),"showType",{type:"enum",enum:["select","tabs"]}),eo(Yr(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:_.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(J),aO=function(e){cO(r,e);var t=lO(r);function r(n){uO(this,r);var o,i;o=t.call(this,n),eo(Yr(o),"showType",void 0),eo(Yr(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new gA(a)}))!==null&&c!==void 0?c:[],o}return r}(te);eo(aO,"Rules",Pj);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(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 $j(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function yO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function Sj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:fO(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var Tj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Ij();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ej(this,o)}}var Cj=function(e){Sj(r,e);var t=Bj(r);function r(n){Rj(this,r);var o;return o=t.call(this,n),yO(fO(o),"props",void 0),o.props=new aO(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(M);yO(Cj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function Aj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:Ee(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var xj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vO(e){var t=Nj();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aj(this,o)}}var kj=function(e){pO(r,e);var t=vO(r);function r(n){dO(this,r);var o;return o=t.call(this,n),Te(Ee(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Te(Ee(o),"isHideCaption",{type:"boolean"}),Te(Ee(o),"labelPosition",{type:"enum",enum:["top","left"]}),Te(Ee(o),"ocrType",{type:"string",required:!0,message:_.getMessage("pleaseSelectOcrType")}),Te(Ee(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Te(Ee(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),_O=function(e){pO(r,e);var t=vO(r);function r(n){dO(this,r);var o,i;o=t.call(this,n),Te(Ee(o),"caption",void 0),Te(Ee(o),"isHideCaption",void 0),Te(Ee(o),"isShowCaptionTip",void 0),Te(Ee(o),"captionTip",void 0),Te(Ee(o),"labelPosition",void 0),Te(Ee(o),"ocrType",void 0),Te(Ee(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:to.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:to.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:to.controlIcon;var g;o.ocrType=(g=n==null?void 0:n.ocrType)!==null&&g!==void 0?g:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new $e(h)}))!==null&&O!==void 0?O:[],o}return r}(De);Te(_O,"Rules",kj);function hO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(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 jj(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function pd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function Fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function Lj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:hO(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var Mj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zj(e){var t=Vj();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lj(this,o)}}var to=function(e){Fj(r,e);var t=zj(r);function r(n){Dj(this,r);var o;return o=t.call(this,n),pd(hO(o),"props",void 0),o.props=new _O(n==null?void 0:n.props),o}return jj(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Se);pd(to,"controlEventKeys",["on_click","on_click_finish"]),pd(to,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function mO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:Ie(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=Uj();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var Wj=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"invoiceCheck",{type:"boolean"}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),wO=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"invoiceCheck",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:no.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:no.controlIcon;var g;o.invoiceCheck=(g=n==null?void 0:n.invoiceCheck)!==null&&g!==void 0?g:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new $e(h)}))!==null&&O!==void 0?O:[],o}return r}(De);Be(wO,"Rules",Wj);function PO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(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 Gj(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function hd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function Xj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:PO(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var Jj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yj(e){var t=Zj();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qj(this,o)}}var no=function(e){Xj(r,e);var t=Yj(r);function r(n){Kj(this,r);var o;return o=t.call(this,n),hd(PO(o),"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return Gj(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Se);hd(no,"controlEventKeys",["on_click","on_click_finish"]),hd(no,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function SO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:Gi(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var tF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EO(e){var t=nF();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eF(this,o)}}var rF=function(e){SO(r,e);var t=EO(r);function r(){$O(this,r);var n;return n=t.apply(this,arguments),Xi(Gi(n),"printTemplates",{type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(J),TO=function(e){SO(r,e);var t=EO(r);function r(n){$O(this,r);var o,i;o=t.call(this,n),Xi(Gi(o),"printTemplates",void 0),Xi(Gi(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Zi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Zi.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new S2(f)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(De);Xi(TO,"Rules",rF);function IO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(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 iF(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function md(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function uF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function cF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:IO(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var lF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fF(e){var t=aF();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cF(this,o)}}var Zi=function(e){uF(r,e);var t=fF(r);function r(n){oF(this,r);var o;return o=t.call(this,n),md(IO(o),"props",void 0),o.props=new TO(n==null?void 0:n.props),o}return iF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Se);md(Zi,"controlEventKeys",["on_click","on_click_finish"]),md(Zi,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function sF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function pF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:sF(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var vF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=_F();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pF(this,o)}}var bF=function(e){dF(r,e);var t=hF(r);function r(n){yF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:tu.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:tu.controlIcon,o}return r}(De);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(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 mF(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function Pd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function wF(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:CO(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var PF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $F(e){var t=RF();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wF(this,o)}}var tu=function(e){OF(r,e);var t=$F(r);function r(n){gF(this,r);var o;return o=t.call(this,n),Pd(CO(o),"props",void 0),o.props=new bF(n==null?void 0:n.props),o}return mF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Se);Pd(tu,"controlEventKeys",["on_click"]),Pd(tu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function NO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:Oe(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var EF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kO(e){var t=TF();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SF(this,o)}}var IF=function(e){NO(r,e);var t=kO(r);function r(n){xO(this,r);var o;return o=t.call(this,n),we(Oe(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(J),ru=function(e){NO(r,e);var t=kO(r);function r(n){xO(this,r);var o;o=t.call(this,n),we(Oe(o),"content",void 0),we(Oe(o),"code",void 0),we(Oe(o),"command",void 0),we(Oe(o),"color",void 0),we(Oe(o),"icon",void 0),we(Oe(o),"formKey",void 0),we(Oe(o),"openType",void 0),we(Oe(o),"needConfirm",void 0),we(Oe(o),"confirmMessage",void 0),we(Oe(o),"options",void 0),we(Oe(o),"defaultState",void 0),we(Oe(o),"priorityProcess",void 0),we(Oe(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(te);we(ru,"Rules",IF);function DO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(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 CF(e,t,r){return t&&jO(e.prototype,t),r&&jO(e,r),e}function Sd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&Ed(e,t)}function xF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:DO(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var NF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DF(e){var t=kF();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xF(this,o)}}var iu=function(e){AF(r,e);var t=DF(r);function r(n){BF(this,r);var o;return o=t.call(this,n),Sd(DO(o),"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return CF(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}(M);Sd(iu,"controlEventKeys",["on_click"]),Sd(iu,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function FO(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 LO(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 FF(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function LF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function MF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:FO(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=HF();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var UF=function(e){MF(r,e);var t=qF(r);function r(n){jF(this,r);var o;return o=t.call(this,n),LF(FO(o),"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return FF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Mt),Id={Designer:iu,Runtime:UF,Property:ru};function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&Bd(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:Rt(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var ZF=function(e){KF(r,e);var t=JF(r);function r(n){WF(this,r);var o;o=t.call(this,n),Qt(Rt(o),"content",void 0),Qt(Rt(o),"buttonType",void 0),Qt(Rt(o),"showType",void 0),Qt(Rt(o),"color",void 0),Qt(Rt(o),"icon",void 0),Qt(Rt(o),"defaultState",void 0),Qt(Rt(o),"command",void 0),Qt(Rt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:au.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:au.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var g;return o.isLoading=(g=n==null?void 0:n.isLoading)!==null&&g!==void 0?g:!1,o}return r}(te);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(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 eL(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function tL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function nL(e,t){return t&&(rL(t)==="object"||typeof t=="function")?t:MO(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var rL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iL(e){var t=oL();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nL(this,o)}}var au=function(e){tL(r,e);var t=iL(r);function r(n){YF(this,r);var o;return o=t.call(this,n),Cd(MO(o),"props",void 0),o.props=new ZF(n==null?void 0:n.props),o}return eL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(M);Cd(au,"controlEventKeys",["on_click"]),Cd(au,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function uL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:at(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var cL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=lL();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uL(this,o)}}var aL=function(e){Nd(r,e);var t=Dd(r);function r(n){xd(this,r);var o;return o=t.call(this,n),Ze(at(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ze(at(o),"minLength",{type:"number",max:200,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ze(at(o),"defaultValue",[{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),fL=function(e){Nd(r,e);var t=Dd(r);function r(n){xd(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:_.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),ro=function(e){Nd(r,e);var t=Dd(r);function r(n){xd(this,r);var o;o=t.call(this,n),Ze(at(o),"maxLength",void 0),Ze(at(o),"minLength",void 0),Ze(at(o),"regularRules",void 0),Ze(at(o),"defaultValue",void 0),Ze(at(o),"encrypted",void 0),Ze(at(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new om(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:oo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(N);Ze(ro,"Rules",aL),Ze(ro,"RuntimeRules",fL);function zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(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 yL(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function dL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function pL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:zO(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var vL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=_L();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pL(this,o)}}var oo=function(e){dL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),su(zO(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return yL(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}(k);su(oo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),su(oo,"controlFieldType",m.VARCHAR),su(oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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}]);function qO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(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 gL(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function WO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:qO(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var wL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RL(e){var t=PL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OL(this,o)}}var $L=function(e){mL(r,e);var t=RL(r);function r(n){bL(this,r);var o;return o=t.call(this,n),WO(qO(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return gL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);WO($L,"controlFieldType",m.VARCHAR);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function Md(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function SL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:ve(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}var EL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zd(e){var t=TL();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SL(this,o)}}var IL=function(e){Md(r,e);var t=zd(r);function r(n){Ld(this,r);var o;o=t.call(this,n),ae(ve(o),"limitMax",{type:"number",min:void 0,message:_.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Nn),BL=function(e){Md(r,e);var t=zd(r);function r(n){Ld(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(H),vu=function(e){Md(r,e);var t=zd(r);function r(n){Ld(this,r);var o;o=t.call(this,n),ae(ve(o),"checkboxMode",void 0),ae(ve(o),"options",void 0),ae(ve(o),"optionsOrder",void 0),ae(ve(o),"limitMax",void 0),ae(ve(o),"limitMin",void 0),ae(ve(o),"otherOption",void 0),ae(ve(o),"optionConfig",void 0),ae(ve(o),"optionsFormat",void 0),ae(ve(o),"defaultShowOptions",void 0),ae(ve(o),"datasourceBind",void 0),ae(ve(o),"multistageFilling",void 0),ae(ve(o),"interreaction",void 0),ae(ve(o),"defaultValue",void 0),ae(ve(o),"openMultistageFilling",void 0);var i;o.options=bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:bu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new $e(P))})),o}return r}(N);ae(vu,"Rules",IL),ae(vu,"RuntimeRules",BL);function KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GO(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 AL(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function _u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function NL(e,t){return t&&(kL(t)==="object"||typeof t=="function")?t:KO(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var kL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jL(e){var t=DL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NL(this,o)}}var bu=function(e){xL(r,e);var t=jL(r);function r(n){CL(this,r);var o;return o=t.call(this,n),_u(KO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return AL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);_u(bu,"controlEventKeys",["on_change","on_click"]),_u(bu,"controlFieldType",m.ARRAY),_u(bu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(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 LL(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function JO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function ML(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:XO(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qL(e){var t=HL();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VL(this,o)}}var UL=function(e){ML(r,e);var t=qL(r);function r(n){FL(this,r);var o;return o=t.call(this,n),JO(XO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return LL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);JO(UL,"controlFieldType",m.ARRAY);function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function YO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:je(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var KL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ew(e){var t=GL();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var XL=function(e){YO(r,e);var t=ew(r);function r(n){return ZO(this,r),t.call(this,n)}return r}(Nn),Wd=function(e){YO(r,e);var t=ew(r);function r(n){ZO(this,r);var o;o=t.call(this,n),Fe(je(o),"radioMode",void 0),Fe(je(o),"options",void 0),Fe(je(o),"optionConfig",void 0),Fe(je(o),"optionsFormat",void 0),Fe(je(o),"defaultShowOptions",void 0),Fe(je(o),"otherOption",void 0),Fe(je(o),"optionsOrder",void 0),Fe(je(o),"datasourceBind",void 0),Fe(je(o),"multistageFilling",void 0),Fe(je(o),"interreaction",void 0),Fe(je(o),"defaultValue",void 0),Fe(je(o),"openMultistageFilling",void 0);var i;o.options=bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Pu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new $e(w))})),o}return r}(N);Fe(Wd,"Rules",XL);function tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(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 JL(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function Ou(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function YL(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:tw(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var eM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nM(e){var t=tM();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YL(this,o)}}var Pu=function(e){ZL(r,e);var t=nM(r);function r(n){QL(this,r);var o;return o=t.call(this,n),Ou(tw(o),"props",void 0),o.props=new Wd(n==null?void 0:n.props),o}return JL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);Ou(Pu,"controlEventKeys",["on_change","on_click"]),Ou(Pu,"controlFieldType",m.VARCHAR),Ou(Pu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(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 oM(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function iw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function iM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function uM(e,t){return t&&(cM(t)==="object"||typeof t=="function")?t:rw(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var cM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aM(e){var t=lM();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uM(this,o)}}var fM=function(e){iM(r,e);var t=aM(r);function r(n){rM(this,r);var o;return o=t.call(this,n),iw(rw(o),"props",void 0),o.props=new Wd(n==null?void 0:n.props),o}return oM(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);iw(fM,"controlFieldType",m.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function Qd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function sM(e,t){return t&&(yM(t)==="object"||typeof t=="function")?t:Pe(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var yM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zd(e){var t=dM();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sM(this,o)}}var pM=function(e){Qd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;o=t.call(this,n),_e(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:_.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),_e(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),vM=function(e){Qd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),Su=function(e){Qd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;o=t.call(this,n),_e(Pe(o),"rangeMin",void 0),_e(Pe(o),"rangeMax",void 0),_e(Pe(o),"numberType",void 0),_e(Pe(o),"percentageFormat",void 0),_e(Pe(o),"micrometer",void 0),_e(Pe(o),"precision",void 0),_e(Pe(o),"showUpperCase",void 0),_e(Pe(o),"isShowUnit",void 0),_e(Pe(o),"unitPosition",void 0),_e(Pe(o),"unit",void 0),_e(Pe(o),"defaultValue",void 0),_e(Pe(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var g;o.unitPosition=(g=n==null?void 0:n.unitPosition)!==null&&g!==void 0?g:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Iu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new om(n==null?void 0:n.regularRules),o}return r}(N);_e(Su,"Rules",pM),_e(Su,"RuntimeRules",vM);function uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(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 hM(e,t,r){return t&&cw(e.prototype,t),r&&cw(e,r),e}function Eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tu=Reflect.get:Tu=function(o,i,u){var c=mM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Tu(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(e)}function bM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function gM(e,t){return t&&(OM(t)==="object"||typeof t=="function")?t:uw(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function mM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}var OM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PM(e){var t=wM();return function(){var n=Mn(e),o;if(t){var i=Mn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gM(this,o)}}var Iu=function(e){bM(r,e);var t=PM(r);function r(n){_M(this,r);var o;return o=t.call(this,n),Eu(uw(o),"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return hM(r,[{key:"toDataBindModel",value:function(o){var i=Tu(Mn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(k);Eu(Iu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Eu(Iu,"controlFieldType",m.DECIMAL),Eu(Iu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(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 $M(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function fw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function SM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function EM(e,t){return t&&(TM(t)==="object"||typeof t=="function")?t:lw(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var TM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=IM();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EM(this,o)}}var CM=function(e){SM(r,e);var t=BM(r);function r(n){RM(this,r);var o;return o=t.call(this,n),fw(lw(o),"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return $M(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);fw(CM,"controlFieldType",m.DECIMAL);function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function xM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function NM(e,t){return t&&(kM(t)==="object"||typeof t=="function")?t:$t(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var kM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jM(e){var t=DM();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NM(this,o)}}var sw=function(e){xM(r,e);var t=jM(r);function r(n){AM(this,r);var o,i;o=t.call(this,n),Jt($t(o),"dateType",void 0),Jt($t(o),"dateFormat",void 0),Jt($t(o),"commonTimeSetting",void 0),Jt($t(o),"setValueType",void 0),Jt($t(o),"defaultValue",void 0),Jt($t(o),"limitDateList",void 0),Jt($t(o),"allowDateRange",void 0),Jt($t(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:kt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:op.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var g;o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new Oy(w)}))!==null&&g!==void 0?g:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(N);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(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 LM(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function np(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(o,i,u){var c=zM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Au(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function VM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:yw(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function zM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var HM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UM(e){var t=qM();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VM(this,o)}}var op=function(e){MM(r,e);var t=UM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),np(yw(o),"props",void 0),o.props=new sw(n==null?void 0:n.props),o}return LM(r,[{key:"toDataBindModel",value:function(o){var i=Au(Vn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(k);np(op,"controlFieldType",m.TIMESTAMP),np(op,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(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 KM(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function _w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:pw(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var QM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=JM();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var YM=function(e){GM(r,e);var t=ZM(r);function r(n){WM(this,r);var o;return o=t.call(this,n),_w(pw(o),"props",void 0),o.props=new sw(n==null?void 0:n.props),o}return KM(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);_w(YM,"controlFieldType",m.TIMESTAMP);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function bw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:qe(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}var t5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=n5();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e5(this,o)}}var r5=function(e){bw(r,e);var t=gw(r);function r(n){hw(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(H),cp=function(e){bw(r,e);var t=gw(r);function r(n){hw(this,r);var o,i;o=t.call(this,n),Ue(qe(o),"dataBind",void 0),Ue(qe(o),"rangeMin",void 0),Ue(qe(o),"rangeMax",void 0),Ue(qe(o),"placeholderStart",void 0),Ue(qe(o),"placeholderEnd",void 0),Ue(qe(o),"dateFormat",void 0),Ue(qe(o),"commonTimeSetting",void 0),Ue(qe(o),"dateType",void 0),Ue(qe(o),"setValueType",void 0),Ue(qe(o),"defaultValue",void 0),Ue(qe(o),"limitDateList",void 0),o.dataBind=new pA(n==null?void 0:n.dataBind),o.defaultValue=new vA(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:kt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:fp.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new Oy(w)}))!==null&&h!==void 0?h:[],o}return r}(N);Ue(cp,"RuntimeRules",r5);function mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(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 i5(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function lp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ku=Reflect.get:ku=function(o,i,u){var c=l5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},ku(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function c5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:mw(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function l5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}var a5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s5(e){var t=f5();return function(){var n=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var fp=function(e){u5(r,e);var t=s5(r);function r(n){o5(this,r);var o;return o=t.call(this,n),lp(mw(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return i5(r,[{key:"toDataBindModel",value:function(o){var i=ku(zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(k);lp(fp,"controlFieldType",m.TIMESCOPE),lp(fp,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(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 d5(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function Rw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function v5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:ww(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var _5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v5(this,o)}}var g5=function(e){p5(r,e);var t=b5(r);function r(n){y5(this,r);var o;return o=t.call(this,n),Rw(ww(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return d5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);Rw(g5,"controlFieldType",m.TIMESCOPE);function Zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&pp(e,t)}function m5(e,t){return t&&(O5(t)==="object"||typeof t=="function")?t:Zt(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var O5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vp(e){var t=w5();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m5(this,o)}}var P5=function(e){dp(r,e);var t=vp(r);function r(n){yp(this,r);var o;return o=t.call(this,n),St(Zt(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),St(Zt(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),St(Zt(o),"defaultValue",{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),R5=function(e){dp(r,e);var t=vp(r);function r(n){yp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Fu=function(e){dp(r,e);var t=vp(r);function r(n){yp(this,r);var o;o=t.call(this,n),St(Zt(o),"maxLength",void 0),St(Zt(o),"minLength",void 0),St(Zt(o),"defaultValue",void 0),St(Zt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Vu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:4,o}return r}(N);St(Fu,"Rules",P5),St(Fu,"RuntimeRules",R5);function $w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(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 S5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Lu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function E5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function T5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:$w(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var I5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C5(e){var t=B5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T5(this,o)}}var Vu=function(e){E5(r,e);var t=C5(r);function r(n){$5(this,r);var o;return o=t.call(this,n),Lu($w(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return S5(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(k);Lu(Vu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Lu(Vu,"controlFieldType",m.TEXT),Lu(Vu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(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 x5(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function Iw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function k5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:Ew(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var D5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F5(e){var t=j5();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k5(this,o)}}var L5=function(e){N5(r,e);var t=F5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),Iw(Ew(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);Iw(L5,"controlFieldType",m.TEXT);function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function M5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:vn(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var V5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=z5();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var H5=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;return o=t.call(this,n),Yt(vn(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Yt(vn(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Yt(vn(o),"defaultValue",{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),q5=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),qu=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;o=t.call(this,n),Yt(vn(o),"maxLength",void 0),Yt(vn(o),"minLength",void 0),Yt(vn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ku.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(N);Yt(qu,"Rules",H5),Yt(qu,"RuntimeRules",q5);function Bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(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 W5(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Uu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function K5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function G5(e,t){return t&&(X5(t)==="object"||typeof t=="function")?t:Bw(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var X5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=Q5();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G5(this,o)}}var Ku=function(e){K5(r,e);var t=J5(r);function r(n){U5(this,r);var o;return o=t.call(this,n),Uu(Bw(o),"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return W5(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(k);Uu(Ku,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Uu(Ku,"controlFieldType",m.TEXT),Uu(Ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(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 Y5(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:Aw(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var n6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t6(this,o)}}var i6=function(e){e6(r,e);var t=o6(r);function r(n){Z5(this,r);var o;return o=t.call(this,n),Nw(Aw(o),"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);Nw(i6,"controlFieldType",m.TEXT);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function Dw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:We(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var c6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jw(e){var t=l6();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u6(this,o)}}var a6=function(e){Dw(r,e);var t=jw(r);function r(n){return kw(this,r),t.call(this,n)}return r}(Nn),$p=function(e){Dw(r,e);var t=jw(r);function r(n){kw(this,r);var o;o=t.call(this,n),Ke(We(o),"options",void 0),Ke(We(o),"defaultShowOptions",void 0),Ke(We(o),"optionConfig",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"datasourceBind",void 0),Ke(We(o),"multistageFilling",void 0),Ke(We(o),"allowCopyOptions",void 0),Ke(We(o),"openMultistageFilling",void 0),Ke(We(o),"viewFormModelType",void 0),Ke(We(o),"canViewForm",void 0),Ke(We(o),"formBind",void 0);var i;o.options=bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Tp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new $e(h))}));var g;o.canViewForm=(g=n==null?void 0:n.canViewForm)!==null&&g!==void 0?g:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ke($p,"Rules",a6);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(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 s6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function d6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:Fw(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var p6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _6(e){var t=v6();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var Tp=function(e){y6(r,e);var t=_6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),Sp(Fw(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return s6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(k);Sp(Tp,"controlFieldType",m.VARCHAR),Sp(Tp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(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 b6(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(e,r),e}function zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function m6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:Mw(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var O6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=w6();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m6(this,o)}}var R6=function(e){g6(r,e);var t=P6(r);function r(n){h6(this,r);var o;return o=t.call(this,n),zw(Mw(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);zw(R6,"controlFieldType",m.VARCHAR);function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function $6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:Ye(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var S6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xp(e){var t=E6();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $6(this,o)}}var T6=function(e){Cp(r,e);var t=xp(r);function r(n){return Bp(this,r),t.call(this,n)}return r}(Nn),I6=function(e){Cp(r,e);var t=xp(r);function r(n){Bp(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Yu=function(e){Cp(r,e);var t=xp(r);function r(n){Bp(this,r);var o;o=t.call(this,n),Ge(Ye(o),"options",void 0),Ge(Ye(o),"defaultShowOptions",void 0),Ge(Ye(o),"optionConfig",void 0),Ge(Ye(o),"defaultValue",void 0),Ge(Ye(o),"datasourceBind",void 0),Ge(Ye(o),"multistageFilling",void 0),Ge(Ye(o),"openMultistageFilling",void 0),Ge(Ye(o),"viewFormModelType",void 0),Ge(Ye(o),"canViewForm",void 0),Ge(Ye(o),"formBind",void 0);var i;o.options=bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Dp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new $e(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ge(Yu,"Rules",T6),Ge(Yu,"RuntimeRules",I6);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(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 C6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function Np(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function A6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function x6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:Hw(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var N6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=k6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x6(this,o)}}var Dp=function(e){A6(r,e);var t=D6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),Np(Hw(o),"props",void 0),o.props=new Yu(n==null?void 0:n.props),o}return C6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);Np(Dp,"controlFieldType",m.ARRAY),Np(Dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(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 F6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function L6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function M6(e,t){return t&&(V6(t)==="object"||typeof t=="function")?t:Uw(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var V6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=z6();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M6(this,o)}}var q6=function(e){L6(r,e);var t=H6(r);function r(n){j6(this,r);var o;return o=t.call(this,n),Kw(Uw(o),"props",void 0),o.props=new Yu(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);Kw(q6,"controlFieldType",m.ARRAY);function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function Xw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:Et(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var W6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qw(e){var t=K6();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U6(this,o)}}var G6=function(e){Xw(r,e);var t=Qw(r);function r(n){Gw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Lp=function(e){Xw(r,e);var t=Qw(r);function r(n){Gw(this,r);var o;o=t.call(this,n),Tt(Et(o),"showType",void 0),Tt(Et(o),"range",void 0),Tt(Et(o),"rangeOptions",void 0),Tt(Et(o),"multiple",void 0),Tt(Et(o),"defaultValueType",void 0),Tt(Et(o),"defaultValue",void 0),Tt(Et(o),"multistageFilling",void 0),Tt(Et(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:zp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new $e(O))})),o}return r}(N);Tt(Lp,"RuntimeRules",G6);function Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zw(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 Q6(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Jw(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Y6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var zp=function(e){J6(r,e);var t=t8(r);function r(n){X6(this,r);var o;return o=t.call(this,n),Mp(Jw(o),"props",void 0),o.props=new Lp(n==null?void 0:n.props),o}return Q6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);Mp(zp,"controlFieldType",m.EMPLOYEES),Mp(zp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eP(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 r8(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function tP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:Yw(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var u8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l8(e){var t=c8();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i8(this,o)}}var a8=function(e){o8(r,e);var t=l8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),tP(Yw(o),"props",void 0),o.props=new Lp(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);tP(a8,"controlFieldType",m.EMPLOYEES);function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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&&Wp(e,t)}function f8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:en(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var s8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kp(e){var t=y8();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f8(this,o)}}var d8=10485760,p8=104857600,v8=1048576e3,_8=function(e){Up(r,e);var t=Kp(r);function r(n){qp(this,r);var o;return o=t.call(this,n),It(en(o),"maxSize",{type:"number",min:0,max:v8,message:_.getMessage("attachmentMaxSize")}),o}return r}(de),h8=function(e){Up(r,e);var t=Kp(r);function r(n){qp(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:_.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),uc=function(e){Up(r,e);var t=Kp(r);function r(n){qp(this,r);var o;o=t.call(this,n),It(en(o),"defaultValue",void 0),It(en(o),"showType",void 0),It(en(o),"attachmentAccept",void 0),It(en(o),"maxLimit",void 0),It(en(o),"minLimit",void 0),It(en(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:p8;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:io.controlName;var p;return o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(N);It(uc,"Rules",_8),It(uc,"RuntimeRules",h8);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(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 g8(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function cc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:nP(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var w8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=P8();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O8(this,o)}}var io=function(e){m8(r,e);var t=R8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),cc(nP(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return g8(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);cc(io,"controlEventKeys",["on_change"]),cc(io,"controlFieldType",m.FILE),cc(io,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(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 S8(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function T8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:oP(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var I8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C8(e){var t=B8();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T8(this,o)}}var A8=function(e){E8(r,e);var t=C8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return S8(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);uP(A8,"controlFieldType",m.FILE);function x8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(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 k8(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function lP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function j8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:x8(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var F8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=L8();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j8(this,o)}}var aP=function(e){D8(r,e);var t=M8(r);function r(n){N8(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return k8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(io);lP(aP,"controlFieldType",m.IMAGE),lP(aP,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Ce(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 he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function Zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function V8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){he(e,o,r[o])})}return e}function z8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function H8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):z8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:Ce(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var U8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ev(e){var t=W8();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q8(this,o)}}var K8=function(e){Zp(r,e);var t=ev(r);function r(n){Jp(this,r);var o;o=t.call(this,n),he(Ce(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:_.getMessage("pleaseEnterNumberRange")}]}}),he(Ce(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o}return r}(Nn),G8=function(e){Zp(r,e);var t=ev(r);function r(n){Jp(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[H8(V8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),yc=function(e){Zp(r,e);var t=ev(r);function r(n){Jp(this,r);var o;o=t.call(this,n),he(Ce(o),"rangeMin",void 0),he(Ce(o),"rangeMax",void 0),he(Ce(o),"showUpperCase",void 0),he(Ce(o),"submitSelectCurrency",void 0),he(Ce(o),"micrometer",void 0),he(Ce(o),"precision",void 0),he(Ce(o),"optionConfig",void 0),he(Ce(o),"dataBind",void 0),he(Ce(o),"datasourceBind",void 0),he(Ce(o),"defaultValue",void 0),he(Ce(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new yA(n==null?void 0:n.dataBind);var f;o.datasourceBind=new Q((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new ys({value:"name"})]});var y;o.defaultValue=new dA((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:So.CNY}),o.options=bt(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:vc.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(N);he(yc,"Rules",K8),he(yc,"RuntimeRules",G8);function fP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(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 Q8(e,t,r){return t&&sP(e.prototype,t),r&&sP(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 pc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pc=Reflect.get:pc=function(o,i,u){var c=Y8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},pc(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function Z8(e,t){return t&&(e7(t)==="object"||typeof t=="function")?t:fP(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function Y8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}var e7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n7(e){var t=t7();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var vc=function(e){J8(r,e);var t=n7(r);function r(n){X8(this,r);var o;return o=t.call(this,n),dc(fP(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return Q8(r,[{key:"toDataBindModel",value:function(o){var i=pc(Hn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(k);dc(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),dc(vc,"controlFieldType",m.MONEY),dc(vc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function yP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(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 o7(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function pP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:yP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var c7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a7(e){var t=l7();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u7(this,o)}}var f7=function(e){i7(r,e);var t=a7(r);function r(n){r7(this,r);var o;return o=t.call(this,n),pP(yP(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return o7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);pP(f7,"controlFieldType",m.MONEY);function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(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&&iv(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:tn(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}var y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uv(e){var t=d7();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s7(this,o)}}var p7=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),Bt(tn(o),"totalScore",[{type:"number",required:!0,message:_.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:_.getMessage("theTotalScoreMustNotBeLessThan1")}]),Bt(tn(o),"defaultValue",{type:"number",min:0,max:5,message:_.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(de),v7=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),bc=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o,i;o=t.call(this,n),Bt(tn(o),"totalScore",void 0),Bt(tn(o),"scoreType",void 0),Bt(tn(o),"isShowExplain",void 0),Bt(tn(o),"explain",void 0),Bt(tn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:wy.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new Py(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Py});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Oc.controlName,o}return r}(N);Bt(bc,"Rules",p7),Bt(bc,"RuntimeRules",v7);function cv(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 _7(e){if(Array.isArray(e))return cv(e)}function vP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(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 b7(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mc=Reflect.get:mc=function(o,i,u){var c=P7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},mc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function g7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function m7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function O7(){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 w7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:vP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function P7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function R7(e){return _7(e)||m7(e)||S7(e)||O7()}var $7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S7(e,t){if(!!e){if(typeof e=="string")return cv(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 cv(e,t)}}function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T7(e){var t=E7();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w7(this,o)}}var Oc=function(e){g7(r,e);var t=T7(r);function r(n){h7(this,r);var o;return o=t.call(this,n),gc(vP(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return b7(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,a=Array(c).fill(void 0).map(function(){return new Py});(u=this.props.explain).push.apply(u,R7(a))}}mc(qn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(k);gc(Oc,"controlEventKeys",["on_change","on_click"]),gc(Oc,"controlFieldType",m.DECIMAL),gc(Oc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(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 B7(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function gP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function A7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:hP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var x7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k7(e){var t=N7();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A7(this,o)}}var D7=function(e){C7(r,e);var t=k7(r);function r(n){I7(this,r);var o;return o=t.call(this,n),gP(hP(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);gP(D7,"controlFieldType",m.DECIMAL);function Pc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function OP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function j7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:Pc(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var F7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wP(e){var t=L7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j7(this,o)}}var M7=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:_.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:_.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:_.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),sv=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;o=t.call(this,n),Rc(Pc(o),"defaultValueType",void 0),Rc(Pc(o),"defaultValue",void 0),Rc(Pc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pv.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var a;o.defaultValue=new _A((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(N);Rc(sv,"RuntimeRules",M7);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(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 z7(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function yv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:PP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var U7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K7(e){var t=W7();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q7(this,o)}}var pv=function(e){H7(r,e);var t=K7(r);function r(n){V7(this,r);var o;return o=t.call(this,n),yv(PP(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return z7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);yv(pv,"controlFieldType",m.ADDRESS),yv(pv,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(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 X7(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function Q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:$P(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var Z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e4(e){var t=Y7();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J7(this,o)}}var t4=function(e){Q7(r,e);var t=e4(r);function r(n){G7(this,r);var o;return o=t.call(this,n),EP($P(o),"props",void 0),o.props=new sv(n==null?void 0:n.props),o}return X7(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(D);EP(t4,"controlFieldType",m.ADDRESS);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function IP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function n4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:et(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var r4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BP(e){var t=o4();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n4(this,o)}}var i4=function(e){IP(r,e);var t=BP(r);function r(n){TP(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),hv=function(e){IP(r,e);var t=BP(r);function r(n){TP(this,r);var o;o=t.call(this,n),tt(et(o),"showType",void 0),tt(et(o),"range",void 0),tt(et(o),"defaultValueType",void 0),tt(et(o),"multiple",void 0),tt(et(o),"rangeOptions",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"displayLevel",void 0),tt(et(o),"showSubDept",void 0),tt(et(o),"multistageFilling",void 0),tt(et(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Cc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new $e(w))})),o}return r}(N);tt(hv,"RuntimeRules",i4);function CP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(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 c4(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function Ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bc=Reflect.get:Bc=function(o,i,u){var c=f4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Bc(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function a4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:CP(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function f4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}var s4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d4(e){var t=y4();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a4(this,o)}}var Cc=function(e){l4(r,e);var t=d4(r);function r(n){u4(this,r);var o;return o=t.call(this,n),Ic(CP(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return c4(r,[{key:"toDataBindModel",value:function(o){var i=Bc(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(k);Ic(Cc,"controlName","\u90E8\u95E8"),Ic(Cc,"controlFieldType",m.DEPARTMENTS),Ic(Cc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(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 v4(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function kP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function _4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:xP(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var b4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var O4=function(e){_4(r,e);var t=m4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),kP(xP(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return v4(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);kP(O4,"controlFieldType",m.DEPARTMENTS);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function R4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function $4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:DP(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var S4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T4(e){var t=E4();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}var jP=function(e){R4(r,e);var t=T4(r);function r(n){w4(this,r);var o;o=t.call(this,n),P4(DP(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Dc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(N);function FP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(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 B4(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function A4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:FP(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var x4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=N4();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A4(this,o)}}var Dc=function(e){C4(r,e);var t=k4(r);function r(n){I4(this,r);var o;return o=t.call(this,n),Nc(FP(o),"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return B4(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(k);Nc(Dc,"controlEventKeys",["on_change"]),Nc(Dc,"controlFieldType",m.AUTO_NUMBER),Nc(Dc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VP(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 j4(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function zP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function F4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function L4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:MP(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var M4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z4(e){var t=V4();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L4(this,o)}}var H4=function(e){F4(r,e);var t=z4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),zP(MP(o),"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return j4(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);zP(H4,"controlFieldType",m.AUTO_NUMBER);function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function Rv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:nn(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var U4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=W4();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q4(this,o)}}var K4=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(de),G4=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:_.getMessage("isNotObject"),fields:{result:[{type:"number",message:_.getMessage("isNotNumber")}],unit:{type:"string",message:_.getMessage("isNotString")}}}),o}return r}(H),Lc=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o;o=t.call(this,n),Ct(nn(o),"precision",void 0),Ct(nn(o),"micrometer",void 0),Ct(nn(o),"showUpperCase",void 0),Ct(nn(o),"scriptSrc",void 0),Ct(nn(o),"scriptEcho",void 0),Ct(nn(o),"dataBind",void 0),Ct(nn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new hA(n==null?void 0:n.dataBind),o.defaultValue=new bA(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:zc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(N);Ct(Lc,"Rules",K4),Ct(Lc,"RuntimeRules",G4);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(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 Q4(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function Mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vc=Reflect.get:Vc=function(o,i,u){var c=Y4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Vc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function J4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function Z4(e,t){return t&&(eV(t)==="object"||typeof t=="function")?t:HP(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function Y4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}var eV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nV(e){var t=tV();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var zc=function(e){J4(r,e);var t=nV(r);function r(n){X4(this,r);var o;return o=t.call(this,n),Mc(HP(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Q4(r,[{key:"toDataBindModel",value:function(o){var i=Vc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(k);Mc(zc,"controlEventKeys",["on_change"]),Mc(zc,"controlFieldType",m.CALC),Mc(zc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(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 oV(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function iV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:UP(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var cV=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 aV(e){var t=lV();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var fV=function(e){iV(r,e);var t=aV(r);function r(n){rV(this,r);var o;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return oV(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);KP(fV,"controlFieldType",m.CALC);function Kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:Kn(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var yV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QP(e){var t=dV();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sV(this,o)}}var pV=function(e){XP(r,e);var t=QP(r);function r(n){GP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(_.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),Bv=function(e){XP(r,e);var t=QP(r);function r(n){GP(this,r);var o;o=t.call(this,n),Gn(Kn(o),"rangeMin",void 0),Gn(Kn(o),"rangeMax",void 0),Gn(Kn(o),"placeholderStart",void 0),Gn(Kn(o),"placeholderEnd",void 0),Gn(Kn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xv.controlName,o}return r}(N);Gn(Bv,"RuntimeRules",pV);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _V(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:JP(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var gV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OV(e){var t=mV();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var xv=function(e){hV(r,e);var t=OV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),Cv(JP(o),"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return _V(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);Cv(xv,"controlFieldType",m.DECIMAL_RANGE),Cv(xv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function YP(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 eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PV(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function tR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function RV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function $V(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:YP(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var SV=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=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $V(this,o)}}var IV=function(e){RV(r,e);var t=TV(r);function r(n){wV(this,r);var o;return o=t.call(this,n),tR(YP(o),"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return PV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);tR(IV,"controlFieldType",m.DECIMAL_RANGE);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function rR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function BV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:nt(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var CV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oR(e){var t=AV();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BV(this,o)}}var xV=function(e){rR(r,e);var t=oR(r);function r(n){nR(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(H),Dv=function(e){rR(r,e);var t=oR(r);function r(n){nR(this,r);var o,i;o=t.call(this,n),rt(nt(o),"rangeMin",void 0),rt(nt(o),"rangeMax",void 0),rt(nt(o),"placeholderStart",void 0),rt(nt(o),"placeholderEnd",void 0),rt(nt(o),"dateType",void 0),rt(nt(o),"dateFormat",void 0),rt(nt(o),"commonTimeSetting",void 0),rt(nt(o),"setValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:kt.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var g;o.placeholderStart=(g=n==null?void 0:n.placeholderStart)!==null&&g!==void 0?g:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Lv.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Oy(v)}))!==null&&w!==void 0?w:[],o}return r}(N);rt(Dv,"RuntimeRules",xV);function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(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 kV(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function jv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&Fv(e,t)}function jV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:iR(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var FV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MV(e){var t=LV();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jV(this,o)}}var Lv=function(e){DV(r,e);var t=MV(r);function r(n){NV(this,r);var o;return o=t.call(this,n),jv(iR(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return kV(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);jv(Lv,"controlFieldType",m.ARRAY),jv(Lv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function cR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zV(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function aR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function HV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:cR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}var UV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KV(e){var t=WV();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var GV=function(e){HV(r,e);var t=KV(r);function r(n){VV(this,r);var o;return o=t.call(this,n),aR(cR(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return zV(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);aR(GV,"controlFieldType",m.ARRAY);function uo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:uo(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var QV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qv(e){var t=JV();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XV(this,o)}}var ZV=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(de),YV=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(H),Jc=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;o=t.call(this,n),Xn(uo(o),"controlExportName",void 0),Xn(uo(o),"permissions",void 0),Xn(uo(o),"defaultValue",void 0),Xn(uo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:el.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(N);Xn(Jc,"Rules",ZV),Xn(Jc,"RuntimeRules",YV);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(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 t9(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Zc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function n9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function r9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:fR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var o9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u9(e){var t=i9();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r9(this,o)}}var el=function(e){n9(r,e);var t=u9(r);function r(n){e9(this,r);var o;return o=t.call(this,n),Zc(fR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return t9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);Zc(el,"controlFieldType",m.ANY),Zc(el,"controlEventKeys",[]),Zc(el,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(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 l9(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function pR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function f9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:yR(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var s9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d9(e){var t=y9();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f9(this,o)}}var p9=function(e){a9(r,e);var t=d9(r);function r(n){c9(this,r);var o;return o=t.call(this,n),pR(yR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return l9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);pR(p9,"controlFieldType",m.ANY);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function _R(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function v9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:Ae(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var _9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hR(e){var t=h9();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var b9=function(e){_R(r,e);var t=hR(r);function r(n){vR(this,r);var o;return o=t.call(this,n),xe(Ae(o),"listPageBind",[{type:"object",message:_.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}]}}]),o}return r}(Nn),Gv=function(e){_R(r,e);var t=hR(r);function r(n){vR(this,r);var o;o=t.call(this,n),xe(Ae(o),"options",void 0),xe(Ae(o),"optionConfig",void 0),xe(Ae(o),"defaultValue",void 0),xe(Ae(o),"listPageBind",void 0),xe(Ae(o),"datasourceBind",void 0),xe(Ae(o),"multistageFilling",void 0),xe(Ae(o),"viewFormModelType",void 0),xe(Ae(o),"canViewForm",void 0),xe(Ae(o),"formBind",void 0),xe(Ae(o),"openMultistageFilling",void 0),xe(Ae(o),"showSelectedDetail",void 0),xe(Ae(o),"selectedContentConfig",void 0);var i;o.options=bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new fs(n==null?void 0:n.listPageBind),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:il.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new ps(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new $e(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);xe(Gv,"Rules",b9);function bR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(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 m9(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function O9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function w9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:bR(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var P9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $9(e){var t=R9();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w9(this,o)}}var il=function(e){O9(r,e);var t=$9(r);function r(n){g9(this,r);var o;return o=t.call(this,n),rl(bR(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return m9(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(k);rl(il,"controlFieldType",m.VARCHAR),rl(il,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),rl(il,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OR(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 E9(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function wR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function I9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:mR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var B9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A9(e){var t=C9();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I9(this,o)}}var x9=function(e){T9(r,e);var t=A9(r);function r(n){S9(this,r);var o;return o=t.call(this,n),wR(mR(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return E9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);wR(x9,"controlFieldType",m.VARCHAR);function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function D9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function j9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:N9(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var F9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M9(e){var t=L9();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j9(this,o)}}var PR=function(e){D9(r,e);var t=M9(r);function r(n){return k9(this,r),t.call(this,n)}return r}(ro);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(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 z9(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:RR(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var U9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K9(e){var t=W9();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q9(this,o)}}var G9=function(e){H9(r,e);var t=K9(r);function r(n){V9(this,r);var o;return o=t.call(this,n),SR(RR(o),"props",void 0),o.props=new PR(n==null?void 0:n.props),o}return z9(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(oo);SR(G9,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(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 Q9(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function IR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:ER(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var Y9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var nz=function(e){J9(r,e);var t=tz(r);function r(n){X9(this,r);var o;return o=t.call(this,n),IR(ER(o),"props",void 0),o.props=new PR(n==null?void 0:n.props),o}return Q9(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);IR(nz,"controlFieldType",m.VARCHAR);function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function t_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rz(e,t){return t&&(oz(t)==="object"||typeof t=="function")?t:K(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var oz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r_(e){var t=iz();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rz(this,o)}}var uz=function(e){t_(r,e);var t=r_(r);function r(n){e_(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Bo.call(K(o),n,_n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:_.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:_.getMessage("rootNodeIsRequired")}}}]),o}return r}(de),cz=function(e){t_(r,e);var t=r_(r);function r(n){e_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),sl=function(e){t_(r,e);var t=r_(r);function r(n){e_(this,r);var o,i;o=t.call(this,n),G(K(o),"placeholder",void 0),G(K(o),"multiple",void 0),G(K(o),"canSearch",void 0),G(K(o),"levelType",void 0),G(K(o),"optionalLevel",void 0),G(K(o),"containsSubNode",void 0),G(K(o),"defaultDisplay",void 0),G(K(o),"isShowIncludeSub",void 0),G(K(o),"isDefaultCheckSub",void 0),G(K(o),"isShowFilterItem",void 0),G(K(o),"defaultCollapse",void 0),G(K(o),"defaultCollapseLevel",void 0),G(K(o),"optionConfig","datasource"),G(K(o),"datasourceBind",void 0),G(K(o),"filterItemDatasourceBind",void 0),G(K(o),"multistageFilling",void 0),G(K(o),"defaultValue",void 0),G(K(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var g;o.isShowFilterItem=(g=n==null?void 0:n.isShowFilterItem)!==null&&g!==void 0?g:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var P;o.datasourceBind=new tm((P=n==null?void 0:n.datasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var R;o.filterItemDatasourceBind=new tm((R=n==null?void 0:n.filterItemDatasourceBind)!==null&&R!==void 0?R:{attributes:_n.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var F;o.multistageFilling=(F=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(W){return new $e(W)}))!==null&&F!==void 0?F:[];var C;return o.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:[],o}return r}(N);G(sl,"Rules",uz),G(sl,"RuntimeRules",cz);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function az(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function yl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function sz(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:BR(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var yz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=dz();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sz(this,o)}}var _n=function(e){fz(r,e);var t=pz(r);function r(n){lz(this,r);var o;return o=t.call(this,n),yl(BR(o),"props",void 0),o.props=new sl(n==null?void 0:n.props),o}return az(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(k);yl(_n,"controlEventKeys",["on_change","on_click"]),yl(_n,"controlFieldType",m.ARRAY),yl(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(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 _z(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:AR(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var wz=function(e){hz(r,e);var t=Oz(r);function r(n){vz(this,r);var o;return o=t.call(this,n),NR(AR(o),"props",void 0),o.props=new sl(n==null?void 0:n.props),o}return _z(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);NR(wz,"controlFieldType",m.ARRAY);function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function c_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:fe(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var Rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a_(e){var t=$z();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var Sz=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;return o=t.call(this,n),se(fe(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),se(fe(o),"externalScope",{type:"any"}),Bo.call(fe(o),n,co.controlCustomAttributes),n.externalType===Wt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(de),Ez=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),_l=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;o=t.call(this,n),se(fe(o),"showType",void 0),se(fe(o),"range",void 0),se(fe(o),"rangeOptions",void 0),se(fe(o),"multiple",void 0),se(fe(o),"defaultValueType",void 0),se(fe(o),"defaultValue",void 0),se(fe(o),"multistageFilling",void 0),se(fe(o),"datasourceBind",void 0),se(fe(o),"datasourceType",void 0),se(fe(o),"insideType",void 0),se(fe(o),"externalType",void 0),se(fe(o),"externalScope",void 0),se(fe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:co.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;o.datasourceBind=new $o((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:co.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:$y.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:Sy.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Wt.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new $e(R))})),o}return r}(N);se(_l,"Rules",Sz),se(_l,"RuntimeRules",Ez);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(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 Iz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}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}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function Bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function Cz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:kR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var Az=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nz(e){var t=xz();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var co=function(e){Bz(r,e);var t=Nz(r);function r(n){Tz(this,r);var o;return o=t.call(this,n),f_(kR(o),"props",void 0),o.props=new _l(n==null?void 0:n.props),o}return Iz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);f_(co,"controlFieldType",m.EMPLOYEES),f_(co,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function jR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(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 Dz(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function LR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function Fz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:jR(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var Lz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vz(e){var t=Mz();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fz(this,o)}}var zz=function(e){jz(r,e);var t=Vz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),LR(jR(o),"props",void 0),o.props=new _l(n==null?void 0:n.props),o}return Dz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);LR(zz,"controlFieldType",m.EMPLOYEES);function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function VR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:ft(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var qz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zR(e){var t=Uz();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hz(this,o)}}var Wz=function(e){VR(r,e);var t=zR(r);function r(n){MR(this,r);var o;return o=t.call(this,n),st(ft(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&os(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&u.signatureType.includes("company")&&os(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(de),p_=function(e){VR(r,e);var t=zR(r);function r(n){MR(this,r);var o;o=t.call(this,n),st(ft(o),"buttonType",void 0),st(ft(o),"content",void 0),st(ft(o),"showType",void 0),st(ft(o),"color",void 0),st(ft(o),"icon",void 0),st(ft(o),"command",""),st(ft(o),"isLoading",!1),st(ft(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new P2(n==null?void 0:n.signatureConfig),o}return r}(N);st(p_,"Rules",Wz);function HR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(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 Gz(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function Xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:HR(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yz(e){var t=Zz();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qz(this,o)}}var wl=function(e){Xz(r,e);var t=Yz(r);function r(n){Kz(this,r);var o;return o=t.call(this,n),ml(HR(o),"props",void 0),o.props=new p_(n==null?void 0:n.props),o}return Gz(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);ml(wl,"controlEventKeys",["on_click","on_click_finish"]),ml(wl,"controlFieldType",m.VARCHAR),ml(wl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tH(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function KR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:UR(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var oH=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 uH(e){var t=iH();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var cH=function(e){nH(r,e);var t=uH(r);function r(n){eH(this,r);var o;return o=t.call(this,n),KR(UR(o),"props",void 0),o.props=new p_(n==null?void 0:n.props),o}return tH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);KR(cH,"controlFieldType",m.VARCHAR);function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function b_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function lH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:be(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var aH=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 m_(e){var t=fH();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lH(this,o)}}var sH=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ye(be(o),"content",{type:"string",required:!0,message:_.getMessage("pleaseEnterButtonContent")}),ye(be(o),"canAdd",void 0),ye(be(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(_.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(de),yH=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),$l=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;o=t.call(this,n),ye(be(o),"content",void 0),ye(be(o),"canAdd",void 0),ye(be(o),"addLocal",void 0),ye(be(o),"addOnline",void 0),ye(be(o),"canDownload",void 0),ye(be(o),"canEdit",void 0),ye(be(o),"canExport",void 0),ye(be(o),"canDelete",void 0),ye(be(o),"wpsSetting",void 0),ye(be(o),"maxSize",void 0),ye(be(o),"defaultValue",void 0),ye(be(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var g;o.canDelete=(g=n==null?void 0:n.canDelete)!==null&&g!==void 0?g:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:d8;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new R2(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(N);ye($l,"Rules",sH),ye($l,"RuntimeRules",yH);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(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 pH(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function Sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function vH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function _H(e,t){return t&&(hH(t)==="object"||typeof t=="function")?t:GR(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var hH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gH(e){var t=bH();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _H(this,o)}}var Tl=function(e){vH(r,e);var t=gH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),Sl(GR(o),"props",void 0),o.props=new $l(n==null?void 0:n.props),o}return pH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(k);Sl(Tl,"controlEventKeys",["on_change","on_wps_open"]),Sl(Tl,"controlFieldType",m.FILE),Sl(Tl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JR(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&&JR(e.prototype,t),r&&JR(e,r),e}function ZR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(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&&w_(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:QR(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var RH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SH(e){var t=$H();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var EH=function(e){wH(r,e);var t=SH(r);function r(n){mH(this,r);var o;return o=t.call(this,n),ZR(QR(o),"props",void 0),o.props=new $l(n==null?void 0:n.props),o}return OH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);ZR(EH,"controlFieldType",m.FILE);function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function R_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function TH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:oe(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var IH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S_(e){var t=BH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TH(this,o)}}var CH=function(e){R_(r,e);var t=S_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),ie(oe(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),ie(oe(o),"businessScope",{type:"any"}),Bo.call(oe(o),n,Jn.controlCustomAttributes),n.businessType===Wt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(de),AH=function(e){R_(r,e);var t=S_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Cl=function(e){R_(r,e);var t=S_(r);function r(n){P_(this,r);var o;o=t.call(this,n),ie(oe(o),"showType",void 0),ie(oe(o),"range",void 0),ie(oe(o),"defaultValueType",void 0),ie(oe(o),"multiple",void 0),ie(oe(o),"rangeOptions",void 0),ie(oe(o),"defaultValue",void 0),ie(oe(o),"displayLevel",void 0),ie(oe(o),"showSubDept",void 0),ie(oe(o),"multistageFilling",void 0),ie(oe(o),"datasourceBind",void 0),ie(oe(o),"datasourceType",void 0),ie(oe(o),"businessType",void 0),ie(oe(o),"businessScope",void 0),ie(oe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Jn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new $o((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Jn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ui.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Wt.ALL;var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new $e($))})),o}return r}(N);ie(Cl,"Rules",CH),ie(Cl,"RuntimeRules",AH);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NH(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function Al(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xl=Reflect.get:xl=function(o,i,u){var c=jH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},xl(e,t,r||e)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function kH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function DH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:YR(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function jH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=LH();return function(){var n=Qn(e),o;if(t){var i=Qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DH(this,o)}}var Jn=function(e){kH(r,e);var t=MH(r);function r(n){xH(this,r);var o;return o=t.call(this,n),Al(YR(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return NH(r,[{key:"toDataBindModel",value:function(o){var i=xl(Qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Al(Jn,"controlName","\u90E8\u95E8"),Al(Jn,"controlFieldType",m.DEPARTMENTS),Al(Jn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(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 zH(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(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&&T_(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:t$(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var UH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KH(e){var t=WH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var GH=function(e){HH(r,e);var t=KH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return zH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);r$(GH,"controlFieldType",m.DEPARTMENTS);function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function B_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function XH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:q(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var QH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A_(e){var t=JH();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XH(this,o)}}var ZH=function(e){B_(r,e);var t=A_(r);function r(n){I_(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),U(q(o),"businessScope",{type:"any"}),Bo.call(q(o),n,Yn.controlCustomAttributes),n.businessType===Wt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(de),YH=function(e){B_(r,e);var t=A_(r);function r(n){I_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Dl=function(e){B_(r,e);var t=A_(r);function r(n){I_(this,r);var o;o=t.call(this,n),U(q(o),"showType",void 0),U(q(o),"range",void 0),U(q(o),"defaultValueType",void 0),U(q(o),"multiple",void 0),U(q(o),"rangeOptions",void 0),U(q(o),"defaultValue",void 0),U(q(o),"displayLevel",void 0),U(q(o),"showSubDept",void 0),U(q(o),"multistageFilling",void 0),U(q(o),"datasourceBind",void 0),U(q(o),"listPageBind",void 0),U(q(o),"datasourceType",void 0),U(q(o),"businessType",void 0),U(q(o),"businessScope",void 0),U(q(o),"organizingFunction",void 0),U(q(o),"organizationView",void 0),U(q(o),"openMultistageFilling",void 0),U(q(o),"showSelectedDetail",void 0),U(q(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new fs(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Yn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new fA((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Yn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ui.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Wt.ALL;var R;o.organizingFunction=(R=n==null?void 0:n.organizingFunction)!==null&&R!==void 0?R:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new ps(n==null?void 0:n.selectedContentConfig);var F;return o.openMultistageFilling=(F=n==null?void 0:n.openMultistageFilling)!==null&&F!==void 0?F:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(C){var W;(W=o.multistageFilling)===null||W===void 0||W.push(new $e(C))})),o}return r}(N);U(Dl,"Rules",ZH),U(Dl,"RuntimeRules",YH);function o$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eq(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 tq(e,t,r){return t&&i$(e.prototype,t),r&&i$(e,r),e}function jl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(o,i,u){var c=oq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Fl(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function nq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function rq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:o$(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function oq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}var iq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cq(e){var t=uq();return function(){var n=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rq(this,o)}}var Yn=function(e){nq(r,e);var t=cq(r);function r(n){eq(this,r);var o;return o=t.call(this,n),jl(o$(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return tq(r,[{key:"toDataBindModel",value:function(o){var i=Fl(Zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);jl(Yn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),jl(Yn,"controlFieldType",m.DEPARTMENTS),jl(Yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(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 aq(e,t,r){return t&&c$(e.prototype,t),r&&c$(e,r),e}function l$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sq(e,t){return t&&(yq(t)==="object"||typeof t=="function")?t:u$(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var yq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pq(e){var t=dq();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sq(this,o)}}var vq=function(e){fq(r,e);var t=pq(r);function r(n){lq(this,r);var o;return o=t.call(this,n),l$(u$(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return aq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);l$(vq,"controlFieldType",m.DEPARTMENTS);function _q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(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 bq(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function gq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function mq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function Oq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:_q(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var wq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rq(e){var t=Pq();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oq(this,o)}}var $q=function(e){mq(r,e);var t=Rq(r);function r(n){return hq(this,r),t.call(this,n)}return bq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(re);gq($q,"excludes",[d.GRID]);function D_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function Eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function Tq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:D_(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var Iq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cq(e){var t=Bq();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tq(this,o)}}var Aq=24,lo=function(e){Eq(r,e);var t=Cq(r);function r(n){Sq(this,r);var o;o=t.call(this,n),f$(D_(o),"span",void 0),f$(D_(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Aq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ne);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(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 Nq(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}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}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Dq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:s$(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var jq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lq(e){var t=Fq();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dq(this,o)}}var ao=function(e){kq(r,e);var t=Lq(r);function r(n){xq(this,r);var o;return o=t.call(this,n),F_(s$(o),"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return Nq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(re);F_(ao,"excludes",[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.DIVIDER]),F_(ao,"childrenMaxLength",1);function d$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p$(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 Vq(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function zq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function Hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:d$(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var Uq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kq(e){var t=Wq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qq(this,o)}}var Gq=function(e){Hq(r,e);var t=Kq(r);function r(n){Mq(this,r);var o;return o=t.call(this,n),zq(d$(o),"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return Vq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),v$={Designer:ao,Runtime:Gq,Property:lo};function V_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:V_(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var Zq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eU(e){var t=Yq();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jq(this,o)}}var H_=function(e){Qq(r,e);var t=eU(r);function r(n){Xq(this,r);var o;o=t.call(this,n),_$(V_(o),"layoutMode",void 0),_$(V_(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ne);function h$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b$(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 nU(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function q_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function rU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function oU(e,t){return t&&(iU(t)==="object"||typeof t=="function")?t:h$(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var iU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cU(e){var t=uU();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oU(this,o)}}var W_=function(e){rU(r,e);var t=cU(r);function r(n){tU(this,r);var o;return o=t.call(this,n),q_(h$(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return nU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(re);q_(W_,"excludes",[d.ROW]),q_(W_,"setting",[{key:"col-setting",visible:!0}]);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(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 aU(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function fU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function yU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:g$(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var dU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=pU();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yU(this,o)}}var _U=function(e){sU(r,e);var t=vU(r);function r(n){lU(this,r);var o;return o=t.call(this,n),fU(g$(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return aU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);function hU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(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 gU(e,t,r){return t&&O$(e.prototype,t),r&&O$(e,r),e}function G_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function mU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function OU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:hU(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var wU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RU(e){var t=PU();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OU(this,o)}}var $U=4,Gl=function(e){mU(r,e);var t=RU(r);function r(n){return bU(this,r),t.call(this,n)}return gU(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}(W_);G_(Gl,"excludes",[d.GRID_ROW]),G_(Gl,"setting",[]),G_(Gl,"childrenMaxLength",$U);function SU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(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 TU(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function IU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function BU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:SU(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var CU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xU(e){var t=AU();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var NU=function(e){IU(r,e);var t=xU(r);function r(n){return EU(this,r),t.call(this,n)}return TU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(_U);function kU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function jU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function FU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:kU(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var LU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=MU();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FU(this,o)}}var zU=function(e){jU(r,e);var t=VU(r);function r(n){return DU(this,r),t.call(this,n)}return r}(H_),HU={Designer:Gl,Runtime:NU,Property:zU};function Jl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function R$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:Jl(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var UU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $$(e){var t=WU();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var KU=function(e){R$(r,e);var t=$$(r);function r(){P$(this,r);var n;return n=t.apply(this,arguments),Zl(Jl(n),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),n}return r}(ne.Rules),S$=function(e){R$(r,e);var t=$$(r);function r(n){P$(this,r);var o;o=t.call(this,n),Zl(Jl(o),"caption",void 0),Zl(Jl(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(ne);Zl(S$,"Rules",KU);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(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 XU(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}function Y_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function QU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function JU(e,t){return t&&(ZU(t)==="object"||typeof t=="function")?t:E$(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var ZU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eW(e){var t=YU();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JU(this,o)}}var I$=function(e){QU(r,e);var t=eW(r);function r(n){GU(this,r);var o;return o=t.call(this,n),Y_(E$(o),"props",void 0),o.props=new S$(n==null?void 0:n.props),o}return XU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(re);Y_(I$,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Y_(I$,"excludes",[d.CARD_GROUP]);function yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function C$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:yt(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var nW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A$(e){var t=rW();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tW(this,o)}}var oW=function(e){C$(r,e);var t=A$(r);function r(n){B$(this,r);var o;return o=t.call(this,n),dt(yt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),dt(yt(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),dt(yt(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),na=function(e){C$(r,e);var t=A$(r);function r(n){B$(this,r);var o;o=t.call(this,n),dt(yt(o),"metaAutoWidth",void 0),dt(yt(o),"caption",void 0),dt(yt(o),"fixed",void 0),dt(yt(o),"isShowCaptionTip",void 0),dt(yt(o),"captionTip",void 0),dt(yt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new tA(n==null?void 0:n.metaAutoWidth),o}return r}(ne);dt(na,"Rules",oW);function x$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function uW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function cW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:x$(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var lW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=aW();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cW(this,o)}}var ot=function(e){uW(r,e);var t=fW(r);function r(n){iW(this,r);var o;return o=t.call(this,n),hn(x$(o),"props",void 0),o.props=new na(n==null?void 0:n.props),o}return r}(re);hn(ot,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),hn(ot,"controlType","subtable-column"),hn(ot,"controlIcon","subtable-column"),hn(ot,"childrenMaxLength",1),hn(ot,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),hn(ot,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function yW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function dW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:N$(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var pW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=vW();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dW(this,o)}}var D$=function(e){yW(r,e);var t=_W(r);function r(n){sW(this,r);var o;return o=t.call(this,n),k$(N$(o),"props",void 0),o.props=new na(n==null?void 0:n.props),o}return r}(dn);k$(D$,"controlType","subtable-column");var hW={Designer:ot,Runtime:D$,Property:na};function bW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:bW(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var wW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RW(e){var t=PW();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OW(this,o)}}var $W=function(e){mW(r,e);var t=RW(r);function r(n){return gW(this,r),t.call(this,n)}return r}(ne);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function EW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function TW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:j$(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var IW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CW(e){var t=BW();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TW(this,o)}}var er=function(e){EW(r,e);var t=CW(r);function r(n){SW(this,r);var o;return o=t.call(this,n),bn(j$(o),"props",void 0),o.props=new $W(n==null?void 0:n.props),o}return r}(re);bn(er,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),bn(er,"controlType","subtable-row"),bn(er,"controlIcon","subtable-row"),bn(er,"childrenMaxLength",1),bn(er,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.SUBTABLE_ROW,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),bn(er,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function xW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function NW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:Le(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var kW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=DW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NW(this,o)}}var F$=function(e){xW(r,e);var t=jW(r);function r(n){AW(this,r);var o;o=t.call(this,n),Xe(Le(o),"widthType",void 0),Xe(Le(o),"width",void 0),Xe(Le(o),"caption",void 0),Xe(Le(o),"fieldCode",void 0),Xe(Le(o),"fieldType",void 0),Xe(Le(o),"fieldName",void 0),Xe(Le(o),"datasourceBind",void 0),Xe(Le(o),"fixed",void 0),Xe(Le(o),"textCleanFormart",void 0),Xe(Le(o),"decimalKeepPrecision",void 0),Xe(Le(o),"timestampDateType",void 0),Xe(Le(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var g;o.timestampDateType=(g=n==null?void 0:n.timestampDateType)!==null&&g!==void 0?g:kt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ne);function L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function LW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function MW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:L$(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=zW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MW(this,o)}}var tr=function(e){LW(r,e);var t=HW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),gn(L$(o),"props",void 0),o.props=new F$(n==null?void 0:n.props),o}return r}(re);gn(tr,"controlName","\u5217\u8868\u5355\u5143\u683C"),gn(tr,"controlType","gridtable-column"),gn(tr,"controlIcon","gridtable-column"),gn(tr,"childrenMaxLength",1),gn(tr,"excludes",[d.GRID_TABLE,d.GRID_TABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),gn(tr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function UW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:M$(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var KW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XW(e){var t=GW();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WW(this,o)}}var QW=function(e){UW(r,e);var t=XW(r);function r(n){qW(this,r);var o;return o=t.call(this,n),V$(M$(o),"props",void 0),o.props=new F$(n==null?void 0:n.props),o}return r}(dn);V$(QW,"controlType","gridtable-column");function ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function ZW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function YW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:ah(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var eK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nK(e){var t=tK();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YW(this,o)}}var rK=function(e){ZW(r,e);var t=nK(r);function r(n){JW(this,r);var o;o=t.call(this,n),z$(ah(o),"minWidth",void 0),z$(ah(o),"gap",void 0);var i;o.minWidth=(i=n==null?void 0:n.minWidth)!==null&&i!==void 0?i:30;var u;return o.gap=(u=n==null?void 0:n.gap)!==null&&u!==void 0?u:10,o}return r}(ne);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(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 iK(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function U$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:H$(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var lK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fK(e){var t=aK();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var sK=function(e){uK(r,e);var t=fK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),U$(H$(o),"props",void 0),o.props=new rK(n==null?void 0:n.props),o}return iK(r,null,[{key:"controlName",get:function(){return"\u81EA\u9002\u5E94\u6362\u884C\u5E03\u5C40"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}}]),r}(re);U$(sK,"excludes",[d.GRID_LAYOUT_CONTAINER,d.CARD_GROUP,d.TAB]);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function vK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:W$(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var _K=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=hK();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var gK=function(e){pK(r,e);var t=bK(r);function r(n){yK(this,r);var o;o=t.call(this,n),dK(W$(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ne);function dh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function G$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:dh(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var OK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X$(e){var t=wK();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var PK=function(e){G$(r,e);var t=X$(r);function r(n){K$(this,r);var o;return o=t.call(this,n),ph(dh(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),o}return r}(J),Q$=function(e){G$(r,e);var t=X$(r);function r(n){K$(this,r);var o;o=t.call(this,n),ph(dh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ba.controlName,o}return r}(ne);ph(Q$,"Rules",PK);function J$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(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 $K(e,t,r){return t&&Z$(e.prototype,t),r&&Z$(e,r),e}function _h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function EK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:J$(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BK(e){var t=IK();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var va=function(e){SK(r,e);var t=BK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),_h(J$(o),"props",void 0),o.props=new Q$(n==null?void 0:n.props),o}return $K(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(re);_h(va,"excludes",[d.TAB]),_h(va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eS(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 AK(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function _a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function xK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function NK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:Y$(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var kK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jK(e){var t=DK();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var ba=function(e){xK(r,e);var t=jK(r);function r(n){CK(this,r);var o;o=t.call(this,n),_a(Y$(o),"props",void 0),o.props=new gK(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new va,new va],o}return AK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(re);_a(ba,"excludes",[d.TAB]),_a(ba,"controlEventKeys",["on_change_tab"]),_a(ba,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function FK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function MK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function VK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:FK(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var zK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VK(this,o)}}var UK=function(e){MK(r,e);var t=qK(r);function r(n){return LK(this,r),t.call(this,n)}return r}(ne);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(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 KK(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function rS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function XK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:tS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var QK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=JK();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XK(this,o)}}var YK=function(e){GK(r,e);var t=ZK(r);function r(n){WK(this,r);var o;return o=t.call(this,n),rS(tS(o),"props",void 0),o.props=new UK({}),o.children=(n==null?void 0:n.children)||[new ao({props:new lo({span:12})}),new ao({props:new lo({span:12})})],o}return KK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(re);rS(YK,"excludes",[d.GRID_ROW,d.ROW,d.GRID,d.SUBTABLE,d.TAB,d.TOOLBOX]);function Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&Ph(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:Y(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var tG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rh(e){var t=nG();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eG(this,o)}}var wa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(wa||(wa={}));var rG=function(e){wh(r,e);var t=Rh(r);function r(n){Oh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),oG=function(e){wh(r,e);var t=Rh(r);function r(n){Oh(this,r);var o;if(o=t.call(this,n),ee(Y(o),"triggerFieldCode",{type:"any"}),ee(Y(o),"datasourceBind",{type:"any"}),n.triggerType===wa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),Is.call(Y(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(J),fo=function(e){wh(r,e);var t=Rh(r);function r(n){Oh(this,r);var o;o=t.call(this,n),ee(Y(o),"datasourceBind",void 0),ee(Y(o),"isLoading",void 0),ee(Y(o),"isShowSubList",void 0),ee(Y(o),"triggerType",void 0),ee(Y(o),"triggerFieldCode",void 0),ee(Y(o),"sublistPage",void 0),ee(Y(o),"isShowJoinRelation",void 0),ee(Y(o),"joinRelation",void 0),ee(Y(o),"showType",void 0),ee(Y(o),"showFullScreen",void 0),ee(Y(o),"isFixedHeader",void 0),ee(Y(o),"selectionType",void 0),ee(Y(o),"isShowSelection",void 0),ee(Y(o),"isAllLoaded",void 0),ee(Y(o),"countType",void 0),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:wa.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new uA(n==null?void 0:n.sublistPage);var l;o.isShowJoinRelation=(l=n==null?void 0:n.isShowJoinRelation)!==null&&l!==void 0?l:!1,o.joinRelation=new lA(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var h;return o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,o.countType=n==null?void 0:n.countType,o}return r}(ne);ee(fo,"Rules",oG),ee(fo,"RuntimeRules",rG);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(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 uG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function Pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function cG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:oS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var aG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sG(e){var t=fG();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var $a=function(e){cG(r,e);var t=sG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),Pa(oS(o),"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return uG(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}(re);Pa($a,"excludes",[d.ROW]),Pa($a,"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"]),Pa($a,"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 uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(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 dG(e,t,r){return t&&cS(e.prototype,t),r&&cS(e,r),e}function pG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function vG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function _G(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:uS(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var hG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gG(e){var t=bG();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _G(this,o)}}var mG=function(e){vG(r,e);var t=gG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),pG(uS(o),"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return dG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),OG={Designer:$a,Runtime:mG,Property:fo};function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function aS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function wG(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:rn(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var PG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fS(e){var t=RG();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var $G=function(e){aS(r,e);var t=fS(r);function r(n){lS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),Ta=function(e){aS(r,e);var t=fS(r);function r(n){lS(this,r);var o;o=t.call(this,n),on(rn(o),"save",void 0),on(rn(o),"cancel",void 0),on(rn(o),"saveAs",void 0),on(rn(o),"print",void 0),on(rn(o),"custom",void 0),on(rn(o),"isLoading",void 0),on(rn(o),"datasourceBind",void 0);var i;o.save=new Ft((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Ft((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Ft((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Ft((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new Ft(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new Q(n==null?void 0:n.datasourceBind),o}return r}(ne);on(Ta,"RuntimeRules",$G);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(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 EG(e,t,r){return t&&yS(e.prototype,t),r&&yS(e,r),e}function dS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function TG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function IG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:sS(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var BG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AG(e){var t=CG();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IG(this,o)}}var pS=function(e){TG(r,e);var t=AG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),dS(sS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return EG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(re);dS(pS,"excludes",[]);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(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 NG(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function kG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function DG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function jG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:vS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var FG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MG(e){var t=LG();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jG(this,o)}}var VG=function(e){DG(r,e);var t=MG(r);function r(n){xG(this,r);var o;return o=t.call(this,n),kG(vS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return NG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),zG={Designer:pS,Runtime:VG,Property:Ta};function Ca(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function qG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:Ca(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var WG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GG(e){var t=KG();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UG(this,o)}}var XG=function(e){qG(r,e);var t=GG(r);function r(n){HG(this,r);var o;o=t.call(this,n),Bh(Ca(o),"position",void 0),Bh(Ca(o),"opacity",void 0),Bh(Ca(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ne);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(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 JG(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function Ah(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function ZG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function YG(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:hS(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}var eX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nX(e){var t=tX();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YG(this,o)}}var gS=function(e){ZG(r,e);var t=nX(r);function r(n){QG(this,r);var o;o=t.call(this,n),Ah(hS(o),"props",void 0);var i;return o.props=new XG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return JG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(re);Ah(gS,"excludes",[]),Ah(gS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:x(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var oX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jh(e){var t=iX();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rX(this,o)}}var uX=function(e){kh(r,e);var t=jh(r);function r(n){Nh(this,r);var o;return o=t.call(this,n),B(x(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),B(x(o),"limitRows",[{type:"number",required:!0,message:_.getMessage("isNotNumber")},{type:"number",min:0,message:_.getMessage("limitRowsCannotBeLessThan0")}]),B(x(o),"formKey",{type:"string",required:!1,message:_.getMessage("pleaseEnterForm")}),B(x(o),"maxHeight",{type:"number",required:!0,message:_.getMessage("pleaseEnterMaxHeight")}),B(x(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),B(x(o),"mobileRowCaption",{type:"string",required:!1,message:_.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(J),cX=function(e){kh(r,e);var t=jh(r);function r(n){Nh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:_.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(sn),Fh=function(e){kh(r,e);var t=jh(r);function r(n,o){Nh(this,r);var i;i=t.call(this,n,o),B(x(i),"caption",void 0),B(x(i),"labelPosition",void 0),B(x(i),"isHideCaption",void 0),B(x(i),"isShowCaptionTip",void 0),B(x(i),"captionTip",void 0),B(x(i),"defaultState",void 0),B(x(i),"limitRows",void 0),B(x(i),"maxRows",void 0),B(x(i),"defaultRows",void 0),B(x(i),"datasourceBind",void 0),B(x(i),"printMode",void 0),B(x(i),"openType",void 0),B(x(i),"formKey",void 0),B(x(i),"useCustomHeight",void 0),B(x(i),"maxHeight",void 0),B(x(i),"canAdd",void 0),B(x(i),"canDelete",void 0),B(x(i),"canCheck",void 0),B(x(i),"canEdit",void 0),B(x(i),"canImport",void 0),B(x(i),"canExport",void 0),B(x(i),"canClear",void 0),B(x(i),"mobileShowType",void 0),B(x(i),"mobileDefaultNum",void 0),B(x(i),"dataStorageDoc",void 0),B(x(i),"serverPagination",void 0),B(x(i),"fixedColumn",void 0),B(x(i),"mobileRowCaption",void 0),B(x(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:zh.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var g;i.maxHeight=(g=o==null?void 0:o.maxHeight)!==null&&g!==void 0?g:$2;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new Q(o==null?void 0:o.datasourceBind);var P;i.canAdd=(P=o==null?void 0:o.canAdd)!==null&&P!==void 0?P:!0;var R;i.canDelete=(R=o==null?void 0:o.canDelete)!==null&&R!==void 0?R:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var F;i.canImport=(F=o==null?void 0:o.canImport)!==null&&F!==void 0?F:!1;var C;i.canExport=(C=o==null?void 0:o.canExport)!==null&&C!==void 0?C:!1;var W;i.canClear=(W=o==null?void 0:o.canClear)!==null&&W!==void 0?W:!0;var T;i.serverPagination=(T=o==null?void 0:o.serverPagination)!==null&&T!==void 0?T:!1;var vt;i.isShowCaptionTip=(vt=o==null?void 0:o.isShowCaptionTip)!==null&&vt!==void 0?vt:!1;var Oo;i.captionTip=(Oo=o==null?void 0:o.captionTip)!==null&&Oo!==void 0?Oo:"";var Mr;i.mobileShowType=(Mr=o==null?void 0:o.mobileShowType)!==null&&Mr!==void 0?Mr:"list";var En;i.mobileDefaultNum=(En=o==null?void 0:o.mobileDefaultNum)!==null&&En!==void 0?En:10;var _t;i.dataStorageDoc=(_t=o==null?void 0:o.dataStorageDoc)!==null&&_t!==void 0?_t:new nA;var Ig;i.fixedColumn=(Ig=o==null?void 0:o.fixedColumn)!==null&&Ig!==void 0?Ig:[];var Bg;i.mobileRowCaption=(Bg=o==null?void 0:o.mobileRowCaption)!==null&&Bg!==void 0?Bg:"\u660E\u7EC6";var Cg;return i.mobileIsTile=(Cg=o==null?void 0:o.mobileIsTile)!==null&&Cg!==void 0?Cg:!1,i}return r}(Hs);B(Fh,"Rules",uX),B(Fh,"RuntimeRules",cX);function Lh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(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 aX(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function fX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function sX(e,t){return t&&(yX(t)==="object"||typeof t=="function")?t:Lh(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var yX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pX(e){var t=dX();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sX(this,o)}}var zh=function(e){fX(r,e);var t=pX(r);function r(n){lX(this,r);var o,i;return o=t.call(this,n),Mh(Lh(o),"props",void 0),o.props=new Fh(Lh(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ot,new ot,new ot]),o}return aX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ot,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Ws);Mh(zh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Mh(zh,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function nr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function _X(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:nr(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var bX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mX(e){var t=gX();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var OX=function(e){_X(r,e);var t=mX(r);function r(n,o){vX(this,r);var i;i=t.call(this,n,o),so(nr(i),"isFixedHeader",void 0),so(nr(i),"selectionType",void 0),so(nr(i),"isShowToolbar",void 0),so(nr(i),"isShowSelection",void 0),so(nr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;return i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0,i}return r}(Hs);function wX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function wS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function RX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:wX(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var $X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PS(e){var t=SX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var EX=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(gt),Uh=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:rr.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(X);PX(Uh,"Rules",EX);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function BX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:RS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var CX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xX(e){var t=AX();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BX(this,o)}}var rr=function(e){IX(r,e);var t=xX(r);function r(n){TX(this,r);var o;return o=t.call(this,n),yo(RS(o),"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return r}(ce);yo(rr,"controlType","order-column"),yo(rr,"controlName","\u5E8F\u53F7"),yo(rr,"controlIcon","order-column"),yo(rr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function DX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:$S(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var jX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LX(e){var t=FX();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DX(this,o)}}var SS=function(e){kX(r,e);var t=LX(r);function r(n){NX(this,r);var o;return o=t.call(this,n),Kh($S(o),"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return r}(le);Kh(SS,"controlType","order-column"),Kh(SS,"controlFieldType",m.DECIMAL);function Xh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function VX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function zX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:Xh(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var HX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var TS=function(e){VX(r,e);var t=UX(r);function r(n){MX(this,r);var o,i;o=t.call(this,n),ES(Xh(o),"showType",void 0),ES(Xh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ir.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(X);function Va(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function WX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){IS(i,n,o,u,c,"next",a)}function c(a){IS(i,n,o,u,c,"throw",a)}u(void 0)})}}function KX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(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 GX(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?or=Reflect.get:or=function(o,i,u){var c=eQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},or(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function XX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function QX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mn(e,o,r[o])})}return e}function JX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ZX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):JX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function YX(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:Va(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function eQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}var tQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var oQ=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ir=function(e){XX(r,e);var t=rQ(r);function r(n){KX(this,r);var o;return o=t.call(this,n),mn(Va(o),"props",void 0),mn(Va(o),"children",void 0),o.props=new TS(n==null?void 0:n.props),Vt(Va(o),"children",n==null?void 0:n.children),o}return GX(r,[{key:"toDataBindModel",value:function(){var o=or(un(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===iu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=or(un(r.prototype),"toSchema",this).call(this);return ZX(QX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return or(un(r.prototype),"validate",u)};return WX(function(){return oQ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ce);mn(ir,"controlType","operation-column"),mn(ir,"controlName","\u64CD\u4F5C"),mn(ir,"controlIcon","operation-column"),mn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function za(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function uQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function cQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:za(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var lQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fQ(e){var t=aQ();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cQ(this,o)}}var CS=function(e){uQ(r,e);var t=fQ(r);function r(n){iQ(this,r);var o;return o=t.call(this,n),Ha(za(o),"props",void 0),Ha(za(o),"children",void 0),o.props=new TS(n==null?void 0:n.props),Vt(za(o),"children",n==null?void 0:n.children),o}return r}(le);Ha(CS,"controlType","operation-column"),Ha(CS,"controlFieldType",m.FILE);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function sQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){AS(i,n,o,u,c,"next",a)}function c(a){AS(i,n,o,u,c,"throw",a)}u(void 0)})}}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(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 dQ(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vo=Reflect.get:vo=function(o,i,u){var c=gQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},vo(e,t,r||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},On(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function vQ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ua(e,o,r[o])})}return e}function _Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hQ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_Q(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function bQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:po(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function gQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}var mQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wQ(e){var t=OQ();return function(){var n=On(e),o;if(t){var i=On(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bQ(this,o)}}var PQ=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},RQ=function(e){pQ(r,e);var t=wQ(r);function r(n){yQ(this,r);var o;return o=t.call(this,n),Ua(po(o),"props",void 0),Ua(po(o),"children",void 0),o.props=new OX(po(o),n==null?void 0:n.props),Vt(po(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new rr,new ir]),o}return dQ(r,[{key:"toSchema",value:function(){var o=vo(On(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return hQ(vQ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return vo(On(r.prototype),"validate",u)};return sQ(function(){return PQ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Ws);Ua(RQ,"setting",[{key:"list-fixed-header",visible:!0}]);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function kS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function $Q(e,t){return t&&(SQ(t)==="object"||typeof t=="function")?t:cn(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var SQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DS(e){var t=EQ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Q(this,o)}}var TQ=function(e){kS(r,e);var t=DS(r);function r(n){NS(this,r);var o;return o=t.call(this,n),pn.call(cn(o),n),o}return r}(km),tb=function(e){kS(r,e);var t=DS(r);function r(n){NS(this,r);var o;o=t.call(this,n),wn(cn(o),"optionConfig",void 0),wn(cn(o),"datasourceBind",void 0),wn(cn(o),"showLinkOperation",void 0),wn(cn(o),"linkOperationOption",void 0),wn(cn(o),"options",void 0),wn(cn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.options=bt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(X);wn(tb,"Rules",TQ);function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function CQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:jS(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var AQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NQ(e){var t=xQ();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CQ(this,o)}}var cr=function(e){BQ(r,e);var t=NQ(r);function r(n){IQ(this,r);var o;return o=t.call(this,n),ur(jS(o),"props",void 0),o.props=new tb(n==null?void 0:n.props),o}return r}(ce);ur(cr,"controlType","varchar-column"),ur(cr,"controlName","\u77ED\u6587\u672C"),ur(cr,"controlIcon","varchar-column"),ur(cr,"controlFieldType",m.VARCHAR),ur(cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function DQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function jQ(e,t){return t&&(FQ(t)==="object"||typeof t=="function")?t:FS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}var FQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MQ(e){var t=LQ();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jQ(this,o)}}var LS=function(e){DQ(r,e);var t=MQ(r);function r(n){kQ(this,r);var o;return o=t.call(this,n),rb(FS(o),"props",void 0),o.props=new tb(n==null?void 0:n.props),o}return r}(le);rb(LS,"controlType","varchar-column"),rb(LS,"controlFieldType",m.VARCHAR);function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function VS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:lr(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var zQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zS(e){var t=HQ();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var qQ=function(e){VS(r,e);var t=zS(r);function r(n){MS(this,r);var o;return o=t.call(this,n),pn.call(lr(o),n),o}return r}(gt),ub=function(e){VS(r,e);var t=zS(r);function r(n){MS(this,r);var o;o=t.call(this,n),_o(lr(o),"escapeHTML",void 0),_o(lr(o),"showLinkOperation",void 0),_o(lr(o),"linkOperationOption",void 0),_o(lr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:sr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption),o}return r}(X);_o(ub,"Rules",qQ);function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qS(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 WQ(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qa=Reflect.get:Qa=function(o,i,u){var c=XQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Qa(e,t,r||e)}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function KQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function GQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:HS(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function XQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fr(e),e!==null););return e}var QQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZQ(e){var t=JQ();return function(){var n=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GQ(this,o)}}var sr=function(e){KQ(r,e);var t=ZQ(r);function r(n){UQ(this,r);var o;return o=t.call(this,n),ar(HS(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return WQ(r,[{key:"toDataBindModel",value:function(o){var i=Qa(fr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ce);ar(sr,"controlType","text-column"),ar(sr,"controlName","\u957F\u6587\u672C"),ar(sr,"controlIcon","text-column"),ar(sr,"controlFieldType",m.TEXT),ar(sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function eJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:US(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}var nJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oJ(e){var t=rJ();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var WS=function(e){eJ(r,e);var t=oJ(r);function r(n){YQ(this,r);var o;return o=t.call(this,n),lb(US(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return r}(le);lb(WS,"controlType","text-column"),lb(WS,"controlFieldType",m.TEXT);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:pt(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var uJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XS(e){var t=cJ();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iJ(this,o)}}var lJ=function(e){GS(r,e);var t=XS(r);function r(n){KS(this,r);var o;return o=t.call(this,n),pn.call(pt(o),n),o}return r}(gt),sb=function(e){GS(r,e);var t=XS(r);function r(n){KS(this,r);var o;o=t.call(this,n),At(pt(o),"optionConfig",void 0),At(pt(o),"datasourceBind",void 0),At(pt(o),"showLinkOperation",void 0),At(pt(o),"linkOperationOption",void 0),At(pt(o),"options",void 0),At(pt(o),"precision",void 0),At(pt(o),"micrometer",void 0),At(pt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var f;o.options=bt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption),o}return r}(X);At(sb,"Rules",lJ);function QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(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 fJ(e,t,r){return t&&JS(e.prototype,t),r&&JS(e,r),e}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ya=Reflect.get:Ya=function(o,i,u){var c=dJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ya(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function sJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function yJ(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:QS(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}var pJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _J(e){var t=vJ();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yJ(this,o)}}var pr=function(e){sJ(r,e);var t=_J(r);function r(n){aJ(this,r);var o;return o=t.call(this,n),yr(QS(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return fJ(r,[{key:"toDataBindModel",value:function(o){var i=Ya(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(ce);yr(pr,"controlType","decimal-column"),yr(pr,"controlName","\u6570\u503C"),yr(pr,"controlIcon","decimal-column"),yr(pr,"controlFieldType",m.DECIMAL),yr(pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function bJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function gJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:ZS(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var mJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=OJ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gJ(this,o)}}var YS=function(e){bJ(r,e);var t=wJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),db(ZS(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return r}(le);db(YS,"controlType","decimal-column"),db(YS,"controlFieldType",m.DECIMAL);function ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function tE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function PJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:ho(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}var RJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nE(e){var t=$J();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PJ(this,o)}}var SJ=function(e){tE(r,e);var t=nE(r);function r(n){eE(this,r);var o;return o=t.call(this,n),pn.call(ho(o),n),o}return r}(gt),_b=function(e){tE(r,e);var t=nE(r);function r(n){eE(this,r);var o;o=t.call(this,n),tf(ho(o),"dateType",void 0),tf(ho(o),"showLinkOperation",void 0),tf(ho(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:kt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:hr.controlName,o}return r}(X);tf(_b,"Rules",SJ);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(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 TJ(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rf=Reflect.get:rf=function(o,i,u){var c=CJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},rf(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function IJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function BJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:rE(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function CJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}var AJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=xJ();return function(){var n=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BJ(this,o)}}var hr=function(e){IJ(r,e);var t=NJ(r);function r(n){EJ(this,r);var o;return o=t.call(this,n),vr(rE(o),"props",void 0),o.props=new _b(n==null?void 0:n.props),o}return TJ(r,[{key:"toDataBindModel",value:function(o){var i=rf(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);vr(hr,"controlType","timescope-column"),vr(hr,"controlName","\u65E5\u671F\u533A\u95F4"),vr(hr,"controlIcon","timescope-column"),vr(hr,"controlFieldType",m.TIMESCOPE),vr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function iE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function DJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function jJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:iE(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}var FJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MJ(e){var t=LJ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var uE=function(e){DJ(r,e);var t=MJ(r);function r(n){kJ(this,r);var o;return o=t.call(this,n),bb(iE(o),"props",void 0),o.props=new _b(n==null?void 0:n.props),o}return r}(le);bb(uE,"controlType","timescope-column"),bb(uE,"controlFieldType",m.TIMESCOPE);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function lE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:bo(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}var zJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aE(e){var t=HJ();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var qJ=function(e){lE(r,e);var t=aE(r);function r(n){cE(this,r);var o;return o=t.call(this,n),pn.call(bo(o),n),o}return r}(gt),Ob=function(e){lE(r,e);var t=aE(r);function r(n){cE(this,r);var o;o=t.call(this,n),uf(bo(o),"dateType",void 0),uf(bo(o),"showLinkOperation",void 0),uf(bo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:kt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(X);uf(Ob,"Rules",qJ);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(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 WJ(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lf=Reflect.get:lf=function(o,i,u){var c=XJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},lf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function KJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function GJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:fE(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function XJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}var QJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZJ(e){var t=JJ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GJ(this,o)}}var mr=function(e){KJ(r,e);var t=ZJ(r);function r(n){UJ(this,r);var o;return o=t.call(this,n),br(fE(o),"props",void 0),o.props=new Ob(n==null?void 0:n.props),o}return WJ(r,[{key:"toDataBindModel",value:function(o){var i=lf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);br(mr,"controlType","timestamp-column"),br(mr,"controlName","\u65E5\u671F"),br(mr,"controlIcon","timestamp-column"),br(mr,"controlFieldType",m.TIMESTAMP),br(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function eZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:yE(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}var nZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oZ(e){var t=rZ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var dE=function(e){eZ(r,e);var t=oZ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),Pb(yE(o),"props",void 0),o.props=new Ob(n==null?void 0:n.props),o}return r}(le);Pb(dE,"controlType","timestamp-column"),Pb(dE,"controlFieldType",m.TIMESTAMP);function ff(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function vE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:ff(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var uZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _E(e){var t=cZ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iZ(this,o)}}var lZ=function(e){vE(r,e);var t=_E(r);function r(n){return pE(this,r),t.call(this,n)}return r}(km),Sb=function(e){vE(r,e);var t=_E(r);function r(n){pE(this,r);var o;o=t.call(this,n),sf(ff(o),"optionConfig",void 0),sf(ff(o),"datasourceBind",void 0),sf(ff(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;return o.options=bt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(X);sf(Sb,"Rules",lZ);function hE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function fZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function sZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:hE(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}var yZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pZ(e){var t=dZ();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var wr=function(e){fZ(r,e);var t=pZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),Or(hE(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return r}(ce);Or(wr,"controlType","array-column"),Or(wr,"controlName","\u6570\u7EC4"),Or(wr,"controlIcon","array-column"),Or(wr,"controlFieldType",m.ARRAY),Or(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function _Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function hZ(e,t){return t&&(bZ(t)==="object"||typeof t=="function")?t:bE(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var bZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mZ(e){var t=gZ();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hZ(this,o)}}var gE=function(e){_Z(r,e);var t=mZ(r);function r(n){vZ(this,r);var o;return o=t.call(this,n),Tb(bE(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return r}(le);Tb(gE,"controlType","array-column"),Tb(gE,"controlFieldType",m.ARRAY);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function RZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:mE(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var $Z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EZ(e){var t=SZ();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RZ(this,o)}}var OE=function(e){PZ(r,e);var t=EZ(r);function r(n){OZ(this,r);var o;o=t.call(this,n),wZ(mE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$r.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(X);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(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 IZ(e,t,r){return t&&PE(e.prototype,t),r&&PE(e,r),e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_f=Reflect.get:_f=function(o,i,u){var c=AZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},_f(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function BZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function CZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:wE(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function AZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var xZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kZ(e){var t=NZ();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CZ(this,o)}}var $r=function(e){BZ(r,e);var t=kZ(r);function r(n){TZ(this,r);var o;return o=t.call(this,n),Pr(wE(o),"props",void 0),o.props=new OE(n==null?void 0:n.props),o}return IZ(r,[{key:"toDataBindModel",value:function(o){var i=_f(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ce);Pr($r,"controlType","department-column"),Pr($r,"controlName","\u90E8\u95E8"),Pr($r,"controlIcon","department-column"),Pr($r,"controlFieldType",m.DEPARTMENTS),Pr($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function RE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function jZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function FZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:RE(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var LZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VZ(e){var t=MZ();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FZ(this,o)}}var $E=function(e){jZ(r,e);var t=VZ(r);function r(n){DZ(this,r);var o;return o=t.call(this,n),Ab(RE(o),"props",void 0),o.props=new OE(n==null?void 0:n.props),o}return r}(le);Ab($E,"controlType","department-column"),Ab($E,"controlFieldType",m.DEPARTMENTS);function bf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function EE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function zZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:bf(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var HZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TE(e){var t=qZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zZ(this,o)}}var UZ=function(e){EE(r,e);var t=TE(r);function r(n){SE(this,r);var o;return o=t.call(this,n),pn.call(bf(o),n),o}return r}(gt),Db=function(e){EE(r,e);var t=TE(r);function r(n){SE(this,r);var o;o=t.call(this,n),Nb(bf(o),"showLinkOperation",void 0),Nb(bf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption),o}return r}(X);Nb(Db,"Rules",UZ);function IE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function KZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function GZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:IE(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}var XZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=QZ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GZ(this,o)}}var Er=function(e){KZ(r,e);var t=JZ(r);function r(n){WZ(this,r);var o;return o=t.call(this,n),Sr(IE(o),"props",void 0),o.props=new Db(n==null?void 0:n.props),o}return r}(ce);Sr(Er,"controlType","auto-number-column"),Sr(Er,"controlName","\u81EA\u52A8\u7F16\u53F7"),Sr(Er,"controlIcon","auto-number-column"),Sr(Er,"controlFieldType",m.AUTO_NUMBER),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function YZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:BE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(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=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eY(this,o)}}var CE=function(e){YZ(r,e);var t=rY(r);function r(n){ZZ(this,r);var o;return o=t.call(this,n),Fb(BE(o),"props",void 0),o.props=new Db(n==null?void 0:n.props),o}return r}(le);Fb(CE,"controlType","auto-number-column"),Fb(CE,"controlFieldType",m.AUTO_NUMBER);function oY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function uY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function cY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:oY(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var lY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fY(e){var t=aY();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cY(this,o)}}var AE=function(e){uY(r,e);var t=fY(r);function r(n){iY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ir.controlName,o}return r}(X);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function yY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function dY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:xE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var pY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=vY();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dY(this,o)}}var Ir=function(e){yY(r,e);var t=_Y(r);function r(n){sY(this,r);var o;return o=t.call(this,n),Tr(xE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(ce);Tr(Ir,"controlType","file-column"),Tr(Ir,"controlName","\u9644\u4EF6"),Tr(Ir,"controlIcon","file-column"),Tr(Ir,"controlFieldType",m.FILE),Tr(Ir,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(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&&Hb(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:NE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var mY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wY(e){var t=OY();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gY(this,o)}}var kE=function(e){bY(r,e);var t=wY(r);function r(n){hY(this,r);var o;return o=t.call(this,n),zb(NE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(le);zb(kE,"controlType","file-column"),zb(kE,"controlFieldType",m.FILE);function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function $Y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function SY(e,t){return t&&(EY(t)==="object"||typeof t=="function")?t:PY(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var EY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IY(e){var t=TY();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SY(this,o)}}var DE=function(e){$Y(r,e);var t=IY(r);function r(n){RY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cr.controlName,o}return r}(X);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function AY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:jE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var xY=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 kY(e){var t=NY();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AY(this,o)}}var Cr=function(e){CY(r,e);var t=kY(r);function r(n){BY(this,r);var o;return o=t.call(this,n),Br(jE(o),"props",void 0),o.props=new DE(n==null?void 0:n.props),o}return r}(ce);Br(Cr,"controlType","image-column"),Br(Cr,"controlName","\u56FE\u7247"),Br(Cr,"controlIcon","image-column"),Br(Cr,"controlFieldType",m.IMAGE),Br(Cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function FE(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 Wb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function jY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function FY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:FE(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var LY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VY(e){var t=MY();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var LE=function(e){jY(r,e);var t=VY(r);function r(n){DY(this,r);var o;return o=t.call(this,n),Wb(FE(o),"props",void 0),o.props=new DE(n==null?void 0:n.props),o}return r}(le);Wb(LE,"controlType","image-column"),Wb(LE,"controlFieldType",m.IMAGE);function zY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function qY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:zY(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}var WY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GY(e){var t=KY();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UY(this,o)}}var ME=function(e){qY(r,e);var t=GY(r);function r(n){HY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName,o}return r}(X);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function QY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:VE(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var ZY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eee(e){var t=YY();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JY(this,o)}}var xr=function(e){QY(r,e);var t=eee(r);function r(n){XY(this,r);var o;return o=t.call(this,n),Ar(VE(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return r}(ce);Ar(xr,"controlType","people-column"),Ar(xr,"controlName","\u4EBA\u5458"),Ar(xr,"controlIcon","people-column"),Ar(xr,"controlFieldType",m.EMPLOYEES),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function nee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}function ree(e,t){return t&&(oee(t)==="object"||typeof t=="function")?t:zE(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}var oee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uee(e){var t=iee();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ree(this,o)}}var HE=function(e){nee(r,e);var t=uee(r);function r(n){tee(this,r);var o;return o=t.call(this,n),Qb(zE(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return r}(le);Qb(HE,"controlType","people-column"),Qb(HE,"controlFieldType",m.EMPLOYEES);function Cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function UE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function cee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:Cf(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WE(e){var t=aee();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cee(this,o)}}var fee=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;return o=t.call(this,n),pn.call(Cf(o),n),o}return r}(gt),eg=function(e){UE(r,e);var t=WE(r);function r(n){qE(this,r);var o;o=t.call(this,n),Zb(Cf(o),"showLinkOperation",void 0),Zb(Cf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption),o}return r}(X);Zb(eg,"Rules",fee);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function dee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:KE(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}var pee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ee(e){var t=vee();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dee(this,o)}}var kr=function(e){yee(r,e);var t=_ee(r);function r(n){see(this,r);var o;return o=t.call(this,n),Nr(KE(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return r}(ce);Nr(kr,"controlType","location-column"),Nr(kr,"controlName","\u5730\u5740"),Nr(kr,"controlIcon","location-column"),Nr(kr,"controlFieldType",m.ADDRESS),Nr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:GE(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}var mee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wee(e){var t=Oee();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gee(this,o)}}var XE=function(e){bee(r,e);var t=wee(r);function r(n){hee(this,r);var o;return o=t.call(this,n),ng(GE(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return r}(le);ng(XE,"controlType","location-column"),ng(XE,"controlFieldType",m.ADDRESS);function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ree(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&og(e,t)}function See(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:QE(e)}function og(e,t){return og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},og(e,t)}var Eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Tee();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return See(this,o)}}var JE=function(e){$ee(r,e);var t=Iee(r);function r(n){Pee(this,r);var o;o=t.call(this,n),Ree(QE(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(X);function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(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 Cee(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(e,r),e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function go(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(o,i,u){var c=Fee(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},go(e,t,r||e)}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(e)}function Aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function xee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Nee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){it(e,o,r[o])})}return e}function kee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Dee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function jee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:Dr(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}function Fee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pn(e),e!==null););return e}var Lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vee(e){var t=Mee();return function(){var n=Pn(e),o;if(t){var i=Pn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jee(this,o)}}var zee=1,Rn=function(t){Aee(n,t);var r=Vee(n);function n(o){Bee(this,n);var i;i=r.call(this,o),it(Dr(i),"excludes",void 0),it(Dr(i),"childrenMaxLength",void 0),it(Dr(i),"props",void 0),it(Dr(i),"children",void 0);var u=xee(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new JE(o==null?void 0:o.props),Vt(Dr(i),"children",o==null?void 0:o.children),i.excludes=Dt(c),i.childrenMaxLength=a,i}return Cee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=go(Pn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=go(Pn(n.prototype),"toSchema",this).call(this);return Dee(Nee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ce);it(Rn,"controlType","custom-column"),it(Rn,"controlName","\u81EA\u5B9A\u4E49"),it(Rn,"controlIcon","custom-column"),it(Rn,"excludes",[]),it(Rn,"childrenMaxLength",zee),it(Rn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:Df(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}var Wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gee(e){var t=Kee();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var Xee=function(e){qee(r,e);var t=Gee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),ug(Df(o),"props",void 0),ug(Df(o),"children",void 0),o.props=new JE(n==null?void 0:n.props),Vt(Df(o),"children",n==null?void 0:n.children),o}return r}(le);ug(Xee,"controlType","custom-column");function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function Yee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:YE(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}var ete=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yee(this,o)}}var eT=function(e){Zee(r,e);var t=nte(r);function r(n){Qee(this,r);var o;o=t.call(this,n),Jee(YE(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$n.controlName;var u;return o.datasourceBind=new $o((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:$n.controlCustomAttributes}),o}return r}(X);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nT(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 ote(e,t,r){return t&&nT(e.prototype,t),r&&nT(e,r),e}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ag(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:tT(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}var cte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=lte();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ute(this,o)}}var $n=function(e){ite(r,e);var t=ate(r);function r(n){rte(this,r);var o;return o=t.call(this,n),jr(tT(o),"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return ote(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ce);jr($n,"controlType","employee-column"),jr($n,"controlName","\u4EBA\u5458"),jr($n,"controlIcon","employee-column"),jr($n,"controlFieldType",m.EMPLOYEES),jr($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function yte(e,t){return t&&(dte(t)==="object"||typeof t=="function")?t:rT(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var dte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=pte();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yte(this,o)}}var oT=function(e){ste(r,e);var t=vte(r);function r(n){fte(this,r);var o;return o=t.call(this,n),fg(rT(o),"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return r}(le);fg(oT,"controlType","employee-column"),fg(oT,"controlFieldType",m.EMPLOYEES);function Vf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function bte(e,t){return t&&(gte(t)==="object"||typeof t=="function")?t:Vf(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}var gte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=mte();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bte(this,o)}}var iT=function(e){hte(r,e);var t=Ote(r);function r(n){_te(this,r);var o;o=t.call(this,n),yg(Vf(o),"lineEllipsis",void 0),yg(Vf(o),"showLinkOperation",void 0),yg(Vf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new jt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(X);function pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function Pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function Rte(e,t){return t&&($te(t)==="object"||typeof t=="function")?t:pg(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}var $te=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ete(e){var t=Ste();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rte(this,o)}}var Fr=function(e){Pte(r,e);var t=Ete(r);function r(n){wte(this,r);var o;return o=t.call(this,n),Sn(pg(o),"props",void 0),Sn(pg(o),"children",void 0),o.props=new iT(n==null?void 0:n.props),o}return r}(ce);Sn(Fr,"controlType","approval-status-column"),Sn(Fr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Sn(Fr,"controlIcon","approval-status-column"),Sn(Fr,"excludes",[]),Sn(Fr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function _g(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bg(e,t)}function Bte(e,t){return t&&(Cte(t)==="object"||typeof t=="function")?t:_g(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}var Cte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xte(e){var t=Ate();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bte(this,o)}}var Nte=function(e){Ite(r,e);var t=xte(r);function r(n){Tte(this,r);var o;return o=t.call(this,n),hg(_g(o),"props",void 0),hg(_g(o),"children",void 0),o.props=new iT(n==null?void 0:n.props),o}return r}(le);hg(Nte,"controlType","approval-status-column");function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function cT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gg(e,t)}function kte(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:xt(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}var Dte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lT(e){var t=jte();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kte(this,o)}}var Fte=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),mg=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;o=t.call(this,n),Nt(xt(o),"search",void 0),Nt(xt(o),"cancel",void 0),Nt(xt(o),"searchType",void 0),Nt(xt(o),"labelPosition",void 0),Nt(xt(o),"viewType",void 0),Nt(xt(o),"isLoading",void 0),Nt(xt(o),"custom",void 0),Nt(xt(o),"queryTypeMap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var a;o.search=new Ft((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Ft((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(g){return new Ft(g)});var p;return o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[],o}return r}(ny);Nt(mg,"RuntimeRules",Fte);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function Mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wg(e,t)}function Vte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:aT(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}var zte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qte(e){var t=Hte();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vte(this,o)}}var fT=function(e){Mte(r,e);var t=qte(r);function r(n){Lte(this,r);var o;return o=t.call(this,n),Og(aT(o),"props",void 0),o.props=new mg(n==null?void 0:n.props),o}return r}(dN);Og(fT,"controlType","simple-search"),Og(fT,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function Kte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:Pg(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}var Gte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Xte();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kte(this,o)}}var Jte=function(e){Wte(r,e);var t=Qte(r);function r(n){Ute(this,r);var o;o=t.call(this,n),Rg(Pg(o),"props",void 0),Rg(Pg(o),"children",void 0),o.props=new mg(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(mN);Rg(Jte,"controlType","simple-search");function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:sT(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}var nne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var ine=function(e){ene(r,e);var t=one(r);function r(n){Zte(this,r);var o;o=t.call(this,n),Yte(sT(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(Vm);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dT(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 cne(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function pT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eg(e,t)}function ane(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:yT(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eg(e,t)}var fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=sne();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ane(this,o)}}var dne=function(e){lne(r,e);var t=yne(r);function r(n){une(this,r);var o;return o=t.call(this,n),pT(yT(o),"props",void 0),o.props=new ine(n==null?void 0:n.props),o}return cne(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-wrap"}}]),r}(NN);pT(dne,"setting",[{key:"whole-row",visible:!0}]);const pne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Sne(t==null?void 0:t.events),mne(n),One(n);const o=gne(n),i=wne(o,t);let u=Cn(Re(i,c=>bne(c,t)));return r?u:u[0]},vne=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],_ne=["subtable","grid-table"],hne=["simple-search"];function bne(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":vne.includes(r.type)?r.controlType="base":r.controlType="form",_ne.includes(r.type)&&(r.controlType="list"),hne.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),me((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),me((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),me((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((y,p)=>{const g=new hW.Designer;g.props.caption=me(y.field_name)?y.field_name.zh:y.field_name;const O=g.toSchema();O.id=y.header_id;const h=r.children[0].children[p].children[0];return h&&(O.children=[h]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=me(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(y=>{const p=new v$.Designer;p.props.span=f;const g=p.toSchema();return g.children.push(y),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],p={};f&&(vT(r,t),p.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),y&&(p.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],p={},g={};f&&(vT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Bn(f.props.range_min),r.props.range_max=Bn(f.props.range_max),g.amount=Bn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=me(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),y&&(p.currency=y.props.data_bind,g.currency=y.props.value,r.props.datasourceBind=y.props.datasource_bind,r.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1];r.props.placeholderStart=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),y&&(p.max=y.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Bn(e.props.range_min),r.props.range_max=Bn(e.props.range_max),r.props.defaultValue=Bn(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"),Ene(r,t==null?void 0:t.control_events),r}function vT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),a=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function gne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new zG.Designer().toSchema();return n.children=e,[n]}function mne(e){e.forEach(t=>{t.children&&$ne(t.children)})}function One(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function wne(e,t){var g,O,h,w,v,P,R,$;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;Pne(i),c.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Rne(c,u);const a=(h=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?h:t==null?void 0:t.dataCode,l=((v=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,f=(R=(P=n==null?void 0:n.source_config)==null?void 0:P.orders)!=null?R:[],y=new OG.Designer;y.props.datasourceBind=new Q({dataCode:a,svcCode:l,orders:k1(f)}),y.props.isShowSubList=n.is_show_sublist,y.props.triggerType=n.timing_type,y.props.triggerFieldCode=n.ctrl_field_code,($=n==null?void 0:n.sublist_page)==null||$.sublists.forEach(E=>{E.title=me(E.title)?E.title.zh:E.title}),y.props.sublistPage=n.sublist_page;const p=y.toSchema();return p.children.push(i,c),[p]}function Pne(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=me(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Rne(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=me(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},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 Q({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 $ne(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function Sne(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 Ene(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.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 Tne=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Ine(i)));return r?o:o[0]};function Ine(e,t){return e.type===d.LIST_VIEW&&e.children.find(n=>n.type===d.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Me({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Bne=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Cne(i)));return r?o:o[0]};function Cne(e,t){return[d.BUTTON,d.CREATE_FORM_LIST_BUTTON,d.BATCH_SUBMISSION_LIST_BUTTON,d.SUBMISSION_RECORD_LIST_BUTTON,d.IMPORT_RECORD_LIST_BUTTON,d.EXPORT_RECORD_LIST_BUTTON,d.EXPORT_LIST_BUTTON,d.FORM_SELECT_BUTTON,d.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===d.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===d.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Ane=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>xne(i)));return r?o:o[0]};function xne(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 Nne=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Dne(i)));return r?o:o[0]},kne=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function Dne(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(kne.includes(r.type))return r;const n=new HU.Designer,o=new v$.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const jne=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Fne(i)));return r?o:o[0]};function Fne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===d.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Lne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Mne(i));return r?o:o[0]};function Mne(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Vne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>zne(i));return r?o:o[0]};function ln(e,t){e.field_code&&(e.field_type=t)}function zne(e,t){var n;const r={[d.TITLE]:m.AUTO_NUMBER,[d.ADDRESS]:m.ADDRESS,[d.ATTACHMENT]:m.FILE,[d.AUTO_NUMBER]:m.AUTO_NUMBER,[d.CHECKBOX]:m.ARRAY,[d.DATE_PICKER]:m.TIMESTAMP,[d.DEPARTMENT]:m.DEPARTMENTS,[d.EMPLOYEE]:m.EMPLOYEES,[d.EMPLOYEE2]:m.EMPLOYEES,[d.IMAGE]:m.IMAGE,[d.INPUT]:m.VARCHAR,[d.NUMBER]:m.DECIMAL,[d.RADIO]:m.VARCHAR,[d.RICH_TEXT]:m.TEXT,[d.SCORE]:m.DECIMAL,[d.SELECT]:m.VARCHAR,[d.SELECT_MULTIPLE]:m.ARRAY,[d.SELECT_RELATION]:m.VARCHAR,[d.TEXTAREA]:m.TEXT,[d.TREE]:m.ARRAY,[d.SEARCH_DATE_RANGE]:m.ARRAY,[d.SEARCH_INPUT]:m.VARCHAR,[d.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&ln(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(ln(e.props.data_bind.amount,m.DECIMAL),ln(e.props.data_bind.currency,m.VARCHAR)),e.type===d.CALC&&(ln(e.props.data_bind.result,m.DECIMAL),ln(e.props.data_bind.unit,m.VARCHAR)),e.type===d.DATE_RANGE&&(ln(e.props.data_bind.min,m.TIMESTAMP),ln(e.props.data_bind.max,m.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&ln(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const Hne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>qne(i));return r?o:o[0]};function qne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===d.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Une=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Wne(i));return r?o:o[0]};function Wne(e,t){return e.type===d.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const Kne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Gne(i));return r?o:o[0]};function Gne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 Xne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Qne(i));return r?o:o[0]};function Qne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 Jne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Zne(i));return r?o:o[0]};function Zne(e,t){return e.type===d.TITLE&&e.props.config.push(Ot.ShowTitle),e.type===d.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,y,p,g,O,h,w,v,P,R,$,E,F,C,W;if(r.type===d.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,((o=r.props)==null?void 0:o.check)!==void 0){const T=new Id.Designer;Object.defineProperty(T,"id",{value:"listPageCheckBtnId"}),T.props.code="view",T.props.icon="iconliulan1",T.props.command="view",T.props.content=(i=r.props)==null?void 0:i.check.content,T.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,T.props.openType=(c=r.props)==null?void 0:c.check.open_type,T.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(T.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const T=new Id.Designer;Object.defineProperty(T,"id",{value:"listPageEditBtnId"}),T.props.code="edit",T.props.icon="iconbianji1",T.props.command="edit",T.props.content=(p=r.props)==null?void 0:p.edit.content,T.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,T.props.openType=(O=r.props)==null?void 0:O.edit.open_type,T.props.formKey=(h=r.props)==null?void 0:h.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(T.toSchema()),(v=r.props)==null||delete v.edit}if(((P=r.props)==null?void 0:P.delete)!==void 0){const T=new Id.Designer;Object.defineProperty(T,"id",{value:"listPageDeleteBtnId"}),T.props.code="delete",T.props.icon="iconlajitong",T.props.command="delete",T.props.content=(R=r.props)==null?void 0:R.delete.content,T.props.priorityProcess=($=r.props)==null?void 0:$.delete.priority_process,T.props.openType=(E=r.props)==null?void 0:E.delete.open_type,T.props.formKey=(F=r.props)==null?void 0:F.delete.form_key,T.props.needConfirm=!0,T.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(C=r.props)!=null&&C.delete.is_show&&r.children.push(T.toSchema()),(W=r.props)==null||delete W.delete}}}),[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 _T={"v1.0":pne,"v2.0":Tne,"v2.1":Bne,"v2.2":Ane,"v2.3":Nne,"v2.4":jne,"v2.5":Lne,"v2.6":Vne,"v2.7":Hne,"v2.8":Une,"v2.9":Kne,"v2.10":Xne,"v3.0":Jne,"v3.1":()=>{}};const hT=(e,t)=>{const r=bT(e),n=bT(t),o=r.pop(),i=n.pop(),u=OT(r,n);return u!==0?u:o&&i?OT(o.split("."),i.split(".")):o||i?o?-1:1:0},Qf=(e,t,r)=>{nre(r);const n=hT(e,t);return wT[r].includes(n)},Yne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,bT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Yne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},gT=e=>e==="*"||e==="x"||e==="X",mT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},ere=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],tre=(e,t)=>{if(gT(e)||gT(t))return 0;const[r,n]=ere(mT(e),mT(t));return r>n?1:r<n?-1:0},OT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=tre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},wT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},PT=Object.keys(wT),nre=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(PT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${PT.join("|")}`)};function Tg(e){return e.replace(/^v/,"")}const Lr=Object.keys(_T).map(e=>Tg(e)).sort(hT),mo=Lr[Lr.length-1];class rre{constructor(t,r=mo){this.schemaVersion=t,this.toVersion=r,Qf(r,mo,">")?qr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${mo}`):(!Lr.includes(Tg(r))||!Lr.includes(Tg(t)))&&qr(`Version Builder: Please give me a valid version number, The valid version is: ${Lr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Qf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=_T[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Lr.filter(t=>Qf(t,this.schemaVersion,">=")&&Qf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return mo}static get version(){return mo}}Tn.VersionBuilder=rre,Object.defineProperty(Tn,"__esModule",{value:!0})});
|