@byteluck-fe/model-driven-upgrade 2.5.9-beta.3 → 2.5.9-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(En,Lr){typeof exports=="object"&&typeof module!="undefined"?Lr(exports):typeof define=="function"&&define.amd?define(["exports"],Lr):(En=typeof globalThis!="undefined"?globalThis:En||self,Lr(En.modelDrivenUpgrade={}))})(this,function(En){"use strict";var Lr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",NE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",jE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",FE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",LE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ME="{caption}\u5FC5\u586B",VE="\u8BF7\u8F93\u5165\u6807\u9898",zE="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",CE="\u8BF7\u8F93\u5165\u884C\u6807\u9898",HE="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qE="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",UE="\u8BF7\u7ED1\u5B9A\u8868\u5355",WE="\u8BF7\u7ED1\u5B9A\u5217\u8868",KE="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",GE="\u8BF7\u8F93\u5165\u663E\u793A\u503C",XE="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",QE="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",JE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ZE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",YE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",eT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",tT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",nT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",rT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",oT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",iT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",uT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",cT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",lT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",aT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",fT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",sT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",_T="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",yT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",pT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",vT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",hT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bT="\u8BF7\u9009\u62E9\u7701",mT="\u8BF7\u9009\u62E9\u5E02",gT="\u8BF7\u9009\u62E9\u533A",OT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",wT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",$T="\u8BF7\u8F93\u5165\u5217\u5BBD",PT="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",RT="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ST="\u8BF7\u9009\u62E9\u63A7\u4EF6",ET="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",TT="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",IT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",BT="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",AT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",kT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",DT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",FT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",LT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",MT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",VT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",CT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",HT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",UT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",WT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",KT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",GT={isNotNumber:Lr,isNotString:NE,isNotObject:jE,isNotArray:FE,isNotBoolean:LE,runtimeRequired:ME,pleaseEnterCaption:VE,pleaseEnterCaptionTip:zE,pleaseEnterRowCaption:CE,pleaseEnterPlaceholder:HE,pleaseEnterFieldCode:qE,pleaseEnterForm:UE,pleaseEnterList:WE,pleaseEnterProcess:KE,pleaseEnterLabel:GE,pleaseEnterValue:XE,bizKeyNotBindFiled:QE,pleaseSelectOneField:JE,pleaseEnterNumberRange:ZE,pleaseEnterAValueGreaterThanMin:YE,pleaseEnterAValueLessThanMax:eT,numberRangeSetError:tT,stringRangeError:nT,attachmentMaxSize:rT,pleaseEnterTotalScoreSetting:oT,theTotalScoreMustNotBeLessThan1:iT,scoreDefaultValueRange:uT,attachmentLimitError:cT,PleaseReselectTheOptionalQuantity:lT,TheMaximumLengthIsGreaterThanTheMinimumLength:aT,TheMinimumLengthIsGreaterThanTheMaximumLength:fT,PleaseSelectTheCorrectOptionSettings:sT,optionIdIsRepeat:_T,optionIsRequired:yT,pleaseEnterDataCode:pT,pleaseEnterValueFieldCode:dT,pleaseEnterSvcCode:vT,pleaseBindAtLeastOneDisplayValue:hT,pleaseSelectProvince:bT,pleaseSelectCity:mT,pleaseSelectDistrict:gT,limitRowsCannotBeLessThan0:OT,TheNumberOfRowsCannotBeLessThanMinRows:wT,pleaseEnterColumnWidth:$T,pleaseSetTheLogicalRelationshipOfAllRuleConditions:PT,pleaseCompleteAllRulesAndConditions:RT,pleaseSelectControl:ST,pleaseSelectAtLeastOneColumn:ET,pleaseSelectFillBackMode:TT,pleaseSelectDashboard:IT,rootNodeIsRequired:BT,theViewNameCannotBeEmpty:AT,pleaseSelectOcrType:xT,pleaseSelectAtLeastOneFieldToFillIn:kT,pleaseChooseAtLeastOne:DT,pleaseEnterButtonContent:NT,pleaseEnterDataCodeInDataSetting:jT,pleaseEnterValueFieldCodeInDataSetting:FT,pleaseEnterSvcCodeInDataSetting:LT,pleaseBindAtLeastOneDisplayValueInDataSetting:MT,rootNodeIsRequiredInDataSetting:VT,pleaseEnterMaxHeight:zT,pleaseEnter:CT,pleaseEnterWatermark:HT,pleaseEnterFileName:qT,pleaseUploadAtLeastOnePrintTemplate:UT,pleaseAssignBusiness:WT,pleaseAssignExternal:KT},XT="Please enter a number",QT="Please enter a string",JT="Please enter an object",ZT="Please enter an array",YT="Please enter a boolean",eI="{caption} Required",tI="Please enter the title",nI="Please enter the bubble prompt",rI="Please enter the row title",oI="Please enter the prompt text",iI="Please bind data items",uI="Please bind the form",cI="Please bind the list",lI="Please bind the process",aI="Please enter the displayed value",fI="Please enter the stored value",sI="The document number is not bound to the data item",_I="Please select at least one display field",yI="Please enter a value greater than or equal to {min} and less than or equal to {max}",pI="Please enter a value greater than or equal to {min}",dI="Please enter a value less than or equal to {max}",vI="The value range is set incorrectly",hI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",bI="The attachment size must be between 0MB and 1000MB",mI="Please fill in the total score setting",gI="The total score cannot be less than 1",OI="The default value must be between {min} and {max}",wI="The number of attachments uploaded must be between {min} and {max}",$I="Please re-select the optional quantity",PI="The maximum length of the control must be greater than the minimum length",RI="The minimum length of the control must be less than the maximum length",SI="Please select the correct option setting",EI="Option ID cannot be repeated",TI="Please enter at least one option",II="Please bind the data source",BI="Please bind the stored value",AI="Please bind the service",xI="At least one display value must be bound",kI="Please select a province",DI="Please select a city",NI="Please select a district",jI="The minimum number of lines to fill in cannot be less than 0",FI="The number of rows cannot be less than {min} rows",LI="Please enter the column width",MI="Please set the logical relationship of all rule conditions",VI="Please complete all rules and conditions",zI="please select control",CI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",HI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",UI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",WI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",KI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",GI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",XI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",QI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",JI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ZI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",YI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",eB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",tB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",nB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",uB={isNotNumber:XT,isNotString:QT,isNotObject:JT,isNotArray:ZT,isNotBoolean:YT,runtimeRequired:eI,pleaseEnterCaption:tI,pleaseEnterCaptionTip:nI,pleaseEnterRowCaption:rI,pleaseEnterPlaceholder:oI,pleaseEnterFieldCode:iI,pleaseEnterForm:uI,pleaseEnterList:cI,pleaseEnterProcess:lI,pleaseEnterLabel:aI,pleaseEnterValue:fI,bizKeyNotBindFiled:sI,pleaseSelectOneField:_I,pleaseEnterNumberRange:yI,pleaseEnterAValueGreaterThanMin:pI,pleaseEnterAValueLessThanMax:dI,numberRangeSetError:vI,stringRangeError:hI,attachmentMaxSize:bI,pleaseEnterTotalScoreSetting:mI,theTotalScoreMustNotBeLessThan1:gI,scoreDefaultValueRange:OI,attachmentLimitError:wI,PleaseReselectTheOptionalQuantity:$I,TheMaximumLengthIsGreaterThanTheMinimumLength:PI,TheMinimumLengthIsGreaterThanTheMaximumLength:RI,PleaseSelectTheCorrectOptionSettings:SI,optionIdIsRepeat:EI,optionIsRequired:TI,pleaseEnterDataCode:II,pleaseEnterValueFieldCode:BI,pleaseEnterSvcCode:AI,pleaseBindAtLeastOneDisplayValue:xI,pleaseSelectProvince:kI,pleaseSelectCity:DI,pleaseSelectDistrict:NI,limitRowsCannotBeLessThan0:jI,TheNumberOfRowsCannotBeLessThanMinRows:FI,pleaseEnterColumnWidth:LI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:MI,pleaseCompleteAllRulesAndConditions:VI,pleaseSelectControl:zI,pleaseSelectDashboard:CI,theViewNameCannotBeEmpty:HI,pleaseSelectOcrType:qI,pleaseSelectAtLeastOneFieldToFillIn:UI,pleaseChooseAtLeastOne:WI,pleaseEnterButtonContent:KI,pleaseEnterDataCodeInDataSetting:GI,pleaseEnterValueFieldCodeInDataSetting:XI,pleaseEnterSvcCodeInDataSetting:QI,pleaseBindAtLeastOneDisplayValueInDataSetting:JI,rootNodeIsRequiredInDataSetting:ZI,pleaseEnterMaxHeight:YI,pleaseEnter:eB,pleaseEnterWatermark:tB,pleaseEnterFileName:nB,pleaseUploadAtLeastOnePrintTemplate:rB,pleaseAssignBusiness:oB,pleaseAssignExternal:iB},cB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_B="{caption}\u5FC5\u9808",yB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$B="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",PB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TB="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",IB="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BB="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",kB="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",NB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jB="\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",FB="\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",LB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",MB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",VB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",UB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",WB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",KB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",XB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",QB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ZB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",YB="please select control",e1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",t1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",n1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",r1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",o1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",i1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",u1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",c1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",l1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",a1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",f1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",s1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",y1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",p1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",d1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",v1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",h1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",b1={isNotNumber:cB,isNotString:lB,isNotObject:aB,isNotArray:fB,isNotBoolean:sB,runtimeRequired:_B,pleaseEnterCaption:yB,pleaseEnterCaptionTip:pB,pleaseEnterRowCaption:dB,pleaseEnterPlaceholder:vB,pleaseEnterFieldCode:hB,pleaseEnterForm:bB,pleaseEnterList:mB,pleaseEnterProcess:gB,pleaseEnterLabel:OB,pleaseEnterValue:wB,bizKeyNotBindFiled:$B,pleaseSelectOneField:PB,pleaseEnterNumberRange:RB,pleaseEnterAValueGreaterThanMin:SB,pleaseEnterAValueLessThanMax:EB,numberRangeSetError:TB,stringRangeError:IB,attachmentMaxSize:BB,pleaseEnterTotalScoreSetting:AB,theTotalScoreMustNotBeLessThan1:xB,scoreDefaultValueRange:kB,attachmentLimitError:DB,PleaseReselectTheOptionalQuantity:NB,TheMaximumLengthIsGreaterThanTheMinimumLength:jB,TheMinimumLengthIsGreaterThanTheMaximumLength:FB,PleaseSelectTheCorrectOptionSettings:LB,optionIdIsRepeat:MB,optionIsRequired:VB,pleaseEnterDataCode:zB,pleaseEnterValueFieldCode:CB,pleaseEnterSvcCode:HB,pleaseBindAtLeastOneDisplayValue:qB,pleaseSelectProvince:UB,pleaseSelectCity:WB,pleaseSelectDistrict:KB,limitRowsCannotBeLessThan0:GB,TheNumberOfRowsCannotBeLessThanMinRows:XB,pleaseEnterColumnWidth:QB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:JB,pleaseCompleteAllRulesAndConditions:ZB,pleaseSelectControl:YB,pleaseSelectDashboard:e1,theViewNameCannotBeEmpty:t1,pleaseSelectOcrType:n1,pleaseSelectAtLeastOneFieldToFillIn:r1,pleaseChooseAtLeastOne:o1,pleaseEnterButtonContent:i1,pleaseEnterDataCodeInDataSetting:u1,pleaseEnterValueFieldCodeInDataSetting:c1,pleaseEnterSvcCodeInDataSetting:l1,pleaseBindAtLeastOneDisplayValueInDataSetting:a1,rootNodeIsRequiredInDataSetting:f1,pleaseEnterMaxHeight:s1,pleaseEnter:_1,pleaseEnterWatermark:y1,pleaseEnterFileName:p1,pleaseUploadAtLeastOnePrintTemplate:d1,pleaseAssignBusiness:v1,pleaseAssignExternal:h1},m1={zhCN:GT,enUS:uB,jaJP:b1},Yb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Yb||(Yb={}));var em;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(em||(em={}));var g1="zh-CN";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}var Tn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Tn||(Tn={}));var y;(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.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(y||(y={}));var g;(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"})(g||(g={}));var he;he={},xe(he,"array","array-column"),xe(he,"auto_number","auto-number-column"),xe(he,"decimal","decimal-column"),xe(he,"department","department-column"),xe(he,"file","file-column"),xe(he,"image","image-column"),xe(he,"location","location-column"),xe(he,"people","employee-column"),xe(he,"text","text-column"),xe(he,"timescope","timescope-column"),xe(he,"timestamp","timestamp-column"),xe(he,"varchar","varchar-column"),xe(he,"relation","varchar-column");var Dt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Dt||(Dt={}));var tm="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",O1=tm+"0123456789";function yt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?tm:O1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function kf(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 w1(e){if(Array.isArray(e))return kf(e)}function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t,r){return im()?mo=Reflect.construct:mo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Vr(l,u.prototype),l},mo.apply(null,arguments)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vr(e,t)}function P1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function R1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function S1(){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 E1(e,t){return t&&(T1(t)==="object"||typeof t=="function")?t:$1(e)}function Vr(e,t){return Vr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vr(e,t)}function om(e){return w1(e)||R1(e)||I1(e)||S1()}function T1(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I1(e,t){if(!!e){if(typeof e=="string")return kf(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 kf(e,t)}}function Df(e){var t=typeof Map=="function"?new Map:void 0;return Df=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 mo(n,arguments,Mr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Vr(o,n)},Df(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 um(e){var t=im();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E1(this,o)}}var Nf=console;function jf(){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=Nf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(om(o)))}function go(){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=Nf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(om(o)))}function B1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ff=function(e){rm(r,e);var t=um(r);function r(n){nm(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?B1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Df(Error)),A1=function(e){rm(r,e);var t=um(r);function r(n){nm(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Ff);function zr(e){throw new Ff(e)}function cm(e){throw new A1(e)}function x1(e){Nf.error(new Ff(e))}var k1=Object.prototype.toString;function lm(e,t){return k1.call(e)==="[object "+t+"]"}function D1(e){return lm(e,"String")}function N1(e){return lm(e,"Promise")}var j1=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();N1(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&&!D1(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 F1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t){for(var r=0;r<t.length;r++){var 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&&am(e.prototype,t),r&&am(e,r),e}function M1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=function(){function e(){F1(this,e)}return L1(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]:g1;return new j1({locale:r,messages:m1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();M1(v,"$i18n",v.resetI18n());function V1(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)){jf("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 z1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Lf={exports:{}};(function(e){(function(t){var r=function(d,$,P){if(!l($)||_($)||p($)||b($)||a($))return $;var R,S=0,L=0;if(f($))for(R=[],L=$.length;S<L;S++)R.push(r(d,$[S],P));else{R={};for(var x in $)Object.prototype.hasOwnProperty.call($,x)&&(R[d(x,P)]=r(d,$[x],P))}return R},n=function(d,$){$=$||{};var P=$.separator||"_",R=$.split||/(?=[A-Z])/;return d.split(R).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var $=o(d);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(d,$){return n(d,$).toLowerCase()},c=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},b=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},m=function(d,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?d:function(R,S){return P(R,d,S)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,$){return r(m(o,$),d)},decamelizeKeys:function(d,$){return r(m(u,$),d,$)},pascalizeKeys:function(d,$){return r(m(i,$),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(z1)})(Lf);var fm={};Object.defineProperty(fm,"__esModule",{value:!0});function Mf(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Mf(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Mf(n)}return t}}var C1=fm.default=Mf;function H1(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":H1(e))==="object"?C1(e):e}function be(e){return sm(e)&&"zh"in e}function sm(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vf(e){return Array.isArray(e)}function In(e){return isNaN(parseFloat(e))?"":Number(e)}function q1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function me(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=me(n.children,t)),t(o)})),r}function U1(e){return Lf.exports.camelizeKeys(e)}function Bn(e){return Lf.exports.decamelizeKeys(e)}function zf(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 W1(e){if(Array.isArray(e))return zf(e)}function _m(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 K1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_m(i,n,o,u,c,"next",a)}function c(a){_m(i,n,o,u,c,"throw",a)}u(void 0)})}}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X1(e,t,r){return t&&ym(e.prototype,t),r&&ym(e,r),e}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function J1(){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){return W1(e)||Q1(e)||Z1(e)||J1()}function Z1(e,t){if(!!e){if(typeof e=="string")return zf(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 zf(e,t)}}function Y1(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}}}var eA=function(){function e(){G1(this,e),pm(this,"_events",new Map),pm(this,"debug",!1)}return X1(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 K1(function(){var c,a,l,f,_,p,b,O,m,w,d,$;return Y1(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&go.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Cf(o))),[4,m.apply(null,Cf(o))];case 4:return w=P.sent(),u.debug&&go.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.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(Cf(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return d=P.sent(),x1(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(_)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 tA(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 nA(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function rA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oA=[{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"}],iA=function(){function e(){tA(this,e)}return nA(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}();rA(iA,"events",oA);function uA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cA(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}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}var hm=[],Hf=function(){function e(t){uA(this,e),ln(this,"registeredControlTypes",new Set),ln(this,"controlConfigMap",new Map),ln(this,"_controls",[]),ln(this,"_type",void 0),this._type=t,this._initControls(t)}return cA(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__||zr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(jf("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===Tn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Tn.FORM}},{key:"isListControl",value:function(r){return r.controlType===Tn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Tn.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 zr("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__)&&zr("".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&&(jf("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}();ln(Hf,"staticControls",hm),ln(Hf,"staticRegisteredTypes",new Set(hm.map(function(e){return e.Designer.controlType}))),ln(Hf,"staticRegisteredConfigs",new Map);function F(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 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 Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function Ke(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qf(e,t)}function bm(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:F(e)}function qf(e,t){return qf=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qf(e,t)}function aA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ge(e){var t=fA();return function(){var n=Oo(e),o;if(t){var i=Oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lA(this,o)}}var Ve=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",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:""},mm=function e(t){E(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(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},Uf=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;o=t.call(this,n),h(F(o),"width",void 0),h(F(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}(mm),gm=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Uf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Uf(t==null?void 0:t.mobile):new Uf({width:130,minWidth:180})},sA=function e(t){E(this,e),h(this,"type",void 0),h(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:[]},Wf=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(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:""},_A=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;o=t.call(this,n),h(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Wf),Om=function e(t){E(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Kf=function e(t){E(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(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 Om(u)}))!==null&&i!==void 0?i:[]},yA=function e(t){E(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(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:g.VARCHAR},pA=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;o=t.call(this,n),h(F(o),"title",void 0),h(F(o),"svcCode",void 0),h(F(o),"isOpenFilter",void 0),h(F(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}(Wf),dA=function e(t){E(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Wf(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 yA(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 pA(u)}))!==null&&i!==void 0?i:[]},vA=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Cr=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(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:[]},wm=function e(t){var r=this;E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:yt();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,_=new Gf(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Gf=function e(t){E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt();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 vA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Cr(t==null?void 0:t.rightVariableBo)},Re=function e(t){E(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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:""},Xf=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(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},hA=function e(t){E(this,e),h(this,"columnName",void 0),h(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 Qf(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 wm(c):new Gf(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 wm(c):new Gf(c)}))!==null&&o!==void 0?o:[],bm(this,Z)||bm(this,Zf)){var i,u;this.orders=(u=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(c){return new hA(c)}))!==null&&u!==void 0?u:[]}}var Z=function e(t){var r=this;E(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(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 _;(_=r.displayBoList)===null||_===void 0||_.push(new Xf(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:"",Qf.call(this,t)},Jf=function e(t){E(this,e),h(this,"dataCode",void 0),h(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:[]},an=function e(t){E(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(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 _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},$m=function e(t){E(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(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 Xf(u)}))!==null&&i!==void 0?i:[]},wo=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(F(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 $m(c)}))!==null&&u!==void 0?u:[],o}return r}(Z),bA=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(F(o),"attributes",void 0),h(F(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 $m(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}(Z),Pm=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;o=t.call(this,n),h(F(o),"rootNode",void 0),h(F(o),"filterCode",void 0),o.rootNode=new Cr(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}(wo),Rm=function e(t){E(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(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 Re(u)}))!==null&&i!==void 0?i:[]},Zf=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;return o=t.call(this,n),h(F(o),"filters",void 0),h(F(o),"viewFilters",void 0),h(F(o),"orders",void 0),Qf.call(F(o),n),o}return r}(Rm),Sm=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;o=t.call(this,n),h(F(o),"mode",void 0),h(F(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}(Rm),Em=function e(t){E(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(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:""},mA=function e(t){E(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt(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 pt(e){var t;return(t=e==null?void 0:e.map(function(r){return new mA(r)}))!==null&&t!==void 0?t:[]}var Yf=function e(){E(this,e)},gA=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;return o=t.call(this),h(F(o),"amount",void 0),h(F(o),"currency",void 0),o.amount=new Ve(n==null?void 0:n.amount),o.currency=new Ve(n==null?void 0:n.currency),o}return r}(Yf),OA=function e(t){E(this,e),h(this,"amount",void 0),h(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:"CNY"},wA=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;return o=t.call(this),h(F(o),"min",void 0),h(F(o),"max",void 0),o.min=new Ve(n==null?void 0:n.min),o.max=new Ve(n==null?void 0:n.max),o}return r}(Yf),$A=function e(t){E(this,e),h(this,"min",void 0),h(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:""},PA=function e(t){E(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(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:""},RA=function(e){Ke(r,e);var t=Ge(r);function r(n){E(this,r);var o;return o=t.call(this),h(F(o),"result",void 0),h(F(o),"unit",void 0),o.result=new Ve(n==null?void 0:n.result),o.unit=new Ve(n==null?void 0:n.unit),o}return r}(Yf),SA=function e(t){E(this,e),h(this,"result",void 0),h(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:""},es;(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"})(es||(es={}));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",e.IS_PASTE="isPaste"})(s||(s={}));var ts;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ts||(ts={}));var jt=function e(t){E(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(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},EA=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:yt(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 Om(u)}))!==null&&i!==void 0?i:[],Qf.call(this,t)},TA=function e(t){E(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(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"};function IA(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 $o(e,t,r){return Tm()?$o=Reflect.construct:$o=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&qr(l,u.prototype),l},$o.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 Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function BA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qr(e,t)}function AA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xA(e,t){return t&&(kA(t)==="object"||typeof t=="function")?t:IA(e)}function qr(e,t){return qr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qr(e,t)}function kA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rs(e){var t=typeof Map=="function"?new Map:void 0;return rs=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 $o(n,arguments,Hr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qr(o,n)},rs(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 DA(e){var t=Tm();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xA(this,o)}}var X=function e(t){ns(this,e),fn(this,"isHide",{type:"boolean"})},sn=function(e){BA(r,e);var t=DA(r);function r(n){return ns(this,r),t.call(this)}return r}(rs(Array)),Y=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ns(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 TA(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};fn(Y,"Rules",X),fn(Y,"RuntimeRules",sn);function nt(){return nt=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},nt.apply(this,arguments)}function NA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Po(e,t){return Po=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Po(e,t)}function jA(){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 Ro(e,t,r){return jA()?Ro=Reflect.construct:Ro=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Po(l,u.prototype),l},Ro.apply(null,arguments)}function FA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function is(e){var t=typeof Map=="function"?new Map:void 0;return is=function(n){if(n===null||!FA(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 Ro(n,arguments,os(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Po(o,n)},is(e)}var LA=/%[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 us(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(LA,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 MA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Q(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||MA(t)&&typeof e=="string"&&!e)}function VA(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 Bm(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 zA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Am=function(e){NA(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}(is(Error));function CA(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(w){return n(w),w.length?p(new Am(w,us(w))):_()},O=zA(e);Bm(O,r,b)});return o.catch(function(_){return _}),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(_,p){var b=function(m){if(l.push.apply(l,m),a++,a===c)return n(l),l.length?p(new Am(l,us(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?Bm(m,r,b):VA(m,r,b)})});return f.catch(function(_){return _}),f}function xm(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 km(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]=nt(nt({},e[r]),n):e[r]=n}}return e}function Dm(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Q(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function HA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var cs={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},Ur={integer:function(t){return Ur.number(t)&&parseInt(t,10)===t},float:function(t){return Ur.number(t)&&!Ur.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"&&!Ur.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(cs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(cs.url)},hex:function(t){return typeof t=="string"&&!!t.match(cs.hex)}};function qA(e,t,r,n,o){if(e.required&&t===void 0){Dm(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?Ur[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 UA(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,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(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 An="enum";function WA(e,t,r,n,o){e[An]=Array.isArray(e[An])?e[An]:[],e[An].indexOf(t)===-1&&n.push(ke(o.messages[An],e.fullField,e[An].join(", ")))}function KA(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 k={required:Dm,whitespace:HA,type:qA,range:UA,enum:WA,pattern:KA};function GA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),Q(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(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(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(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===""&&(t=void 0),Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.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(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function ZA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),Q(t)||k.type(e,t,n,i,o)}r(i)}function YA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function ex(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function tx(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();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function nx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var rx="enum";function ox(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[rx](e,t,n,i,o)}r(i)}function ix(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),Q(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function ux(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!Q(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function cx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function ls(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Q(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),Q(t,i)||k.type(e,t,n,u,o)}r(u)}function lx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Q(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var Wr={string:GA,method:XA,number:QA,boolean:JA,regexp:ZA,integer:YA,float:ex,array:tx,object:nx,enum:ox,pattern:ix,date:ux,url:ls,hex:ls,email:ls,required:cx,any:lx};function as(){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 fs=as();function Ft(e){this.rules=null,this._messages=fs,this.define(e)}Ft.prototype={messages:function(t){return t&&(this._messages=km(as(),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(m){var w,d=[],$={};function P(R){if(Array.isArray(R)){var S;d=(S=d).concat.apply(S,R)}else d.push(R)}for(w=0;w<m.length;w++)P(m[w]);d.length?$=us(d):(d=null,$=null),c(d,$)}if(u.messages){var l=this.messages();l===fs&&(l=as()),km(l,u.messages),u.messages=l}else u.messages=this.messages();var f,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){f=o.rules[m],_=i[m],f.forEach(function(w){var d=w;typeof d.transform=="function"&&(i===t&&(i=nt({},i)),_=i[m]=d.transform(_)),typeof d=="function"?d={validator:d}:d=nt({},d),d.validator=o.getValidationMethod(d),d.field=m,d.fullField=d.fullField||m,d.type=o.getType(d),d.validator&&(p[m]=p[m]||[],p[m].push({rule:d,value:_,source:i,field:m}))})});var O={};return CA(p,u,function(m,w){var d=m.rule,$=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");$=$&&(d.required||!d.required&&m.value),d.field=m.field;function P(L,x){return nt(nt({},x),{},{fullField:d.fullField+"."+L})}function R(L){L===void 0&&(L=[]);var x=L;if(Array.isArray(x)||(x=[x]),!u.suppressWarning&&x.length&&Ft.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(xm(d)),u.first&&x.length)return O[d.field]=1,w(x);if(!$)w(x);else{if(d.required&&!m.value)return d.message!==void 0?x=[].concat(d.message).map(xm(d)):u.error&&(x=[u.error(d,ke(u.messages.required,d.field))]),w(x);var W={};if(d.defaultField)for(var A in m.value)m.value.hasOwnProperty(A)&&(W[A]=d.defaultField);W=nt(nt({},W),m.rule.fields);for(var st in W)if(W.hasOwnProperty(st)){var bo=Array.isArray(W[st])?W[st]:[W[st]];W[st]=bo.map(P.bind(null,st))}var Fr=new Ft(W);Fr.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Fr.validate(m.value,m.rule.options||u,function(Sn){var _t=[];x&&x.length&&_t.push.apply(_t,x),Sn&&Sn.length&&_t.push.apply(_t,Sn),w(_t.length?_t:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,m.value,R,m.source,u):d.validator&&(S=d.validator(d,m.value,R,m.source,u),S===!0?R():S===!1?R(d.message||d.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(L){return R(L)})},function(m){a(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Wr.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"?Wr.required:Wr[this.getType(t)]||!1}},Ft.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Wr[t]=r},Ft.warning=Im,Ft.messages=fs,Ft.validators=Wr;var ax={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 fx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ft(e);return r.messages(Object.assign(ax,t)),r}var sx=new eA;function ss(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 _x(e){if(Array.isArray(e))return e}function yx(e){if(Array.isArray(e))return ss(e)}function Nm(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 jm(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Nm(i,n,o,u,c,"next",a)}function c(a){Nm(i,n,o,u,c,"throw",a)}u(void 0)})}}function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dx(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lm(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Mm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vx(){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 hx(){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 Vm(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){M(e,o,r[o])})}return e}function bx(e){return _x(e)||Mm(e)||zm(e)||vx()}function _s(e){return yx(e)||Mm(e)||zm(e)||hx()}function mx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zm(e,t){if(!!e){if(typeof e=="string")return ss(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 ss(e,t)}}function Cm(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}}}var V=function(){function t(r){var n=this;px(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",qm),M(this,"removeSetting",Hm),this._callControlHooks("preInstance",r);var o=Lm(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting;i&&u&&c||cm("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:yt(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 Y(r==null?void 0:r.props,(Lm(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=r==null?void 0:r.controlType)!==null&&m!==void 0?m:"base",this.setting=Nt(p);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=Nt(l),this.customEvents=Nt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return dx(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=bx(o),a=c[0],l=c.slice(1);return(u=sx).emit.apply(u,[a,this].concat(_s(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),V1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return jm(function(){var o,i,u;return Cm(this,function(c){switch(c.label){case 0:return o=Vm({},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 jm(function(){var u,c,a,l;return Cm(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Vm({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=fx(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,_=c.caption,p=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(d.dataBind=a),f){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),b!==void 0&&(d.maxLength=b),m!==void 0&&(d.encrypted=m),w!==void 0&&(d.encryptedMode=w),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Nt(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,_s(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();M(V,"controlName","\u63A7\u4EF6"),M(V,"controlIcon","icon"),M(V,"controlType","control"),M(V,"controlFieldType",void 0),M(V,"controlEventKeys",[]),M(V,"controlCustomEvents",[]),M(V,"setting",[]),M(V,"__is_control__",!0),M(V,"removeSettingItem",Hm),M(V,"updateSettingItem",qm);function Hm(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,c;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((c=t.setting[i].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(i,1)}})}function qm(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=="undefined"?"undefined":mx(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,_s(t.showItems))}}}})}function gx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ox(e,t,r){return t&&Um(e.prototype,t),r&&Um(e,r),e}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 wx(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Lt=function(){function t(r){gx(this,t),ze(this,"id",void 0),ze(this,"type",void 0),ze(this,"controlType",void 0),ze(this,"props",void 0),ze(this,"fieldType",void 0),ze(this,"customEvents",[]),ze(this,"pageStatus",void 0),ze(this,"parent",null);var n=wx(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||cm("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:yt(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new Y(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 _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:ts.UNKNOWN}return Ox(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}();ze(Lt,"controlType","control"),ze(Lt,"controlFieldType",void 0),ze(Lt,"__is_control__",!0),ze(Lt,"controlCustomEvents",[]);function ys(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:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=q1(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function So(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function Io(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function $x(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Px(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:z(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}function Rx(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 Bo(e){var t=Sx();return function(){var n=To(e),o;if(t){var i=To(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Px(this,o)}}var ae=function(e){Io(r,e);var t=Bo(r);function r(n){Eo(this,r);var o;o=t.call(this,n),C(z(o),"dataBind",{}),C(z(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),C(z(o),"isHideCaption",{type:"boolean"}),C(z(o),"labelPosition",{type:"enum",enum:["top","left"]}),C(z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),C(z(o),"required",{type:"boolean"}),C(z(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if($x(n.dataBind,Ve))o.dataBind={type:"object",required:!0,fields:Nt(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Nt(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(X),H=function(e){Io(r,e);var t=Bo(r);function r(n){Eo(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:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(sn),D=function(e){Io(r,e);var t=Bo(r);function r(n){Eo(this,r);var o;o=t.call(this,n),C(z(o),"caption",void 0),C(z(o),"isHideCaption",void 0),C(z(o),"isShowCaptionTip",void 0),C(z(o),"captionTip",void 0),C(z(o),"labelPosition",void 0),C(z(o),"dataBind",void 0),C(z(o),"defaultValue",void 0),C(z(o),"placeholder",void 0),C(z(o),"defaultState",void 0),C(z(o),"required",void 0),C(z(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 _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new Ve(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}(Y);C(D,"Rules",ae),C(D,"RuntimeRules",H);var xn=function(e){Io(r,e);var t=Bo(r);function r(n){Eo(this,r);var o;return o=t.call(this,n),C(z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),C(z(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),C(z(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ys.call(z(o),n),o}return r}(ae);function ds(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(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 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&&vs(e,t)}function Ix(e,t){return t&&(Bx(t)==="object"||typeof t=="function")?t:ds(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}function Bx(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=xo(e),o;if(t){var i=xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ix(this,o)}}var N=function(e){Tx(r,e);var t=xx(r);function r(n){Ex(this,r);var o;return o=t.call(this,n),Ao(ds(o),"controlType","form"),Ao(ds(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(V);Ao(N,"controlEventKeys",["on_change","on_focus","on_blur"]),Ao(N,"controlCustomAttributes",void 0);function ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hs(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 Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nx(e,t){return t&&(jx(t)==="object"||typeof t=="function")?t:ko(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}function jx(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=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nx(this,o)}}var j=function(e){Dx(r,e);var t=Lx(r);function r(n){kx(this,r);var o;return o=t.call(this,n),hs(ko(o),"controlType","form"),hs(ko(o),"props",void 0),hs(ko(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(Lt);function Mx(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 No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:Mx(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}function Hx(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=No(e),o;if(t){var i=No(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cx(this,o)}}var ge=function(e){zx(r,e);var t=Ux(r);function r(n){return Vx(this,r),t.call(this,n)}return r}(Y);function gs(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 Wx(e){if(Array.isArray(e))return gs(e)}function Kx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gx(){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 Wx(e)||Kx(e)||Xx(e)||Gx()}function Xx(e,t){if(!!e){if(typeof e=="string")return gs(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 gs(e,t)}}function Qx(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Km(e,t){e.parent=t,Qx(e,"parent")}function Jx(e,t){e.forEach(function(r){Km(r,t)})}var Gm=Symbol("targetKey");function Xm(e){var t;return(t=e[Gm])!==null&&t!==void 0?t:e}function Qm(e,t){return Jx(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===Gm?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(Vf(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(Wm(c)));return sm(i)&&Km(i,t),f}})}function Mt(e,t,r,n){var o=n!=null?n:e,i=Qm(Xm(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Qm(Xm(c),o)},enumerable:!0})}function Os(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 Zx(e){if(Array.isArray(e))return Os(e)}function _n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jm(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 Yx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Jm(i,n,o,u,c,"next",a)}function c(a){Jm(i,n,o,u,c,"throw",a)}u(void 0)})}}function e3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t3(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Vt(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=f3(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},kn(e,t,r||e)}function zt(e){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zt(e)}function n3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function r3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function o3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function i3(){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 u3(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){Vt(e,o,r[o])})}return e}function c3(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 l3(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c3(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function a3(e,t){return t&&(s3(t)==="object"||typeof t=="function")?t:_n(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}function f3(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zt(e),e!==null););return e}function Ym(e){return Zx(e)||o3(e)||_3(e)||i3()}function s3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _3(e,t){if(!!e){if(typeof e=="string")return Os(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 Os(e,t)}}function y3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p3(e){var t=y3();return function(){var n=zt(e),o;if(t){var i=zt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a3(this,o)}}function d3(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}}}var v3=1e4,Oe=function(t){n3(n,t);var r=p3(n);function n(o){e3(this,n);var i;i=r.call(this,o),Vt(_n(i),"controlType","layout"),Vt(_n(i),"children",void 0),Vt(_n(i),"excludes",void 0),Vt(_n(i),"childrenMaxLength",void 0),Vt(_n(i),"props",void 0);var u=r3(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ge(o==null?void 0:o.props),Mt(_n(i),"children",o==null?void 0:o.children),i.excludes=Nt(c),i.childrenMaxLength=a,i}return t3(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(zt(n.prototype),"validate",c)};return Yx(function(){return d3(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(_){return _.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(zt(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 _=f.filter(function(p){return!!p});return Ym(a).concat(Ym(_))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=kn(zt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return l3(u3({},i),{children:u})}}]),n}(V);Vt(Oe,"excludes",!1),Vt(Oe,"childrenMaxLength",v3);function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $s(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 b3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function m3(e,t){return t&&(g3(t)==="object"||typeof t=="function")?t:Kr(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}function g3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w3(e){var t=O3();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 m3(this,o)}}var yn=function(e){b3(r,e);var t=w3(r);function r(n){h3(this,r);var o;return o=t.call(this,n),$s(Kr(o),"controlType","layout"),$s(Kr(o),"children",void 0),$s(Kr(o),"props",void 0),o.props=new ge(n==null?void 0:n.props),Mt(Kr(o),"children",n==null?void 0:n.children),o}return r}(Lt);function Rs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P3(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 R3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function S3(e,t){return t&&(E3(t)==="object"||typeof t=="function")?t:Rs(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}function E3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I3(e){var t=T3();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 S3(this,o)}}var Es=function(e){R3(r,e);var t=I3(r);function r(n,o){$3(this,r);var i;return i=t.call(this,o),P3(Rs(i),"headers",void 0),Mt(Rs(i),"headers",o==null?void 0:o.headers,n),i}return r}(Y);function Ts(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 B3(e){if(Array.isArray(e))return Ts(e)}function Lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(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 A3(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){eg(i,n,o,u,c,"next",a)}function c(a){eg(i,n,o,u,c,"throw",a)}u(void 0)})}}function x3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k3(e,t,r){return t&&tg(e.prototype,t),r&&tg(e,r),e}function Mo(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=M3(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Dn(e,t,r||e)}function Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ct(e)}function D3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function N3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j3(){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 ng(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){Mo(e,o,r[o])})}return e}function F3(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 rg(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F3(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function L3(e,t){return t&&(V3(t)==="object"||typeof t=="function")?t:Lo(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}function M3(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ct(e),e!==null););return e}function og(e){return B3(e)||N3(e)||z3(e)||j3()}function V3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z3(e,t){if(!!e){if(typeof e=="string")return Ts(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 Ts(e,t)}}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 H3(e){var t=C3();return function(){var n=Ct(e),o;if(t){var i=Ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L3(this,o)}}function q3(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}}}var Bs=function(e){D3(r,e);var t=H3(r);function r(n){x3(this,r);var o;return o=t.call(this,n),Mo(Lo(o),"controlType","list"),Mo(Lo(o),"props",void 0),o.props=new Es(Lo(o),n==null?void 0:n.props),o}return k3(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Dn(Ct(r.prototype),"validate",u)};return A3(function(){return q3(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(Ct(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(_){return!!_});return og(c).concat(og(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o=Dn(Ct(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return rg(ng({},o),{props:rg(ng({},this.props),{headers:i})})}}]),r}(V);Mo(Bs,"controlFieldType",g.LIST);function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function As(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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function xs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U3(e,t){return t&&(W3(t)==="object"||typeof t=="function")?t:ne(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}function W3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=K3();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 U3(this,o)}}var dt=function(e){xs(r,e);var t=Ds(r);function r(n){As(this,r);var o;return o=t.call(this,n),fe(ne(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),fe(ne(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(X),J=function(e){xs(r,e);var t=Ds(r);function r(n){As(this,r);var o;o=t.call(this,n),fe(ne(o),"widthType",void 0),fe(ne(o),"width",void 0),fe(ne(o),"caption",void 0),fe(ne(o),"dataBind",void 0),fe(ne(o),"autoWidth",void 0),fe(ne(o),"fixed",void 0),fe(ne(o),"sort",void 0),fe(ne(o),"align",void 0),fe(ne(o),"colSpan",void 0),fe(ne(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 mm(n==null?void 0:n.autoWidth),o.dataBind=new Ve(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}(Y);fe(J,"Rules",dt);var ig=function(e){xs(r,e);var t=Ds(r);function r(n){As(this,r);var o;return o=t.call(this,n),fe(ne(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),fe(ne(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),fe(ne(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ys.call(ne(o),n),o}return r}(dt);function Ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G3(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 zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function X3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function Q3(e,t){return t&&(J3(t)==="object"||typeof t=="function")?t:Ns(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}function J3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y3(e){var t=Z3();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 Q3(this,o)}}var se=function(e){X3(r,e);var t=Y3(r);function r(n){G3(this,r);var o;return o=t.call(this,n),ug(Ns(o),"controlType","column"),ug(Ns(o),"props",void 0),o.props=new J(n==null?void 0:n.props),o}return r}(V);function Fs(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 cg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(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&&Ls(e,t)}function n2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:Fs(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}function r2(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 i2(e){var t=o2();return function(){var n=Co(e),o;if(t){var i=Co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n2(this,o)}}var _e=function(e){t2(r,e);var t=i2(r);function r(n){e2(this,r);var o;return o=t.call(this,n),cg(Fs(o),"controlType","column"),cg(Fs(o),"props",void 0),o.props=new J(n==null?void 0:n.props),o}return r}(Lt);function lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function l2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a2(e,t){return t&&(f2(t)==="object"||typeof t=="function")?t:lg(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}function f2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _2(e){var t=s2();return function(){var n=Ho(e),o;if(t){var i=Ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a2(this,o)}}var Vs=function(e){l2(r,e);var t=_2(r);function r(n){u2(this,r);var o;return o=t.call(this,n),c2(lg(o),"dataBind",void 0),o.dataBind=new Ve(n==null?void 0:n.dataBind),o}return r}(ge);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(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 p2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function d2(e,t){return t&&(v2(t)==="object"||typeof t=="function")?t:zs(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function v2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b2(e){var t=h2();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 d2(this,o)}}var m2=function(e){p2(r,e);var t=b2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),ag(zs(o),"controlType","search"),ag(zs(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(Oe);function Hs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(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 Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function w2(e,t){return t&&($2(t)==="object"||typeof t=="function")?t:Hs(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}function $2(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 R2(e){var t=P2();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 w2(this,o)}}var S2=function(e){O2(r,e);var t=R2(r);function r(n){g2(this,r);var o;return o=t.call(this,n),fg(Hs(o),"controlType","search"),fg(Hs(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(yn);function pn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}}}])}function Nn(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 Gr(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 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&&Us(e,t)}function I2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:Nn(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function B2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x2(e){var t=A2();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 I2(this,o)}}var k2=function(e){T2(r,e);var t=x2(r);function r(n){E2(this,r);var o;o=t.call(this,n),Gr(Nn(o),"content",void 0),Gr(Nn(o),"fontSize",void 0),Gr(Nn(o),"color",void 0),Gr(Nn(o),"icon",void 0),Gr(Nn(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}(Y);function sg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N2(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}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 Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function j2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function F2(e,t){return t&&(L2(t)==="object"||typeof t=="function")?t:sg(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function L2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=M2();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 F2(this,o)}}var z2=function(e){j2(r,e);var t=V2(r);function r(n){D2(this,r);var o;return o=t.call(this,n),yg(sg(o),"props",void 0),o.props=new k2(n==null?void 0:n.props),o}return N2(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(V);yg(z2,"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 Go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ks(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 H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:Go(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}function U2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=W2();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 q2(this,o)}}var G2=function(e){H2(r,e);var t=K2(r);function r(n){C2(this,r);var o;o=t.call(this,n),Ks(Go(o),"content",void 0),Ks(Go(o),"url",void 0),Ks(Go(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}(Y);function pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q2(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}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 Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function J2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:pg(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function Y2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ek(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tk(e){var t=ek();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 Z2(this,o)}}var vg=function(e){J2(r,e);var t=tk(r);function r(n){X2(this,r);var o;return o=t.call(this,n),Xs(pg(o),"props",void 0),o.props=new G2(n==null?void 0:n.props),o}return Q2(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(V);Xs(vg,"controlEventKeys",["on_click"]),Xs(vg,"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 vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(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 rk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:vt(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}function ik(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ck(e){var t=uk();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 ok(this,o)}}var De=function(e){rk(r,e);var t=ck(r);function r(n){nk(this,r);var o;o=t.call(this,n),Ht(vt(o),"content",void 0),Ht(vt(o),"buttonType",void 0),Ht(vt(o),"showType",void 0),Ht(vt(o),"color",void 0),Ht(vt(o),"icon",void 0),Ht(vt(o),"defaultState",void 0),Ht(vt(o),"command",void 0),Ht(vt(o),"isLoading",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 _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(Y);function hg(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 bg(e,t){for(var r=0;r<t.length;r++){var 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&&bg(e.prototype,t),r&&bg(e,r),e}function Zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(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&&Ys(e,t)}function sk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:hg(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}function _k(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 pk(e){var t=yk();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 sk(this,o)}}var Se=function(e){fk(r,e);var t=pk(r);function r(n){lk(this,r);var o;return o=t.call(this,n),Zs(hg(o),"props",void 0),o.props=new De(n==null?void 0:n.props),o}return ak(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(V);Zs(Se,"controlEventKeys",["on_click"]),Zs(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 rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ht;(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"})(ht||(ht={}));var mg;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(mg||(mg={}));var gg;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(gg||(gg={}));var e_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:yt(8),value:["",""]};rt(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},t_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(t_||(t_={}));var n_=function e(t){rt(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},r_;(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"})(r_||(r_={}));var Og=function e(t){rt(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(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 Cr((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 Cr((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 Cr((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:""},dk=function e(t){rt(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},vk=function e(t){rt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new dk(i)}))!==null&&o!==void 0?o:[]},hk=function e(t){rt(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(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 Og(a)}))!==null&&o!==void 0?o:[new Og];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:""},wg=function e(t){rt(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt(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},$g=function e(t){rt(this,e),T(this,"active",void 0),T(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:""},bk=function e(t){rt(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(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 $g(t==null?void 0:t.watermark),this.autoRename=new $g(t==null?void 0:t.autoRename)},mk=480;function Yo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var gk=function e(t){rt(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(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:[]},Pg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Pg||(Pg={}));var o_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(o_||(o_={}));var ei;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ei||(ei={}));var qt;(function(e){e.ALL="all",e.ASSIGN="assign"})(qt||(qt={}));var i_;(function(e){e.ALL="all",e.ADMIN="admin"})(i_||(i_={}));function u_(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 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 ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&c_(e,t)}function $k(e,t){return t&&(Pk(t)==="object"||typeof t=="function")?t:u_(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Pk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sk(e){var t=Rk();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 $k(this,o)}}var Ek=function(e){wk(r,e);var t=Sk(r);function r(n){Ok(this,r);var o;o=t.call(this,n),Rg(u_(o),"color",void 0),Rg(u_(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:r_.SOLID,o}return r}(Y);function Sg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var r=0;r<t.length;r++){var 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&&Eg(e.prototype,t),r&&Eg(e,r),e}function Tg(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 Bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ak(e,t){return t&&(xk(t)==="object"||typeof t=="function")?t:Sg(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}function xk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dk(e){var t=kk();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 Ak(this,o)}}var Nk=function(e){Bk(r,e);var t=Dk(r);function r(n){Tk(this,r);var o;return o=t.call(this,n),Tg(Sg(o),"props",void 0),o.props=new Ek(n==null?void 0:n.props),o}return Ik(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(V);Tg(Nk,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Ut(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 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 ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function Bg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function jk(e,t){return t&&(Fk(t)==="object"||typeof t=="function")?t:Ut(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Fk(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 Ag(e){var t=Lk();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 jk(this,o)}}var Mk=function(e){Bg(r,e);var t=Ag(r);function r(n){Ig(this,r);var o;return o=t.call(this,n),Wt(Ut(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Wt(Ut(o),"dataBind",{type:"any"}),Wt(Ut(o),"config",{type:"array"}),n.config.includes(ht.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:v.getMessage("pleaseSelectOneField")}),o}return r}(X),xg=function(e){Bg(r,e);var t=Ag(r);function r(n){Ig(this,r);var o;o=t.call(this,n),Wt(Ut(o),"dataBind",void 0),Wt(Ut(o),"caption",void 0),Wt(Ut(o),"config",void 0),Wt(Ut(o),"position",void 0),o.dataBind=new Ve(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[ht.ShowSubmitUser,ht.ShowSubmitDept,ht.ShowSubmitTime,ht.ShowCurrentApprovar,ht.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Xr==null?void 0:Xr.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}(Y);Wt(xg,"Rules",Mk);function kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zk(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(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 oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(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&&s_(e,t)}function Hk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:kg(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wk(e){var t=Uk();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 Hk(this,o)}}var Xr=function(e){Ck(r,e);var t=Wk(r);function r(n){Vk(this,r);var o;return o=t.call(this,n),f_(kg(o),"props",void 0),o.props=new xg(n==null?void 0:n.props),o}return zk(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(V);f_(Xr,"controlFieldType",g.AUTO_NUMBER),f_(Xr,"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 ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(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 jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:ii(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function Gk(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 Fg(e){var t=Xk();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 Kk(this,o)}}var Qk=function(e){jg(r,e);var t=Fg(r);function r(n){Ng(this,r);var o;return o=t.call(this,n),ui(ii(o),"formKey",{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(X),Lg=function(e){jg(r,e);var t=Fg(r);function r(n){Ng(this,r);var o;o=t.call(this,n),ui(ii(o),"formKey",void 0),ui(ii(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ai.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ai.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);ui(Lg,"Rules",Qk);function Mg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jk(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 Zk(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&p_(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Mg(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}function tD(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=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var ai=function(e){Yk(r,e);var t=rD(r);function r(n){Jk(this,r);var o;return o=t.call(this,n),y_(Mg(o),"props",void 0),o.props=new Lg(n==null?void 0:n.props),o}return Zk(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);y_(ai,"controlEventKeys",["on_click","on_click_finish"]),y_(ai,"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 jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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&&d_(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:jn(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function iD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hg(e){var t=uD();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 oD(this,o)}}var cD=function(e){Cg(r,e);var t=Hg(r);function r(n){zg(this,r);var o;return o=t.call(this,n),Fn(jn(o),"processKey",[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}]),o}return r}(X),qg=function(e){Cg(r,e);var t=Hg(r);function r(n){zg(this,r);var o;o=t.call(this,n),Fn(jn(o),"processKey",void 0),Fn(jn(o),"initiatorMode",void 0),Fn(jn(o),"fieldCode",void 0),Fn(jn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:_i.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:_i.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);Fn(qg,"Rules",cD);function Ug(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 Wg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aD(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}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 si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function fD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function sD(e,t){return t&&(_D(t)==="object"||typeof t=="function")?t:Ug(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}function _D(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pD(e){var t=yD();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 sD(this,o)}}var _i=function(e){fD(r,e);var t=pD(r);function r(n){lD(this,r);var o;return o=t.call(this,n),v_(Ug(o),"props",void 0),o.props=new qg(n==null?void 0:n.props),o}return aD(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);v_(_i,"controlEventKeys",["on_click","on_click_finish"]),v_(_i,"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 dD(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 yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&b_(e,t)}function bD(e,t){return t&&(mD(t)==="object"||typeof t=="function")?t:dD(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}function mD(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 OD(e){var t=gD();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 bD(this,o)}}var wD=function(e){hD(r,e);var t=OD(r);function r(n){vD(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:di.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:di.controlIcon,o}return r}(De);function Kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PD(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function m_(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 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&&g_(e,t)}function SD(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:Kg(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function ED(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 ID(e){var t=TD();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 SD(this,o)}}var di=function(e){RD(r,e);var t=ID(r);function r(n){$D(this,r);var o;return o=t.call(this,n),m_(Kg(o),"props",void 0),o.props=new wD(n==null?void 0:n.props),o}return PD(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);m_(di,"controlEventKeys",["on_click"]),m_(di,"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 O_(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 Xg(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 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&&w_(e,t)}function xD(e,t){return t&&(kD(t)==="object"||typeof t=="function")?t:O_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function kD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ND(e){var t=DD();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 xD(this,o)}}var jD=function(e){AD(r,e);var t=ND(r);function r(n){BD(this,r);var o,i;o=t.call(this,n),Xg(O_(o),"templateList",void 0),Xg(O_(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:bi.controlName;var a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new wg(f)}))!==null&&l!==void 0?l:[new wg({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(De);function Qg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LD(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(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&&P_(e,t)}function VD(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:Qg(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function zD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HD(e){var t=CD();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 VD(this,o)}}var bi=function(e){MD(r,e);var t=HD(r);function r(n){FD(this,r);var o;return o=t.call(this,n),$_(Qg(o),"props",void 0),o.props=new jD(n==null?void 0:n.props),o}return LD(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);$_(bi,"controlEventKeys",["on_click","on_click_finish"]),$_(bi,"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 qD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(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&&R_(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:qD(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}function GD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=XD();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 KD(this,o)}}var JD=function(e){WD(r,e);var t=QD(r);function r(n){UD(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 Zg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YD(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function S_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function eN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tN(e,t){return t&&(nN(t)==="object"||typeof t=="function")?t:Zg(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function nN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oN(e){var t=rN();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 tN(this,o)}}var Oi=function(e){eN(r,e);var t=oN(r);function r(n){ZD(this,r);var o;return o=t.call(this,n),S_(Zg(o),"props",void 0),o.props=new JD(n==null?void 0:n.props),o}return YD(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);S_(Oi,"controlEventKeys",["on_click"]),S_(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 T_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0(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}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(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&&B_(e,t)}function uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:T_(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function cN(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 aN(e){var t=lN();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 uN(this,o)}}var fN=function e(t){e0(this,e),I_(this,"dataCode",void 0),this.dataCode=t.dataCode},sN=function(e){iN(r,e);var t=aN(r);function r(n){e0(this,r);var o,i;o=t.call(this,n),I_(T_(o),"canImportList",void 0),I_(T_(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Pi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Pi.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new fN(f)}))!==null&&a!==void 0?a:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",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 _N(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 yN(e,t,r){return t&&n0(e.prototype,t),r&&n0(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 $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&x_(e,t)}function dN(e,t){return t&&(vN(t)==="object"||typeof t=="function")?t:t0(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function vN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bN(e){var t=hN();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 dN(this,o)}}var Pi=function(e){pN(r,e);var t=bN(r);function r(n){_N(this,r);var o;return o=t.call(this,n),A_(t0(o),"props",void 0),o.props=new sN(n==null?void 0:n.props),o}return yN(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);A_(Pi,"controlEventKeys",["on_click","on_click_finish"]),A_(Pi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ri(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r0(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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function o0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i0(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){bt(e,o,r[o])})}return e}function mN(e,t){return t&&(gN(t)==="object"||typeof t=="function")?t:Kt(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function gN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ON(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ON();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 mN(this,o)}}var wN=function(e){o0(r,e);var t=u0(r);function r(n){r0(this,r);var o;return o=t.call(this,n),bt(Kt(o),"fillPayload",{type:"object",fields:i0({},Ri())}),bt(Kt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),bt(Kt(o),"fillBack",{type:"object",fields:i0({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Ri())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(X),c0=function(e){o0(r,e);var t=u0(r);function r(n){r0(this,r);var o;o=t.call(this,n),bt(Kt(o),"fillPayload",void 0),bt(Kt(o),"formBind",void 0),bt(Kt(o),"fillBack",void 0),bt(Kt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ti.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ti.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Zf(n==null?void 0:n.fillPayload),o.formBind=new _A(n==null?void 0:n.formBind),o.fillBack=new Sm(n==null?void 0:n.fillBack),o}return r}(De);bt(c0,"Rules",wN);function l0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PN(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:l0(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function EN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SN(this,o)}}var Ti=function(e){RN(r,e);var t=IN(r);function r(n){$N(this,r);var o;return o=t.call(this,n),D_(l0(o),"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return PN(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);D_(Ti,"controlEventKeys",["on_click","on_click_finish"]),D_(Ti,"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 mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(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 s0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _0(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){ot(e,o,r[o])})}return e}function BN(e,t){return t&&(AN(t)==="object"||typeof t=="function")?t:mt(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function AN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y0(e){var t=xN();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 BN(this,o)}}var kN=function(e){s0(r,e);var t=y0(r);function r(n){f0(this,r);var o;return o=t.call(this,n),ot(mt(o),"fillPayload",{type:"object",fields:_0({},Ri())}),ot(mt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}),ot(mt(o),"fillBack",{type:"object",fields:_0({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Ri())}),o}return r}(X),p0=function(e){s0(r,e);var t=y0(r);function r(n){f0(this,r);var o;o=t.call(this,n),ot(mt(o),"fillPayload",void 0),ot(mt(o),"listPageBind",void 0),ot(mt(o),"fillBack",void 0),ot(mt(o),"showSelectedDetail",void 0),ot(mt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ai.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ai.controlIcon,o.fillPayload=new Zf(n==null?void 0:n.fillPayload),o.listPageBind=new Kf(n==null?void 0:n.listPageBind),o.fillBack=new Sm(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 Jf(n==null?void 0:n.selectedContentConfig),o}return r}(De);ot(p0,"Rules",kN);function d0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NN(e,t,r){return t&&v0(e.prototype,t),r&&v0(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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(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&&L_(e,t)}function FN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:d0(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function LN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VN(e){var t=MN();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FN(this,o)}}var Ai=function(e){jN(r,e);var t=VN(r);function r(n){DN(this,r);var o;return o=t.call(this,n),F_(d0(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return NN(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);F_(Ai,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),F_(Ai,"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 zN(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 h0(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 V_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function CN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:zN(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function HN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C_(e){var t=qN();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 CN(this,o)}}var UN=function(e){V_(r,e);var t=C_(r);function r(n){return M_(this,r),t.call(this,n)}return r}(X),WN=function(e){V_(r,e);var t=C_(r);function r(n){return M_(this,r),t.call(this,n)}return r}(sn),H_=function(e){V_(r,e);var t=C_(r);function r(n){return M_(this,r),t.call(this,n)}return r}(Y);h0(H_,"Rules",UN),h0(H_,"RuntimeRules",WN);function b0(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 m0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GN(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function g0(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 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&&q_(e,t)}function QN(e,t){return t&&(JN(t)==="object"||typeof t=="function")?t:b0(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function JN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZN();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 QN(this,o)}}var ej=function(e){XN(r,e);var t=YN(r);function r(n){KN(this,r);var o;return o=t.call(this,n),g0(b0(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return GN(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(V);g0(ej,"setting",[]);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O0(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function w0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:Ce(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function nj(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 $0(e){var t=rj();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 tj(this,o)}}var oj=function(e){w0(r,e);var t=$0(r);function r(n){O0(this,r);var o;return o=t.call(this,n),He(Ce(o),"dashboardKey",{type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")}),He(Ce(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),He(Ce(o),"isHideCaption",{type:"boolean"}),He(Ce(o),"labelPosition",{type:"enum",enum:["top","left"]}),He(Ce(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(X),P0=function(e){w0(r,e);var t=$0(r);function r(n){O0(this,r);var o;o=t.call(this,n),He(Ce(o),"dashboardKey",void 0),He(Ce(o),"caption",void 0),He(Ce(o),"isHideCaption",void 0),He(Ce(o),"isShowCaptionTip",void 0),He(Ce(o),"captionTip",void 0),He(Ce(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}(Y);He(P0,"Rules",oj);function R0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ij(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uj(e,t,r){return t&&S0(e.prototype,t),r&&S0(e,r),e}function E0(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 cj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lj(e,t){return t&&(aj(t)==="object"||typeof t=="function")?t:R0(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function aj(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 sj(e){var t=fj();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 lj(this,o)}}var _j=function(e){cj(r,e);var t=sj(r);function r(n){ij(this,r);var o;return o=t.call(this,n),E0(R0(o),"props",void 0),o.props=new P0(n==null?void 0:n.props),o}return uj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(V);E0(_j,"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 Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T0(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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function I0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:Qr(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B0(e){var t=dj();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 yj(this,o)}}var vj=function(e){I0(r,e);var t=B0(r);function r(n){T0(this,r);var o;return o=t.call(this,n),Jr(Qr(o),"showType",{type:"enum",enum:["select","tabs"]}),Jr(Qr(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(X),A0=function(e){I0(r,e);var t=B0(r);function r(n){T0(this,r);var o,i;o=t.call(this,n),Jr(Qr(o),"showType",void 0),Jr(Qr(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 EA(a)}))!==null&&c!==void 0?c:[],o}return r}(Y);Jr(A0,"Rules",vj);function x0(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 k0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bj(e,t,r){return t&&k0(e.prototype,t),r&&k0(e,r),e}function D0(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 mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:x0(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function Oj(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 $j(e){var t=wj();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 gj(this,o)}}var Pj=function(e){mj(r,e);var t=$j(r);function r(n){hj(this,r);var o;return o=t.call(this,n),D0(x0(o),"props",void 0),o.props=new A0(n==null?void 0:n.props),o}return bj(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}(V);D0(Pj,"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 N0(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 Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function j0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rj(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:Ee(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function Sj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ej();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 Tj=function(e){j0(r,e);var t=F0(r);function r(n){N0(this,r);var o;return o=t.call(this,n),Te(Ee(o),"caption",{type:"string",required:!0,message:v.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:v.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(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Te(Ee(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(X),L0=function(e){j0(r,e);var t=F0(r);function r(n){N0(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:Zr.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Zr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Zr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Re(m)}))!==null&&O!==void 0?O:[],o}return r}(De);Te(L0,"Rules",Tj);function M0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ij(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 Bj(e,t,r){return t&&V0(e.prototype,t),r&&V0(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 Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function Aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xj(e,t){return t&&(kj(t)==="object"||typeof t=="function")?t:M0(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function kj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dj();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 xj(this,o)}}var Zr=function(e){Aj(r,e);var t=Nj(r);function r(n){Ij(this,r);var o;return o=t.call(this,n),Q_(M0(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return Bj(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);Q_(Zr,"controlEventKeys",["on_click","on_click_finish"]),Q_(Zr,"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 z0(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function C0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:Ie(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function Fj(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 H0(e){var t=Lj();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 jj(this,o)}}var Mj=function(e){C0(r,e);var t=H0(r);function r(n){z0(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:v.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(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(X),q0=function(e){C0(r,e);var t=H0(r);function r(n){z0(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:Yr.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Yr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Yr.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Re(m)}))!==null&&O!==void 0?O:[],o}return r}(De);Be(q0,"Rules",Mj);function U0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(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 zj(e,t,r){return t&&W0(e.prototype,t),r&&W0(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 zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function Cj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:U0(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function qj(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 Wj(e){var t=Uj();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 Hj(this,o)}}var Yr=function(e){Cj(r,e);var t=Wj(r);function r(n){Vj(this,r);var o;return o=t.call(this,n),Y_(U0(o),"props",void 0),o.props=new q0(n==null?void 0:n.props),o}return zj(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);Y_(Yr,"controlEventKeys",["on_click","on_click_finish"]),Y_(Yr,"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 Ci(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 Hi(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 G0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:Ci(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function Gj(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 X0(e){var t=Xj();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 Kj(this,o)}}var Qj=function(e){G0(r,e);var t=X0(r);function r(){K0(this,r);var n;return n=t.apply(this,arguments),Hi(Ci(n),"printTemplates",{type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(X),Q0=function(e){G0(r,e);var t=X0(r);function r(n){K0(this,r);var o,i;o=t.call(this,n),Hi(Ci(o),"printTemplates",void 0),Hi(Ci(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Wi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Wi.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new gk(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);Hi(Q0,"Rules",Qj);function J0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zj(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function Yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:J0(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function tF(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 rF(e){var t=nF();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 eF(this,o)}}var Wi=function(e){Yj(r,e);var t=rF(r);function r(n){Jj(this,r);var o;return o=t.call(this,n),ny(J0(o),"props",void 0),o.props=new Q0(n==null?void 0:n.props),o}return Zj(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);ny(Wi,"controlEventKeys",["on_click","on_click_finish"]),ny(Wi,"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 oF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&oy(e,t)}function cF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:oF(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function lF(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=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cF(this,o)}}var sF=function(e){uF(r,e);var t=fF(r);function r(n){iF(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:Xi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Xi.controlIcon,o}return r}(De);function Y0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yF(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function iy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function pF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:Y0(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function vF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bF(e){var t=hF();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dF(this,o)}}var Xi=function(e){pF(r,e);var t=bF(r);function r(n){_F(this,r);var o;return o=t.call(this,n),iy(Y0(o),"props",void 0),o.props=new sF(n==null?void 0:n.props),o}return yF(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);iy(Xi,"controlEventKeys",["on_click"]),iy(Xi,"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 we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&cy(e,t)}function mF(e,t){return t&&(gF(t)==="object"||typeof t=="function")?t:we(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function gF(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 rO(e){var t=OF();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 mF(this,o)}}var wF=function(e){nO(r,e);var t=rO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),$e(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(X),Ji=function(e){nO(r,e);var t=rO(r);function r(n){tO(this,r);var o;o=t.call(this,n),$e(we(o),"content",void 0),$e(we(o),"code",void 0),$e(we(o),"command",void 0),$e(we(o),"color",void 0),$e(we(o),"icon",void 0),$e(we(o),"formKey",void 0),$e(we(o),"openType",void 0),$e(we(o),"needConfirm",void 0),$e(we(o),"confirmMessage",void 0),$e(we(o),"options",void 0),$e(we(o),"defaultState",void 0),$e(we(o),"priorityProcess",void 0),$e(we(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}(Y);$e(Ji,"Rules",wF);function oO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PF(e,t,r){return t&&iO(e.prototype,t),r&&iO(e,r),e}function ly(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 RF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:oO(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function EF(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 IF(e){var t=TF();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 SF(this,o)}}var Yi=function(e){RF(r,e);var t=IF(r);function r(n){$F(this,r);var o;return o=t.call(this,n),ly(oO(o),"props",void 0),o.props=new Ji(n==null?void 0:n.props),o}return PF(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}(V);ly(Yi,"controlEventKeys",["on_click"]),ly(Yi,"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 uO(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 cO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AF(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function xF(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 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&&fy(e,t)}function DF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:uO(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function NF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FF(e){var t=jF();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 DF(this,o)}}var LF=function(e){kF(r,e);var t=FF(r);function r(n){BF(this,r);var o;return o=t.call(this,n),xF(uO(o),"props",void 0),o.props=new Ji(n==null?void 0:n.props),o}return AF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Lt),sy={Designer:Yi,Runtime:LF,Property:Ji};function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function VF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function zF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:gt(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}function CF(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=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zF(this,o)}}var UF=function(e){VF(r,e);var t=qF(r);function r(n){MF(this,r);var o;o=t.call(this,n),Gt(gt(o),"content",void 0),Gt(gt(o),"buttonType",void 0),Gt(gt(o),"showType",void 0),Gt(gt(o),"color",void 0),Gt(gt(o),"icon",void 0),Gt(gt(o),"defaultState",void 0),Gt(gt(o),"command",void 0),Gt(gt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ru.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ru.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 _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(Y);function lO(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 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 KF(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function GF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function XF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:lO(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function QF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZF(e){var t=JF();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 XF(this,o)}}var ru=function(e){GF(r,e);var t=ZF(r);function r(n){WF(this,r);var o;return o=t.call(this,n),yy(lO(o),"props",void 0),o.props=new UF(n==null?void 0:n.props),o}return KF(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}(V);yy(ru,"controlEventKeys",["on_click"]),yy(ru,"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 it(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 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 ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function YF(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:it(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function eL(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 by(e){var t=tL();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 YF(this,o)}}var nL=function(e){vy(r,e);var t=by(r);function r(n){dy(this,r);var o;return o=t.call(this,n),Xe(it(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Xe(it(o),"minLength",{type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Xe(it(o),"defaultValue",[{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Yo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),rL=function(e){vy(r,e);var t=by(r);function r(n){dy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Yo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),eo=function(e){vy(r,e);var t=by(r);function r(n){dy(this,r);var o;o=t.call(this,n),Xe(it(o),"maxLength",void 0),Xe(it(o),"minLength",void 0),Xe(it(o),"regularRules",void 0),Xe(it(o),"defaultValue",void 0),Xe(it(o),"encrypted",void 0),Xe(it(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 Em(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:to.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 _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);Xe(eo,"Rules",nL),Xe(eo,"RuntimeRules",rL);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oL(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 iL(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function iu(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 uL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function cL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:fO(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function lL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fL(e){var t=aL();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 cL(this,o)}}var to=function(e){uL(r,e);var t=fL(r);function r(n){oL(this,r);var o;return o=t.call(this,n),iu(fO(o),"props",void 0),o.props=new eo(n==null?void 0:n.props),o}return iL(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}(N);iu(to,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),iu(to,"controlFieldType",g.VARCHAR),iu(to,"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 _O(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 yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _L(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}function pO(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 yL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:_O(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function dL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=vL();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 pL(this,o)}}var bL=function(e){yL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),pO(_O(o),"props",void 0),o.props=new eo(n==null?void 0:n.props),o}return _L(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(j);pO(bL,"controlFieldType",g.VARCHAR);function ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(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 wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function mL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:ye(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function gL(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 Py(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 mL(this,o)}}var wL=function(e){wy(r,e);var t=Py(r);function r(n){Oy(this,r);var o;o=t.call(this,n),re(ye(o),"limitMax",{type:"number",min:void 0,message:v.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}(xn),$L=function(e){wy(r,e);var t=Py(r);function r(n){Oy(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),au=function(e){wy(r,e);var t=Py(r);function r(n){Oy(this,r);var o;o=t.call(this,n),re(ye(o),"checkboxMode",void 0),re(ye(o),"options",void 0),re(ye(o),"optionsOrder",void 0),re(ye(o),"limitMax",void 0),re(ye(o),"limitMin",void 0),re(ye(o),"otherOption",void 0),re(ye(o),"optionConfig",void 0),re(ye(o),"optionsFormat",void 0),re(ye(o),"defaultShowOptions",void 0),re(ye(o),"datasourceBind",void 0),re(ye(o),"multistageFilling",void 0),re(ye(o),"interreaction",void 0),re(ye(o),"defaultValue",void 0),re(ye(o),"openMultistageFilling",void 0);var i;o.options=pt((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 _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:_u.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var m;o.optionsFormat=(m=n==null?void 0:n.optionsFormat)!==null&&m!==void 0?m:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re($))})),o}return r}(D);re(au,"Rules",wL),re(au,"RuntimeRules",$L);function dO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PL(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 RL(e,t,r){return t&&vO(e.prototype,t),r&&vO(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function SL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function EL(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:dO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function TL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BL(e){var t=IL();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EL(this,o)}}var _u=function(e){SL(r,e);var t=BL(r);function r(n){PL(this,r);var o;return o=t.call(this,n),fu(dO(o),"props",void 0),o.props=new au(n==null?void 0:n.props),o}return RL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);fu(_u,"controlEventKeys",["on_change","on_click"]),fu(_u,"controlFieldType",g.ARRAY),fu(_u,"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 hO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AL(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 xL(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function mO(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 kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DL(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:hO(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}function NL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=jL();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 DL(this,o)}}var LL=function(e){kL(r,e);var t=FL(r);function r(n){AL(this,r);var o;return o=t.call(this,n),mO(hO(o),"props",void 0),o.props=new au(n==null?void 0:n.props),o}return xL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(j);mO(LL,"controlFieldType",g.ARRAY);function Ne(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 je(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 OO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ML(e,t){return t&&(VL(t)==="object"||typeof t=="function")?t:Ne(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function VL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wO(e){var t=zL();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 ML(this,o)}}var CL=function(e){OO(r,e);var t=wO(r);function r(n){return gO(this,r),t.call(this,n)}return r}(xn),Ty=function(e){OO(r,e);var t=wO(r);function r(n){gO(this,r);var o;o=t.call(this,n),je(Ne(o),"radioMode",void 0),je(Ne(o),"options",void 0),je(Ne(o),"optionConfig",void 0),je(Ne(o),"optionsFormat",void 0),je(Ne(o),"defaultShowOptions",void 0),je(Ne(o),"otherOption",void 0),je(Ne(o),"optionsOrder",void 0),je(Ne(o),"datasourceBind",void 0),je(Ne(o),"multistageFilling",void 0),je(Ne(o),"interreaction",void 0),je(Ne(o),"defaultValue",void 0),je(Ne(o),"openMultistageFilling",void 0);var i;o.options=pt((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 _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:hu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Re(w))})),o}return r}(D);je(Ty,"Rules",CL);function $O(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qL(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:$O(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function KL(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 XL(e){var t=GL();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var hu=function(e){UL(r,e);var t=XL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),du($O(o),"props",void 0),o.props=new Ty(n==null?void 0:n.props),o}return qL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);du(hu,"controlEventKeys",["on_change","on_click"]),du(hu,"controlFieldType",g.VARCHAR),du(hu,"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 RO(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 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 JL(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(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&&By(e,t)}function YL(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:RO(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function eM(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=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YL(this,o)}}var rM=function(e){ZL(r,e);var t=nM(r);function r(n){QL(this,r);var o;return o=t.call(this,n),EO(RO(o),"props",void 0),o.props=new Ty(n==null?void 0:n.props),o}return JL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(j);EO(rM,"controlFieldType",g.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ay(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&ky(e,t)}function oM(e,t){return t&&(iM(t)==="object"||typeof t=="function")?t:Pe(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function iM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dy(e){var t=uM();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 oM(this,o)}}var cM=function(e){xy(r,e);var t=Dy(r);function r(n){Ay(this,r);var o;o=t.call(this,n),pe(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:v.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),pe(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=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Yo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),lM=function(e){xy(r,e);var t=Dy(r);function r(n){Ay(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:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Yo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),gu=function(e){xy(r,e);var t=Dy(r);function r(n){Ay(this,r);var o;o=t.call(this,n),pe(Pe(o),"rangeMin",void 0),pe(Pe(o),"rangeMax",void 0),pe(Pe(o),"numberType",void 0),pe(Pe(o),"percentageFormat",void 0),pe(Pe(o),"micrometer",void 0),pe(Pe(o),"precision",void 0),pe(Pe(o),"showUpperCase",void 0),pe(Pe(o),"isShowUnit",void 0),pe(Pe(o),"unitPosition",void 0),pe(Pe(o),"unit",void 0),pe(Pe(o),"defaultValue",void 0),pe(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 _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:$u.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Em(n==null?void 0:n.regularRules),o}return r}(D);pe(gu,"Rules",cM),pe(gu,"RuntimeRules",lM);function TO(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 IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fM(e,t,r){return t&&IO(e.prototype,t),r&&IO(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?wu=Reflect.get:wu=function(o,i,u){var c=yM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},wu(e,t,r||e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(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&&Ny(e,t)}function _M(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:TO(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function yM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ln(e),e!==null););return e}function pM(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 vM(e){var t=dM();return function(){var n=Ln(e),o;if(t){var i=Ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _M(this,o)}}var $u=function(e){sM(r,e);var t=vM(r);function r(n){aM(this,r);var o;return o=t.call(this,n),Ou(TO(o),"props",void 0),o.props=new gu(n==null?void 0:n.props),o}return fM(r,[{key:"toDataBindModel",value:function(o){var i=wu(Ln(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}(N);Ou($u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ou($u,"controlFieldType",g.DECIMAL),Ou($u,"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 BO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(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 bM(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function xO(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 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&&jy(e,t)}function gM(e,t){return t&&(OM(t)==="object"||typeof t=="function")?t:BO(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function OM(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 $M(e){var t=wM();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 gM(this,o)}}var PM=function(e){mM(r,e);var t=$M(r);function r(n){hM(this,r);var o;return o=t.call(this,n),xO(BO(o),"props",void 0),o.props=new gu(n==null?void 0:n.props),o}return bM(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(j);xO(PM,"controlFieldType",g.DECIMAL);function Ot(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 Xt(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 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&&Fy(e,t)}function EM(e,t){return t&&(TM(t)==="object"||typeof t=="function")?t:Ot(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function TM(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=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EM(this,o)}}var kO=function(e){SM(r,e);var t=BM(r);function r(n){RM(this,r);var o,i;o=t.call(this,n),Xt(Ot(o),"dateType",void 0),Xt(Ot(o),"dateFormat",void 0),Xt(Ot(o),"commonTimeSetting",void 0),Xt(Ot(o),"setValueType",void 0),Xt(Ot(o),"defaultValue",void 0),Xt(Ot(o),"limitDateList",void 0),Xt(Ot(o),"allowDateRange",void 0),Xt(Ot(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Dt.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:Vy.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new e_(w)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var m;return o.filterWeekend=(m=n==null?void 0:n.filterWeekend)!==null&&m!==void 0?m:!1,o}return r}(D);function DO(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 NO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xM(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Su=Reflect.get:Su=function(o,i,u){var c=NM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Su(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(e)}function kM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function DM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:DO(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function NM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}function jM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LM(e){var t=FM();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 DM(this,o)}}var Vy=function(e){kM(r,e);var t=LM(r);function r(n){AM(this,r);var o;return o=t.call(this,n),Ly(DO(o),"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return xM(r,[{key:"toDataBindModel",value:function(o){var i=Su(Mn(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}(N);Ly(Vy,"controlFieldType",g.TIMESTAMP),Ly(Vy,"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:"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 jO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VM(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function LO(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 zM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:jO(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function HM(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=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CM(this,o)}}var WM=function(e){zM(r,e);var t=UM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),LO(jO(o),"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return VM(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(j);LO(WM,"controlFieldType",g.TIMESTAMP);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function VO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:qe(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function GM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zO(e){var t=XM();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KM(this,o)}}var QM=function(e){VO(r,e);var t=zO(r);function r(n){MO(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),Hy=function(e){VO(r,e);var t=zO(r);function r(n){MO(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 wA(n==null?void 0:n.dataBind),o.defaultValue=new $A(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Dt.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 _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Wy.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new e_(w)}))!==null&&m!==void 0?m:[],o}return r}(D);Ue(Hy,"RuntimeRules",QM);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JM(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 ZM(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function qy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Iu=Reflect.get:Iu=function(o,i,u){var c=t5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Iu(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:CO(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}function t5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function n5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o5(e){var t=r5();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 e5(this,o)}}var Wy=function(e){YM(r,e);var t=o5(r);function r(n){JM(this,r);var o;return o=t.call(this,n),qy(CO(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return ZM(r,[{key:"toDataBindModel",value:function(o){var i=Iu(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\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(N);qy(Wy,"controlFieldType",g.TIMESCOPE),qy(Wy,"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:"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 qO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(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 u5(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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function c5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:qO(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function a5(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=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var _5=function(e){c5(r,e);var t=s5(r);function r(n){i5(this,r);var o;return o=t.call(this,n),WO(qO(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return u5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(j);WO(_5,"controlFieldType",g.TIMESCOPE);function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&Qy(e,t)}function y5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:Qt(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jy(e){var t=d5();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y5(this,o)}}var v5=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;return o=t.call(this,n),wt(Qt(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),wt(Qt(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),wt(Qt(o),"defaultValue",{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ae),h5=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),xu=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;o=t.call(this,n),wt(Qt(o),"maxLength",void 0),wt(Qt(o),"minLength",void 0),wt(Qt(o),"defaultValue",void 0),wt(Qt(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:Nu.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}(D);wt(xu,"Rules",v5),wt(xu,"RuntimeRules",h5);function KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b5(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 m5(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function ku(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 g5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:KO(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function w5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P5(e){var t=$5();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 O5(this,o)}}var Nu=function(e){g5(r,e);var t=P5(r);function r(n){b5(this,r);var o;return o=t.call(this,n),ku(KO(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return m5(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}(N);ku(Nu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ku(Nu,"controlFieldType",g.TEXT),ku(Nu,"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 XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R5(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 S5(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 ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&Yy(e,t)}function T5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:XO(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function I5(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 A5(e){var t=B5();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 T5(this,o)}}var x5=function(e){E5(r,e);var t=A5(r);function r(n){R5(this,r);var o;return o=t.call(this,n),JO(XO(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return S5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(j);JO(x5,"controlFieldType",g.TEXT);function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ep(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 Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&np(e,t)}function k5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:dn(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function D5(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 rp(e){var t=N5();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 k5(this,o)}}var j5=function(e){tp(r,e);var t=rp(r);function r(n){ep(this,r);var o;return o=t.call(this,n),Jt(dn(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Jt(dn(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Jt(dn(o),"defaultValue",{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ae),F5=function(e){tp(r,e);var t=rp(r);function r(n){ep(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Lu=function(e){tp(r,e);var t=rp(r);function r(n){ep(this,r);var o;o=t.call(this,n),Jt(dn(o),"maxLength",void 0),Jt(dn(o),"minLength",void 0),Jt(dn(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:zu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(D);Jt(Lu,"Rules",j5),Jt(Lu,"RuntimeRules",F5);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M5(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Mu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function z5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:ZO(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function C5(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 q5(e){var t=H5();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z5(this,o)}}var zu=function(e){V5(r,e);var t=q5(r);function r(n){L5(this,r);var o;return o=t.call(this,n),Mu(ZO(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return M5(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}(N);Mu(zu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Mu(zu,"controlFieldType",g.TEXT),Mu(zu,"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 ew(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 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 W5(e,t,r){return t&&tw(e.prototype,t),r&&tw(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&ip(e,t)}function G5(e,t){return t&&(X5(t)==="object"||typeof t=="function")?t:ew(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function X5(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=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G5(this,o)}}var Z5=function(e){K5(r,e);var t=J5(r);function r(n){U5(this,r);var o;return o=t.call(this,n),nw(ew(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return W5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(j);nw(Z5,"controlFieldType",g.TEXT);function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function ow(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y5(e,t){return t&&(e6(t)==="object"||typeof t=="function")?t:$t(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function e6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iw(e){var t=t6();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 Y5(this,o)}}var n6=function(e){ow(r,e);var t=iw(r);function r(n){return rw(this,r),t.call(this,n)}return r}(xn),cp=function(e){ow(r,e);var t=iw(r);function r(n){rw(this,r);var o;o=t.call(this,n),Pt($t(o),"options",void 0),Pt($t(o),"defaultShowOptions",void 0),Pt($t(o),"optionConfig",void 0),Pt($t(o),"defaultValue",void 0),Pt($t(o),"datasourceBind",void 0),Pt($t(o),"multistageFilling",void 0),Pt($t(o),"allowCopyOptions",void 0),Pt($t(o),"openMultistageFilling",void 0);var i;o.options=pt((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 Z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:fp.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 _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;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(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Re(b))})),o}return r}(D);Pt(cp,"Rules",n6);function uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(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 o6(e,t,r){return t&&cw(e.prototype,t),r&&cw(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function i6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:uw(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function c6(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 a6(e){var t=l6();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 u6(this,o)}}var fp=function(e){i6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),lp(uw(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return o6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);lp(fp,"controlFieldType",g.VARCHAR),lp(fp,"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.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",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 f6(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 s6(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:lw(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v6(e){var t=d6();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 y6(this,o)}}var h6=function(e){_6(r,e);var t=v6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),fw(lw(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return s6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(j);fw(h6,"controlFieldType",g.VARCHAR);function Zt(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 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 Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function yp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function b6(e,t){return t&&(m6(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)}function m6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dp(e){var t=g6();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 b6(this,o)}}var O6=function(e){yp(r,e);var t=dp(r);function r(n){return _p(this,r),t.call(this,n)}return r}(xn),w6=function(e){yp(r,e);var t=dp(r);function r(n){_p(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Ku=function(e){yp(r,e);var t=dp(r);function r(n){_p(this,r);var o;o=t.call(this,n),Rt(Zt(o),"options",void 0),Rt(Zt(o),"defaultShowOptions",void 0),Rt(Zt(o),"optionConfig",void 0),Rt(Zt(o),"defaultValue",void 0),Rt(Zt(o),"datasourceBind",void 0),Rt(Zt(o),"multistageFilling",void 0),Rt(Zt(o),"openMultistageFilling",void 0);var i;o.options=pt((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 Z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:bp.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 _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Re(p))})),o}return r}(D);Rt(Ku,"Rules",O6),Rt(Ku,"RuntimeRules",w6);function sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $6(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 P6(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function vp(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 R6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:sw(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I6(e){var t=T6();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 S6(this,o)}}var bp=function(e){R6(r,e);var t=I6(r);function r(n){$6(this,r);var o;return o=t.call(this,n),vp(sw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return P6(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}(N);vp(bp,"controlFieldType",g.ARRAY),vp(bp,"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.IS_SHOW_CAPTION_TIP]},{key:"options-setting",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 B6(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 A6(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function dw(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 x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 k6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:yw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function D6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j6(e){var t=N6();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 k6(this,o)}}var F6=function(e){x6(r,e);var t=j6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),dw(yw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return A6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(j);dw(F6,"controlFieldType",g.ARRAY);function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(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 hw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:St(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function M6(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 bw(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 L6(this,o)}}var z6=function(e){hw(r,e);var t=bw(r);function r(n){vw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Op=function(e){hw(r,e);var t=bw(r);function r(n){vw(this,r);var o;o=t.call(this,n),Et(St(o),"showType",void 0),Et(St(o),"range",void 0),Et(St(o),"rangeOptions",void 0),Et(St(o),"multiple",void 0),Et(St(o),"defaultValueType",void 0),Et(St(o),"defaultValue",void 0),Et(St(o),"multistageFilling",void 0),Et(St(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Pp.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 b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(O))})),o}return r}(D);Et(Op,"RuntimeRules",z6);function mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H6(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function wp(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 q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:mw(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function W6(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 G6(e){var t=K6();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 U6(this,o)}}var Pp=function(e){q6(r,e);var t=G6(r);function r(n){C6(this,r);var o;return o=t.call(this,n),wp(mw(o),"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return H6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);wp(Pp,"controlFieldType",g.EMPLOYEES),wp(Pp,"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 Ow(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 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 Q6(e,t,r){return t&&ww(e.prototype,t),r&&ww(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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Rp(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Ow(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var n7=function(e){J6(r,e);var t=t7(r);function r(n){X6(this,r);var o;return o=t.call(this,n),$w(Ow(o),"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return Q6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(j);$w(n7,"controlFieldType",g.EMPLOYEES);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function Ep(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:Yt(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function o7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ip(e){var t=i7();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 r7(this,o)}}var u7=10485760,c7=104857600,l7=1048576e3,a7=function(e){Ep(r,e);var t=Ip(r);function r(n){Sp(this,r);var o;return o=t.call(this,n),Tt(Yt(o),"maxSize",{type:"number",min:0,max:l7,message:v.getMessage("attachmentMaxSize")}),o}return r}(ae),f7=function(e){Ep(r,e);var t=Ip(r);function r(n){Sp(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:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),ec=function(e){Ep(r,e);var t=Ip(r);function r(n){Sp(this,r);var o;o=t.call(this,n),Tt(Yt(o),"defaultValue",void 0),Tt(Yt(o),"showType",void 0),Tt(Yt(o),"attachmentAccept",void 0),Tt(Yt(o),"maxLimit",void 0),Tt(Yt(o),"minLimit",void 0),Tt(Yt(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:c7;var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:no.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}(D);Tt(ec,"Rules",a7),Tt(ec,"RuntimeRules",f7);function Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _7(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function tc(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 y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function p7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:Pw(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h7(e){var t=v7();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 p7(this,o)}}var no=function(e){y7(r,e);var t=h7(r);function r(n){s7(this,r);var o;return o=t.call(this,n),tc(Pw(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return _7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);tc(no,"controlEventKeys",["on_change"]),tc(no,"controlFieldType",g.FILE),tc(no,"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 Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m7(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Tw(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 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&&Ap(e,t)}function O7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:Sw(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P7(e){var t=$7();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 O7(this,o)}}var R7=function(e){g7(r,e);var t=P7(r);function r(n){b7(this,r);var o;return o=t.call(this,n),Tw(Sw(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return m7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(j);Tw(R7,"controlFieldType",g.FILE);function S7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T7(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Bw(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 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&&xp(e,t)}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:S7(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function A7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=x7();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 B7(this,o)}}var Aw=function(e){I7(r,e);var t=k7(r);function r(n){E7(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 T7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(no);Bw(Aw,"controlFieldType",g.IMAGE),Bw(Aw,"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 Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(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 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&&Np(e,t)}function D7(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){de(e,o,r[o])})}return e}function N7(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 j7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):N7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function F7(e,t){return t&&(L7(t)==="object"||typeof t=="function")?t:Ae(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function L7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jp(e){var t=M7();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 F7(this,o)}}var V7=function(e){Dp(r,e);var t=jp(r);function r(n){kp(this,r);var o;o=t.call(this,n),de(Ae(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.getMessage("pleaseEnterNumberRange")}]}}),de(Ae(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=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(xn),z7=function(e){Dp(r,e);var t=jp(r);function r(n){kp(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:[j7(D7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),uc=function(e){Dp(r,e);var t=jp(r);function r(n){kp(this,r);var o;o=t.call(this,n),de(Ae(o),"rangeMin",void 0),de(Ae(o),"rangeMax",void 0),de(Ae(o),"showUpperCase",void 0),de(Ae(o),"submitSelectCurrency",void 0),de(Ae(o),"micrometer",void 0),de(Ae(o),"precision",void 0),de(Ae(o),"optionConfig",void 0),de(Ae(o),"dataBind",void 0),de(Ae(o),"datasourceBind",void 0),de(Ae(o),"defaultValue",void 0),de(Ae(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 gA(n==null?void 0:n.dataBind);var f;o.datasourceBind=new Z((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new Xf({value:"name"})]});var _;o.defaultValue=new OA((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:es.CNY}),o.options=pt(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ac.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return r}(D);de(uc,"Rules",V7),de(uc,"RuntimeRules",z7);function xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H7(e,t,r){return t&&kw(e.prototype,t),r&&kw(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?lc=Reflect.get:lc=function(o,i,u){var c=W7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},lc(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(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&&Fp(e,t)}function U7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:xw(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function W7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function K7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X7(e){var t=G7();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 U7(this,o)}}var ac=function(e){q7(r,e);var t=X7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),cc(xw(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return H7(r,[{key:"toDataBindModel",value:function(o){var i=lc(zn(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}(N);cc(ac,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cc(ac,"controlFieldType",g.MONEY),cc(ac,"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 Dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(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 J7(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(e,r),e}function jw(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 Z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function Y7(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:Dw(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function e8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n8(e){var t=t8();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 Y7(this,o)}}var r8=function(e){Z7(r,e);var t=n8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),jw(Dw(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return J7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(j);jw(r8,"controlFieldType",g.MONEY);function en(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 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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function Vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:en(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}function i8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=u8();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 o8(this,o)}}var c8=function(e){Vp(r,e);var t=Cp(r);function r(n){Mp(this,r);var o;return o=t.call(this,n),It(en(o),"totalScore",[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}]),It(en(o),"defaultValue",{type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ae),l8=function(e){Vp(r,e);var t=Cp(r);function r(n){Mp(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:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),_c=function(e){Vp(r,e);var t=Cp(r);function r(n){Mp(this,r);var o,i;o=t.call(this,n),It(en(o),"totalScore",void 0),It(en(o),"scoreType",void 0),It(en(o),"isShowExplain",void 0),It(en(o),"explain",void 0),It(en(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:t_.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 n_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new n_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:dc.controlName,o}return r}(D);It(_c,"Rules",c8),It(_c,"RuntimeRules",l8);function Hp(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 a8(e){if(Array.isArray(e))return Hp(e)}function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f8(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 s8(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function yc(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=v8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},pc(e,t,r||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cn(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p8(){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 d8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:Fw(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function v8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function h8(e){return a8(e)||y8(e)||m8(e)||p8()}function b8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m8(e,t){if(!!e){if(typeof e=="string")return Hp(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 Hp(e,t)}}function g8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O8(e){var t=g8();return function(){var n=Cn(e),o;if(t){var i=Cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d8(this,o)}}var dc=function(e){_8(r,e);var t=O8(r);function r(n){f8(this,r);var o;return o=t.call(this,n),yc(Fw(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return s8(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 n_});(u=this.props.explain).push.apply(u,h8(a))}}pc(Cn(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}(N);yc(dc,"controlEventKeys",["on_change","on_click"]),yc(dc,"controlFieldType",g.DECIMAL),yc(dc,"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 Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w8(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 $8(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 vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function P8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:Mw(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function S8(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=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R8(this,o)}}var I8=function(e){P8(r,e);var t=T8(r);function r(n){w8(this,r);var o;return o=t.call(this,n),zw(Mw(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return $8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(j);zw(I8,"controlFieldType",g.DECIMAL);function hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(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){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function Hw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 B8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:hc(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function A8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=x8();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B8(this,o)}}var k8=function(e){Hw(r,e);var t=qw(r);function r(n){Cw(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:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),Kp=function(e){Hw(r,e);var t=qw(r);function r(n){Cw(this,r);var o;o=t.call(this,n),bc(hc(o),"defaultValueType",void 0),bc(hc(o),"defaultValue",void 0),bc(hc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qp.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 PA((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}(D);bc(Kp,"RuntimeRules",k8);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(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 N8(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&Xp(e,t)}function F8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:Uw(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function L8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V8(e){var t=M8();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 F8(this,o)}}var Qp=function(e){j8(r,e);var t=V8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),Gp(Uw(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return N8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Gp(Qp,"controlFieldType",g.ADDRESS),Gp(Qp,"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 Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C8(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Xw(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 H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:Kw(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function U8(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 K8(e){var t=W8();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 q8(this,o)}}var G8=function(e){H8(r,e);var t=K8(r);function r(n){z8(this,r);var o;return o=t.call(this,n),Xw(Kw(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return C8(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}(j);Xw(G8,"controlFieldType",g.ADDRESS);function Qe(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 Je(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 Jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:Qe(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zw(e){var t=J8();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 X8(this,o)}}var Z8=function(e){Jw(r,e);var t=Zw(r);function r(n){Qw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Yp=function(e){Jw(r,e);var t=Zw(r);function r(n){Qw(this,r);var o;o=t.call(this,n),Je(Qe(o),"showType",void 0),Je(Qe(o),"range",void 0),Je(Qe(o),"defaultValueType",void 0),Je(Qe(o),"multiple",void 0),Je(Qe(o),"rangeOptions",void 0),Je(Qe(o),"defaultValue",void 0),Je(Qe(o),"displayLevel",void 0),Je(Qe(o),"showSubDept",void 0),Je(Qe(o),"multistageFilling",void 0),Je(Qe(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Rc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Re(w))})),o}return r}(D);Je(Yp,"RuntimeRules",Z8);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y8(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 e4(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function $c(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=r4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):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 t4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:Yw(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function r4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u4(e){var t=i4();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 n4(this,o)}}var Rc=function(e){t4(r,e);var t=u4(r);function r(n){Y8(this,r);var o;return o=t.call(this,n),$c(Yw(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return e4(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.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}(N);$c(Rc,"controlName","\u90E8\u95E8"),$c(Rc,"controlFieldType",g.DEPARTMENTS),$c(Rc,"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 t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(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 l4(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function a4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:t$(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y4(e){var t=_4();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 f4(this,o)}}var p4=function(e){a4(r,e);var t=y4(r);function r(n){c4(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return l4(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(j);r$(p4,"controlFieldType",g.DEPARTMENTS);function o$(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 v4(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 h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:o$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function m4(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 O4(e){var t=g4();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 b4(this,o)}}var i$=function(e){h4(r,e);var t=O4(r);function r(n){d4(this,r);var o;o=t.call(this,n),v4(o$(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:Bc.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}(D);function u$(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 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 $4(e,t,r){return t&&c$(e.prototype,t),r&&c$(e,r),e}function Tc(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 P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:u$(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function S4(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=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R4(this,o)}}var Bc=function(e){P4(r,e);var t=T4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),Tc(u$(o),"props",void 0),o.props=new i$(n==null?void 0:n.props),o}return $4(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}(N);Tc(Bc,"controlEventKeys",["on_change"]),Tc(Bc,"controlFieldType",g.AUTO_NUMBER),Tc(Bc,"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 l$(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 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 B4(e,t,r){return t&&a$(e.prototype,t),r&&a$(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function A4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:l$(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function k4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N4(e){var t=D4();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 x4(this,o)}}var j4=function(e){A4(r,e);var t=N4(r);function r(n){I4(this,r);var o;return o=t.call(this,n),f$(l$(o),"props",void 0),o.props=new i$(n==null?void 0:n.props),o}return B4(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(j);f$(j4,"controlFieldType",g.AUTO_NUMBER);function tn(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 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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function F4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:tn(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function L4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ld(e){var t=M4();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 F4(this,o)}}var V4=function(e){ud(r,e);var t=ld(r);function r(n){id(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}(ae),z4=function(e){ud(r,e);var t=ld(r);function r(n){id(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(H),kc=function(e){ud(r,e);var t=ld(r);function r(n){id(this,r);var o;o=t.call(this,n),Bt(tn(o),"precision",void 0),Bt(tn(o),"micrometer",void 0),Bt(tn(o),"showUpperCase",void 0),Bt(tn(o),"scriptSrc",void 0),Bt(tn(o),"scriptEcho",void 0),Bt(tn(o),"dataBind",void 0),Bt(tn(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 RA(n==null?void 0:n.dataBind),o.defaultValue=new SA(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:jc.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 _;return o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"",o}return r}(D);Bt(kc,"Rules",V4),Bt(kc,"RuntimeRules",z4);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H4(e,t,r){return t&&_$(e.prototype,t),r&&_$(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 Nc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nc=Reflect.get:Nc=function(o,i,u){var c=W4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Nc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:s$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function W4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function K4(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 X4(e){var t=G4();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 U4(this,o)}}var jc=function(e){q4(r,e);var t=X4(r);function r(n){C4(this,r);var o;return o=t.call(this,n),Dc(s$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return H4(r,[{key:"toDataBindModel",value:function(o){var i=Nc(qn(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}(N);Dc(jc,"controlEventKeys",["on_change"]),Dc(jc,"controlFieldType",g.CALC),Dc(jc,"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 y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(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 J4(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function d$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y4(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:y$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n9(e){var t=t9();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 Y4(this,o)}}var r9=function(e){Z4(r,e);var t=n9(r);function r(n){Q4(this,r);var o;return o=t.call(this,n),d$(y$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return J4(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(j);d$(r9,"controlFieldType",g.CALC);function Un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v$(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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function h$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:Un(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function i9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b$(e){var t=u9();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 o9(this,o)}}var c9=function(e){h$(r,e);var t=b$(r);function r(n){v$(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(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),_d=function(e){h$(r,e);var t=b$(r);function r(n){v$(this,r);var o;o=t.call(this,n),Wn(Un(o),"rangeMin",void 0),Wn(Un(o),"rangeMax",void 0),Wn(Un(o),"placeholderStart",void 0),Wn(Un(o),"placeholderEnd",void 0),Wn(Un(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:dd.controlName,o}return r}(D);Wn(_d,"RuntimeRules",c9);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a9(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function yd(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){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function f9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function s9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:m$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function _9(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 p9(e){var t=y9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s9(this,o)}}var dd=function(e){f9(r,e);var t=p9(r);function r(n){l9(this,r);var o;return o=t.call(this,n),yd(m$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return a9(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}(N);yd(dd,"controlFieldType",g.DECIMAL_RANGE),yd(dd,"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 O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d9(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 v9(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&vd(e,t)}function b9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:O$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function m9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O9(e){var t=g9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var w9=function(e){h9(r,e);var t=O9(r);function r(n){d9(this,r);var o;return o=t.call(this,n),$$(O$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return v9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(j);$$(w9,"controlFieldType",g.DECIMAL_RANGE);function Ze(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 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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&hd(e,t)}function $9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:Ze(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function P9(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 S$(e){var t=R9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $9(this,o)}}var S9=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.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),bd=function(e){R$(r,e);var t=S$(r);function r(n){P$(this,r);var o,i;o=t.call(this,n),Ye(Ze(o),"rangeMin",void 0),Ye(Ze(o),"rangeMax",void 0),Ye(Ze(o),"placeholderStart",void 0),Ye(Ze(o),"placeholderEnd",void 0),Ye(Ze(o),"dateType",void 0),Ye(Ze(o),"dateFormat",void 0),Ye(Ze(o),"commonTimeSetting",void 0),Ye(Ze(o),"setValueType",void 0),Ye(Ze(o),"defaultValue",void 0),Ye(Ze(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:Dt.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 _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\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 m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Od.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new e_(d)}))!==null&&w!==void 0?w:[],o}return r}(D);Ye(bd,"RuntimeRules",S9);function E$(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 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 T9(e,t,r){return t&&T$(e.prototype,t),r&&T$(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function I9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:E$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function A9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=x9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B9(this,o)}}var Od=function(e){I9(r,e);var t=k9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),md(E$(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return T9(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}(N);md(Od,"controlFieldType",g.ARRAY),md(Od,"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:"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 I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D9(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 N9(e,t,r){return t&&B$(e.prototype,t),r&&B$(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&wd(e,t)}function F9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:I$(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function L9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=M9();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 F9(this,o)}}var z9=function(e){j9(r,e);var t=V9(r);function r(n){D9(this,r);var o;return o=t.call(this,n),A$(I$(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return N9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(j);A$(z9,"controlFieldType",g.ARRAY);function ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(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 Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C9(e,t){return t&&(H9(t)==="object"||typeof t=="function")?t:ro(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function H9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=q9();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 C9(this,o)}}var U9=function(e){Pd(r,e);var t=Sd(r);function r(n){$d(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ae),W9=function(e){Pd(r,e);var t=Sd(r);function r(n){$d(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(H),Uc=function(e){Pd(r,e);var t=Sd(r);function r(n){$d(this,r);var o;o=t.call(this,n),Kn(ro(o),"controlExportName",void 0),Kn(ro(o),"permissions",void 0),Kn(ro(o),"defaultValue",void 0),Kn(ro(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gc.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}(D);Kn(Uc,"Rules",U9),Kn(Uc,"RuntimeRules",W9);function x$(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 k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G9(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function Wc(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 X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:x$(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=Z9();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 Q9(this,o)}}var Gc=function(e){X9(r,e);var t=Y9(r);function r(n){K9(this,r);var o;return o=t.call(this,n),Wc(x$(o),"props",void 0),o.props=new Uc(n==null?void 0:n.props),o}return G9(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}(N);Wc(Gc,"controlFieldType",g.ANY),Wc(Gc,"controlEventKeys",[]),Wc(Gc,"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 D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(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 tV(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function j$(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 nV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:D$(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function oV(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 uV(e){var t=iV();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 rV(this,o)}}var cV=function(e){nV(r,e);var t=uV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),j$(D$(o),"props",void 0),o.props=new Uc(n==null?void 0:n.props),o}return tV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(j);j$(cV,"controlFieldType",g.ANY);function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(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 L$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:Fe(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fV();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 lV(this,o)}}var sV=function(e){L$(r,e);var t=M$(r);function r(n){F$(this,r);var o;return o=t.call(this,n),Le(Fe(o),"listPageBind",[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}]),o}return r}(xn),Bd=function(e){L$(r,e);var t=M$(r);function r(n){F$(this,r);var o;o=t.call(this,n),Le(Fe(o),"options",void 0),Le(Fe(o),"optionConfig",void 0),Le(Fe(o),"defaultValue",void 0),Le(Fe(o),"listPageBind",void 0),Le(Fe(o),"datasourceBind",void 0),Le(Fe(o),"multistageFilling",void 0),Le(Fe(o),"viewFormModelType",void 0),Le(Fe(o),"canViewForm",void 0),Le(Fe(o),"openMultistageFilling",void 0),Le(Fe(o),"showSelectedDetail",void 0),Le(Fe(o),"selectedContentConfig",void 0);var i;o.options=pt((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 Kf(n==null?void 0:n.listPageBind),o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Yc.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 _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Jf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o}return r}(D);Le(Bd,"Rules",sV);function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _V(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 yV(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function Jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&Ad(e,t)}function dV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:V$(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bV(e){var t=hV();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dV(this,o)}}var Yc=function(e){pV(r,e);var t=bV(r);function r(n){_V(this,r);var o;return o=t.call(this,n),Jc(V$(o),"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return yV(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}(N);Jc(Yc,"controlFieldType",g.VARCHAR),Jc(Yc,"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}]),Jc(Yc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gV(e,t,r){return t&&H$(e.prototype,t),r&&H$(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 el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(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&&xd(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:C$(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=PV();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 wV(this,o)}}var SV=function(e){OV(r,e);var t=RV(r);function r(n){mV(this,r);var o;return o=t.call(this,n),q$(C$(o),"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return gV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(j);q$(SV,"controlFieldType",g.VARCHAR);function EV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(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&&kd(e,t)}function BV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:EV(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function AV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kV(e){var t=xV();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 BV(this,o)}}var U$=function(e){IV(r,e);var t=kV(r);function r(n){return TV(this,r),t.call(this,n)}return r}(eo);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NV(e,t,r){return t&&K$(e.prototype,t),r&&K$(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 nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function jV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:W$(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function LV(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 VV(e){var t=MV();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 FV(this,o)}}var zV=function(e){jV(r,e);var t=VV(r);function r(n){DV(this,r);var o;return o=t.call(this,n),G$(W$(o),"props",void 0),o.props=new U$(n==null?void 0:n.props),o}return NV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(to);G$(zV,"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 X$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HV(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function J$(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 qV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function UV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:X$(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function WV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GV(e){var t=KV();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 UV(this,o)}}var XV=function(e){qV(r,e);var t=GV(r);function r(n){CV(this,r);var o;return o=t.call(this,n),J$(X$(o),"props",void 0),o.props=new U$(n==null?void 0:n.props),o}return HV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(j);J$(XV,"controlFieldType",g.VARCHAR);function K(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 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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function Fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:K(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Md(e){var t=ZV();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 QV(this,o)}}var YV=function(e){Fd(r,e);var t=Md(r);function r(n){jd(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),So.call(K(o),n,vn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(ae),ez=function(e){Fd(r,e);var t=Md(r);function r(n){jd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),il=function(e){Fd(r,e);var t=Md(r);function r(n){jd(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:vn.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 _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var m;o.isDefaultCheckSub=(m=n==null?void 0:n.isDefaultCheckSub)!==null&&m!==void 0?m:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var $;o.datasourceBind=new Pm(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:vn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Pm((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:vn.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var L;o.multistageFilling=(L=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(W){return new Re(W)}))!==null&&L!==void 0?L:[];var x;return o.defaultValue=(x=n==null?void 0:n.defaultValue)!==null&&x!==void 0?x:[],o}return r}(D);G(il,"Rules",YV),G(il,"RuntimeRules",ez);function Z$(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 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 nz(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function rz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:Z$(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function iz(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 cz(e){var t=uz();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 oz(this,o)}}var vn=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),ul(Z$(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return nz(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}(N);ul(vn,"controlEventKeys",["on_change","on_click"]),ul(vn,"controlFieldType",g.ARRAY),ul(vn,"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 eP(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 tP(e,t){for(var r=0;r<t.length;r++){var 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&&tP(e.prototype,t),r&&tP(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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&zd(e,t)}function sz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:eP(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function _z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yz();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 sz(this,o)}}var dz=function(e){fz(r,e);var t=pz(r);function r(n){lz(this,r);var o;return o=t.call(this,n),nP(eP(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return az(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(j);nP(dz,"controlFieldType",g.ARRAY);function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cd(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(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&&qd(e,t)}function vz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:oe(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bz();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 vz(this,o)}}var mz=function(e){Hd(r,e);var t=Ud(r);function r(n){Cd(this,r);var o;return o=t.call(this,n),ie(oe(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ie(oe(o),"externalScope",{type:"any"}),So.call(oe(o),n,oo.controlCustomAttributes),n.externalType===qt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(ae),gz=function(e){Hd(r,e);var t=Ud(r);function r(n){Cd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),fl=function(e){Hd(r,e);var t=Ud(r);function r(n){Cd(this,r);var o;o=t.call(this,n),ie(oe(o),"showType",void 0),ie(oe(o),"range",void 0),ie(oe(o),"rangeOptions",void 0),ie(oe(o),"multiple",void 0),ie(oe(o),"defaultValueType",void 0),ie(oe(o),"defaultValue",void 0),ie(oe(o),"multistageFilling",void 0),ie(oe(o),"datasourceBind",void 0),ie(oe(o),"datasourceType",void 0),ie(oe(o),"insideType",void 0),ie(oe(o),"externalType",void 0),ie(oe(o),"externalScope",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.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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:oo.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 b;o.datasourceBind=new wo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:oo.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:o_.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:i_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:qt.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!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 Re(P))})),o}return r}(D);ie(fl,"Rules",mz),ie(fl,"RuntimeRules",gz);function rP(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 oP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wz(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function Wd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&Kd(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:rP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function Rz(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=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var oo=function(e){$z(r,e);var t=Ez(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),Wd(rP(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return wz(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}(N);Wd(oo,"controlFieldType",g.EMPLOYEES),Wd(oo,"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 iP(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 uP(e,t){for(var r=0;r<t.length;r++){var 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&&uP(e.prototype,t),r&&uP(e,r),e}function cP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(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&&Gd(e,t)}function Az(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:iP(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dz(e){var t=kz();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Az(this,o)}}var Nz=function(e){Bz(r,e);var t=Dz(r);function r(n){Tz(this,r);var o;return o=t.call(this,n),cP(iP(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return Iz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(j);cP(Nz,"controlFieldType",g.EMPLOYEES);function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(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&&Xd(e,t)}function jz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:ut(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function Fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fP(e){var t=Lz();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 jz(this,o)}}var Mz=function(e){aP(r,e);var t=fP(r);function r(n){lP(this,r);var o;return o=t.call(this,n),ct(ut(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,_){if(u.type==="public"&&Vf(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&Vf(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ae),Qd=function(e){aP(r,e);var t=fP(r);function r(n){lP(this,r);var o;o=t.call(this,n),ct(ut(o),"buttonType",void 0),ct(ut(o),"content",void 0),ct(ut(o),"showType",void 0),ct(ut(o),"color",void 0),ct(ut(o),"icon",void 0),ct(ut(o),"command",""),ct(ut(o),"isLoading",!1),ct(ut(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vl.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 hk(n==null?void 0:n.signatureConfig),o}return r}(D);ct(Qd,"Rules",Mz);function sP(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 _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 zz(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function pl(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 Cz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:sP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function qz(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 Wz(e){var t=Uz();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 Hz(this,o)}}var vl=function(e){Cz(r,e);var t=Wz(r);function r(n){Vz(this,r);var o;return o=t.call(this,n),pl(sP(o),"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return zz(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}(N);pl(vl,"controlEventKeys",["on_click","on_click_finish"]),pl(vl,"controlFieldType",g.VARCHAR),pl(vl,"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 yP(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 pP(e,t){for(var r=0;r<t.length;r++){var 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&&pP(e.prototype,t),r&&pP(e,r),e}function dP(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 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&&Zd(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:yP(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function Jz(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=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qz(this,o)}}var eC=function(e){Xz(r,e);var t=Yz(r);function r(n){Kz(this,r);var o;return o=t.call(this,n),dP(yP(o),"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return Gz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(j);dP(eC,"controlFieldType",g.VARCHAR);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(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 bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function tC(e,t){return t&&(nC(t)==="object"||typeof t=="function")?t:ve(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function nC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nv(e){var t=rC();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 tC(this,o)}}var oC=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),ue(ve(o),"content",{type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")}),ue(ve(o),"canAdd",void 0),ue(ve(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(v.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(ae),iC=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),ml=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;o=t.call(this,n),ue(ve(o),"content",void 0),ue(ve(o),"canAdd",void 0),ue(ve(o),"addLocal",void 0),ue(ve(o),"addOnline",void 0),ue(ve(o),"canDownload",void 0),ue(ve(o),"canEdit",void 0),ue(ve(o),"canExport",void 0),ue(ve(o),"canDelete",void 0),ue(ve(o),"wpsSetting",void 0),ue(ve(o),"maxSize",void 0),ue(ve(o),"defaultValue",void 0),ue(ve(o),"revisionsMode",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:"\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 _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:u7;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new bk(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}(D);ue(ml,"Rules",oC),ue(ml,"RuntimeRules",iC);function vP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cC(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function gl(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 lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function aC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:vP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function fC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _C(e){var t=sC();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 aC(this,o)}}var wl=function(e){lC(r,e);var t=_C(r);function r(n){uC(this,r);var o;return o=t.call(this,n),gl(vP(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return cC(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);gl(wl,"controlEventKeys",["on_change","on_wps_open"]),gl(wl,"controlFieldType",g.FILE),gl(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.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 bP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pC(e,t,r){return t&&mP(e.prototype,t),r&&mP(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function dC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:bP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mC(e){var t=bC();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vC(this,o)}}var gC=function(e){dC(r,e);var t=mC(r);function r(n){yC(this,r);var o;return o=t.call(this,n),gP(bP(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return pC(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(j);gP(gC,"controlFieldType",g.FILE);function ee(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 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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:ee(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function wC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lv(e){var t=$C();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 OC(this,o)}}var PC=function(e){uv(r,e);var t=lv(r);function r(n){iv(this,r);var o;return o=t.call(this,n),te(ee(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),te(ee(o),"businessScope",{type:"any"}),So.call(ee(o),n,Xn.controlCustomAttributes),n.businessType===qt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(ae),RC=function(e){uv(r,e);var t=lv(r);function r(n){iv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Rl=function(e){uv(r,e);var t=lv(r);function r(n){iv(this,r);var o;o=t.call(this,n),te(ee(o),"showType",void 0),te(ee(o),"range",void 0),te(ee(o),"defaultValueType",void 0),te(ee(o),"multiple",void 0),te(ee(o),"rangeOptions",void 0),te(ee(o),"defaultValue",void 0),te(ee(o),"displayLevel",void 0),te(ee(o),"showSubDept",void 0),te(ee(o),"multistageFilling",void 0),te(ee(o),"datasourceBind",void 0),te(ee(o),"datasourceType",void 0),te(ee(o),"businessType",void 0),te(ee(o),"businessScope",void 0),te(ee(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Xn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;o.datasourceBind=new wo((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:Xn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ei.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:qt.ALL;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 S;(S=o.multistageFilling)===null||S===void 0||S.push(new Re(R))})),o}return r}(D);te(Rl,"Rules",PC),te(Rl,"RuntimeRules",RC);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(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 EC(e,t,r){return t&&wP(e.prototype,t),r&&wP(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?El=Reflect.get:El=function(o,i,u){var c=BC(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},El(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:OP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function BC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kC(e){var t=xC();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IC(this,o)}}var Xn=function(e){TC(r,e);var t=kC(r);function r(n){SC(this,r);var o;return o=t.call(this,n),Sl(OP(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return EC(r,[{key:"toDataBindModel",value:function(o){var i=El(Gn(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}(N);Sl(Xn,"controlName","\u90E8\u95E8"),Sl(Xn,"controlFieldType",g.DEPARTMENTS),Sl(Xn,"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 $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NC(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function RP(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 jC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:$P(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=MC();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 FC(this,o)}}var zC=function(e){jC(r,e);var t=VC(r);function r(n){DC(this,r);var o;return o=t.call(this,n),RP($P(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return NC(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(j);RP(zC,"controlFieldType",g.DEPARTMENTS);function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function _v(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function CC(e,t){return t&&(HC(t)==="object"||typeof t=="function")?t:q(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function HC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pv(e){var t=qC();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 CC(this,o)}}var UC=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),U(q(o),"businessScope",{type:"any"}),So.call(q(o),n,Jn.controlCustomAttributes),n.businessType===qt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(ae),WC=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Bl=function(e){_v(r,e);var t=pv(r);function r(n){sv(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 Kf(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Jn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var m;o.datasourceBind=new bA((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:Jn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ei.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:qt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new Jf(n==null?void 0:n.selectedContentConfig);var L;return o.openMultistageFilling=(L=n==null?void 0:n.openMultistageFilling)!==null&&L!==void 0?L:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(x){var W;(W=o.multistageFilling)===null||W===void 0||W.push(new Re(x))})),o}return r}(D);U(Bl,"Rules",UC),U(Bl,"RuntimeRules",WC);function SP(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 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 GC(e,t,r){return t&&EP(e.prototype,t),r&&EP(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=JC(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):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 XC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function QC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:SP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function JC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eH(e){var t=YC();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 QC(this,o)}}var Jn=function(e){XC(r,e);var t=eH(r);function r(n){KC(this,r);var o;return o=t.call(this,n),Al(SP(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return GC(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"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);Al(Jn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Al(Jn,"controlFieldType",g.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:"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 TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nH(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function BP(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 rH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:TP(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();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 oH(this,o)}}var lH=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),BP(TP(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return nH(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(j);BP(lH,"controlFieldType",g.DEPARTMENTS);function aH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fH(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 sH(e,t,r){return t&&AP(e.prototype,t),r&&AP(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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function yH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:aH(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function dH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hH(e){var t=vH();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 pH(this,o)}}var bH=function(e){yH(r,e);var t=hH(r);function r(n){return fH(this,r),t.call(this,n)}return sH(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Oe);_H(bH,"excludes",[y.GRID]);function bv(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 xP(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 gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:bv(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function wH(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 PH(e){var t=$H();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 OH(this,o)}}var RH=24,io=function(e){gH(r,e);var t=PH(r);function r(n){mH(this,r);var o;o=t.call(this,n),xP(bv(o),"span",void 0),xP(bv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:RH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ge);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SH(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 EH(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function gv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(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&&Ov(e,t)}function IH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:kP(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function BH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xH(e){var t=AH();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IH(this,o)}}var uo=function(e){TH(r,e);var t=xH(r);function r(n){SH(this,r);var o;return o=t.call(this,n),gv(kP(o),"props",void 0),o.props=new io(n==null?void 0:n.props),o}return EH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Oe);gv(uo,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.DIVIDER]),gv(uo,"childrenMaxLength",1);function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DH(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function NH(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 jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:NP(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function LH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VH(e){var t=MH();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 FH(this,o)}}var zH=function(e){jH(r,e);var t=VH(r);function r(n){kH(this,r);var o;return o=t.call(this,n),NH(NP(o),"props",void 0),o.props=new io(n==null?void 0:n.props),o}return DH(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(yn),FP={Designer:uo,Runtime:zH,Property:io};function $v(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&Pv(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:$v(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function UH(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=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var Rv=function(e){HH(r,e);var t=KH(r);function r(n){CH(this,r);var o;o=t.call(this,n),LP($v(o),"layoutMode",void 0),LP($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}(ge);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(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 XH(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function Sv(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 QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:MP(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function ZH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eq(e){var t=YH();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 JH(this,o)}}var Tv=function(e){QH(r,e);var t=eq(r);function r(n){GH(this,r);var o;return o=t.call(this,n),Sv(MP(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return XH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);Sv(Tv,"excludes",[y.ROW]),Sv(Tv,"setting",[{key:"col-setting",visible:!0}]);function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tq(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 nq(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function rq(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 oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:zP(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cq();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 iq(this,o)}}var aq=function(e){oq(r,e);var t=lq(r);function r(n){tq(this,r);var o;return o=t.call(this,n),rq(zP(o),"props",void 0),o.props=new Rv(n==null?void 0:n.props),o}return nq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(yn);function fq(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 HP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _q(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function Bv(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 yq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:fq(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hq(e){var t=vq();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 pq(this,o)}}var bq=4,Cl=function(e){yq(r,e);var t=hq(r);function r(n){return sq(this,r),t.call(this,n)}return _q(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}(Tv);Bv(Cl,"excludes",[y.GRID_ROW]),Bv(Cl,"setting",[]),Bv(Cl,"childrenMaxLength",bq);function mq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gq(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 Oq(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:mq(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function Pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sq(e){var t=Rq();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 $q(this,o)}}var Eq=function(e){wq(r,e);var t=Sq(r);function r(n){return gq(this,r),t.call(this,n)}return Oq(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(aq);function Tq(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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&kv(e,t)}function Aq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Tq(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dq(e){var t=kq();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 Aq(this,o)}}var Nq=function(e){Bq(r,e);var t=Dq(r);function r(n){return Iq(this,r),t.call(this,n)}return r}(Rv),jq={Designer:Cl,Runtime:Eq,Property:Nq};function Ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wl(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 WP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function Fq(e,t){return t&&(Lq(t)==="object"||typeof t=="function")?t:Ul(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function Lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Mq();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 Fq(this,o)}}var Vq=function(e){WP(r,e);var t=KP(r);function r(){UP(this,r);var n;return n=t.apply(this,arguments),Wl(Ul(n),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),n}return r}(ge.Rules),GP=function(e){WP(r,e);var t=KP(r);function r(n){UP(this,r);var o;o=t.call(this,n),Wl(Ul(o),"caption",void 0),Wl(Ul(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}(ge);Wl(GP,"Rules",Vq);function XP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(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 Cq(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function Nv(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 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&&jv(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:XP(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function Uq(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=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qq(this,o)}}var JP=function(e){Hq(r,e);var t=Kq(r);function r(n){zq(this,r);var o;return o=t.call(this,n),Nv(XP(o),"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return Cq(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Oe);Nv(JP,"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}]),Nv(JP,"excludes",[y.CARD_GROUP]);function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZP(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function YP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:lt(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eR(e){var t=Qq();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 Gq(this,o)}}var Jq=function(e){YP(r,e);var t=eR(r);function r(n){ZP(this,r);var o;return o=t.call(this,n),at(lt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),at(lt(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),at(lt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(X),Ql=function(e){YP(r,e);var t=eR(r);function r(n){ZP(this,r);var o;o=t.call(this,n),at(lt(o),"metaAutoWidth",void 0),at(lt(o),"caption",void 0),at(lt(o),"fixed",void 0),at(lt(o),"isShowCaptionTip",void 0),at(lt(o),"captionTip",void 0),at(lt(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 gm(n==null?void 0:n.metaAutoWidth),o}return r}(ge);at(Ql,"Rules",Jq);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function Yq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eU(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:tR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function tU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=nU();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eU(this,o)}}var et=function(e){Yq(r,e);var t=rU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),hn(tR(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return r}(Oe);hn(et,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),hn(et,"controlType","subtable-column"),hn(et,"controlIcon","subtable-column"),hn(et,"childrenMaxLength",1),hn(et,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),hn(et,"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 nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(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 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&&Mv(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:nR(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=lU();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 uU(this,o)}}var oR=function(e){iU(r,e);var t=aU(r);function r(n){oU(this,r);var o;return o=t.call(this,n),rR(nR(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return r}(yn);rR(oR,"controlType","subtable-column");var fU={Designer:et,Runtime:oR,Property:Ql};function sU(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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function yU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:sU(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function dU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hU(e){var t=vU();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 pU(this,o)}}var bU=function(e){yU(r,e);var t=hU(r);function r(n){return _U(this,r),t.call(this,n)}return r}(ge);function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:iR(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function wU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PU(e){var t=$U();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 OU(this,o)}}var Zn=function(e){gU(r,e);var t=PU(r);function r(n){mU(this,r);var o;return o=t.call(this,n),bn(iR(o),"props",void 0),o.props=new bU(n==null?void 0:n.props),o}return r}(Oe);bn(Zn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),bn(Zn,"controlType","subtable-row"),bn(Zn,"controlIcon","subtable-row"),bn(Zn,"childrenMaxLength",1),bn(Zn,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),bn(Zn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Cv(e,t)}function EU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:Me(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function TU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BU(e){var t=IU();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 EU(this,o)}}var uR=function(e){SU(r,e);var t=BU(r);function r(n){RU(this,r);var o;o=t.call(this,n),We(Me(o),"widthType",void 0),We(Me(o),"width",void 0),We(Me(o),"caption",void 0),We(Me(o),"fieldCode",void 0),We(Me(o),"fieldType",void 0),We(Me(o),"fieldName",void 0),We(Me(o),"datasourceBind",void 0),We(Me(o),"fixed",void 0),We(Me(o),"textCleanFormart",void 0),We(Me(o),"decimalKeepPrecision",void 0),We(Me(o),"timestampDateType",void 0),We(Me(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:g.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:Dt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ge);function cR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function xU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:cR(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jU(e){var t=NU();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 kU(this,o)}}var Yn=function(e){xU(r,e);var t=jU(r);function r(n){AU(this,r);var o;return o=t.call(this,n),mn(cR(o),"props",void 0),o.props=new uR(n==null?void 0:n.props),o}return r}(Oe);mn(Yn,"controlName","\u5217\u8868\u5355\u5143\u683C"),mn(Yn,"controlType","gridtable-column"),mn(Yn,"controlIcon","gridtable-column"),mn(Yn,"childrenMaxLength",1),mn(Yn,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),mn(Yn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FU(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function LU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MU(e,t){return t&&(VU(t)==="object"||typeof t=="function")?t:lR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function VU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zU();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 MU(this,o)}}var HU=function(e){LU(r,e);var t=CU(r);function r(n){FU(this,r);var o;return o=t.call(this,n),aR(lR(o),"props",void 0),o.props=new uR(n==null?void 0:n.props),o}return r}(yn);aR(HU,"controlType","gridtable-column");function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function WU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KU(e,t){return t&&(GU(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)}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=XU();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 KU(this,o)}}var JU=function(e){WU(r,e);var t=QU(r);function r(n){qU(this,r);var o;o=t.call(this,n),UU(fR(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}(ge);function Wv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kv(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 _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&&Gv(e,t)}function ZU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:Wv(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function YU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=eW();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 ZU(this,o)}}var tW=function(e){_R(r,e);var t=yR(r);function r(n){sR(this,r);var o;return o=t.call(this,n),Kv(Wv(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),o}return r}(X),pR=function(e){_R(r,e);var t=yR(r);function r(n){sR(this,r);var o;o=t.call(this,n),Kv(Wv(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fa.controlName,o}return r}(ge);Kv(pR,"Rules",tW);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(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 rW(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function Xv(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 oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:dR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=cW();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 iW(this,o)}}var ca=function(e){oW(r,e);var t=lW(r);function r(n){nW(this,r);var o;return o=t.call(this,n),Xv(dR(o),"props",void 0),o.props=new pR(n==null?void 0:n.props),o}return rW(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}(Oe);Xv(ca,"excludes",[y.TAB]),Xv(ca,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function hR(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 bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fW(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function la(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 sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:hR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function yW(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 dW(e){var t=pW();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 _W(this,o)}}var fa=function(e){sW(r,e);var t=dW(r);function r(n){aW(this,r);var o;o=t.call(this,n),la(hR(o),"props",void 0),o.props=new JU(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new ca,new ca],o}return fW(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Oe);la(fa,"excludes",[y.TAB]),la(fa,"controlEventKeys",["on_change_tab"]),la(fa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function vW(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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(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&&Zv(e,t)}function mW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:vW(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function gW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wW(e){var t=OW();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 mW(this,o)}}var $W=function(e){bW(r,e);var t=wW(r);function r(n){return hW(this,r),t.call(this,n)}return r}(ge);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(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 RW(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function SW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:mR(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function TW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BW(e){var t=IW();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EW(this,o)}}var AW=function(e){SW(r,e);var t=BW(r);function r(n){PW(this,r);var o;return o=t.call(this,n),OR(mR(o),"props",void 0),o.props=new $W({}),o.children=(n==null?void 0:n.children)||[new uo({props:new io({span:12})}),new uo({props:new io({span:12})})],o}return RW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Oe);OR(AW,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function ce(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 le(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 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&&nh(e,t)}function xW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:ce(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function kW(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 rh(e){var t=DW();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 xW(this,o)}}var wR;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(wR||(wR={}));var NW=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),jW=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;if(o=t.call(this,n),le(ce(o),"triggerFieldCode",{type:"any"}),le(ce(o),"datasourceBind",{type:"any"}),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),ys.call(ce(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}(X),co=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;o=t.call(this,n),le(ce(o),"datasourceBind",void 0),le(ce(o),"isLoading",void 0),le(ce(o),"isShowSubList",void 0),le(ce(o),"triggerType",void 0),le(ce(o),"triggerFieldCode",void 0),le(ce(o),"sublistPage",void 0),le(ce(o),"showType",void 0),le(ce(o),"showFullScreen",void 0),le(ce(o),"isFixedHeader",void 0),le(ce(o),"selectionType",void 0),le(ce(o),"isShowSelection",void 0),le(ce(o),"isAllLoaded",void 0),le(ce(o),"countType",void 0),o.datasourceBind=new Z(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:1;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new dA(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var f;o.showFullScreen=(f=n==null?void 0:n.showFullScreen)!==null&&f!==void 0?f:!1;var _;o.selectionType=(_=n==null?void 0:n.selectionType)!==null&&_!==void 0?_:"multiple";var p;o.isFixedHeader=(p=n==null?void 0:n.isFixedHeader)!==null&&p!==void 0?p:!1;var b;o.isShowSelection=(b=n==null?void 0:n.isShowSelection)!==null&&b!==void 0?b:!1;var O;return o.isAllLoaded=(O=n==null?void 0:n.isAllLoaded)!==null&&O!==void 0?O:!0,o.countType=n==null?void 0:n.countType,o}return r}(ge);le(co,"Rules",jW),le(co,"RuntimeRules",NW);function $R(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 PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&PR(e.prototype,t),r&&PR(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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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 VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:$R(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CW();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 VW(this,o)}}var va=function(e){MW(r,e);var t=HW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),pa($R(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return LW(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}(Oe);pa(va,"excludes",[y.ROW]),pa(va,"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(va,"setting",[{key:"list-datasource-bind",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 RR(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 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 UW(e,t,r){return t&&SR(e.prototype,t),r&&SR(e,r),e}function WW(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 KW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:RR(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QW();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 GW(this,o)}}var ZW=function(e){KW(r,e);var t=JW(r);function r(n){qW(this,r);var o;return o=t.call(this,n),WW(RR(o),"props",void 0),o.props=new co(n==null?void 0:n.props),o}return UW(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(yn),YW={Designer:va,Runtime:ZW,Property:co};function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(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 TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eK(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:nn(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function tK(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 IR(e){var t=nK();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 eK(this,o)}}var rK=function(e){TR(r,e);var t=IR(r);function r(n){ER(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),ma=function(e){TR(r,e);var t=IR(r);function r(n){ER(this,r);var o;o=t.call(this,n),rn(nn(o),"save",void 0),rn(nn(o),"cancel",void 0),rn(nn(o),"saveAs",void 0),rn(nn(o),"print",void 0),rn(nn(o),"custom",void 0),rn(nn(o),"isLoading",void 0),rn(nn(o),"datasourceBind",void 0);var i;o.save=new jt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new jt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new jt((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 jt((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(_){return new jt(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new Z(n==null?void 0:n.datasourceBind),o}return r}(ge);rn(ma,"RuntimeRules",rK);function BR(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 AR(e,t){for(var r=0;r<t.length;r++){var 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&&AR(e.prototype,t),r&&AR(e,r),e}function xR(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 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&&ch(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:BR(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function lK(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=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var kR=function(e){uK(r,e);var t=fK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),xR(BR(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return iK(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Oe);xR(kR,"excludes",[]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _K(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function yK(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 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&&lh(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:DR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function vK(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=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dK(this,o)}}var mK=function(e){pK(r,e);var t=bK(r);function r(n){sK(this,r);var o;return o=t.call(this,n),yK(DR(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return _K(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(yn),gK={Designer:kR,Runtime:mK,Property:ma};function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ah(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}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function fh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OK(e,t){return t&&(wK(t)==="object"||typeof t=="function")?t:B(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function wK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _h(e){var t=$K();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 OK(this,o)}}var PK=function(e){fh(r,e);var t=_h(r);function r(n){ah(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:v.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),I(B(o),"mobileRowCaption",{type:"string",required:!1,message:v.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}(X),RK=function(e){fh(r,e);var t=_h(r);function r(n){ah(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(sn),yh=function(e){fh(r,e);var t=_h(r);function r(n,o){ah(this,r);var i;i=t.call(this,n,o),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"canExport",void 0),I(B(i),"canClear",void 0),I(B(i),"importConfig",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:hh.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 _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:mk;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var m;i.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new Z(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var L;i.canImport=(L=o==null?void 0:o.canImport)!==null&&L!==void 0?L:!1;var x;i.canExport=(x=o==null?void 0:o.canExport)!==null&&x!==void 0?x:!1;var W;i.canClear=(W=o==null?void 0:o.canClear)!==null&&W!==void 0?W:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var st;i.isShowCaptionTip=(st=o==null?void 0:o.isShowCaptionTip)!==null&&st!==void 0?st:!1;var bo;i.captionTip=(bo=o==null?void 0:o.captionTip)!==null&&bo!==void 0?bo:"";var Fr;i.mobileShowType=(Fr=o==null?void 0:o.mobileShowType)!==null&&Fr!==void 0?Fr:"list";var Sn;i.mobileDefaultNum=(Sn=o==null?void 0:o.mobileDefaultNum)!==null&&Sn!==void 0?Sn:10;var _t;i.dataStorageDoc=(_t=o==null?void 0:o.dataStorageDoc)!==null&&_t!==void 0?_t:new sA;var Xb;i.fixedColumn=(Xb=o==null?void 0:o.fixedColumn)!==null&&Xb!==void 0?Xb:[];var Qb;i.mobileRowCaption=(Qb=o==null?void 0:o.mobileRowCaption)!==null&&Qb!==void 0?Qb:"\u660E\u7EC6";var Jb;i.mobileIsTile=(Jb=o==null?void 0:o.mobileIsTile)!==null&&Jb!==void 0?Jb:!1;var Zb;return i.isPaste=(Zb=o==null?void 0:o.isPaste)!==null&&Zb!==void 0?Zb:!1,i.importConfig=new vk(o==null?void 0:o.importConfig),i}return r}(Es);I(yh,"Rules",PK),I(yh,"RuntimeRules",RK);function ph(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SK(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 EK(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function TK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:ph(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function BK(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 xK(e){var t=AK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var hh=function(e){TK(r,e);var t=xK(r);function r(n){SK(this,r);var o,i;return o=t.call(this,n),dh(ph(o),"props",void 0),o.props=new yh(ph(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 et,new et,new et]),o}return EK(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new et,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}(Bs);dh(hh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),dh(hh,"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,s.IS_PASTE]},{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 er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lo(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 DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(jK(t)==="object"||typeof t=="function")?t:er(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function jK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LK(e){var t=FK();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 NK(this,o)}}var MK=function(e){DK(r,e);var t=LK(r);function r(n,o){kK(this,r);var i;i=t.call(this,n,o),lo(er(i),"isFixedHeader",void 0),lo(er(i),"selectionType",void 0),lo(er(i),"isShowToolbar",void 0),lo(er(i),"isShowSelection",void 0),lo(er(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}(Es);function VK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zK(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 LR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:VK(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MR(e){var t=qK();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 CK(this,o)}}var UK=function(e){LR(r,e);var t=MR(r);function r(n){FR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(dt),gh=function(e){LR(r,e);var t=MR(r);function r(n){FR(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:tr.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 _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(J);zK(gh,"Rules",UK);function VR(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 ao(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 KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:VR(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QK();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 GK(this,o)}}var tr=function(e){KK(r,e);var t=JK(r);function r(n){WK(this,r);var o;return o=t.call(this,n),ao(VR(o),"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return r}(se);ao(tr,"controlType","order-column"),ao(tr,"controlName","\u5E8F\u53F7"),ao(tr,"controlIcon","order-column"),ao(tr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function zR(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 wh(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 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&&$h(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:zR(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function tG(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 rG(e){var t=nG();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 eG(this,o)}}var CR=function(e){YK(r,e);var t=rG(r);function r(n){ZK(this,r);var o;return o=t.call(this,n),wh(zR(o),"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return r}(_e);wh(CR,"controlType","order-column"),wh(CR,"controlFieldType",g.DECIMAL);function Ph(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(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 iG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:Ph(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function cG(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 aG(e){var t=lG();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 uG(this,o)}}var qR=function(e){iG(r,e);var t=aG(r);function r(n){oG(this,r);var o,i;o=t.call(this,n),HR(Ph(o),"showType",void 0),HR(Ph(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:rr.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}(J);function Ia(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UR(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 fG(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){UR(i,n,o,u,c,"next",a)}function c(a){UR(i,n,o,u,c,"throw",a)}u(void 0)})}}function sG(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 _G(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}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 nr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nr=Reflect.get:nr=function(o,i,u){var c=bG(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},nr(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function yG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pG(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){gn(e,o,r[o])})}return e}function dG(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 vG(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dG(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function hG(e,t){return t&&(mG(t)==="object"||typeof t=="function")?t:Ia(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function bG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function mG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OG(e){var t=gG();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 hG(this,o)}}function wG(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}}}var rr=function(e){yG(r,e);var t=OG(r);function r(n){sG(this,r);var o;return o=t.call(this,n),gn(Ia(o),"props",void 0),gn(Ia(o),"children",void 0),o.props=new qR(n==null?void 0:n.props),Mt(Ia(o),"children",n==null?void 0:n.children),o}return _G(r,[{key:"toDataBindModel",value:function(){var o=nr(on(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Yi.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=nr(on(r.prototype),"toSchema",this).call(this);return vG(pG({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return nr(on(r.prototype),"validate",u)};return fG(function(){return wG(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}(se);gn(rr,"controlType","operation-column"),gn(rr,"controlName","\u64CD\u4F5C"),gn(rr,"controlIcon","operation-column"),gn(rr,"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 Ba(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(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 PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RG(e,t){return t&&(SG(t)==="object"||typeof t=="function")?t:Ba(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function SG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=EG();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 RG(this,o)}}var KR=function(e){PG(r,e);var t=TG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),Aa(Ba(o),"props",void 0),Aa(Ba(o),"children",void 0),o.props=new qR(n==null?void 0:n.props),Mt(Ba(o),"children",n==null?void 0:n.children),o}return r}(_e);Aa(KR,"controlType","operation-column"),Aa(KR,"controlFieldType",g.FILE);function fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GR(e,t,r,n,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 IG(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){GR(i,n,o,u,c,"next",a)}function c(a){GR(i,n,o,u,c,"throw",a)}u(void 0)})}}function BG(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 AG(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function ka(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function so(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?so=Reflect.get:so=function(o,i,u){var c=FG(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},so(e,t,r||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},On(e)}function xG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kG(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){ka(e,o,r[o])})}return e}function DG(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 NG(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):DG(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function jG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:fo(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function FG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}function LG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VG(e){var t=MG();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 jG(this,o)}}function zG(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}}}var CG=function(e){xG(r,e);var t=VG(r);function r(n){BG(this,r);var o;return o=t.call(this,n),ka(fo(o),"props",void 0),ka(fo(o),"children",void 0),o.props=new MK(fo(o),n==null?void 0:n.props),Mt(fo(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new tr,new rr]),o}return AG(r,[{key:"toSchema",value:function(){var o=so(On(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return NG(kG({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return so(On(r.prototype),"validate",u)};return IG(function(){return zG(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}(Bs);ka(CG,"setting",[{key:"list-fixed-header",visible:!0}]);function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function JR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:un(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=UG();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 HG(this,o)}}var WG=function(e){JR(r,e);var t=ZR(r);function r(n){QR(this,r);var o;return o=t.call(this,n),pn.call(un(o),n),o}return r}(ig),Bh=function(e){JR(r,e);var t=ZR(r);function r(n){QR(this,r);var o;o=t.call(this,n),wn(un(o),"optionConfig",void 0),wn(un(o),"datasourceBind",void 0),wn(un(o),"showLinkOperation",void 0),wn(un(o),"linkOperationOption",void 0),wn(un(o),"options",void 0),wn(un(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ir.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;o.options=pt((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 an(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}(J);wn(Bh,"Rules",WG);function YR(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 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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function GG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function XG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:YR(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZG(e){var t=JG();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 XG(this,o)}}var ir=function(e){GG(r,e);var t=ZG(r);function r(n){KG(this,r);var o;return o=t.call(this,n),or(YR(o),"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return r}(se);or(ir,"controlType","varchar-column"),or(ir,"controlName","\u77ED\u6587\u672C"),or(ir,"controlIcon","varchar-column"),or(ir,"controlFieldType",g.VARCHAR),or(ir,"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 eS(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 xh(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 eX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:eS(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oX(e){var t=rX();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 tX(this,o)}}var tS=function(e){eX(r,e);var t=oX(r);function r(n){YG(this,r);var o;return o=t.call(this,n),xh(eS(o),"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return r}(_e);xh(tS,"controlType","varchar-column"),xh(tS,"controlFieldType",g.VARCHAR);function ur(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 _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 Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function rS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function iX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:ur(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function uX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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 oS(e){var t=cX();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 iX(this,o)}}var lX=function(e){rS(r,e);var t=oS(r);function r(n){nS(this,r);var o;return o=t.call(this,n),pn.call(ur(o),n),o}return r}(dt),Nh=function(e){rS(r,e);var t=oS(r);function r(n){nS(this,r);var o;o=t.call(this,n),_o(ur(o),"escapeHTML",void 0),_o(ur(o),"showLinkOperation",void 0),_o(ur(o),"linkOperationOption",void 0),_o(ur(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ar.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 an(n==null?void 0:n.linkOperationOption),o}return r}(J);_o(Nh,"Rules",lX);function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fX(e,t,r){return t&&uS(e.prototype,t),r&&uS(e,r),e}function cr(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?La=Reflect.get:La=function(o,i,u){var c=yX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},La(e,t,r||e)}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function sX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _X(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:iS(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function yX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lr(e),e!==null););return e}function pX(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 vX(e){var t=dX();return function(){var n=lr(e),o;if(t){var i=lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _X(this,o)}}var ar=function(e){sX(r,e);var t=vX(r);function r(n){aX(this,r);var o;return o=t.call(this,n),cr(iS(o),"props",void 0),o.props=new Nh(n==null?void 0:n.props),o}return fX(r,[{key:"toDataBindModel",value:function(o){var i=La(lr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(se);cr(ar,"controlType","text-column"),cr(ar,"controlName","\u957F\u6587\u672C"),cr(ar,"controlIcon","text-column"),cr(ar,"controlFieldType",g.TEXT),cr(ar,"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 cS(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 Fh(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 bX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:cS(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wX(e){var t=OX();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 mX(this,o)}}var lS=function(e){bX(r,e);var t=wX(r);function r(n){hX(this,r);var o;return o=t.call(this,n),Fh(cS(o),"props",void 0),o.props=new Nh(n==null?void 0:n.props),o}return r}(_e);Fh(lS,"controlType","text-column"),Fh(lS,"controlFieldType",g.TEXT);function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aS(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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function fS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function $X(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:ft(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sS(e){var t=RX();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $X(this,o)}}var SX=function(e){fS(r,e);var t=sS(r);function r(n){aS(this,r);var o;return o=t.call(this,n),pn.call(ft(o),n),o}return r}(dt),Vh=function(e){fS(r,e);var t=sS(r);function r(n){aS(this,r);var o;o=t.call(this,n),At(ft(o),"optionConfig",void 0),At(ft(o),"datasourceBind",void 0),At(ft(o),"showLinkOperation",void 0),At(ft(o),"linkOperationOption",void 0),At(ft(o),"options",void 0),At(ft(o),"precision",void 0),At(ft(o),"micrometer",void 0),At(ft(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_r.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 Z(n==null?void 0:n.datasourceBind);var f;o.options=pt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new an(n==null?void 0:n.linkOperationOption),o}return r}(J);At(Vh,"Rules",SX);function _S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(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 TX(e,t,r){return t&&yS(e.prototype,t),r&&yS(e,r),e}function fr(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?za=Reflect.get:za=function(o,i,u){var c=AX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},za(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&zh(e,t)}function BX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:_S(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function AX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}function xX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DX(e){var t=kX();return function(){var n=sr(e),o;if(t){var i=sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BX(this,o)}}var _r=function(e){IX(r,e);var t=DX(r);function r(n){EX(this,r);var o;return o=t.call(this,n),fr(_S(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return TX(r,[{key:"toDataBindModel",value:function(o){var i=za(sr(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}(se);fr(_r,"controlType","decimal-column"),fr(_r,"controlName","\u6570\u503C"),fr(_r,"controlIcon","decimal-column"),fr(_r,"controlFieldType",g.DECIMAL),fr(_r,"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 pS(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 Ch(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 jX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:pS(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function LX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VX(e){var t=MX();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 FX(this,o)}}var dS=function(e){jX(r,e);var t=VX(r);function r(n){NX(this,r);var o;return o=t.call(this,n),Ch(pS(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(_e);Ch(dS,"controlType","decimal-column"),Ch(dS,"controlFieldType",g.DECIMAL);function yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vS(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 hS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(CX(t)==="object"||typeof t=="function")?t:yo(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bS(e){var t=HX();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 zX(this,o)}}var qX=function(e){hS(r,e);var t=bS(r);function r(n){vS(this,r);var o;return o=t.call(this,n),pn.call(yo(o),n),o}return r}(dt),Uh=function(e){hS(r,e);var t=bS(r);function r(n){vS(this,r);var o;o=t.call(this,n),Ha(yo(o),"dateType",void 0),Ha(yo(o),"showLinkOperation",void 0),Ha(yo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Dt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new an(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:dr.controlName,o}return r}(J);Ha(Uh,"Rules",qX);function mS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WX(e,t,r){return t&&gS(e.prototype,t),r&&gS(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 Ua(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ua=Reflect.get:Ua=function(o,i,u){var c=XX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ua(e,t,r||e)}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(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&&Wh(e,t)}function GX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:mS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function XX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pr(e),e!==null););return e}function QX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZX(e){var t=JX();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GX(this,o)}}var dr=function(e){KX(r,e);var t=ZX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),yr(mS(o),"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return WX(r,[{key:"toDataBindModel",value:function(o){var i=Ua(pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(se);yr(dr,"controlType","timescope-column"),yr(dr,"controlName","\u65E5\u671F\u533A\u95F4"),yr(dr,"controlIcon","timescope-column"),yr(dr,"controlFieldType",g.TIMESCOPE),yr(dr,"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 OS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YX(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 Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Gh(e,t)}function tQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:OS(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oQ(e){var t=rQ();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 tQ(this,o)}}var wS=function(e){eQ(r,e);var t=oQ(r);function r(n){YX(this,r);var o;return o=t.call(this,n),Kh(OS(o),"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return r}(_e);Kh(wS,"controlType","timescope-column"),Kh(wS,"controlFieldType",g.TIMESCOPE);function po(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 Ka(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 PS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:po(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function uQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RS(e){var t=cQ();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 iQ(this,o)}}var lQ=function(e){PS(r,e);var t=RS(r);function r(n){$S(this,r);var o;return o=t.call(this,n),pn.call(po(o),n),o}return r}(dt),Qh=function(e){PS(r,e);var t=RS(r);function r(n){$S(this,r);var o;o=t.call(this,n),Ka(po(o),"dateType",void 0),Ka(po(o),"showLinkOperation",void 0),Ka(po(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Dt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new an(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:br.controlName,o}return r}(J);Ka(Qh,"Rules",lQ);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aQ(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 fQ(e,t,r){return t&&ES(e.prototype,t),r&&ES(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 Xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xa=Reflect.get:Xa=function(o,i,u){var c=yQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Xa(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function sQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _Q(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:SS(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function yQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}function pQ(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 vQ(e){var t=dQ();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Q(this,o)}}var br=function(e){sQ(r,e);var t=vQ(r);function r(n){aQ(this,r);var o;return o=t.call(this,n),vr(SS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return fQ(r,[{key:"toDataBindModel",value:function(o){var i=Xa(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(se);vr(br,"controlType","timestamp-column"),vr(br,"controlName","\u65E5\u671F"),vr(br,"controlIcon","timestamp-column"),vr(br,"controlFieldType",g.TIMESTAMP),vr(br,"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 TS(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 Zh(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 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&&Yh(e,t)}function mQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:TS(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function gQ(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=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mQ(this,o)}}var IS=function(e){bQ(r,e);var t=wQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),Zh(TS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return r}(_e);Zh(IS,"controlType","timestamp-column"),Zh(IS,"controlFieldType",g.TIMESTAMP);function Ja(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 Za(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 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&&eb(e,t)}function $Q(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:Ja(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function PQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RQ();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 $Q(this,o)}}var SQ=function(e){AS(r,e);var t=xS(r);function r(n){return BS(this,r),t.call(this,n)}return r}(ig),tb=function(e){AS(r,e);var t=xS(r);function r(n){BS(this,r);var o;o=t.call(this,n),Za(Ja(o),"optionConfig",void 0),Za(Ja(o),"datasourceBind",void 0),Za(Ja(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;return o.options=pt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(J);Za(tb,"Rules",SQ);function kS(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 mr(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 TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:kS(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function BQ(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 xQ(e){var t=AQ();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 IQ(this,o)}}var gr=function(e){TQ(r,e);var t=xQ(r);function r(n){EQ(this,r);var o;return o=t.call(this,n),mr(kS(o),"props",void 0),o.props=new tb(n==null?void 0:n.props),o}return r}(se);mr(gr,"controlType","array-column"),mr(gr,"controlName","\u6570\u7EC4"),mr(gr,"controlIcon","array-column"),mr(gr,"controlFieldType",g.ARRAY),mr(gr,"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 DS(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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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 NQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:DS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function jQ(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=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NQ(this,o)}}var NS=function(e){DQ(r,e);var t=LQ(r);function r(n){kQ(this,r);var o;return o=t.call(this,n),rb(DS(o),"props",void 0),o.props=new tb(n==null?void 0:n.props),o}return r}(_e);rb(NS,"controlType","array-column"),rb(NS,"controlFieldType",g.ARRAY);function jS(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 VQ(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 zQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:jS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function HQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UQ(e){var t=qQ();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 CQ(this,o)}}var FS=function(e){zQ(r,e);var t=UQ(r);function r(n){MQ(this,r);var o;o=t.call(this,n),VQ(jS(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}(J);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WQ(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 KQ(e,t,r){return t&&MS(e.prototype,t),r&&MS(e,r),e}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 rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rf=Reflect.get:rf=function(o,i,u){var c=QQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},rf(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function GQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:LS(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function QQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YQ(e){var t=ZQ();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 XQ(this,o)}}var $r=function(e){GQ(r,e);var t=YQ(r);function r(n){WQ(this,r);var o;return o=t.call(this,n),Or(LS(o),"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return KQ(r,[{key:"toDataBindModel",value:function(o){var i=rf(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(se);Or($r,"controlType","department-column"),Or($r,"controlName","\u90E8\u95E8"),Or($r,"controlIcon","department-column"),Or($r,"controlFieldType",g.DEPARTMENTS),Or($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 VS(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 cb(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 tJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:VS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function rJ(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 iJ(e){var t=oJ();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 nJ(this,o)}}var zS=function(e){tJ(r,e);var t=iJ(r);function r(n){eJ(this,r);var o;return o=t.call(this,n),cb(VS(o),"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return r}(_e);cb(zS,"controlType","department-column"),cb(zS,"controlFieldType",g.DEPARTMENTS);function uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CS(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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function HS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:uf(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function cJ(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 qS(e){var t=lJ();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 uJ(this,o)}}var aJ=function(e){HS(r,e);var t=qS(r);function r(n){CS(this,r);var o;return o=t.call(this,n),pn.call(uf(o),n),o}return r}(dt),sb=function(e){HS(r,e);var t=qS(r);function r(n){CS(this,r);var o;o=t.call(this,n),ab(uf(o),"showLinkOperation",void 0),ab(uf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new an(n==null?void 0:n.linkOperationOption),o}return r}(J);ab(sb,"Rules",aJ);function US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&_b(e,t)}function _J(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:US(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dJ(e){var t=pJ();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 _J(this,o)}}var Rr=function(e){sJ(r,e);var t=dJ(r);function r(n){fJ(this,r);var o;return o=t.call(this,n),Pr(US(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return r}(se);Pr(Rr,"controlType","auto-number-column"),Pr(Rr,"controlName","\u81EA\u52A8\u7F16\u53F7"),Pr(Rr,"controlIcon","auto-number-column"),Pr(Rr,"controlFieldType",g.AUTO_NUMBER),Pr(Rr,"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 WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(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 hJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:WS(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function mJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=gJ();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 bJ(this,o)}}var KS=function(e){hJ(r,e);var t=OJ(r);function r(n){vJ(this,r);var o;return o=t.call(this,n),yb(WS(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return r}(_e);yb(KS,"controlType","auto-number-column"),yb(KS,"controlFieldType",g.AUTO_NUMBER);function wJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(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&&db(e,t)}function RJ(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:wJ(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function SJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TJ(e){var t=EJ();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 RJ(this,o)}}var GS=function(e){PJ(r,e);var t=TJ(r);function r(n){$J(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:Er.controlName,o}return r}(J);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(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&&vb(e,t)}function AJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:XS(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=kJ();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 AJ(this,o)}}var Er=function(e){BJ(r,e);var t=DJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),Sr(XS(o),"props",void 0),o.props=new GS(n==null?void 0:n.props),o}return r}(se);Sr(Er,"controlType","file-column"),Sr(Er,"controlName","\u9644\u4EF6"),Sr(Er,"controlIcon","file-column"),Sr(Er,"controlFieldType",g.FILE),Sr(Er,"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 QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hb(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){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function jJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:QS(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VJ(e){var t=MJ();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 FJ(this,o)}}var JS=function(e){jJ(r,e);var t=VJ(r);function r(n){NJ(this,r);var o;return o=t.call(this,n),hb(QS(o),"props",void 0),o.props=new GS(n==null?void 0:n.props),o}return r}(_e);hb(JS,"controlType","file-column"),hb(JS,"controlFieldType",g.FILE);function zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function HJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:zJ(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function UJ(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 KJ(e){var t=WJ();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 qJ(this,o)}}var ZS=function(e){HJ(r,e);var t=KJ(r);function r(n){CJ(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}(J);function YS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(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 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&&gb(e,t)}function QJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:YS(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function JJ(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=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QJ(this,o)}}var Ir=function(e){XJ(r,e);var t=YJ(r);function r(n){GJ(this,r);var o;return o=t.call(this,n),Tr(YS(o),"props",void 0),o.props=new ZS(n==null?void 0:n.props),o}return r}(se);Tr(Ir,"controlType","image-column"),Tr(Ir,"controlName","\u56FE\u7247"),Tr(Ir,"controlIcon","image-column"),Tr(Ir,"controlFieldType",g.IMAGE),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 eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ob(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 tZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:eE(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function rZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iZ(e){var t=oZ();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 nZ(this,o)}}var tE=function(e){tZ(r,e);var t=iZ(r);function r(n){eZ(this,r);var o;return o=t.call(this,n),Ob(eE(o),"props",void 0),o.props=new ZS(n==null?void 0:n.props),o}return r}(_e);Ob(tE,"controlType","image-column"),Ob(tE,"controlFieldType",g.IMAGE);function uZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function lZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:uZ(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function fZ(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 _Z(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 aZ(this,o)}}var nE=function(e){lZ(r,e);var t=_Z(r);function r(n){cZ(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:Ar.controlName,o}return r}(J);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&Pb(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:rE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bZ(e){var t=hZ();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 dZ(this,o)}}var Ar=function(e){pZ(r,e);var t=bZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),Br(rE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return r}(se);Br(Ar,"controlType","people-column"),Br(Ar,"controlName","\u4EBA\u5458"),Br(Ar,"controlIcon","people-column"),Br(Ar,"controlFieldType",g.EMPLOYEES),Br(Ar,"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 oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:oE(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function wZ(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 PZ(e){var t=$Z();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 OZ(this,o)}}var iE=function(e){gZ(r,e);var t=PZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),Rb(oE(o),"props",void 0),o.props=new nE(n==null?void 0:n.props),o}return r}(_e);Rb(iE,"controlType","people-column"),Rb(iE,"controlFieldType",g.EMPLOYEES);function mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(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 cE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function RZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:mf(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function SZ(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 lE(e){var t=EZ();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 RZ(this,o)}}var TZ=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;return o=t.call(this,n),pn.call(mf(o),n),o}return r}(dt),Ib=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;o=t.call(this,n),Eb(mf(o),"showLinkOperation",void 0),Eb(mf(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 an(n==null?void 0:n.linkOperationOption),o}return r}(J);Eb(Ib,"Rules",TZ);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(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 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&&Bb(e,t)}function AZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:aE(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function xZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DZ(e){var t=kZ();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 AZ(this,o)}}var kr=function(e){BZ(r,e);var t=DZ(r);function r(n){IZ(this,r);var o;return o=t.call(this,n),xr(aE(o),"props",void 0),o.props=new Ib(n==null?void 0:n.props),o}return r}(se);xr(kr,"controlType","location-column"),xr(kr,"controlName","\u5730\u5740"),xr(kr,"controlIcon","location-column"),xr(kr,"controlFieldType",g.ADDRESS),xr(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 fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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:fE(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function LZ(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=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FZ(this,o)}}var sE=function(e){jZ(r,e);var t=VZ(r);function r(n){NZ(this,r);var o;return o=t.call(this,n),Ab(fE(o),"props",void 0),o.props=new Ib(n==null?void 0:n.props),o}return r}(_e);Ab(sE,"controlType","location-column"),Ab(sE,"controlFieldType",g.ADDRESS);function _E(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 CZ(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){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&kb(e,t)}function qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:_E(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function UZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=WZ();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 qZ(this,o)}}var yE=function(e){HZ(r,e);var t=KZ(r);function r(n){zZ(this,r);var o;o=t.call(this,n),CZ(_E(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(J);function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GZ(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 XZ(e,t,r){return t&&pE(e.prototype,t),r&&pE(e,r),e}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 vo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vo=Reflect.get:vo=function(o,i,u){var c=nY(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},vo(e,t,r||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(e)}function QZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function JZ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ZZ(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){tt(e,o,r[o])})}return e}function YZ(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 eY(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function tY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:Dr(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function nY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function rY(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 iY(e){var t=oY();return function(){var n=$n(e),o;if(t){var i=$n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tY(this,o)}}var uY=1,Pn=function(t){QZ(n,t);var r=iY(n);function n(o){GZ(this,n);var i;i=r.call(this,o),tt(Dr(i),"excludes",void 0),tt(Dr(i),"childrenMaxLength",void 0),tt(Dr(i),"props",void 0),tt(Dr(i),"children",void 0);var u=JZ(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new yE(o==null?void 0:o.props),Mt(Dr(i),"children",o==null?void 0:o.children),i.excludes=Nt(c),i.childrenMaxLength=a,i}return XZ(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=vo($n(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=vo($n(n.prototype),"toSchema",this).call(this);return eY(ZZ({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(se);tt(Pn,"controlType","custom-column"),tt(Pn,"controlName","\u81EA\u5B9A\u4E49"),tt(Pn,"controlIcon","custom-column"),tt(Pn,"excludes",[]),tt(Pn,"childrenMaxLength",uY),tt(Pn,"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 Pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:Pf(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function fY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=sY();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 aY(this,o)}}var yY=function(e){lY(r,e);var t=_Y(r);function r(n){cY(this,r);var o;return o=t.call(this,n),Nb(Pf(o),"props",void 0),Nb(Pf(o),"children",void 0),o.props=new yE(n==null?void 0:n.props),Mt(Pf(o),"children",n==null?void 0:n.children),o}return r}(_e);Nb(yY,"controlType","custom-column");function dE(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 dY(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 vY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:dE(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function bY(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 gY(e){var t=mY();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 hY(this,o)}}var vE=function(e){vY(r,e);var t=gY(r);function r(n){pY(this,r);var o;o=t.call(this,n),dY(dE(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rn.controlName;var u;return o.datasourceBind=new wo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Rn.controlCustomAttributes}),o}return r}(J);function hE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wY(e,t,r){return t&&bE(e.prototype,t),r&&bE(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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(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&&Lb(e,t)}function PY(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:hE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function RY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();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 PY(this,o)}}var Rn=function(e){$Y(r,e);var t=EY(r);function r(n){OY(this,r);var o;return o=t.call(this,n),Nr(hE(o),"props",void 0),o.props=new vE(n==null?void 0:n.props),o}return wY(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(se);Nr(Rn,"controlType","employee-column"),Nr(Rn,"controlName","\u4EBA\u5458"),Nr(Rn,"controlIcon","employee-column"),Nr(Rn,"controlFieldType",g.EMPLOYEES),Nr(Rn,"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 mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function IY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function BY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:mE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function AY(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 kY(e){var t=xY();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 BY(this,o)}}var gE=function(e){IY(r,e);var t=kY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),Mb(mE(o),"props",void 0),o.props=new vE(n==null?void 0:n.props),o}return r}(_e);Mb(gE,"controlType","employee-column"),Mb(gE,"controlFieldType",g.EMPLOYEES);function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(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 wE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function DY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:xt(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function NY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $E(e){var t=jY();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 DY(this,o)}}var FY=function(e){wE(r,e);var t=$E(r);function r(n){OE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),Cb=function(e){wE(r,e);var t=$E(r);function r(n){OE(this,r);var o;o=t.call(this,n),kt(xt(o),"search",void 0),kt(xt(o),"cancel",void 0),kt(xt(o),"searchType",void 0),kt(xt(o),"labelPosition",void 0),kt(xt(o),"viewType",void 0),kt(xt(o),"isLoading",void 0),kt(xt(o),"custom",void 0),kt(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 jt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new jt((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 _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(b){return new jt(b)});var p;return o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[],o}return r}(Vs);kt(Cb,"RuntimeRules",FY);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(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 MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:PE(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HY(e){var t=CY();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 VY(this,o)}}var RE=function(e){MY(r,e);var t=HY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),Hb(PE(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return r}(m2);Hb(RE,"controlType","simple-search"),Hb(RE,"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 Ub(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(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&&Kb(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:Ub(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=GY();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 WY(this,o)}}var QY=function(e){UY(r,e);var t=XY(r);function r(n){qY(this,r);var o;o=t.call(this,n),Wb(Ub(o),"props",void 0),Wb(Ub(o),"children",void 0),o.props=new Cb(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}(S2);Wb(QY,"controlType","simple-search");const JY=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];aee(t==null?void 0:t.events),ree(n),oee(n);const o=nee(n),i=iee(o,t);let u=Bn(me(i,c=>tee(c,t)));return r?u:u[0]},ZY=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],YY=["subtable","grid-table"],eee=["simple-search"];function tee(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":ZY.includes(r.type)?r.controlType="base":r.controlType="form",YY.includes(r.type)&&(r.controlType="list"),eee.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),be((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),be((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),be((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"&&(be(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(be(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((_,p)=>{const b=new fU.Designer;b.props.caption=be(_.field_name)?_.field_name.zh:_.field_name;const O=b.toSchema();O.id=_.header_id;const m=r.children[0].children[p].children[0];return m&&(O.children=[m]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=be(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(_=>{const p=new FP.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(_),b})}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],_=r==null?void 0:r.children[1],p={};f&&(SE(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),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.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],_=r==null?void 0:r.children[1],p={},b={};f&&(SE(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=In(f.props.range_min),r.props.range_max=In(f.props.range_max),b.amount=In(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=be(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),_&&(p.currency=_.props.data_bind,b.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=b,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=be(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=be(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.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=be(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=In(e.props.range_min),r.props.range_max=In(e.props.range_max),r.props.defaultValue=In(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"),fee(r,t==null?void 0:t.control_events),r}function SE(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 nee(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new gK.Designer().toSchema();return n.children=e,[n]}function ree(e){e.forEach(t=>{t.children&&lee(t.children)})}function oee(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 iee(e,t){var b,O,m,w,d,$,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;uee(i),c.props.is_fixed_header=(b=n==null?void 0:n.source_config)==null?void 0:b.is_fixed_header,cee(c,u);const a=(m=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,l=((d=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?d:a)?`${a}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new YW.Designer;_.props.datasourceBind=new Z({dataCode:a,svcCode:l,orders:U1(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(R=n==null?void 0:n.sublist_page)==null||R.sublists.forEach(S=>{S.title=be(S.title)?S.title.zh:S.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function uee(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=be(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 cee(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:be(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=be(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 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 lee(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 aee(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 fee(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 see=(e,t)=>{const r=Array.isArray(e);let o=Bn(me(r?e:[e],i=>_ee(i)));return r?o:o[0]};function _ee(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ve({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const yee=(e,t)=>{const r=Array.isArray(e);let o=Bn(me(r?e:[e],i=>pee(i)));return r?o:o[0]};function pee(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.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===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const dee=(e,t)=>{const r=Array.isArray(e);let o=Bn(me(r?e:[e],i=>vee(i)));return r?o:o[0]};function vee(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 hee=(e,t)=>{const r=Array.isArray(e);let o=Bn(me(r?e:[e],i=>mee(i)));return r?o:o[0]},bee=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function mee(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(bee.includes(r.type))return r;const n=new jq.Designer,o=new FP.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const gee=(e,t)=>{const r=Array.isArray(e);let o=Bn(me(r?e:[e],i=>Oee(i)));return r?o:o[0]};function Oee(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const wee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>$ee(i));return r?o:o[0]};function $ee(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Pee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Ree(i));return r?o:o[0]};function cn(e,t){e.field_code&&(e.field_type=t)}function Ree(e,t){var n;const r={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return r.hasOwnProperty(e.type)&&cn(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(cn(e.props.data_bind.amount,g.DECIMAL),cn(e.props.data_bind.currency,g.VARCHAR)),e.type===y.CALC&&(cn(e.props.data_bind.result,g.DECIMAL),cn(e.props.data_bind.unit,g.VARCHAR)),e.type===y.DATE_RANGE&&(cn(e.props.data_bind.min,g.TIMESTAMP),cn(e.props.data_bind.max,g.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&cn(e.props.data_bind,(n=e.field_type)!=null?n:g.ANY),e}const See=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Eee(i));return r?o:o[0]};function Eee(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Tee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Iee(i));return r?o:o[0]};function Iee(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[g.VARCHAR,g.TEXT,g.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 Bee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Aee(i));return r?o:o[0]};function Aee(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.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 xee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>kee(i));return r?o:o[0]};function kee(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.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 Dee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Nee(i));return r?o:o[0]};function Nee(e,t){return e.type===y.TITLE&&e.props.config.push(ht.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,_,p,b,O,m,w,d,$,P,R,S,L,x,W;if(r.type===y.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 A=new sy.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,A.props.openType=(c=r.props)==null?void 0:c.check.open_type,A.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(A.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const A=new sy.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(p=r.props)==null?void 0:p.edit.content,A.props.priorityProcess=(b=r.props)==null?void 0:b.edit.priority_process,A.props.openType=(O=r.props)==null?void 0:O.edit.open_type,A.props.formKey=(m=r.props)==null?void 0:m.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const A=new sy.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=(R=r.props)==null?void 0:R.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",(x=r.props)!=null&&x.delete.is_show&&r.children.push(A.toSchema()),(W=r.props)==null||delete W.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.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 jee=(e,t)=>{const r=Array.isArray(e);let o=me(r?e:[e],i=>Fee(i));return r?o:o[0]};function Fee(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{n.props.meta_auto_width=new gm,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type});const r={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e}var EE={"v1.0":JY,"v2.0":see,"v2.1":yee,"v2.2":dee,"v2.3":hee,"v2.4":gee,"v2.5":wee,"v2.6":Pee,"v2.7":See,"v2.8":Tee,"v2.9":Bee,"v2.10":xee,"v3.0":Dee,"v3.1":jee,"v3.2":()=>{}};const TE=(e,t)=>{const r=IE(e),n=IE(t),o=r.pop(),i=n.pop(),u=xE(r,n);return u!==0?u:o&&i?xE(o.split("."),i.split(".")):o||i?o?-1:1:0},xf=(e,t,r)=>{zee(r);const n=TE(e,t);return kE[r].includes(n)},Lee=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,IE=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Lee);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},BE=e=>e==="*"||e==="x"||e==="X",AE=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Mee=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Vee=(e,t)=>{if(BE(e)||BE(t))return 0;const[r,n]=Mee(AE(e),AE(t));return r>n?1:r<n?-1:0},xE=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Vee(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},kE={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},DE=Object.keys(kE),zee=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(DE.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${DE.join("|")}`)};function Gb(e){return e.replace(/^v/,"")}const jr=Object.keys(EE).map(e=>Gb(e)).sort(TE),ho=jr[jr.length-1];class Cee{constructor(t,r=ho){this.schemaVersion=t,this.toVersion=r,xf(r,ho,">")?zr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${ho}`):(!jr.includes(Gb(r))||!jr.includes(Gb(t)))&&zr(`Version Builder: Please give me a valid version number, The valid version is: ${jr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(xf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const a=(_=c[u+1])!=null?_:this.toVersion;go(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=EE[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return go(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return jr.filter(t=>xf(t,this.schemaVersion,">=")&&xf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return ho}static get version(){return ho}}En.VersionBuilder=Cee,Object.defineProperty(En,"__esModule",{value:!0})});
1
+ (function(De,Vn){typeof exports=="object"&&typeof module!="undefined"?Vn(exports):typeof define=="function"&&define.amd?define(["exports"],Vn):(De=typeof globalThis!="undefined"?globalThis:De||self,Vn(De.modelDrivenUpgrade={}))})(this,function(De){"use strict";var Vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",NT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",VT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",HT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",qT="{caption}\u5FC5\u586B",UT="\u8BF7\u8F93\u5165\u6807\u9898",WT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",KT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",GT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",CT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",XT="\u8BF7\u7ED1\u5B9A\u8868\u5355",QT="\u8BF7\u7ED1\u5B9A\u5217\u8868",JT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ZT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",YT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",tR="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",eR="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",nR="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",oR="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",rR="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",iR="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",uR="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",cR="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",lR="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fR="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",aR="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_R="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",yR="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",sR="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",pR="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",dR="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",vR="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",hR="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",bR="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",mR="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",gR="\u8BF7\u7ED1\u5B9A\u670D\u52A1",OR="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wR="\u8BF7\u9009\u62E9\u7701",$R="\u8BF7\u9009\u62E9\u5E02",PR="\u8BF7\u9009\u62E9\u533A",ER="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",SR="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",TR="\u8BF7\u8F93\u5165\u5217\u5BBD",RR="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",BR="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",IR="\u8BF7\u9009\u62E9\u63A7\u4EF6",AR="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",kR="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",DR="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xR="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",jR="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",FR="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",LR="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",MR="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NR="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",VR="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zR="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",HR="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qR="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",UR="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",WR="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",KR="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",GR="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",CR="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",XR="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",QR="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",JR="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ZR={isNotNumber:Vn,isNotString:NT,isNotObject:VT,isNotArray:zT,isNotBoolean:HT,runtimeRequired:qT,pleaseEnterCaption:UT,pleaseEnterCaptionTip:WT,pleaseEnterRowCaption:KT,pleaseEnterPlaceholder:GT,pleaseEnterFieldCode:CT,pleaseEnterForm:XT,pleaseEnterList:QT,pleaseEnterProcess:JT,pleaseEnterLabel:ZT,pleaseEnterValue:YT,bizKeyNotBindFiled:tR,pleaseSelectOneField:eR,pleaseEnterNumberRange:nR,pleaseEnterAValueGreaterThanMin:oR,pleaseEnterAValueLessThanMax:rR,numberRangeSetError:iR,stringRangeError:uR,attachmentMaxSize:cR,pleaseEnterTotalScoreSetting:lR,theTotalScoreMustNotBeLessThan1:fR,scoreDefaultValueRange:aR,attachmentLimitError:_R,PleaseReselectTheOptionalQuantity:yR,TheMaximumLengthIsGreaterThanTheMinimumLength:sR,TheMinimumLengthIsGreaterThanTheMaximumLength:pR,PleaseSelectTheCorrectOptionSettings:dR,optionIdIsRepeat:vR,optionIsRequired:hR,pleaseEnterDataCode:bR,pleaseEnterValueFieldCode:mR,pleaseEnterSvcCode:gR,pleaseBindAtLeastOneDisplayValue:OR,pleaseSelectProvince:wR,pleaseSelectCity:$R,pleaseSelectDistrict:PR,limitRowsCannotBeLessThan0:ER,TheNumberOfRowsCannotBeLessThanMinRows:SR,pleaseEnterColumnWidth:TR,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RR,pleaseCompleteAllRulesAndConditions:BR,pleaseSelectControl:IR,pleaseSelectAtLeastOneColumn:AR,pleaseSelectFillBackMode:kR,pleaseSelectDashboard:DR,rootNodeIsRequired:xR,theViewNameCannotBeEmpty:jR,pleaseSelectOcrType:FR,pleaseSelectAtLeastOneFieldToFillIn:LR,pleaseChooseAtLeastOne:MR,pleaseEnterButtonContent:NR,pleaseEnterDataCodeInDataSetting:VR,pleaseEnterValueFieldCodeInDataSetting:zR,pleaseEnterSvcCodeInDataSetting:HR,pleaseBindAtLeastOneDisplayValueInDataSetting:qR,rootNodeIsRequiredInDataSetting:UR,pleaseEnterMaxHeight:WR,pleaseEnter:KR,pleaseEnterWatermark:GR,pleaseEnterFileName:CR,pleaseUploadAtLeastOnePrintTemplate:XR,pleaseAssignBusiness:QR,pleaseAssignExternal:JR},YR="Please enter a number",tB="Please enter a string",eB="Please enter an object",nB="Please enter an array",oB="Please enter a boolean",rB="{caption} Required",iB="Please enter the title",uB="Please enter the bubble prompt",cB="Please enter the row title",lB="Please enter the prompt text",fB="Please bind data items",aB="Please bind the form",_B="Please bind the list",yB="Please bind the process",sB="Please enter the displayed value",pB="Please enter the stored value",dB="The document number is not bound to the data item",vB="Please select at least one display field",hB="Please enter a value greater than or equal to {min} and less than or equal to {max}",bB="Please enter a value greater than or equal to {min}",mB="Please enter a value less than or equal to {max}",gB="The value range is set incorrectly",OB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",wB="The attachment size must be between 0MB and 1000MB",$B="Please fill in the total score setting",PB="The total score cannot be less than 1",EB="The default value must be between {min} and {max}",SB="The number of attachments uploaded must be between {min} and {max}",TB="Please re-select the optional quantity",RB="The maximum length of the control must be greater than the minimum length",BB="The minimum length of the control must be less than the maximum length",IB="Please select the correct option setting",AB="Option ID cannot be repeated",kB="Please enter at least one option",DB="Please bind the data source",xB="Please bind the stored value",jB="Please bind the service",FB="At least one display value must be bound",LB="Please select a province",MB="Please select a city",NB="Please select a district",VB="The minimum number of lines to fill in cannot be less than 0",zB="The number of rows cannot be less than {min} rows",HB="Please enter the column width",qB="Please set the logical relationship of all rule conditions",UB="Please complete all rules and conditions",WB="please select control",KB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",GB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",CB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",XB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",QB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",JB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ZB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",YB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",t1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",e1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",n1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",o1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",r1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",i1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",u1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",c1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",l1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",f1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",a1={isNotNumber:YR,isNotString:tB,isNotObject:eB,isNotArray:nB,isNotBoolean:oB,runtimeRequired:rB,pleaseEnterCaption:iB,pleaseEnterCaptionTip:uB,pleaseEnterRowCaption:cB,pleaseEnterPlaceholder:lB,pleaseEnterFieldCode:fB,pleaseEnterForm:aB,pleaseEnterList:_B,pleaseEnterProcess:yB,pleaseEnterLabel:sB,pleaseEnterValue:pB,bizKeyNotBindFiled:dB,pleaseSelectOneField:vB,pleaseEnterNumberRange:hB,pleaseEnterAValueGreaterThanMin:bB,pleaseEnterAValueLessThanMax:mB,numberRangeSetError:gB,stringRangeError:OB,attachmentMaxSize:wB,pleaseEnterTotalScoreSetting:$B,theTotalScoreMustNotBeLessThan1:PB,scoreDefaultValueRange:EB,attachmentLimitError:SB,PleaseReselectTheOptionalQuantity:TB,TheMaximumLengthIsGreaterThanTheMinimumLength:RB,TheMinimumLengthIsGreaterThanTheMaximumLength:BB,PleaseSelectTheCorrectOptionSettings:IB,optionIdIsRepeat:AB,optionIsRequired:kB,pleaseEnterDataCode:DB,pleaseEnterValueFieldCode:xB,pleaseEnterSvcCode:jB,pleaseBindAtLeastOneDisplayValue:FB,pleaseSelectProvince:LB,pleaseSelectCity:MB,pleaseSelectDistrict:NB,limitRowsCannotBeLessThan0:VB,TheNumberOfRowsCannotBeLessThanMinRows:zB,pleaseEnterColumnWidth:HB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qB,pleaseCompleteAllRulesAndConditions:UB,pleaseSelectControl:WB,pleaseSelectDashboard:KB,theViewNameCannotBeEmpty:GB,pleaseSelectOcrType:CB,pleaseSelectAtLeastOneFieldToFillIn:XB,pleaseChooseAtLeastOne:QB,pleaseEnterButtonContent:JB,pleaseEnterDataCodeInDataSetting:ZB,pleaseEnterValueFieldCodeInDataSetting:YB,pleaseEnterSvcCodeInDataSetting:t1,pleaseBindAtLeastOneDisplayValueInDataSetting:e1,rootNodeIsRequiredInDataSetting:n1,pleaseEnterMaxHeight:o1,pleaseEnter:r1,pleaseEnterWatermark:i1,pleaseEnterFileName:u1,pleaseUploadAtLeastOnePrintTemplate:c1,pleaseAssignBusiness:l1,pleaseAssignExternal:f1},_1="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",y1="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",s1="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",p1="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",d1="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v1="{caption}\u5FC5\u9808",h1="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",b1="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",m1="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",g1="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",O1="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",w1="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$1="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",P1="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",E1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",S1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",T1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",R1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",I1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",A1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",D1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",j1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",F1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",L1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",M1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",N1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",V1="\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",z1="\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",H1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",q1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",U1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",W1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",K1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",G1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",C1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",X1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Q1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",J1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Z1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Y1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",oI="please select control",rI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",iI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",cI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",lI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",fI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",aI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_I="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",pI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",dI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",hI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",bI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",OI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",wI={isNotNumber:_1,isNotString:y1,isNotObject:s1,isNotArray:p1,isNotBoolean:d1,runtimeRequired:v1,pleaseEnterCaption:h1,pleaseEnterCaptionTip:b1,pleaseEnterRowCaption:m1,pleaseEnterPlaceholder:g1,pleaseEnterFieldCode:O1,pleaseEnterForm:w1,pleaseEnterList:$1,pleaseEnterProcess:P1,pleaseEnterLabel:E1,pleaseEnterValue:S1,bizKeyNotBindFiled:T1,pleaseSelectOneField:R1,pleaseEnterNumberRange:B1,pleaseEnterAValueGreaterThanMin:I1,pleaseEnterAValueLessThanMax:A1,numberRangeSetError:k1,stringRangeError:D1,attachmentMaxSize:x1,pleaseEnterTotalScoreSetting:j1,theTotalScoreMustNotBeLessThan1:F1,scoreDefaultValueRange:L1,attachmentLimitError:M1,PleaseReselectTheOptionalQuantity:N1,TheMaximumLengthIsGreaterThanTheMinimumLength:V1,TheMinimumLengthIsGreaterThanTheMaximumLength:z1,PleaseSelectTheCorrectOptionSettings:H1,optionIdIsRepeat:q1,optionIsRequired:U1,pleaseEnterDataCode:W1,pleaseEnterValueFieldCode:K1,pleaseEnterSvcCode:G1,pleaseBindAtLeastOneDisplayValue:C1,pleaseSelectProvince:X1,pleaseSelectCity:Q1,pleaseSelectDistrict:J1,limitRowsCannotBeLessThan0:Z1,TheNumberOfRowsCannotBeLessThanMinRows:Y1,pleaseEnterColumnWidth:tI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eI,pleaseCompleteAllRulesAndConditions:nI,pleaseSelectControl:oI,pleaseSelectDashboard:rI,theViewNameCannotBeEmpty:iI,pleaseSelectOcrType:uI,pleaseSelectAtLeastOneFieldToFillIn:cI,pleaseChooseAtLeastOne:lI,pleaseEnterButtonContent:fI,pleaseEnterDataCodeInDataSetting:aI,pleaseEnterValueFieldCodeInDataSetting:_I,pleaseEnterSvcCodeInDataSetting:yI,pleaseBindAtLeastOneDisplayValueInDataSetting:sI,rootNodeIsRequiredInDataSetting:pI,pleaseEnterMaxHeight:dI,pleaseEnter:vI,pleaseEnterWatermark:hI,pleaseEnterFileName:bI,pleaseUploadAtLeastOnePrintTemplate:mI,pleaseAssignBusiness:gI,pleaseAssignExternal:OI},$I={zhCN:ZR,enUS:a1,jaJP:wI},PI="zh-CN";function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var po=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),s=function(e){return 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.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e}({}),b=function(e){return 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",e}({}),ut;ut={},vt(ut,"array","array-column"),vt(ut,"auto_number","auto-number-column"),vt(ut,"decimal","decimal-column"),vt(ut,"department","department-column"),vt(ut,"file","file-column"),vt(ut,"image","image-column"),vt(ut,"location","location-column"),vt(ut,"people","employee-column"),vt(ut,"text","text-column"),vt(ut,"timescope","timescope-column"),vt(ut,"timestamp","timestamp-column"),vt(ut,"varchar","varchar-column"),vt(ut,"relation","varchar-column");var xe=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),hh="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",EI=hh+"0123456789";function Vt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?hh:EI,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function vf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function SI(e){if(Array.isArray(e))return vf(e)}function TI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bh(e,t,n){return t=zn(t),AI(e,bf()?Reflect.construct(t,n||[],zn(e).constructor):t.apply(e,n))}function mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,n){return bf()?vo=Reflect.construct:vo=function(r,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(r,c),l=new f;return u&&Hn(l,u.prototype),l},vo.apply(null,arguments)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(e)}function gh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function BI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function II(){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 AI(e,t){return t&&(kI(t)==="object"||typeof t=="function")?t:TI(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hn(e,t)}function Oh(e){return SI(e)||BI(e)||DI(e)||II()}function kI(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DI(e,t){if(!!e){if(typeof e=="string")return vf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vf(e,t)}}function hf(e){var t=typeof Map=="function"?new Map:void 0;return hf=function(o){if(o===null||!RI(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return vo(o,arguments,zn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Hn(r,o)},hf(e)}function bf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bf=function(){return!!e})()}var mf=console;function gf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=mf).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(Oh(r)))}function ho(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=mf).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(Oh(r)))}function xI(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Of=function(e){gh(t,e);function t(n){mh(this,t);var o;return o=bh(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?xI(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(hf(Error)),jI=function(e){gh(t,e);function t(n){mh(this,t);var o;return o=bh(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(Of);function qn(e){throw new Of(e)}function wh(e){throw new jI(e)}function FI(e){mf.error(new Of(e))}var LI=Object.prototype.toString;function $h(e,t){return LI.call(e)==="[object "+t+"]"}function MI(e){return $h(e,"String")}function NI(e){return $h(e,"Promise")}var VI=function(){function e(t){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&o!==void 0?o:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var o=this.getMessageData();NI(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,o){var r=this.getMessage(t);return r?this.formatMessage(r,o):this.formatMessage(n,o)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),o=n.reduce(function(r,i,u,c){if(r!==void 0){var f=r[i];if(!(u===c.length-1&&!MI(f)))return f}},this.message);return this._messageCache.set(t,o),o},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},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 zI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ph(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HI(e,t,n){return t&&Ph(e.prototype,t),n&&Ph(e,n),e}function qI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(){zI(this,e)}return HI(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:PI;return new VI({locale:n,messages:$I})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();qI(p,"$i18n",p.resetI18n());function UI(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,f){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){gf("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===f.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},e),r}var WI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wf={exports:{}};(function(e){(function(t){var n=function(h,w,B){if(!l(w)||y(w)||d(w)||m(w)||f(w))return w;var P,T=0,z=0;if(a(w))for(P=[],z=w.length;T<z;T++)P.push(n(h,w[T],B));else{P={};for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&(P[h(A,B)]=n(h,w[A],B))}return P},o=function(h,w){w=w||{};var B=w.separator||"_",P=w.split||/(?=[A-Z])/;return h.split(P).join(B)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(w,B){return B?B.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var w=r(h);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(h,w){return o(h,w).toLowerCase()},c=Object.prototype.toString,f=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},a=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},m=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},g=function(h,w){var B=w&&"process"in w?w.process:w;return typeof B!="function"?h:function(P,T){return B(P,h,T)}},$={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,w){return n(g(r,w),h)},decamelizeKeys:function(h,w){return n(g(u,w),h,w)},pascalizeKeys:function(h,w){return n(g(i,w),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=$:t.humps=$})(WI)})(wf);var Eh={};Object.defineProperty(Eh,"__esModule",{value:!0});function $f(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:$f(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:$f(o)}return t}}var KI=Eh.default=$f;function GI(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":GI(e))==="object"?KI(e):e}function ct(e){return Sh(e)&&"zh"in e}function Sh(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pf(e){return Array.isArray(e)}function je(e){return isNaN(parseFloat(e))?"":Number(e)}function CI(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function lt(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=lt(o.children,t)),t(r)})),n}function XI(e){return wf.exports.camelizeKeys(e)}function Fe(e){return wf.exports.decamelizeKeys(e)}function Ef(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function QI(e){if(Array.isArray(e))return Ef(e)}function Th(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function JI(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){Th(i,o,r,u,c,"next",f)}function c(f){Th(i,o,r,u,c,"throw",f)}u(void 0)})}}function ZI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rh(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YI(e,t,n){return t&&Rh(e.prototype,t),n&&Rh(e,n),e}function Bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sf(e){return QI(e)||tA(e)||nA(e)||eA()}function nA(e,t){if(!!e){if(typeof e=="string")return Ef(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ef(e,t)}}function oA(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var rA=function(){function e(){ZI(this,e),Bh(this,"_events",new Map),Bh(this,"debug",!1)}return YI(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return JI(function(){var u,c,f,l,a,y,d,m,O,g,$,h;return oA(this,function(w){switch(w.label){case 0:if(u=this._events.get(n),c=[],!u)return[3,10];f=u.slice(),l=!0,a=!1,y=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),d=f[Symbol.iterator](),w.label=2;case 2:if(l=(m=d.next()).done)return[3,7];if(O=m.value,!u.includes(O))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&ho.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Sf(r))),[4,O.apply(null,Sf(r))];case 4:return g=w.sent(),this.debug&&ho.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Sf(r),[g])),c.push(g),g===!1?[3,7]:[3,6];case 5:return $=w.sent(),FI(String($)+":"+String($.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return h=w.sent(),a=!0,y=h,[3,10];case 9:try{!l&&d.return!=null&&d.return()}finally{if(a)throw y}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function iA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ih(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uA(e,t,n){return t&&Ih(e.prototype,t),n&&Ih(e,n),e}function cA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lA=[{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"}],fA=function(){function e(){iA(this,e)}return uA(e,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}}]),e}();cA(fA,"events",lA);function aA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _A(e,t,n){return t&&Ah(e.prototype,t),n&&Ah(e,n),e}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kh=[],Tf=function(){function e(t){aA(this,e),de(this,"registeredControlTypes",new Set),de(this,"controlConfigMap",new Map),de(this,"_controls",[]),de(this,"_type",void 0),this._type=t,this._initControls(t)}return _A(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||qn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(gf("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===po.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===po.FORM}},{key:"isListControl",value:function(n){return n.controlType===po.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===po.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(l){return r.createControl(l,o)});n.children&&(n.children=n.children.map(function(l){return r.createControl(l,o)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(l){return r.createControl(l,o)}));var i=this.getControlFormType(n.type);if(i){var u=n;if(typeof o=="function"){var c=o(u);c&&(u=c)}var f=new i(u);return f}else qn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n])})}}],[{key:"register",value:function(n){var o=n.Designer,r=n.Runtime;(!o||!r||!o.__is_control__||!r.__is_control__)&&qn("".concat(n," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===o.controlType});return i>-1&&(gf("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),this}}]),e}();de(Tf,"staticControls",kh),de(Tf,"staticRegisteredTypes",new Set(kh.map(function(e){return e.Designer.controlType}))),de(Tf,"staticRegisteredConfigs",new Map);function yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function St(e,t,n){return t=bo(t),sA(e,xh()?Reflect.construct(t,n||[],bo(e).constructor):t.apply(e,n))}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bo(e)}function Tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rf(e,t)}function Dh(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function sA(e,t){return t&&(pA(t)==="object"||typeof t=="function")?t:yA(e)}function Rf(e,t){return Rf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rf(e,t)}function pA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xh=function(){return!!e})()}var Ot=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:""},jh=function e(t){E(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},Bf=function(e){Tt(t,e);function t(n){E(this,t);var o;o=St(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(jh),Fh=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Bf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Bf(t==null?void 0:t.mobile):new Bf({width:130,minWidth:180})},dA=function e(t){E(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},If=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},vA=function(e){Tt(t,e);function t(n){E(this,t);var o;o=St(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(If),Lh=function e(t){E(this,e),v(this,"fieldCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:""},Af=function e(t){E(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Lh(u)}))!==null&&i!==void 0?i:[]},hA=function e(t){E(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:b.VARCHAR},bA=function(e){Tt(t,e);function t(n){E(this,t);var o;o=St(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return t}(If),mA=function e(t){E(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new If(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new hA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new bA(u)}))!==null&&i!==void 0?i:[]},gA=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Un=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},Mh=function e(t){var n=this;E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r: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 f,l=new e(c);(f=n.children)===null||f===void 0||f.push(l)}else{var a,y=new kf(c);(a=n.children)===null||a===void 0||a.push(y)}}))},kf=function e(t){E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";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 gA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Un(t==null?void 0:t.rightVariableBo)},yt=function e(t){E(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Df=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},OA=function e(t){E(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function xf(e){var t,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Mh(c):new kf(c)}))!==null&&o!==void 0?o:[];var r;if(this.viewFilters=(r=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Mh(c):new kf(c)}))!==null&&r!==void 0?r:[],Dh(this,K)||Dh(this,Ff)){var i,u;this.orders=(u=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(c){return new OA(c)}))!==null&&u!==void 0?u:[]}}var K=function e(t){var n=this;E(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";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(a){var y;(y=n.displayBoList)===null||y===void 0||y.push(new Df(a))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",xf.call(this,t)},jf=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},ve=function e(t){E(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"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 f;this.icon=(f=t==null?void 0:t.icon)!==null&&f!==void 0?f:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var a;this.openType=(a=t==null?void 0:t.openType)!==null&&a!==void 0?a:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Nh=function e(t){E(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new Df(u)}))!==null&&i!==void 0?i:[]},mo=function(e){Tt(t,e);function t(n){E(this,t);var o,r;o=St(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new Nh(u)}))!==null&&i!==void 0?i:[],o}return t}(K),wA=function(e){Tt(t,e);function t(n){E(this,t);var o,r;o=St(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new Nh(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(K),Vh=function(e){Tt(t,e);function t(n){E(this,t);var o;o=St(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Un(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(mo),zh=function e(t){E(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new yt(u)}))!==null&&i!==void 0?i:[]},Ff=function(e){Tt(t,e);function t(n){E(this,t);var o;return o=St(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),xf.call(o,n),o}return t}(zh),Hh=function(e){Tt(t,e);function t(n){E(this,t);var o;o=St(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(zh),qh=function e(t){E(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},$A=function e(t){E(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function zt(e){var t;return(t=e==null?void 0:e.map(function(n){return new $A(n)}))!==null&&t!==void 0?t:[]}var Lf=function e(){E(this,e)},PA=function(e){Tt(t,e);function t(n){E(this,t);var o;return o=St(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new Ot(n==null?void 0:n.amount),o.currency=new Ot(n==null?void 0:n.currency),o}return t}(Lf),EA=function e(t){E(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},SA=function(e){Tt(t,e);function t(n){E(this,t);var o;return o=St(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new Ot(n==null?void 0:n.min),o.max=new Ot(n==null?void 0:n.max),o}return t}(Lf),TA=function e(t){E(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},RA=function e(t){E(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";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:""},BA=function(e){Tt(t,e);function t(n){E(this,t);var o;return o=St(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new Ot(n==null?void 0:n.result),o.unit=new Ot(n==null?void 0:n.unit),o}return t}(Lf),IA=function e(t){E(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},AA=function(e){return 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",e}({}),_=function(e){return 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",e.IS_PASTE="isPaste",e}({}),kA=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),te=function e(t){E(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";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},DA=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Lh(u)}))!==null&&i!==void 0?i:[],xf.call(this,t)},xA=function e(t){E(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function jA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FA(e,t,n){return t=Wn(t),NA(e,Vf()?Reflect.construct(t,n||[],Wn(e).constructor):t.apply(e,n))}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t,n){return Vf()?go=Reflect.construct:go=function(r,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(r,c),l=new f;return u&&Kn(l,u.prototype),l},go.apply(null,arguments)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(e)}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function NA(e,t){return t&&(VA(t)==="object"||typeof t=="function")?t:jA(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kn(e,t)}function VA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nf(e){var t=typeof Map=="function"?new Map:void 0;return Nf=function(o){if(o===null||!MA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return go(o,arguments,Wn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Kn(r,o)},Nf(e)}function Vf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vf=function(){return!!e})()}var q=function e(t){Mf(this,e),he(this,"isHide",{type:"boolean"})},be=function(e){LA(t,e);function t(n){return Mf(this,t),FA(this,t)}return t}(Nf(Array)),G=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Mf(this,e),he(this,"isHide",void 0),he(this,"className",void 0),he(this,"style",void 0),he(this,"caption",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new xA(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};he(G,"Rules",q),he(G,"RuntimeRules",be);function Dt(){return Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Dt.apply(this,arguments)}function zA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zf(e)}function Oo(e,t){return Oo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oo(e,t)}function HA(){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,n){return HA()?wo=Reflect.construct:wo=function(r,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(r,c),l=new f;return u&&Oo(l,u.prototype),l},wo.apply(null,arguments)}function qA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Hf(e){var t=typeof Map=="function"?new Map:void 0;return Hf=function(o){if(o===null||!qA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return wo(o,arguments,zf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Oo(r,o)},Hf(e)}var UA=/%[sdj%]/g,Uh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Uh=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function qf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(UA,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(f){return"[Circular]"}break;default:return c}});return u}return r}function WA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function U(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||WA(t)&&typeof e=="string"&&!e)}function KA(e,t,n){var o=[],r=0,i=e.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}e.forEach(function(c){t(c,u)})}function Wh(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?t(e[c],i):n([])}i([])}function GA(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Kh=function(e){zA(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(Hf(Error));function CA(e,t,n,o){if(t.first){var r=new Promise(function(y,d){var m=function($){return o($),$.length?d(new Kh($,qf($))):y()},O=GA(e);Wh(O,n,m)});return r.catch(function(y){return y}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,f=0,l=[],a=new Promise(function(y,d){var m=function(g){if(l.push.apply(l,g),f++,f===c)return o(l),l.length?d(new Kh(l,qf(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var g=e[O];i.indexOf(O)!==-1?Wh(g,n,m):KA(g,n,m)})});return a.catch(function(y){return y}),a}function Gh(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 Ch(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Dt(Dt({},e[n]),o):e[n]=o}}return e}function Xh(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||U(t,i||e.type))&&o.push(ht(r.messages.required,e.fullField))}function XA(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(ht(r.messages.whitespace,e.fullField))}var Uf={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},Gn={integer:function(t){return Gn.number(t)&&parseInt(t,10)===t},float:function(t){return Gn.number(t)&&!Gn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){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"&&!Gn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Uf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Uf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Uf.hex)}};function QA(e,t,n,o,r){if(e.required&&t===void 0){Xh(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Gn[u](t)||o.push(ht(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(ht(r.messages.types[u],e.fullField,e.type))}function JA(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,a=null,y=typeof t=="number",d=typeof t=="string",m=Array.isArray(t);if(y?a="number":d?a="string":m&&(a="array"),!a)return!1;m&&(l=t.length),d&&(l=t.replace(f,"_").length),i?l!==e.len&&o.push(ht(r.messages[a].len,e.fullField,e.len)):u&&!c&&l<e.min?o.push(ht(r.messages[a].min,e.fullField,e.min)):c&&!u&&l>e.max?o.push(ht(r.messages[a].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&o.push(ht(r.messages[a].range,e.fullField,e.min,e.max))}var Le="enum";function ZA(e,t,n,o,r){e[Le]=Array.isArray(e[Le])?e[Le]:[],e[Le].indexOf(t)===-1&&o.push(ht(r.messages[Le],e.fullField,e[Le].join(", ")))}function YA(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(ht(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(ht(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:Xh,whitespace:XA,type:QA,range:JA,enum:ZA,pattern:YA};function t3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t,"string")&&!e.required)return n();k.required(e,t,o,i,r,"string"),U(t,"string")||(k.type(e,t,o,i,r),k.range(e,t,o,i,r),k.pattern(e,t,o,i,r),e.whitespace===!0&&k.whitespace(e,t,o,i,r))}n(i)}function e3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function n3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function o3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function r3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),U(t)||k.type(e,t,o,i,r)}n(i)}function i3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function u3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function c3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,o,i,r,"array"),t!=null&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function l3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}var f3="enum";function a3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k[f3](e,t,o,i,r)}n(i)}function _3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t,"string")&&!e.required)return n();k.required(e,t,o,i,r),U(t,"string")||k.pattern(e,t,o,i,r)}n(i)}function y3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t,"date")&&!e.required)return n();if(k.required(e,t,o,i,r),!U(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,o,i,r),c&&k.range(e,c.getTime(),o,i,r)}}n(i)}function s3(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,o,i,r,u),n(i)}function Wf(e,t,n,o,r){var i=e.type,u=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(U(t,i)&&!e.required)return n();k.required(e,t,o,u,r,i),U(t,i)||k.type(e,t,o,u,r)}n(u)}function p3(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(U(t)&&!e.required)return n();k.required(e,t,o,i,r)}n(i)}var Cn={string:t3,method:e3,number:n3,boolean:o3,regexp:r3,integer:i3,float:u3,array:c3,object:l3,enum:a3,pattern:_3,date:y3,url:Wf,hex:Wf,email:Wf,required:s3,any:p3};function Kf(){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 Gf=Kf();function ee(e){this.rules=null,this._messages=Gf,this.define(e)}ee.prototype={messages:function(t){return t&&(this._messages=Ch(Kf(),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 n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function f(g){var $,h=[],w={};function B(P){if(Array.isArray(P)){var T;h=(T=h).concat.apply(T,P)}else h.push(P)}for($=0;$<g.length;$++)B(g[$]);h.length?w=qf(h):(h=null,w=null),c(h,w)}if(u.messages){var l=this.messages();l===Gf&&(l=Kf()),Ch(l,u.messages),u.messages=l}else u.messages=this.messages();var a,y,d={},m=u.keys||Object.keys(this.rules);m.forEach(function(g){a=r.rules[g],y=i[g],a.forEach(function($){var h=$;typeof h.transform=="function"&&(i===t&&(i=Dt({},i)),y=i[g]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Dt({},h),h.validator=r.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=r.getType(h),h.validator&&(d[g]=d[g]||[],d[g].push({rule:h,value:y,source:i,field:g}))})});var O={};return CA(d,u,function(g,$){var h=g.rule,w=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");w=w&&(h.required||!h.required&&g.value),h.field=g.field;function B(z,A){return Dt(Dt({},A),{},{fullField:h.fullField+"."+z})}function P(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ee.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(Gh(h)),u.first&&A.length)return O[h.field]=1,$(A);if(!w)$(A);else{if(h.required&&!g.value)return h.message!==void 0?A=[].concat(h.message).map(Gh(h)):u.error&&(A=[u.error(h,ht(u.messages.required,h.field))]),$(A);var Y={};if(h.defaultField)for(var I in g.value)g.value.hasOwnProperty(I)&&(Y[I]=h.defaultField);Y=Dt(Dt({},Y),g.rule.fields);for(var Mt in Y)if(Y.hasOwnProperty(Mt)){var so=Array.isArray(Y[Mt])?Y[Mt]:[Y[Mt]];Y[Mt]=so.map(B.bind(null,Mt))}var Nn=new ee(Y);Nn.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Nn.validate(g.value,g.rule.options||u,function(ke){var Nt=[];A&&A.length&&Nt.push.apply(Nt,A),ke&&ke.length&&Nt.push.apply(Nt,ke),$(Nt.length?Nt:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,g.value,P,g.source,u):h.validator&&(T=h.validator(h,g.value,P,g.source,u),T===!0?P():T===!1?P(h.message||h.field+" fails"):T instanceof Array?P(T):T instanceof Error&&P(T.message)),T&&T.then&&T.then(function(){return P()},function(z){return P(z)})},function(g){f(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Cn.hasOwnProperty(t.type))throw new Error(ht("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?Cn.required:Cn[this.getType(t)]||!1}},ee.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Cn[t]=n},ee.warning=Uh,ee.messages=Gf,ee.validators=Cn;var d3={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 v3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ee(e);return n.messages(Object.assign(d3,t)),n}var h3=new rA;function Cf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b3(e){if(Array.isArray(e))return e}function m3(e){if(Array.isArray(e))return Cf(e)}function Qh(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function Jh(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){Qh(i,o,r,u,c,"next",f)}function c(f){Qh(i,o,r,u,c,"throw",f)}u(void 0)})}}function g3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zh(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O3(e,t,n){return t&&Zh(e.prototype,t),n&&Zh(e,n),e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yh(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function w3(){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 $3(){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 eb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){F(e,r,n[r])})}return e}function P3(e){return b3(e)||tb(e)||nb(e)||w3()}function Xf(e){return m3(e)||tb(e)||nb(e)||$3()}function E3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nb(e,t){if(!!e){if(typeof e=="string")return Cf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cf(e,t)}}function ob(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;g3(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"updateSetting",ib),F(this,"removeSetting",rb),this._callControlHooks("preInstance",n);var r=Yh(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,f=r.controlFieldType,l=r.controlEventKeys,a=r.controlCustomEvents,y=r.name,d=r.setting;i&&u&&c||wh("The ".concat(y," controlName,controlIcon,controlType is not define"));var m;this.id=(m=n==null?void 0:n.id)!==null&&m!==void 0?m:Vt(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new G(n==null?void 0:n.props,(Yh(this,t)?this.constructor:void 0).controlName);var g;this.controlType=(g=n==null?void 0:n.controlType)!==null&&g!==void 0?g:"base",this.setting=Yt(d);var $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:f,this.eventKeys=Yt(l),this.customEvents=Yt(a),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return O3(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=P3(r),f=c[0],l=c.slice(1);return(u=h3).emit.apply(u,[f,this].concat(Xf(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),UI(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return Jh(function(){var o,r,i;return ob(this,function(u){switch(u.label){case 0:return o=eb({},this.rules),[4,this._callControlHooks("preValidate",o)];case 1:return r=u.sent(),i=r[r.length-1],[2,i===!1?void 0:i]}})}).call(this)}},{key:"validate",value:function(o,r){return Jh(function(){var i,u,c,f;return ob(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:i=l.sent(),u=i!==void 0?i:eb({},this.rules),Array.isArray(r)&&r.forEach(function(a){u.hasOwnProperty(a)&&delete u[a]}),c=v3(u,o),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return l.sent(),[2,!0];case 4:throw f=l.sent(),f.control||(f.control=this),f;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,f=c.dataBind,l=c.datasourceBind,a=c.optionConfig,y=c.caption,d=c.required,m=c.maxLength,O=c.options,g=c.encrypted,$=c.encryptedMode;if(!(!r&&!f&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(f&&(h.dataBind=f),a){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),m!==void 0&&(h.maxLength=m),g!==void 0&&(h.encrypted=g),$!==void 0&&(h.encryptedMode=$),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Yt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,Xf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();F(L,"controlName","\u63A7\u4EF6"),F(L,"controlIcon","icon"),F(L,"controlType","control"),F(L,"controlFieldType",void 0),F(L,"controlEventKeys",[]),F(L,"controlCustomEvents",[]),F(L,"setting",[]),F(L,"__is_control__",!0),F(L,"removeSettingItem",rb),F(L,"updateSettingItem",ib);function rb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r=typeof o!="string",i=t.setting.findIndex(function(f){return f.key===(r?o.key:o)});if(i!==-1){var u,c;r?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(f){return!o.hideItems.includes(f)}):t.setting.splice(i,1),r&&!(!((c=t.setting[i].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(i,1)}})}function ib(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":E3(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,Xf(t.showItems))}}}})}function S3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ub(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T3(e,t,n){return t&&ub(e.prototype,t),n&&ub(e,n),e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ne=function(){function t(n){S3(this,t),wt(this,"id",void 0),wt(this,"type",void 0),wt(this,"controlType",void 0),wt(this,"props",void 0),wt(this,"fieldType",void 0),wt(this,"customEvents",[]),wt(this,"pageStatus",void 0),wt(this,"parent",null);var o=R3(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||wh("The ".concat(u," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:Vt(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new G(n==null?void 0:n.props),this.customEvents=c;var a;this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:kA.UNKNOWN}return T3(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();wt(ne,"controlType","control"),wt(ne,"controlFieldType",void 0),wt(ne,"__is_control__",!0),wt(ne,"controlCustomEvents",[]);function Qf(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:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=CI(i);i.length!==u.length?r(p.getMessage("optionIdIsRepeat")):r()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function $o(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function B3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Po(e,t,n){return t=So(t),A3(e,cb()?Reflect.construct(t,n||[],So(e).constructor):t.apply(e,n))}function Eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},So(e)}function To(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jf(e,t)}function I3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function A3(e,t){return t&&(k3(t)==="object"||typeof t=="function")?t:B3(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function k3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cb=function(){return!!e})()}var tt=function(e){To(t,e);function t(n){Eo(this,t);var o;o=Po(this,t,[n]),M(o,"dataBind",{}),M(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),M(o,"isHideCaption",{type:"boolean"}),M(o,"labelPosition",{type:"enum",enum:["top","left"]}),M(o,"defaultState",{type:"enum",enum:["default","readonly"]}),M(o,"required",{type:"boolean"}),M(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(I3(n.dataBind,Ot))o.dataBind={type:"object",required:!0,fields:Yt(r),message:p.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:Yt(r),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(q),N=function(e){To(t,e);function t(n){Eo(this,t);var o;return o=Po(this,t,[n]),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return t}(be),D=function(e){To(t,e);function t(n){Eo(this,t);var o;o=Po(this,t,[n]),M(o,"caption",void 0),M(o,"isHideCaption",void 0),M(o,"isShowCaptionTip",void 0),M(o,"captionTip",void 0),M(o,"labelPosition",void 0),M(o,"dataBind",void 0),M(o,"defaultValue",void 0),M(o,"placeholder",void 0),M(o,"defaultState",void 0),M(o,"required",void 0),M(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"";var y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new Ot(n==null?void 0:n.dataBind);var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"",o}return t}(G);M(D,"Rules",tt),M(D,"RuntimeRules",N);var Me=function(e){To(t,e);function t(n){Eo(this,t);var o;return o=Po(this,t,[n]),M(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),M(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),M(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Qf.call(o,n),o}return t}(tt);function D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x3(e,t,n){return t=Bo(t),L3(e,lb()?Reflect.construct(t,n||[],Bo(e).constructor):t.apply(e,n))}function j3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bo(e)}function F3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zf(e,t)}function L3(e,t){return t&&(M3(t)==="object"||typeof t=="function")?t:D3(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function M3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lb=function(){return!!e})()}var x=function(e){F3(t,e);function t(n){j3(this,t);var o;return o=x3(this,t,[n]),Ro(o,"controlType","form"),Ro(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(L);Ro(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Ro(x,"controlCustomAttributes",void 0);function N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V3(e,t,n){return t=Io(t),q3(e,fb()?Reflect.construct(t,n||[],Io(e).constructor):t.apply(e,n))}function z3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Io(e)}function H3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ta(e,t)}function q3(e,t){return t&&(U3(t)==="object"||typeof t=="function")?t:N3(e)}function ta(e,t){return ta=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ta(e,t)}function U3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fb=function(){return!!e})()}var j=function(e){H3(t,e);function t(n){z3(this,t);var o;return o=V3(this,t,[n]),Yf(o,"controlType","form"),Yf(o,"props",void 0),Yf(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(ne);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K3(e,t,n){return t=Ao(t),X3(e,ab()?Reflect.construct(t,n||[],Ao(e).constructor):t.apply(e,n))}function G3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ao(e)}function C3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ea(e,t)}function X3(e,t){return t&&(Q3(t)==="object"||typeof t=="function")?t:W3(e)}function ea(e,t){return ea=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ea(e,t)}function Q3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ab(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ab=function(){return!!e})()}var ft=function(e){C3(t,e);function t(n){return G3(this,t),K3(this,t,[n])}return t}(G);function na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function J3(e){if(Array.isArray(e))return na(e)}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 _b(e){return J3(e)||Z3(e)||t2(e)||Y3()}function t2(e,t){if(!!e){if(typeof e=="string")return na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(e,t)}}function e2(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function yb(e,t){e.parent=t,e2(e,"parent")}function n2(e,t){e.forEach(function(n){yb(n,t)})}var sb=Symbol("targetKey");function pb(e){var t;return(t=e[sb])!==null&&t!==void 0?t:e}function db(e,t){return n2(e,t),new Proxy(e,{get:function(o,r){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var f;return r===sb?o:(f=Reflect).get.apply(f,[o,r].concat(_b(u)))},set:function(o,r,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),f=3;f<u;f++)c[f-3]=arguments[f];var l;if(Pf(e)&&r==="length"&&i===e.length)return!0;var a=(l=Reflect).set.apply(l,[o,r,i].concat(_b(c)));return Sh(i)&&yb(i,t),a}})}function oe(e,t,n,o){var r=o!=null?o:e,i=db(pb(n!=null?n:[]),r);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=db(pb(c),r)},enumerable:!0})}function oa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function o2(e){if(Array.isArray(e))return oa(e)}function r2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vb(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function i2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){vb(i,o,r,u,c,"next",f)}function c(f){vb(i,o,r,u,c,"throw",f)}u(void 0)})}}function u2(e,t,n){return t=ie(t),v2(e,mb()?Reflect.construct(t,n||[],ie(e).constructor):t.apply(e,n))}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l2(e,t,n){return t&&hb(e.prototype,t),n&&hb(e,n),e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ne=Reflect.get:Ne=function(r,i,u){var c=h2(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Ne(e,t,n||e)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ie(e)}function f2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ra(e,t)}function a2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y2(){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 s2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){re(e,r,n[r])})}return e}function p2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function d2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function v2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:r2(e)}function ra(e,t){return ra=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ra(e,t)}function h2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ie(e),e!==null););return e}function bb(e){return o2(e)||_2(e)||m2(e)||y2()}function b2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m2(e,t){if(!!e){if(typeof e=="string")return oa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oa(e,t)}}function mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mb=function(){return!!e})()}function g2(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var O2=1e4,at=function(t){f2(n,t);function n(o){c2(this,n);var r;r=u2(this,n,[o]),re(r,"controlType","layout"),re(r,"children",void 0),re(r,"excludes",void 0),re(r,"childrenMaxLength",void 0),re(r,"props",void 0);var i=a2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new ft(o==null?void 0:o.props),oe(r,"children",o==null?void 0:o.children),r.excludes=Yt(u),r.childrenMaxLength=c,r}return l2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,f=function(){return Ne(ie(n.prototype),"validate",u)};return i2(function(){return g2(this,function(l){switch(l.label){case 0:return[4,f().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(this.children.map(function(a){return a.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ne(ie(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,f){var l=f.toDataBindModel(r);if(Array.isArray(l)){var a=l.filter(function(y){return!!y});return bb(c).concat(bb(a))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ne(ie(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return d2(s2({},r),{children:i})}}]),n}(L);re(at,"excludes",!1),re(at,"childrenMaxLength",O2);function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $2(e,t,n){return t=ko(t),S2(e,gb()?Reflect.construct(t,n||[],ko(e).constructor):t.apply(e,n))}function P2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ko(e)}function E2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ua(e,t)}function S2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:w2(e)}function ua(e,t){return ua=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ua(e,t)}function T2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}var me=function(e){E2(t,e);function t(n){P2(this,t);var o;return o=$2(this,t,[n]),ia(o,"controlType","layout"),ia(o,"children",void 0),ia(o,"props",void 0),o.props=new ft(n==null?void 0:n.props),oe(o,"children",n==null?void 0:n.children),o}return t}(ne);function R2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B2(e,t,n){return t=Do(t),D2(e,Ob()?Reflect.construct(t,n||[],Do(e).constructor):t.apply(e,n))}function I2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Do(e)}function k2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ca(e,t)}function D2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:R2(e)}function ca(e,t){return ca=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ca(e,t)}function x2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ob=function(){return!!e})()}var la=function(e){k2(t,e);function t(n,o){I2(this,t);var r;return r=B2(this,t,[o]),A2(r,"headers",void 0),oe(r,"headers",o==null?void 0:o.headers,n),r}return t}(G);function fa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function j2(e){if(Array.isArray(e))return fa(e)}function F2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wb(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function L2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){wb(i,o,r,u,c,"next",f)}function c(f){wb(i,o,r,u,c,"throw",f)}u(void 0)})}}function M2(e,t,n){return t=ue(t),W2(e,Tb()?Reflect.construct(t,n||[],ue(e).constructor):t.apply(e,n))}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V2(e,t,n){return t&&$b(e.prototype,t),n&&$b(e,n),e}function xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ve=Reflect.get:Ve=function(r,i,u){var c=K2(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Ve(e,t,n||e)}function ue(e){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ue(e)}function z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aa(e,t)}function H2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function q2(){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 Pb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xo(e,r,n[r])})}return e}function U2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Eb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function W2(e,t){return t&&(G2(t)==="object"||typeof t=="function")?t:F2(e)}function aa(e,t){return aa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},aa(e,t)}function K2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ue(e),e!==null););return e}function Sb(e){return j2(e)||H2(e)||C2(e)||q2()}function G2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C2(e,t){if(!!e){if(typeof e=="string")return fa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fa(e,t)}}function Tb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tb=function(){return!!e})()}function X2(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var _a=function(e){z2(t,e);function t(n){N2(this,t);var o;return o=M2(this,t,[n]),xo(o,"controlType","list"),xo(o,"props",void 0),o.props=new la(o,n==null?void 0:n.props),o}return V2(t,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ve(ue(t.prototype),"validate",i)};return L2(function(){return X2(this,function(f){switch(f.label){case 0:return[4,c().call(u,o)];case 1:return f.sent(),[4,Promise.all(this.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return f.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=Ve(ue(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var f=c.toDataBindModel(i);if(Array.isArray(f)){var l=f.filter(function(a){return!!a});return Sb(u).concat(Sb(l))}return f&&u.push(f),u},r)}},{key:"toSchema",value:function(){var o=Ve(ue(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Eb(Pb({},o),{props:Eb(Pb({},this.props),{headers:r})})}}]),t}(L);xo(_a,"controlFieldType",b.LIST);function Q2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ya(e,t,n){return t=jo(t),J2(e,Rb()?Reflect.construct(t,n||[],jo(e).constructor):t.apply(e,n))}function sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(e)}function pa(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&da(e,t)}function J2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:Q2(e)}function da(e,t){return da=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},da(e,t)}function Z2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rb=function(){return!!e})()}var Ht=function(e){pa(t,e);function t(n){sa(this,t);var o;return o=ya(this,t,[n]),et(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),et(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return t}(q),W=function(e){pa(t,e);function t(n){sa(this,t);var o;o=ya(this,t,[n]),et(o,"widthType",void 0),et(o,"width",void 0),et(o,"caption",void 0),et(o,"dataBind",void 0),et(o,"autoWidth",void 0),et(o,"fixed",void 0),et(o,"sort",void 0),et(o,"align",void 0),et(o,"colSpan",void 0),et(o,"autoHeight",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";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:"none",o.autoWidth=new jh(n==null?void 0:n.autoWidth),o.dataBind=new Ot(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var f;return o.autoHeight=(f=n==null?void 0:n.autoHeight)!==null&&f!==void 0?f:!1,o}return t}(G);et(W,"Rules",Ht);var Bb=function(e){pa(t,e);function t(n){sa(this,t);var o;return o=ya(this,t,[n]),et(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),et(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),et(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Qf.call(o,n),o}return t}(Ht);function Y2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tk(e,t,n){return t=Fo(t),ok(e,Ab()?Reflect.construct(t,n||[],Fo(e).constructor):t.apply(e,n))}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fo(e)}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&va(e,t)}function ok(e,t){return t&&(rk(t)==="object"||typeof t=="function")?t:Y2(e)}function va(e,t){return va=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},va(e,t)}function rk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ab(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ab=function(){return!!e})()}var nt=function(e){nk(t,e);function t(n){ek(this,t);var o;return o=tk(this,t,[n]),Ib(o,"controlType","column"),Ib(o,"props",void 0),o.props=new W(n==null?void 0:n.props),o}return t}(L);function ik(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uk(e,t,n){return t=Lo(t),fk(e,Db()?Reflect.construct(t,n||[],Lo(e).constructor):t.apply(e,n))}function ck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lo(e)}function lk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ha(e,t)}function fk(e,t){return t&&(ak(t)==="object"||typeof t=="function")?t:ik(e)}function ha(e,t){return ha=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ha(e,t)}function ak(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}var ot=function(e){lk(t,e);function t(n){ck(this,t);var o;return o=uk(this,t,[n]),kb(o,"controlType","column"),kb(o,"props",void 0),o.props=new W(n==null?void 0:n.props),o}return t}(ne);function _k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yk(e,t,n){return t=Mo(t),vk(e,xb()?Reflect.construct(t,n||[],Mo(e).constructor):t.apply(e,n))}function sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mo(e)}function dk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ba(e,t)}function vk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:_k(e)}function ba(e,t){return ba=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ba(e,t)}function hk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xb=function(){return!!e})()}var ma=function(e){dk(t,e);function t(n){sk(this,t);var o;return o=yk(this,t,[n]),pk(o,"dataBind",void 0),o.dataBind=new Ot(n==null?void 0:n.dataBind),o}return t}(ft);function bk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mk(e,t,n){return t=No(t),wk(e,Fb()?Reflect.construct(t,n||[],No(e).constructor):t.apply(e,n))}function gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(e)}function Ok(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ga(e,t)}function wk(e,t){return t&&($k(t)==="object"||typeof t=="function")?t:bk(e)}function ga(e,t){return ga=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ga(e,t)}function $k(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fb=function(){return!!e})()}var Pk=function(e){Ok(t,e);function t(n){gk(this,t);var o;return o=mk(this,t,[n]),jb(o,"controlType","search"),jb(o,"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return t}(at);function Ek(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t,n){return t=Vo(t),Bk(e,Mb()?Reflect.construct(t,n||[],Vo(e).constructor):t.apply(e,n))}function Tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function Rk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oa(e,t)}function Bk(e,t){return t&&(Ik(t)==="object"||typeof t=="function")?t:Ek(e)}function Oa(e,t){return Oa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oa(e,t)}function Ik(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mb=function(){return!!e})()}var Ak=function(e){Rk(t,e);function t(n){Tk(this,t);var o;return o=Sk(this,t,[n]),Lb(o,"controlType","search"),Lb(o,"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return t}(me);function ge(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dk(e,t,n){return t=zo(t),Fk(e,Nb()?Reflect.construct(t,n||[],zo(e).constructor):t.apply(e,n))}function xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(e)}function jk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wa(e,t)}function Fk(e,t){return t&&(Lk(t)==="object"||typeof t=="function")?t:kk(e)}function wa(e,t){return wa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wa(e,t)}function Lk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nb=function(){return!!e})()}var Mk=function(e){jk(t,e);function t(n){xk(this,t);var o;o=Dk(this,t,[n]),Xn(o,"content",void 0),Xn(o,"fontSize",void 0),Xn(o,"color",void 0),Xn(o,"icon",void 0),Xn(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var f;return o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u8BF4\u660E\u6587\u5B57",o}return t}(G);function Nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vk(e,t,n){return t=Ho(t),Uk(e,Hb()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Hk(e,t,n){return t&&Vb(e.prototype,t),n&&Vb(e,n),e}function zb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(e)}function qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$a(e,t)}function Uk(e,t){return t&&(Wk(t)==="object"||typeof t=="function")?t:Nk(e)}function $a(e,t){return $a=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$a(e,t)}function Wk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hb=function(){return!!e})()}var Kk=function(e){qk(t,e);function t(n){zk(this,t);var o;return o=Vk(this,t,[n]),zb(o,"props",void 0),o.props=new Mk(n==null?void 0:n.props),o}return Hk(t,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(L);zb(Kk,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Gk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ck(e,t,n){return t=qo(t),Jk(e,qb()?Reflect.construct(t,n||[],qo(e).constructor):t.apply(e,n))}function Xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(e)}function Qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}function Jk(e,t){return t&&(Zk(t)==="object"||typeof t=="function")?t:Gk(e)}function Ea(e,t){return Ea=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ea(e,t)}function Zk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qb=function(){return!!e})()}var Yk=function(e){Qk(t,e);function t(n){Xk(this,t);var o;o=Ck(this,t,[n]),Pa(o,"content",void 0),Pa(o,"url",void 0),Pa(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(G);function tD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eD(e,t,n){return t=Uo(t),iD(e,Wb()?Reflect.construct(t,n||[],Uo(e).constructor):t.apply(e,n))}function nD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oD(e,t,n){return t&&Ub(e.prototype,t),n&&Ub(e,n),e}function Sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uo(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&&Ta(e,t)}function iD(e,t){return t&&(uD(t)==="object"||typeof t=="function")?t:tD(e)}function Ta(e,t){return Ta=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ta(e,t)}function uD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wb=function(){return!!e})()}var Kb=function(e){rD(t,e);function t(n){nD(this,t);var o;return o=eD(this,t,[n]),Sa(o,"props",void 0),o.props=new Yk(n==null?void 0:n.props),o}return oD(t,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(L);Sa(Kb,"controlEventKeys",["on_click"]),Sa(Kb,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lD(e,t,n){return t=Wo(t),_D(e,Gb()?Reflect.construct(t,n||[],Wo(e).constructor):t.apply(e,n))}function fD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wo(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&&Ra(e,t)}function _D(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:cD(e)}function Ra(e,t){return Ra=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ra(e,t)}function yD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gb=function(){return!!e})()}var bt=function(e){aD(t,e);function t(n){fD(this,t);var o;o=lD(this,t,[n]),ce(o,"content",void 0),ce(o,"buttonType",void 0),ce(o,"showType",void 0),ce(o,"color",void 0),ce(o,"icon",void 0),ce(o,"defaultState",void 0),ce(o,"command",void 0),ce(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var a;o.command=(a=n==null?void 0:n.command)!==null&&a!==void 0?a:"custom";var y;return o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1,o}return t}(G);function sD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pD(e,t,n){return t=Ko(t),bD(e,Xb()?Reflect.construct(t,n||[],Ko(e).constructor):t.apply(e,n))}function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vD(e,t,n){return t&&Cb(e.prototype,t),n&&Cb(e,n),e}function Ba(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ko(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&&Ia(e,t)}function bD(e,t){return t&&(mD(t)==="object"||typeof t=="function")?t:sD(e)}function Ia(e,t){return Ia=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ia(e,t)}function mD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xb=function(){return!!e})()}var st=function(e){hD(t,e);function t(n){dD(this,t);var o;return o=pD(this,t,[n]),Ba(o,"props",void 0),o.props=new bt(n==null?void 0:n.props),o}return vD(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(L);Ba(st,"controlEventKeys",["on_click"]),Ba(st,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function xt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=function(e){return 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",e}({}),Aa=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Vt(8),value:["",""]};xt(this,e),S(this,"dateConfigType",void 0),S(this,"dateLimitType",void 0),S(this,"id",void 0),S(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},gD=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),ka=function e(t){xt(this,e),S(this,"id",void 0),S(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},OD=function(e){return 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",e}({}),Qb=function e(t){xt(this,e),S(this,"type",void 0),S(this,"person",void 0),S(this,"signatureType",void 0),S(this,"telephone",void 0),S(this,"company",void 0),S(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Un((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Un((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new Un((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:""},wD=function e(t){xt(this,e),S(this,"dataCode",void 0),this.dataCode=t.dataCode},$D=function e(t){xt(this,e);var n;S(this,"templateType",void 0),S(this,"templateList",void 0);var o;this.templateType=(o=t==null?void 0:t.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=t==null||(n=t.templateList)===null||n===void 0?void 0:n.map(function(i){return new wD(i)}))!==null&&r!==void 0?r:[]},PD=function e(t){xt(this,e);var n;S(this,"fileControl",void 0),S(this,"undersignedList",void 0),S(this,"statusControl",void 0),S(this,"completeControl",void 0),S(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(f){return new Qb(f)}))!==null&&r!==void 0?r:[new Qb];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:""},Jb=function e(t){xt(this,e),S(this,"id",void 0),S(this,"appId",void 0),S(this,"dataCode",void 0),S(this,"svcCode",void 0),S(this,"name",void 0),S(this,"fieldList",void 0),S(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";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 f;this.active=(f=t==null?void 0:t.active)!==null&&f!==void 0?f:!1},Zb=function e(t){xt(this,e),S(this,"active",void 0),S(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},ED=function e(t){xt(this,e),S(this,"types",void 0),S(this,"history",void 0),S(this,"collaborativeRecord",void 0),S(this,"logicToDelete",void 0),S(this,"watermark",void 0),S(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zb(t==null?void 0:t.watermark),this.autoRename=new Zb(t==null?void 0:t.autoRename)},SD=480;function Go(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var TD=function e(t){xt(this,e),S(this,"fileId",void 0),S(this,"fileName",void 0),S(this,"ruleName",void 0),S(this,"isDefault",void 0),S(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";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:[]},RD=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),Yb=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),ze=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),BD=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function ID(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AD(e,t,n){return t=Co(t),xD(e,e0()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(e)}function DD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Da(e,t)}function xD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:ID(e)}function Da(e,t){return Da=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Da(e,t)}function jD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e0=function(){return!!e})()}var FD=function(e){DD(t,e);function t(n){kD(this,t);var o;o=AD(this,t,[n]),t0(o,"color",void 0),t0(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:OD.SOLID,o}return t}(G);function LD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MD(e,t,n){return t=Xo(t),HD(e,r0()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function ND(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VD(e,t,n){return t&&n0(e.prototype,t),n&&n0(e,n),e}function o0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(e)}function zD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xa(e,t)}function HD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:LD(e)}function xa(e,t){return xa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xa(e,t)}function qD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(r0=function(){return!!e})()}var UD=function(e){zD(t,e);function t(n){ND(this,t);var o;return o=MD(this,t,[n]),o0(o,"props",void 0),o.props=new FD(n==null?void 0:n.props),o}return VD(t,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(L);o0(UD,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function WD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i0(e,t,n){return t=Qo(t),KD(e,l0()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function u0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(e)}function c0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ja(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:WD(e)}function ja(e,t){return ja=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ja(e,t)}function GD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l0=function(){return!!e})()}var CD=function(e){c0(t,e);function t(n){u0(this,t);var o;return o=i0(this,t,[n]),le(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),le(o,"dataBind",{type:"any"}),le(o,"config",{type:"array"}),n.config.includes(Oe.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return t}(q),f0=function(e){c0(t,e);function t(n){u0(this,t);var o;o=i0(this,t,[n]),le(o,"dataBind",void 0),le(o,"caption",void 0),le(o,"config",void 0),le(o,"position",void 0),o.dataBind=new Ot(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn==null?void 0:Qn.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return t}(G);le(f0,"Rules",CD);function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QD(e,t,n){return t=Jo(t),tx(e,_0()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function JD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZD(e,t,n){return t&&a0(e.prototype,t),n&&a0(e,n),e}function Fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(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&&La(e,t)}function tx(e,t){return t&&(ex(t)==="object"||typeof t=="function")?t:XD(e)}function La(e,t){return La=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},La(e,t)}function ex(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_0=function(){return!!e})()}var Qn=function(e){YD(t,e);function t(n){JD(this,t);var o;return o=QD(this,t,[n]),Fa(o,"props",void 0),o.props=new f0(n==null?void 0:n.props),o}return ZD(t,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(L);Fa(Qn,"controlFieldType",b.AUTO_NUMBER),Fa(Qn,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function nx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0(e,t,n){return t=Yo(t),ox(e,d0()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function s0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function p0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ma(e,t)}function ox(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:nx(e)}function Ma(e,t){return Ma=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ma(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d0=function(){return!!e})()}var ix=function(e){p0(t,e);function t(n){s0(this,t);var o;return o=y0(this,t,[n]),Zo(o,"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return t}(q),v0=function(e){p0(t,e);function t(n){s0(this,t);var o;o=y0(this,t,[n]),Zo(o,"formKey",void 0),Zo(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:er.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:er.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return t}(bt);Zo(v0,"Rules",ix);function ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cx(e,t,n){return t=tr(t),_x(e,b0()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fx(e,t,n){return t&&h0(e.prototype,t),n&&h0(e,n),e}function Na(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function ax(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Va(e,t)}function _x(e,t){return t&&(yx(t)==="object"||typeof t=="function")?t:ux(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Va(e,t)}function yx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b0=function(){return!!e})()}var er=function(e){ax(t,e);function t(n){lx(this,t);var o;return o=cx(this,t,[n]),Na(o,"props",void 0),o.props=new v0(n==null?void 0:n.props),o}return fx(t,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"}}]),t}(st);Na(er,"controlEventKeys",["on_click","on_click_finish"]),Na(er,"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 sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0(e,t,n){return t=nr(t),px(e,w0()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function g0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function O0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&za(e,t)}function px(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:sx(e)}function za(e,t){return za=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},za(e,t)}function dx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w0=function(){return!!e})()}var vx=function(e){O0(t,e);function t(n){g0(this,t);var o;return o=m0(this,t,[n]),He(o,"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return t}(q),$0=function(e){O0(t,e);function t(n){g0(this,t);var o;o=m0(this,t,[n]),He(o,"processKey",void 0),He(o,"initiatorMode",void 0),He(o,"fieldCode",void 0),He(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:rr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:rr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return t}(bt);He($0,"Rules",vx);function hx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bx(e,t,n){return t=or(t),wx(e,E0()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gx(e,t,n){return t&&P0(e.prototype,t),n&&P0(e,n),e}function Ha(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function Ox(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qa(e,t)}function wx(e,t){return t&&($x(t)==="object"||typeof t=="function")?t:hx(e)}function qa(e,t){return qa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qa(e,t)}function $x(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E0=function(){return!!e})()}var rr=function(e){Ox(t,e);function t(n){mx(this,t);var o;return o=bx(this,t,[n]),Ha(o,"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return gx(t,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"}}]),t}(st);Ha(rr,"controlEventKeys",["on_click","on_click_finish"]),Ha(rr,"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 Px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e,t,n){return t=ir(t),Rx(e,S0()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function Sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(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&&Ua(e,t)}function Rx(e,t){return t&&(Bx(t)==="object"||typeof t=="function")?t:Px(e)}function Ua(e,t){return Ua=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ua(e,t)}function Bx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(S0=function(){return!!e})()}var Ix=function(e){Tx(t,e);function t(n){Sx(this,t);var o;o=Ex(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:cr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:cr.controlIcon,o}return t}(bt);function Ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kx(e,t,n){return t=ur(t),Fx(e,R0()?Reflect.construct(t,n||[],ur(e).constructor):t.apply(e,n))}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xx(e,t,n){return t&&T0(e.prototype,t),n&&T0(e,n),e}function Wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(e)}function jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ka(e,t)}function Fx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Ax(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ka(e,t)}function Lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R0=function(){return!!e})()}var cr=function(e){jx(t,e);function t(n){Dx(this,t);var o;return o=kx(this,t,[n]),Wa(o,"props",void 0),o.props=new Ix(n==null?void 0:n.props),o}return xx(t,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"}}]),t}(st);Wa(cr,"controlEventKeys",["on_click"]),Wa(cr,"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 Mx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nx(e,t,n){return t=lr(t),Hx(e,B0()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ca(e,t)}function Hx(e,t){return t&&(qx(t)==="object"||typeof t=="function")?t:Mx(e)}function Ca(e,t){return Ca=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ca(e,t)}function qx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B0=function(){return!!e})()}var Ux=function(e){zx(t,e);function t(n){Vx(this,t);var o,r;o=Nx(this,t,[n]),Ga(o,"templateList",void 0),Ga(o,"templateType",void 0),Ga(o,"decryptExport",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ar.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ar.controlName;var c;o.decryptExport=(c=n==null?void 0:n.decryptExport)!==null&&c!==void 0?c:!1;var f;o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system";var l;return o.templateList=(l=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(a){return new Jb(a)}))!==null&&l!==void 0?l:[new Jb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(bt);function Wx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kx(e,t,n){return t=fr(t),Qx(e,A0()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function Gx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Cx(e,t,n){return t&&I0(e.prototype,t),n&&I0(e,n),e}function Xa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(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&&Qa(e,t)}function Qx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:Wx(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qa(e,t)}function Jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A0=function(){return!!e})()}var ar=function(e){Xx(t,e);function t(n){Gx(this,t);var o;return o=Kx(this,t,[n]),Xa(o,"props",void 0),o.props=new Ux(n==null?void 0:n.props),o}return Cx(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(st);Xa(ar,"controlEventKeys",["on_click","on_click_finish"]),Xa(ar,"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 Zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yx(e,t,n){return t=_r(t),nj(e,k0()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(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&&Ja(e,t)}function nj(e,t){return t&&(oj(t)==="object"||typeof t=="function")?t:Zx(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ja(e,t)}function oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k0=function(){return!!e})()}var rj=function(e){ej(t,e);function t(n){tj(this,t);var o;o=Yx(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:sr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:sr.controlIcon,o}return t}(bt);function ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t,n){return t=yr(t),aj(e,x0()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lj(e,t,n){return t&&D0(e.prototype,t),n&&D0(e,n),e}function Za(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(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&&Ya(e,t)}function aj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:ij(e)}function Ya(e,t){return Ya=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ya(e,t)}function _j(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x0=function(){return!!e})()}var sr=function(e){fj(t,e);function t(n){cj(this,t);var o;return o=uj(this,t,[n]),Za(o,"props",void 0),o.props=new rj(n==null?void 0:n.props),o}return lj(t,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"}}]),t}(st);Za(sr,"controlEventKeys",["on_click"]),Za(sr,"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 yj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sj(e,t,n){return t=pr(t),dj(e,F0()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function j0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(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&&e_(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:yj(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F0=function(){return!!e})()}var hj=function e(t){j0(this,e),t_(this,"dataCode",void 0),this.dataCode=t.dataCode},bj=function(e){pj(t,e);function t(n){j0(this,t);var o,r;o=sj(this,t,[n]),t_(o,"canImportList",void 0),t_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:vr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:vr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new hj(l)}))!==null&&c!==void 0?c:[];var f;return o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system",o}return t}(bt);function mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gj(e,t,n){return t=dr(t),Pj(e,M0()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wj(e,t,n){return t&&L0(e.prototype,t),n&&L0(e,n),e}function n_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(e)}function $j(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pj(e,t){return t&&(Ej(t)==="object"||typeof t=="function")?t:mj(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(e,t)}function Ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M0=function(){return!!e})()}var vr=function(e){$j(t,e);function t(n){Oj(this,t);var o;return o=gj(this,t,[n]),n_(o,"props",void 0),o.props=new bj(n==null?void 0:n.props),o}return wj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(st);n_(vr,"controlEventKeys",["on_click","on_click_finish"]),n_(vr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function hr(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function Sj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N0(e,t,n){return t=br(t),Tj(e,q0()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function V0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(e)}function z0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function H0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qt(e,r,n[r])})}return e}function Tj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:Sj(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q0=function(){return!!e})()}var Bj=function(e){z0(t,e);function t(n){V0(this,t);var o;return o=N0(this,t,[n]),qt(o,"fillPayload",{type:"object",fields:H0({},hr())}),qt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),qt(o,"fillBack",{type:"object",fields:H0({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},hr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return t}(q),U0=function(e){z0(t,e);function t(n){V0(this,t);var o;o=N0(this,t,[n]),qt(o,"fillPayload",void 0),qt(o,"formBind",void 0),qt(o,"fillBack",void 0),qt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:gr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:gr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new Ff(n==null?void 0:n.fillPayload),o.formBind=new vA(n==null?void 0:n.formBind),o.fillBack=new Hh(n==null?void 0:n.fillBack),o}return t}(bt);qt(U0,"Rules",Bj);function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t,n){return t=mr(t),jj(e,K0()?Reflect.construct(t,n||[],mr(e).constructor):t.apply(e,n))}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Dj(e,t,n){return t&&W0(e.prototype,t),n&&W0(e,n),e}function i_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(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&&u_(e,t)}function jj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:Ij(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function Fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K0=function(){return!!e})()}var gr=function(e){xj(t,e);function t(n){kj(this,t);var o;return o=Aj(this,t,[n]),i_(o,"props",void 0),o.props=new U0(n==null?void 0:n.props),o}return Dj(t,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(st);i_(gr,"controlEventKeys",["on_click","on_click_finish"]),i_(gr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G0(e,t,n){return t=Or(t),Mj(e,J0()?Reflect.construct(t,n||[],Or(e).constructor):t.apply(e,n))}function C0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(e)}function X0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){jt(e,r,n[r])})}return e}function Mj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:Lj(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function Nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J0=function(){return!!e})()}var Vj=function(e){X0(t,e);function t(n){C0(this,t);var o;return o=G0(this,t,[n]),jt(o,"fillPayload",{type:"object",fields:Q0({},hr())}),jt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),jt(o,"fillBack",{type:"object",fields:Q0({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},hr())}),o}return t}(q),Z0=function(e){X0(t,e);function t(n){C0(this,t);var o;o=G0(this,t,[n]),jt(o,"fillPayload",void 0),jt(o,"listPageBind",void 0),jt(o,"fillBack",void 0),jt(o,"showSelectedDetail",void 0),jt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:$r.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:$r.controlIcon,o.fillPayload=new Ff(n==null?void 0:n.fillPayload),o.listPageBind=new Af(n==null?void 0:n.listPageBind),o.fillBack=new Hh(n==null?void 0:n.fillBack);var u;return o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new jf(n==null?void 0:n.selectedContentConfig),o}return t}(bt);jt(Z0,"Rules",Vj);function zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hj(e,t,n){return t=wr(t),Kj(e,tm()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Uj(e,t,n){return t&&Y0(e.prototype,t),n&&Y0(e,n),e}function l_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function Wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:zj(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function Gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tm=function(){return!!e})()}var $r=function(e){Wj(t,e);function t(n){qj(this,t);var o;return o=Hj(this,t,[n]),l_(o,"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return Uj(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(st);l_($r,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),l_($r,"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:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a_(e,t,n){return t=Pr(t),Xj(e,nm()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function __(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(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&&s_(e,t)}function Xj(e,t){return t&&(Qj(t)==="object"||typeof t=="function")?t:Cj(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function Qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nm=function(){return!!e})()}var Jj=function(e){y_(t,e);function t(n){return __(this,t),a_(this,t,[n])}return t}(q),Zj=function(e){y_(t,e);function t(n){return __(this,t),a_(this,t,[n])}return t}(be),p_=function(e){y_(t,e);function t(n){return __(this,t),a_(this,t,[n])}return t}(G);em(p_,"Rules",Jj),em(p_,"RuntimeRules",Zj);function Yj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t,n){return t=Er(t),rF(e,im()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}function eF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nF(e,t,n){return t&&om(e.prototype,t),n&&om(e,n),e}function rm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(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&&d_(e,t)}function rF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:Yj(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(e,t)}function iF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(im=function(){return!!e})()}var uF=function(e){oF(t,e);function t(n){eF(this,t);var o;return o=tF(this,t,[n]),rm(o,"props",void 0),o.props=new p_(n==null?void 0:n.props),o}return nF(t,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(L);rm(uF,"setting",[]);function cF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function um(e,t,n){return t=Sr(t),lF(e,fm()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(e)}function lm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:cF(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fm=function(){return!!e})()}var aF=function(e){lm(t,e);function t(n){cm(this,t);var o;return o=um(this,t,[n]),$t(o,"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),$t(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),$t(o,"isHideCaption",{type:"boolean"}),$t(o,"labelPosition",{type:"enum",enum:["top","left"]}),$t(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(q),am=function(e){lm(t,e);function t(n){cm(this,t);var o;o=um(this,t,[n]),$t(o,"dashboardKey",void 0),$t(o,"caption",void 0),$t(o,"isHideCaption",void 0),$t(o,"isShowCaptionTip",void 0),$t(o,"captionTip",void 0),$t(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";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 f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return t}(G);$t(am,"Rules",aF);function _F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yF(e,t,n){return t=Tr(t),vF(e,sm()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pF(e,t,n){return t&&_m(e.prototype,t),n&&_m(e,n),e}function ym(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(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&&h_(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:_F(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function hF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sm=function(){return!!e})()}var bF=function(e){dF(t,e);function t(n){sF(this,t);var o;return o=yF(this,t,[n]),ym(o,"props",void 0),o.props=new am(n==null?void 0:n.props),o}return pF(t,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(L);ym(bF,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function mF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pm(e,t,n){return t=Rr(t),gF(e,hm()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function dm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(e)}function vm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gF(e,t){return t&&(OF(t)==="object"||typeof t=="function")?t:mF(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function OF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hm=function(){return!!e})()}var wF=function(e){vm(t,e);function t(n){dm(this,t);var o;return o=pm(this,t,[n]),Jn(o,"showType",{type:"enum",enum:["select","tabs"]}),Jn(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return t}(q),bm=function(e){vm(t,e);function t(n){dm(this,t);var o,r;o=pm(this,t,[n]),Jn(o,"showType",void 0),Jn(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new DA(c)}))!==null&&u!==void 0?u:[],o}return t}(G);Jn(bm,"Rules",wF);function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PF(e,t,n){return t=Br(t),RF(e,Om()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function EF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SF(e,t,n){return t&&mm(e.prototype,t),n&&mm(e,n),e}function gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(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&&m_(e,t)}function RF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:$F(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(e,t)}function BF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Om=function(){return!!e})()}var IF=function(e){TF(t,e);function t(n){EF(this,t);var o;return o=PF(this,t,[n]),gm(o,"props",void 0),o.props=new bm(n==null?void 0:n.props),o}return SF(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(L);gm(IF,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function AF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wm(e,t,n){return t=Ir(t),kF(e,Em()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function $m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function Pm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:AF(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function DF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Em=function(){return!!e})()}var xF=function(e){Pm(t,e);function t(n){$m(this,t);var o;return o=wm(this,t,[n]),pt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),pt(o,"isHideCaption",{type:"boolean"}),pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),pt(o,"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),pt(o,"fillList",{type:"array",validator:function(i,u,c){var f=u.every(function(l){return!l.controlId});if(f){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),pt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(q),Sm=function(e){Pm(t,e);function t(n){$m(this,t);var o,r;o=wm(this,t,[n]),pt(o,"caption",void 0),pt(o,"isHideCaption",void 0),pt(o,"isShowCaptionTip",void 0),pt(o,"captionTip",void 0),pt(o,"labelPosition",void 0),pt(o,"ocrType",void 0),pt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName;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 f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:Zn.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Zn.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new yt(O)}))!==null&&m!==void 0?m:[],o}return t}(bt);pt(Sm,"Rules",xF);function jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FF(e,t,n){return t=Ar(t),VF(e,Rm()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function LF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MF(e,t,n){return t&&Tm(e.prototype,t),n&&Tm(e,n),e}function O_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function NF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:jF(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function zF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rm=function(){return!!e})()}var Zn=function(e){NF(t,e);function t(n){LF(this,t);var o;return o=FF(this,t,[n]),O_(o,"props",void 0),o.props=new Sm(n==null?void 0:n.props),o}return MF(t,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(st);O_(Zn,"controlEventKeys",["on_click","on_click_finish"]),O_(Zn,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function HF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t,n){return t=kr(t),qF(e,km()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function Im(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function Am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qF(e,t){return t&&(UF(t)==="object"||typeof t=="function")?t:HF(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function UF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(km=function(){return!!e})()}var WF=function(e){Am(t,e);function t(n){Im(this,t);var o;return o=Bm(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"invoiceCheck",{type:"boolean"}),dt(o,"fillList",{type:"array",validator:function(i,u,c){var f=u.every(function(l){return!l.controlId});if(f){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),dt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(q),Dm=function(e){Am(t,e);function t(n){Im(this,t);var o,r;o=Bm(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"invoiceCheck",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yn.controlName;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 f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:Yn.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Yn.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new yt(O)}))!==null&&m!==void 0?m:[],o}return t}(bt);dt(Dm,"Rules",WF);function KF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GF(e,t,n){return t=Dr(t),JF(e,jm()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XF(e,t,n){return t&&xm(e.prototype,t),n&&xm(e,n),e}function P_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(e)}function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:KF(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function ZF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jm=function(){return!!e})()}var Yn=function(e){QF(t,e);function t(n){CF(this,t);var o;return o=GF(this,t,[n]),P_(o,"props",void 0),o.props=new Dm(n==null?void 0:n.props),o}return XF(t,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(st);P_(Yn,"controlEventKeys",["on_click","on_click_finish"]),P_(Yn,"setting",[{key:"caption",showItems:[_.CAPTION,_.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:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function YF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t,n){return t=jr(t),tL(e,Nm()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function Lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(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&&S_(e,t)}function tL(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:YF(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function eL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nm=function(){return!!e})()}var nL=function(e){Mm(t,e);function t(){Lm(this,t);var n;return n=Fm(this,t,arguments),xr(n,"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return t}(q),Vm=function(e){Mm(t,e);function t(n){Lm(this,t);var o,r;o=Fm(this,t,[n]),xr(o,"printTemplates",void 0),xr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Lr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Lr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new TD(l)}))!==null&&c!==void 0?c:[];var f;return o.autoSelectTemplate=(f=n==null?void 0:n.autoSelectTemplate)!==null&&f!==void 0?f:!1,o}return t}(bt);xr(Vm,"Rules",nL);function oL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rL(e,t,n){return t=Fr(t),lL(e,Hm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uL(e,t,n){return t&&zm(e.prototype,t),n&&zm(e,n),e}function T_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function cL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function lL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:oL(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function fL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hm=function(){return!!e})()}var Lr=function(e){cL(t,e);function t(n){iL(this,t);var o;return o=rL(this,t,[n]),T_(o,"props",void 0),o.props=new Vm(n==null?void 0:n.props),o}return uL(t,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"}}]),t}(st);T_(Lr,"controlEventKeys",["on_click","on_click_finish"]),T_(Lr,"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 aL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _L(e,t,n){return t=Mr(t),pL(e,qm()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function yL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:aL(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function dL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var vL=function(e){sL(t,e);function t(n){yL(this,t);var o;o=_L(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Vr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Vr.controlIcon,o}return t}(bt);function hL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(e,t,n){return t=Nr(t),wL(e,Wm()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function mL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gL(e,t,n){return t&&Um(e.prototype,t),n&&Um(e,n),e}function I_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function OL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:hL(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function $L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wm=function(){return!!e})()}var Vr=function(e){OL(t,e);function t(n){mL(this,t);var o;return o=bL(this,t,[n]),I_(o,"props",void 0),o.props=new vL(n==null?void 0:n.props),o}return gL(t,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"}}]),t}(st);I_(Vr,"controlEventKeys",["on_click"]),I_(Vr,"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 PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Km(e,t,n){return t=zr(t),EL(e,Xm()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function Gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function Cm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EL(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:PL(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function SL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xm=function(){return!!e})()}var TL=function(e){Cm(t,e);function t(n){Gm(this,t);var o;return o=Km(this,t,[n]),_t(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return t}(q),Hr=function(e){Cm(t,e);function t(n){Gm(this,t);var o;o=Km(this,t,[n]),_t(o,"content",void 0),_t(o,"code",void 0),_t(o,"command",void 0),_t(o,"color",void 0),_t(o,"icon",void 0),_t(o,"formKey",void 0),_t(o,"openType",void 0),_t(o,"needConfirm",void 0),_t(o,"confirmMessage",void 0),_t(o,"options",void 0),_t(o,"defaultState",void 0),_t(o,"priorityProcess",void 0),_t(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o}return t}(G);_t(Hr,"Rules",TL);function RL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t,n){return t=qr(t),DL(e,Jm()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function IL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AL(e,t,n){return t&&Qm(e.prototype,t),n&&Qm(e,n),e}function D_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:RL(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function xL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jm=function(){return!!e})()}var Ur=function(e){kL(t,e);function t(n){IL(this,t);var o;return o=BL(this,t,[n]),D_(o,"props",void 0),o.props=new Hr(n==null?void 0:n.props),o}return AL(t,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(L);D_(Ur,"controlEventKeys",["on_click"]),D_(Ur,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function jL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t,n){return t=Wr(t),zL(e,Ym()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function LL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ML(e,t,n){return t&&Zm(e.prototype,t),n&&Zm(e,n),e}function NL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:jL(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ym=function(){return!!e})()}var qL=function(e){VL(t,e);function t(n){LL(this,t);var o;return o=FL(this,t,[n]),NL(o,"props",void 0),o.props=new Hr(n==null?void 0:n.props),o}return ML(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(ne),F_={Designer:Ur,Runtime:qL,Property:Hr};function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WL(e,t,n){return t=Kr(t),CL(e,tg()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function GL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CL(e,t){return t&&(XL(t)==="object"||typeof t=="function")?t:UL(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function XL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!e})()}var QL=function(e){GL(t,e);function t(n){KL(this,t);var o;o=WL(this,t,[n]),fe(o,"content",void 0),fe(o,"buttonType",void 0),fe(o,"showType",void 0),fe(o,"color",void 0),fe(o,"icon",void 0),fe(o,"defaultState",void 0),fe(o,"command",void 0),fe(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Cr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Cr.controlIcon;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:"iconText";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(G);function JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZL(e,t,n){return t=Gr(t),nM(e,ng()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function YL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tM(e,t,n){return t&&eg(e.prototype,t),n&&eg(e,n),e}function M_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nM(e,t){return t&&(oM(t)==="object"||typeof t=="function")?t:JL(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function oM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ng=function(){return!!e})()}var Cr=function(e){eM(t,e);function t(n){YL(this,t);var o;return o=ZL(this,t,[n]),M_(o,"props",void 0),o.props=new QL(n==null?void 0:n.props),o}return tM(t,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"}}]),t}(L);M_(Cr,"controlEventKeys",["on_click"]),M_(Cr,"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:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_(e,t,n){return t=Xr(t),iM(e,og()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function z_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function H_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:rM(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function uM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(og=function(){return!!e})()}var cM=function(e){H_(t,e);function t(n){z_(this,t);var o;return o=V_(this,t,[n]),Rt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Rt(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Rt(o,"defaultValue",[{type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Go(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),lM=function(e){H_(t,e);function t(n){z_(this,t);var o;return o=V_(this,t,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Go(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(N),to=function(e){H_(t,e);function t(n){z_(this,t);var o;o=V_(this,t,[n]),Rt(o,"maxLength",void 0),Rt(o,"minLength",void 0),Rt(o,"regularRules",void 0),Rt(o,"defaultValue",void 0),Rt(o,"encrypted",void 0),Rt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new qh(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:eo.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var a;return o.encryptedMode=(a=n==null?void 0:n.encryptedMode)!==null&&a!==void 0?a:"",o}return t}(D);Rt(to,"Rules",cM),Rt(to,"RuntimeRules",lM);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(e,t,n){return t=Jr(t),pM(e,ig()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function _M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yM(e,t,n){return t&&rg(e.prototype,t),n&&rg(e,n),e}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(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&&U_(e,t)}function pM(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:fM(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function dM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ig=function(){return!!e})()}var eo=function(e){sM(t,e);function t(n){_M(this,t);var o;return o=aM(this,t,[n]),Qr(o,"props",void 0),o.props=new to(n==null?void 0:n.props),o}return yM(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(x);Qr(eo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Qr(eo,"controlFieldType",b.VARCHAR),Qr(eo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.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 vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(e,t,n){return t=Zr(t),OM(e,lg()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mM(e,t,n){return t&&ug(e.prototype,t),n&&ug(e,n),e}function cg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(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&&W_(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:vM(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function wM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lg=function(){return!!e})()}var $M=function(e){gM(t,e);function t(n){bM(this,t);var o;return o=hM(this,t,[n]),cg(o,"props",void 0),o.props=new to(n==null?void 0:n.props),o}return mM(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(j);cg($M,"controlFieldType",b.VARCHAR);function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K_(e,t,n){return t=Yr(t),EM(e,fg()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function G_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(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&&X_(e,t)}function EM(e,t){return t&&(SM(t)==="object"||typeof t=="function")?t:PM(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function SM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fg=function(){return!!e})()}var TM=function(e){C_(t,e);function t(n){G_(this,t);var o;o=K_(this,t,[n]),X(o,"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Me),RM=function(e){C_(t,e);function t(n){G_(this,t);var o;return o=K_(this,t,[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 t}(N),ti=function(e){C_(t,e);function t(n){G_(this,t);var o;o=K_(this,t,[n]),X(o,"checkboxMode",void 0),X(o,"options",void 0),X(o,"optionsOrder",void 0),X(o,"limitMax",void 0),X(o,"limitMin",void 0),X(o,"otherOption",void 0),X(o,"optionConfig",void 0),X(o,"optionsFormat",void 0),X(o,"defaultShowOptions",void 0),X(o,"datasourceBind",void 0),X(o,"multistageFilling",void 0),X(o,"interreaction",void 0),X(o,"defaultValue",void 0),X(o,"openMultistageFilling",void 0);var r;o.options=zt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var a;o.limitMax=(a=n==null?void 0:n.limitMax)!==null&&a!==void 0?a:"unlimited",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:oi.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!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 yt(h))})),o}return t}(D);X(ti,"Rules",TM),X(ti,"RuntimeRules",RM);function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t,n){return t=ni(t),xM(e,_g()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kM(e,t,n){return t&&ag(e.prototype,t),n&&ag(e,n),e}function ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function DM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:BM(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(e,t)}function jM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_g=function(){return!!e})()}var oi=function(e){DM(t,e);function t(n){AM(this,t);var o;return o=IM(this,t,[n]),ei(o,"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return kM(t,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(x);ei(oi,"controlEventKeys",["on_change","on_click"]),ei(oi,"controlFieldType",b.ARRAY),ei(oi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LM(e,t,n){return t=ri(t),zM(e,pg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function MM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NM(e,t,n){return t&&yg(e.prototype,t),n&&yg(e,n),e}function sg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function VM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:FM(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function HM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pg=function(){return!!e})()}var qM=function(e){VM(t,e);function t(n){MM(this,t);var o;return o=LM(this,t,[n]),sg(o,"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return NM(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(j);sg(qM,"controlFieldType",b.ARRAY);function UM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t,n){return t=ii(t),WM(e,bg()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function vg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function hg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:UM(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function KM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var GM=function(e){hg(t,e);function t(n){return vg(this,t),dg(this,t,[n])}return t}(Me),Y_=function(e){hg(t,e);function t(n){vg(this,t);var o;o=dg(this,t,[n]),mt(o,"radioMode",void 0),mt(o,"options",void 0),mt(o,"optionConfig",void 0),mt(o,"optionsFormat",void 0),mt(o,"defaultShowOptions",void 0),mt(o,"otherOption",void 0),mt(o,"optionsOrder",void 0),mt(o,"datasourceBind",void 0),mt(o,"multistageFilling",void 0),mt(o,"interreaction",void 0),mt(o,"defaultValue",void 0),mt(o,"openMultistageFilling",void 0);var r;o.options=zt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var a;o.optionsFormat=(a=n==null?void 0:n.optionsFormat)!==null&&a!==void 0?a:"horizontal",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:li.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(g))})),o}return t}(D);mt(Y_,"Rules",GM);function CM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XM(e,t,n){return t=ci(t),YM(e,gg()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function QM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JM(e,t,n){return t&&mg(e.prototype,t),n&&mg(e,n),e}function ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(e)}function ZM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YM(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:CM(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function t5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gg=function(){return!!e})()}var li=function(e){ZM(t,e);function t(n){QM(this,t);var o;return o=XM(this,t,[n]),ui(o,"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return JM(t,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(x);ui(li,"controlEventKeys",["on_change","on_click"]),ui(li,"controlFieldType",b.VARCHAR),ui(li,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function e5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(e,t,n){return t=fi(t),u5(e,$g()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function o5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r5(e,t,n){return t&&Og(e.prototype,t),n&&Og(e,n),e}function wg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(e)}function i5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:e5(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function c5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($g=function(){return!!e})()}var l5=function(e){i5(t,e);function t(n){o5(this,t);var o;return o=n5(this,t,[n]),wg(o,"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return r5(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(j);wg(l5,"controlFieldType",b.VARCHAR);function f5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ny(e,t,n){return t=ai(t),a5(e,Pg()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(e)}function ry(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function a5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:f5(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function _5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pg=function(){return!!e})()}var y5=function(e){ry(t,e);function t(n){oy(this,t);var o;o=ny(this,t,[n]),rt(o,"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),rt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Go(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),s5=function(e){ry(t,e);function t(n){oy(this,t);var o;o=ny(this,t,[n]),o[0].type="number";var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Go(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(N),_i=function(e){ry(t,e);function t(n){oy(this,t);var o;o=ny(this,t,[n]),rt(o,"rangeMin",void 0),rt(o,"rangeMax",void 0),rt(o,"numberType",void 0),rt(o,"percentageFormat",void 0),rt(o,"micrometer",void 0),rt(o,"precision",void 0),rt(o,"showUpperCase",void 0),rt(o,"isShowUnit",void 0),rt(o,"unitPosition",void 0),rt(o,"unit",void 0),rt(o,"defaultValue",void 0),rt(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var a;o.showUpperCase=(a=n==null?void 0:n.showUpperCase)!==null&&a!==void 0?a:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var m;o.unit=(m=n==null?void 0:n.unit)!==null&&m!==void 0?m:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:pi.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var $;return o.defaultValue=($=n==null?void 0:n.defaultValue)!==null&&$!==void 0?$:"",o.regularRules=new qh(n==null?void 0:n.regularRules),o}return t}(D);rt(_i,"Rules",y5),rt(_i,"RuntimeRules",s5);function p5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d5(e,t,n){return t=qe(t),m5(e,Sg()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function v5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h5(e,t,n){return t&&Eg(e.prototype,t),n&&Eg(e,n),e}function yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?si=Reflect.get:si=function(r,i,u){var c=g5(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},si(e,t,n||e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function b5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m5(e,t){return t&&(O5(t)==="object"||typeof t=="function")?t:p5(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function g5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qe(e),e!==null););return e}function O5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sg=function(){return!!e})()}var pi=function(e){b5(t,e);function t(n){v5(this,t);var o;return o=d5(this,t,[n]),yi(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return h5(t,[{key:"toDataBindModel",value:function(o){var r=si(qe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(x);yi(pi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),yi(pi,"controlFieldType",b.DECIMAL),yi(pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.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:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function w5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t,n){return t=di(t),T5(e,Bg()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E5(e,t,n){return t&&Tg(e.prototype,t),n&&Tg(e,n),e}function Rg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(e)}function S5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:w5(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bg=function(){return!!e})()}var B5=function(e){S5(t,e);function t(n){P5(this,t);var o;return o=$5(this,t,[n]),Rg(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return E5(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(j);Rg(B5,"controlFieldType",b.DECIMAL);function I5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t,n){return t=vi(t),x5(e,Ig()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function k5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(e)}function D5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x5(e,t){return t&&(j5(t)==="object"||typeof t=="function")?t:I5(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ly(e,t)}function j5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ig=function(){return!!e})()}var Ag=function(e){D5(t,e);function t(n){k5(this,t);var o,r;o=A5(this,t,[n]),ae(o,"dateType",void 0),ae(o,"dateFormat",void 0),ae(o,"commonTimeSetting",void 0),ae(o,"setValueType",void 0),ae(o,"defaultValue",void 0),ae(o,"limitDateList",void 0),ae(o,"allowDateRange",void 0),ae(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_y.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(g){return new Aa(g)}))!==null&&d!==void 0?d:[];var m;o.allowDateRange=(m=n==null?void 0:n.allowDateRange)!==null&&m!==void 0?m:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return t}(D);function F5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t,n){return t=Ue(t),z5(e,Dg()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function M5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N5(e,t,n){return t&&kg(e.prototype,t),n&&kg(e,n),e}function fy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(r,i,u){var c=H5(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},hi(e,t,n||e)}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:F5(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function H5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ue(e),e!==null););return e}function q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dg=function(){return!!e})()}var _y=function(e){V5(t,e);function t(n){M5(this,t);var o;return o=L5(this,t,[n]),fy(o,"props",void 0),o.props=new Ag(n==null?void 0:n.props),o}return N5(t,[{key:"toDataBindModel",value:function(o){var r=hi(Ue(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(x);fy(_y,"controlFieldType",b.TIMESTAMP),fy(_y,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function U5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W5(e,t,n){return t=bi(t),X5(e,Fg()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function K5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G5(e,t,n){return t&&xg(e.prototype,t),n&&xg(e,n),e}function jg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function C5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:U5(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function Q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fg=function(){return!!e})()}var J5=function(e){C5(t,e);function t(n){K5(this,t);var o;return o=W5(this,t,[n]),jg(o,"props",void 0),o.props=new Ag(n==null?void 0:n.props),o}return G5(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(j);jg(J5,"controlFieldType",b.TIMESTAMP);function Z5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lg(e,t,n){return t=mi(t),Y5(e,Vg()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function Mg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(e)}function Ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y5(e,t){return t&&(tN(t)==="object"||typeof t=="function")?t:Z5(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function tN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vg=function(){return!!e})()}var eN=function(e){Ng(t,e);function t(n){Mg(this,t);var o;return o=Lg(this,t,[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 t}(N),py=function(e){Ng(t,e);function t(n){Mg(this,t);var o,r;o=Lg(this,t,[n]),Pt(o,"dataBind",void 0),Pt(o,"rangeMin",void 0),Pt(o,"rangeMax",void 0),Pt(o,"placeholderStart",void 0),Pt(o,"placeholderEnd",void 0),Pt(o,"dateFormat",void 0),Pt(o,"commonTimeSetting",void 0),Pt(o,"dateType",void 0),Pt(o,"setValueType",void 0),Pt(o,"defaultValue",void 0),Pt(o,"limitDateList",void 0),o.dataBind=new SA(n==null?void 0:n.dataBind),o.defaultValue=new TA(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var a;o.rangeMax=(a=n==null?void 0:n.rangeMax)!==null&&a!==void 0?a:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:hy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(g){return new Aa(g)}))!==null&&O!==void 0?O:[],o}return t}(D);Pt(py,"RuntimeRules",eN);function nN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t,n){return t=We(t),cN(e,Hg()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iN(e,t,n){return t&&zg(e.prototype,t),n&&zg(e,n),e}function dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?gi=Reflect.get:gi=function(r,i,u){var c=lN(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},gi(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function uN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function cN(e,t){return t&&(fN(t)==="object"||typeof t=="function")?t:nN(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function lN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function fN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hg=function(){return!!e})()}var hy=function(e){uN(t,e);function t(n){rN(this,t);var o;return o=oN(this,t,[n]),dy(o,"props",void 0),o.props=new py(n==null?void 0:n.props),o}return iN(t,[{key:"toDataBindModel",value:function(o){var r=gi(We(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(x);dy(hy,"controlFieldType",b.TIMESCOPE),dy(hy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function aN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _N(e,t,n){return t=Oi(t),dN(e,Wg()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function yN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sN(e,t,n){return t&&qg(e.prototype,t),n&&qg(e,n),e}function Ug(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(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&&by(e,t)}function dN(e,t){return t&&(vN(t)==="object"||typeof t=="function")?t:aN(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function vN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wg=function(){return!!e})()}var hN=function(e){pN(t,e);function t(n){yN(this,t);var o;return o=_N(this,t,[n]),Ug(o,"props",void 0),o.props=new py(n==null?void 0:n.props),o}return sN(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(j);Ug(hN,"controlFieldType",b.TIMESCOPE);function bN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function my(e,t,n){return t=wi(t),mN(e,Kg()?Reflect.construct(t,n||[],wi(e).constructor):t.apply(e,n))}function gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(e)}function Oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function mN(e,t){return t&&(gN(t)==="object"||typeof t=="function")?t:bN(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function gN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kg=function(){return!!e})()}var ON=function(e){Oy(t,e);function t(n){gy(this,t);var o;return o=my(this,t,[n]),Ut(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ut(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ut(o,"defaultValue",{type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(tt),wN=function(e){Oy(t,e);function t(n){gy(this,t);var o;return o=my(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(N),$i=function(e){Oy(t,e);function t(n){gy(this,t);var o;o=my(this,t,[n]),Ut(o,"maxLength",void 0),Ut(o,"minLength",void 0),Ut(o,"defaultValue",void 0),Ut(o,"lineEllipsis",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Si.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4,o}return t}(D);Ut($i,"Rules",ON),Ut($i,"RuntimeRules",wN);function $N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PN(e,t,n){return t=Ei(t),RN(e,Cg()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function EN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SN(e,t,n){return t&&Gg(e.prototype,t),n&&Gg(e,n),e}function Pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RN(e,t){return t&&(BN(t)==="object"||typeof t=="function")?t:$N(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function BN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cg=function(){return!!e})()}var Si=function(e){TN(t,e);function t(n){EN(this,t);var o;return o=PN(this,t,[n]),Pi(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return SN(t,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(x);Pi(Si,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Pi(Si,"controlFieldType",b.TEXT),Pi(Si,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 IN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AN(e,t,n){return t=Ti(t),jN(e,Jg()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function kN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DN(e,t,n){return t&&Xg(e.prototype,t),n&&Xg(e,n),e}function Qg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(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&&Py(e,t)}function jN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:IN(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function FN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jg=function(){return!!e})()}var LN=function(e){xN(t,e);function t(n){kN(this,t);var o;return o=AN(this,t,[n]),Qg(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return DN(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(j);Qg(LN,"controlFieldType",b.TEXT);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ey(e,t,n){return t=Ri(t),NN(e,Zg()?Reflect.construct(t,n||[],Ri(e).constructor):t.apply(e,n))}function Sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(e)}function Ty(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function NN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:MN(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function VN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zg=function(){return!!e})()}var zN=function(e){Ty(t,e);function t(n){Sy(this,t);var o;return o=Ey(this,t,[n]),_e(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),_e(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),_e(o,"defaultValue",{type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(tt),HN=function(e){Ty(t,e);function t(n){Sy(this,t);var o;return o=Ey(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(N),Bi=function(e){Ty(t,e);function t(n){Sy(this,t);var o;o=Ey(this,t,[n]),_e(o,"maxLength",void 0),_e(o,"minLength",void 0),_e(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ki.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165",o}return t}(D);_e(Bi,"Rules",zN),_e(Bi,"RuntimeRules",HN);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UN(e,t,n){return t=Ai(t),CN(e,tO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KN(e,t,n){return t&&Yg(e.prototype,t),n&&Yg(e,n),e}function Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function GN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function CN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:qN(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function XN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tO=function(){return!!e})()}var ki=function(e){GN(t,e);function t(n){WN(this,t);var o;return o=UN(this,t,[n]),Ii(o,"props",void 0),o.props=new Bi(n==null?void 0:n.props),o}return KN(t,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Ii(ki,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ii(ki,"controlFieldType",b.TEXT),Ii(ki,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 QN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JN(e,t,n){return t=Di(t),e6(e,oO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function ZN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YN(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function nO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function t6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:QN(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(e,t)}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oO=function(){return!!e})()}var o6=function(e){t6(t,e);function t(n){ZN(this,t);var o;return o=JN(this,t,[n]),nO(o,"props",void 0),o.props=new Bi(n==null?void 0:n.props),o}return YN(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(j);nO(o6,"controlFieldType",b.TEXT);function r6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e,t,n){return t=xi(t),i6(e,cO()?Reflect.construct(t,n||[],xi(e).constructor):t.apply(e,n))}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(e)}function uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:r6(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function u6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cO=function(){return!!e})()}var c6=function(e){uO(t,e);function t(n){return iO(this,t),rO(this,t,[n])}return t}(Me),ky=function(e){uO(t,e);function t(n){iO(this,t);var o;o=rO(this,t,[n]),Wt(o,"options",void 0),Wt(o,"defaultShowOptions",void 0),Wt(o,"optionConfig",void 0),Wt(o,"defaultValue",void 0),Wt(o,"datasourceBind",void 0),Wt(o,"multistageFilling",void 0),Wt(o,"allowCopyOptions",void 0),Wt(o,"openMultistageFilling",void 0);var r;o.options=zt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:jy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var a;o.allowCopyOptions=(a=n==null?void 0:n.allowCopyOptions)!==null&&a!==void 0?a:!1;var y;return 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(d){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new yt(d))})),o}return t}(D);Wt(ky,"Rules",c6);function l6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f6(e,t,n){return t=ji(t),s6(e,fO()?Reflect.construct(t,n||[],ji(e).constructor):t.apply(e,n))}function a6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _6(e,t,n){return t&&lO(e.prototype,t),n&&lO(e,n),e}function Dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(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&&xy(e,t)}function s6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:l6(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fO=function(){return!!e})()}var jy=function(e){y6(t,e);function t(n){a6(this,t);var o;return o=f6(this,t,[n]),Dy(o,"props",void 0),o.props=new ky(n==null?void 0:n.props),o}return _6(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(x);Dy(jy,"controlFieldType",b.VARCHAR),Dy(jy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function d6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(e,t,n){return t=Fi(t),g6(e,yO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b6(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function _O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:d6(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function O6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yO=function(){return!!e})()}var w6=function(e){m6(t,e);function t(n){h6(this,t);var o;return o=v6(this,t,[n]),_O(o,"props",void 0),o.props=new ky(n==null?void 0:n.props),o}return b6(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(j);_O(w6,"controlFieldType",b.VARCHAR);function $6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t,n){return t=Li(t),P6(e,sO()?Reflect.construct(t,n||[],Li(e).constructor):t.apply(e,n))}function My(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function Ny(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function P6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:$6(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sO=function(){return!!e})()}var S6=function(e){Ny(t,e);function t(n){return My(this,t),Ly(this,t,[n])}return t}(Me),T6=function(e){Ny(t,e);function t(n){My(this,t);var o;return o=Ly(this,t,[n]),o[0].type="array",o}return t}(N),Mi=function(e){Ny(t,e);function t(n){My(this,t);var o;o=Ly(this,t,[n]),Kt(o,"options",void 0),Kt(o,"defaultShowOptions",void 0),Kt(o,"optionConfig",void 0),Kt(o,"defaultValue",void 0),Kt(o,"datasourceBind",void 0),Kt(o,"multistageFilling",void 0),Kt(o,"openMultistageFilling",void 0);var r;o.options=zt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:qy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;return o.openMultistageFilling=(a=n==null?void 0:n.openMultistageFilling)!==null&&a!==void 0?a:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new yt(y))})),o}return t}(D);Kt(Mi,"Rules",S6),Kt(Mi,"RuntimeRules",T6);function R6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t,n){return t=Ni(t),D6(e,dO()?Reflect.construct(t,n||[],Ni(e).constructor):t.apply(e,n))}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function A6(e,t,n){return t&&pO(e.prototype,t),n&&pO(e,n),e}function zy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(e)}function k6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function D6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:R6(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dO=function(){return!!e})()}var qy=function(e){k6(t,e);function t(n){I6(this,t);var o;return o=B6(this,t,[n]),zy(o,"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return A6(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);zy(qy,"controlFieldType",b.ARRAY),zy(qy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function j6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F6(e,t,n){return t=Vi(t),V6(e,bO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function L6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M6(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function hO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function N6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:j6(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bO=function(){return!!e})()}var H6=function(e){N6(t,e);function t(n){L6(this,t);var o;return o=F6(this,t,[n]),hO(o,"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return M6(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(j);hO(H6,"controlFieldType",b.ARRAY);function q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t,n){return t=zi(t),U6(e,wO()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function OO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:q6(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function W6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wO=function(){return!!e})()}var K6=function(e){OO(t,e);function t(n){gO(this,t);var o;return o=mO(this,t,[n]),o[0].type="array",o}return t}(N),Ky=function(e){OO(t,e);function t(n){gO(this,t);var o;o=mO(this,t,[n]),Gt(o,"showType",void 0),Gt(o,"range",void 0),Gt(o,"rangeOptions",void 0),Gt(o,"multiple",void 0),Gt(o,"defaultValueType",void 0),Gt(o,"defaultValue",void 0),Gt(o,"multistageFilling",void 0),Gt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Xy.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new yt(m))})),o}return t}(D);Gt(Ky,"RuntimeRules",K6);function G6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t,n){return t=Hi(t),Z6(e,PO()?Reflect.construct(t,n||[],Hi(e).constructor):t.apply(e,n))}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q6(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function Gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(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&&Cy(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:G6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var Xy=function(e){J6(t,e);function t(n){X6(this,t);var o;return o=C6(this,t,[n]),Gy(o,"props",void 0),o.props=new Ky(n==null?void 0:n.props),o}return Q6(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(x);Gy(Xy,"controlFieldType",b.EMPLOYEES),Gy(Xy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 t7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t,n){return t=qi(t),i7(e,TO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o7(e,t,n){return t&&EO(e.prototype,t),n&&EO(e,n),e}function SO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:t7(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TO=function(){return!!e})()}var c7=function(e){r7(t,e);function t(n){n7(this,t);var o;return o=e7(this,t,[n]),SO(o,"props",void 0),o.props=new Ky(n==null?void 0:n.props),o}return o7(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(j);SO(c7,"controlFieldType",b.EMPLOYEES);function l7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jy(e,t,n){return t=Ui(t),f7(e,RO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function Zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(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&&ts(e,t)}function f7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:l7(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function a7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RO=function(){return!!e})()}var _7=10485760,y7=104857600,s7=1048576e3,p7=function(e){Yy(t,e);function t(n){Zy(this,t);var o;return o=Jy(this,t,[n]),Ct(o,"maxSize",{type:"number",min:0,max:s7,message:p.getMessage("attachmentMaxSize")}),o}return t}(tt),d7=function(e){Yy(t,e);function t(n){Zy(this,t);var o;return o=Jy(this,t,[n]),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return t}(N),Wi=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(this,t,[n]),Ct(o,"defaultValue",void 0),Ct(o,"showType",void 0),Ct(o,"attachmentAccept",void 0),Ct(o,"maxLimit",void 0),Ct(o,"minLimit",void 0),Ct(o,"maxSize",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.attachmentAccept=(u=n==null?void 0:n.attachmentAccept)!==null&&u!==void 0?u:[];var c;o.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var l;o.maxSize=(l=n==null?void 0:n.maxSize)!==null&&l!==void 0?l:y7;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:no.controlName;var y;return o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u4E0A\u4F20\u9644\u4EF6",o}return t}(D);Ct(Wi,"Rules",p7),Ct(Wi,"RuntimeRules",d7);function v7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t,n){return t=Gi(t),O7(e,IO()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m7(e,t,n){return t&&BO(e.prototype,t),n&&BO(e,n),e}function Ki(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(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&&es(e,t)}function O7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:v7(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IO=function(){return!!e})()}var no=function(e){g7(t,e);function t(n){b7(this,t);var o;return o=h7(this,t,[n]),Ki(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return m7(t,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(x);Ki(no,"controlEventKeys",["on_change"]),Ki(no,"controlFieldType",b.FILE),Ki(no,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 $7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P7(e,t,n){return t=Ci(t),R7(e,DO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function E7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S7(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function kO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:$7(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DO=function(){return!!e})()}var I7=function(e){T7(t,e);function t(n){E7(this,t);var o;return o=P7(this,t,[n]),kO(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return S7(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(j);kO(I7,"controlFieldType",b.FILE);function A7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t,n){return t=Xi(t),F7(e,FO()?Reflect.construct(t,n||[],Xi(e).constructor):t.apply(e,n))}function D7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x7(e,t,n){return t&&xO(e.prototype,t),n&&xO(e,n),e}function jO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(e)}function j7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function F7(e,t){return t&&(L7(t)==="object"||typeof t=="function")?t:A7(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function L7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FO=function(){return!!e})()}var LO=function(e){j7(t,e);function t(n){D7(this,t);var o,r,i;o=k7(this,t,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return x7(t,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(no);jO(LO,"controlFieldType",b.IMAGE),jO(LO,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rs(e,t,n){return t=Qi(t),H7(e,MO()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function is(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function N7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){it(e,r,n[r])})}return e}function V7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function z7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):V7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:M7(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MO=function(){return!!e})()}var U7=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),it(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),it(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o}return t}(Me),W7=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),o[0].type="object";var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[z7(N7({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return t}(N),Ji=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),it(o,"rangeMin",void 0),it(o,"rangeMax",void 0),it(o,"showUpperCase",void 0),it(o,"submitSelectCurrency",void 0),it(o,"micrometer",void 0),it(o,"precision",void 0),it(o,"optionConfig",void 0),it(o,"dataBind",void 0),it(o,"datasourceBind",void 0),it(o,"defaultValue",void 0),it(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:2,o.dataBind=new PA(n==null?void 0:n.dataBind);var l;o.datasourceBind=new K((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new Df({value:"name"})]});var a;o.defaultValue=new EA((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{amount:"",currency:AA.CNY}),o.options=zt(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:tu.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var m;o.submitSelectCurrency=(m=n==null?void 0:n.submitSelectCurrency)!==null&&m!==void 0?m:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return t}(D);it(Ji,"Rules",U7),it(Ji,"RuntimeRules",W7);function K7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t,n){return t=Ke(t),J7(e,VO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X7(e,t,n){return t&&NO(e.prototype,t),n&&NO(e,n),e}function Zi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Yi=Reflect.get:Yi=function(r,i,u){var c=Z7(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Yi(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(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&&ls(e,t)}function J7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:K7(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function Z7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function Y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VO=function(){return!!e})()}var tu=function(e){Q7(t,e);function t(n){C7(this,t);var o;return o=G7(this,t,[n]),Zi(o,"props",void 0),o.props=new Ji(n==null?void 0:n.props),o}return X7(t,[{key:"toDataBindModel",value:function(o){var r=Yi(Ke(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(x);Zi(tu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Zi(tu,"controlFieldType",b.MONEY),Zi(tu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function t8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(e,t,n){return t=eu(t),i8(e,qO()?Reflect.construct(t,n||[],eu(e).constructor):t.apply(e,n))}function n8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o8(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}function HO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(e)}function r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:t8(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function u8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qO=function(){return!!e})()}var c8=function(e){r8(t,e);function t(n){n8(this,t);var o;return o=e8(this,t,[n]),HO(o,"props",void 0),o.props=new Ji(n==null?void 0:n.props),o}return o8(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(j);HO(c8,"controlFieldType",b.MONEY);function l8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function as(e,t,n){return t=nu(t),f8(e,UO()?Reflect.construct(t,n||[],nu(e).constructor):t.apply(e,n))}function _s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(e)}function ys(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function f8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:l8(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UO=function(){return!!e})()}var _8=function(e){ys(t,e);function t(n){_s(this,t);var o;return o=as(this,t,[n]),Xt(o,"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),Xt(o,"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return t}(tt),y8=function(e){ys(t,e);function t(n){_s(this,t);var o;o=as(this,t,[n]),o[0].type="number";var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return t}(N),ou=function(e){ys(t,e);function t(n){_s(this,t);var o,r;o=as(this,t,[n]),Xt(o,"totalScore",void 0),Xt(o,"scoreType",void 0),Xt(o,"isShowExplain",void 0),Xt(o,"explain",void 0),Xt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:gD.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var f;o.explain=(f=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new ka(y)}))!==null&&f!==void 0?f:Array(o.totalScore).fill(void 0).map(function(){return new ka});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:uu.controlName,o}return t}(D);Xt(ou,"Rules",_8),Xt(ou,"RuntimeRules",y8);function ps(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function s8(e){if(Array.isArray(e))return ps(e)}function p8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d8(e,t,n){return t=Ge(t),O8(e,KO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function v8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h8(e,t,n){return t&&WO(e.prototype,t),n&&WO(e,n),e}function ru(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?iu=Reflect.get:iu=function(r,i,u){var c=w8(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},iu(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function b8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function m8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function g8(){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 O8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:p8(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function w8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function $8(e){return s8(e)||m8(e)||E8(e)||g8()}function P8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(e,t){if(!!e){if(typeof e=="string")return ps(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ps(e,t)}}function KO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KO=function(){return!!e})()}var uu=function(e){b8(t,e);function t(n){v8(this,t);var o;return o=d8(this,t,[n]),ru(o,"props",void 0),o.props=new ou(n==null?void 0:n.props),o}return h8(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new ka});(i=this.props.explain).push.apply(i,$8(c))}}iu(Ge(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(x);ru(uu,"controlEventKeys",["on_change","on_click"]),ru(uu,"controlFieldType",b.DECIMAL),ru(uu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.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 S8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T8(e,t,n){return t=cu(t),A8(e,XO()?Reflect.construct(t,n||[],cu(e).constructor):t.apply(e,n))}function R8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B8(e,t,n){return t&&GO(e.prototype,t),n&&GO(e,n),e}function CO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(e)}function I8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function A8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:S8(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(e,t)}function k8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XO=function(){return!!e})()}var D8=function(e){I8(t,e);function t(n){R8(this,t);var o;return o=T8(this,t,[n]),CO(o,"props",void 0),o.props=new ou(n==null?void 0:n.props),o}return B8(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(j);CO(D8,"controlFieldType",b.DECIMAL);function x8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QO(e,t,n){return t=fu(t),j8(e,YO()?Reflect.construct(t,n||[],fu(e).constructor):t.apply(e,n))}function JO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function ZO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function j8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:x8(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YO=function(){return!!e})()}var L8=function(e){ZO(t,e);function t(n){JO(this,t);var o;if(o=QO(this,t,[n]),o[0].type="object",n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return t}(N),bs=function(e){ZO(t,e);function t(n){JO(this,t);var o;o=QO(this,t,[n]),lu(o,"defaultValueType",void 0),lu(o,"defaultValue",void 0),lu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Os.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new RA((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9\u5730\u5740",o}return t}(D);lu(bs,"RuntimeRules",L8);function M8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N8(e,t,n){return t=au(t),q8(e,ew()?Reflect.construct(t,n||[],au(e).constructor):t.apply(e,n))}function V8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z8(e,t,n){return t&&tw(e.prototype,t),n&&tw(e,n),e}function ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:M8(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function U8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var Os=function(e){H8(t,e);function t(n){V8(this,t);var o;return o=N8(this,t,[n]),ms(o,"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return z8(t,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(x);ms(Os,"controlFieldType",b.ADDRESS),ms(Os,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function W8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(e,t,n){return t=_u(t),Q8(e,rw()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function C8(e,t,n){return t&&nw(e.prototype,t),n&&nw(e,n),e}function ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function X8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function Q8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:W8(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function J8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rw=function(){return!!e})()}var Z8=function(e){X8(t,e);function t(n){G8(this,t);var o;return o=K8(this,t,[n]),ow(o,"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return C8(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(j);ow(Z8,"controlFieldType",b.ADDRESS);function Y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iw(e,t,n){return t=yu(t),t4(e,lw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function uw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function cw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t4(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:Y8(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lw=function(){return!!e})()}var n4=function(e){cw(t,e);function t(n){uw(this,t);var o;return o=iw(this,t,[n]),o[0].type="array",o}return t}(N),Ps=function(e){cw(t,e);function t(n){uw(this,t);var o;o=iw(this,t,[n]),Bt(o,"showType",void 0),Bt(o,"range",void 0),Bt(o,"defaultValueType",void 0),Bt(o,"multiple",void 0),Bt(o,"rangeOptions",void 0),Bt(o,"defaultValue",void 0),Bt(o,"displayLevel",void 0),Bt(o,"showSubDept",void 0),Bt(o,"multistageFilling",void 0),Bt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;o.displayLevel=(a=n==null?void 0:n.displayLevel)!==null&&a!==void 0?a:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:du.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(g))})),o}return t}(D);Bt(Ps,"RuntimeRules",n4);function o4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r4(e,t,n){return t=Ce(t),l4(e,aw()?Reflect.construct(t,n||[],Ce(e).constructor):t.apply(e,n))}function i4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u4(e,t,n){return t&&fw(e.prototype,t),n&&fw(e,n),e}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pu=Reflect.get:pu=function(r,i,u){var c=f4(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},pu(e,t,n||e)}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(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&&Es(e,t)}function l4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:o4(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function f4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ce(e),e!==null););return e}function a4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aw=function(){return!!e})()}var du=function(e){c4(t,e);function t(n){i4(this,t);var o;return o=r4(this,t,[n]),su(o,"props",void 0),o.props=new Ps(n==null?void 0:n.props),o}return u4(t,[{key:"toDataBindModel",value:function(o){var r=pu(Ce(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(x);su(du,"controlName","\u90E8\u95E8"),su(du,"controlFieldType",b.DEPARTMENTS),su(du,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t,n){return t=vu(t),v4(e,sw()?Reflect.construct(t,n||[],vu(e).constructor):t.apply(e,n))}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p4(e,t,n){return t&&_w(e.prototype,t),n&&_w(e,n),e}function yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:_4(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sw=function(){return!!e})()}var b4=function(e){d4(t,e);function t(n){s4(this,t);var o;return o=y4(this,t,[n]),yw(o,"props",void 0),o.props=new Ps(n==null?void 0:n.props),o}return p4(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(j);yw(b4,"controlFieldType",b.DEPARTMENTS);function m4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g4(e,t,n){return t=hu(t),P4(e,pw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function O4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(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&&Ts(e,t)}function P4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:m4(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ts(e,t)}function E4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pw=function(){return!!e})()}var dw=function(e){$4(t,e);function t(n){O4(this,t);var o;o=g4(this,t,[n]),w4(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return t}(D);function S4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T4(e,t,n){return t=mu(t),A4(e,hw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function R4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B4(e,t,n){return t&&vw(e.prototype,t),n&&vw(e,n),e}function bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function I4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function A4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:S4(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function k4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hw=function(){return!!e})()}var gu=function(e){I4(t,e);function t(n){R4(this,t);var o;return o=T4(this,t,[n]),bu(o,"props",void 0),o.props=new dw(n==null?void 0:n.props),o}return B4(t,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(x);bu(gu,"controlEventKeys",["on_change"]),bu(gu,"controlFieldType",b.AUTO_NUMBER),bu(gu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function D4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x4(e,t,n){return t=Ou(t),M4(e,gw()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function j4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F4(e,t,n){return t&&bw(e.prototype,t),n&&bw(e,n),e}function mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(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&&Bs(e,t)}function M4(e,t){return t&&(N4(t)==="object"||typeof t=="function")?t:D4(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function N4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gw=function(){return!!e})()}var V4=function(e){L4(t,e);function t(n){j4(this,t);var o;return o=x4(this,t,[n]),mw(o,"props",void 0),o.props=new dw(n==null?void 0:n.props),o}return F4(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(j);mw(V4,"controlFieldType",b.AUTO_NUMBER);function z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t,n){return t=wu(t),H4(e,Ow()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function As(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(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&&Ds(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:z4(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(e,t)}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ow=function(){return!!e})()}var U4=function(e){ks(t,e);function t(n){As(this,t);var o;return o=Is(this,t,[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 t}(tt),W4=function(e){ks(t,e);function t(n){As(this,t);var o;return o=Is(this,t,[n]),o[0].type="object",o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return t}(N),$u=function(e){ks(t,e);function t(n){As(this,t);var o;o=Is(this,t,[n]),Qt(o,"precision",void 0),Qt(o,"micrometer",void 0),Qt(o,"showUpperCase",void 0),Qt(o,"scriptSrc",void 0),Qt(o,"scriptEcho",void 0),Qt(o,"dataBind",void 0),Qt(o,"defaultValue",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new BA(n==null?void 0:n.dataBind),o.defaultValue=new IA(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Su.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var a;return o.scriptSrc=(a=n==null?void 0:n.scriptSrc)!==null&&a!==void 0?a:"",o}return t}(D);Qt($u,"Rules",U4),Qt($u,"RuntimeRules",W4);function K4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G4(e,t,n){return t=Xe(t),J4(e,$w()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X4(e,t,n){return t&&ww(e.prototype,t),n&&ww(e,n),e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var c=Z4(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Eu(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:K4(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(e,t)}function Z4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($w=function(){return!!e})()}var Su=function(e){Q4(t,e);function t(n){C4(this,t);var o;return o=G4(this,t,[n]),Pu(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return X4(t,[{key:"toDataBindModel",value:function(o){var r=Eu(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(x);Pu(Su,"controlEventKeys",["on_change"]),Pu(Su,"controlFieldType",b.CALC),Pu(Su,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e9(e,t,n){return t=Tu(t),i9(e,Sw()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o9(e,t,n){return t&&Pw(e.prototype,t),n&&Pw(e,n),e}function Ew(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:t9(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function u9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sw=function(){return!!e})()}var c9=function(e){r9(t,e);function t(n){n9(this,t);var o;return o=e9(this,t,[n]),Ew(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return o9(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(j);Ew(c9,"controlFieldType",b.CALC);function l9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tw(e,t,n){return t=Ru(t),f9(e,Iw()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function Rw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&Fs(e,t)}function f9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:l9(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(e,t)}function a9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iw=function(){return!!e})()}var _9=function(e){Bw(t,e);function t(n){Rw(this,t);var o;return o=Tw(this,t,[n]),o[0].type="array",o.push({validator:function(i,u){if(n.required){var c=u.every(function(f){return!f});return c?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return t}(N),Ls=function(e){Bw(t,e);function t(n){Rw(this,t);var o;o=Tw(this,t,[n]),Qe(o,"rangeMin",void 0),Qe(o,"rangeMax",void 0),Qe(o,"placeholderStart",void 0),Qe(o,"placeholderEnd",void 0),Qe(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];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.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var f;o.placeholderEnd=(f=n==null?void 0:n.placeholderEnd)!==null&&f!==void 0?f:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vs.controlName,o}return t}(D);Qe(Ls,"RuntimeRules",_9);function y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t,n){return t=Bu(t),h9(e,kw()?Reflect.construct(t,n||[],Bu(e).constructor):t.apply(e,n))}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d9(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(e,n),e}function Ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(e)}function v9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:y9(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function b9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kw=function(){return!!e})()}var Vs=function(e){v9(t,e);function t(n){p9(this,t);var o;return o=s9(this,t,[n]),Ms(o,"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return d9(t,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);Ms(Vs,"controlFieldType",b.DECIMAL_RANGE),Ms(Vs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function m9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t,n){return t=Iu(t),P9(e,jw()?Reflect.construct(t,n||[],Iu(e).constructor):t.apply(e,n))}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w9(e,t,n){return t&&Dw(e.prototype,t),n&&Dw(e,n),e}function xw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(e)}function $9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:m9(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jw=function(){return!!e})()}var S9=function(e){$9(t,e);function t(n){O9(this,t);var o;return o=g9(this,t,[n]),xw(o,"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return w9(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(j);xw(S9,"controlFieldType",b.DECIMAL_RANGE);function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fw(e,t,n){return t=Au(t),R9(e,Nw()?Reflect.construct(t,n||[],Au(e).constructor):t.apply(e,n))}function Lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(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&&Hs(e,t)}function R9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:T9(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nw=function(){return!!e})()}var I9=function(e){Mw(t,e);function t(n){Lw(this,t);var o;return o=Fw(this,t,[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 t}(N),qs=function(e){Mw(t,e);function t(n){Lw(this,t);var o,r;o=Fw(this,t,[n]),It(o,"rangeMin",void 0),It(o,"rangeMax",void 0),It(o,"placeholderStart",void 0),It(o,"placeholderEnd",void 0),It(o,"dateType",void 0),It(o,"dateFormat",void 0),It(o,"commonTimeSetting",void 0),It(o,"setValueType",void 0),It(o,"defaultValue",void 0),It(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:xe.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u5F00\u59CB\u65E5\u671F";var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ks.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function($){return new Aa($)}))!==null&&g!==void 0?g:[],o}return t}(D);It(qs,"RuntimeRules",I9);function A9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t,n){return t=ku(t),F9(e,zw()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function D9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x9(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),e}function Us(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(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&&Ws(e,t)}function F9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:A9(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(e,t)}function L9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zw=function(){return!!e})()}var Ks=function(e){j9(t,e);function t(n){D9(this,t);var o;return o=k9(this,t,[n]),Us(o,"props",void 0),o.props=new qs(n==null?void 0:n.props),o}return x9(t,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);Us(Ks,"controlFieldType",b.ARRAY),Us(Ks,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function M9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t,n){return t=Du(t),q9(e,Uw()?Reflect.construct(t,n||[],Du(e).constructor):t.apply(e,n))}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z9(e,t,n){return t&&Hw(e.prototype,t),n&&Hw(e,n),e}function qw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(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&&Gs(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:M9(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function U9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Uw=function(){return!!e})()}var W9=function(e){H9(t,e);function t(n){V9(this,t);var o;return o=N9(this,t,[n]),qw(o,"props",void 0),o.props=new qs(n==null?void 0:n.props),o}return z9(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(j);qw(W9,"controlFieldType",b.ARRAY);function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t,n){return t=xu(t),G9(e,Ww()?Reflect.construct(t,n||[],xu(e).constructor):t.apply(e,n))}function Xs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xu(e)}function Qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function G9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:K9(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var X9=function(e){Qs(t,e);function t(n){Xs(this,t);var o;return o=Cs(this,t,[n]),o.dataBind={type:"any"},o}return t}(tt),Q9=function(e){Qs(t,e);function t(n){Xs(this,t);var o;return o=Cs(this,t,[n]),o[0].type="any",o}return t}(N),ju=function(e){Qs(t,e);function t(n){Xs(this,t);var o;o=Cs(this,t,[n]),Je(o,"controlExportName",void 0),Je(o,"permissions",void 0),Je(o,"defaultValue",void 0),Je(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return t}(D);Je(ju,"Rules",X9),Je(ju,"RuntimeRules",Q9);function J9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t,n){return t=Lu(t),nV(e,Gw()?Reflect.construct(t,n||[],Lu(e).constructor):t.apply(e,n))}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tV(e,t,n){return t&&Kw(e.prototype,t),n&&Kw(e,n),e}function Fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function nV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:J9(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function oV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gw=function(){return!!e})()}var Mu=function(e){eV(t,e);function t(n){Y9(this,t);var o;return o=Z9(this,t,[n]),Fu(o,"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return tV(t,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);Fu(Mu,"controlFieldType",b.ANY),Fu(Mu,"controlEventKeys",[]),Fu(Mu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);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,n){return t=Nu(t),fV(e,Qw()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function uV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cV(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(e,n),e}function Xw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function lV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function fV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:rV(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qw=function(){return!!e})()}var _V=function(e){lV(t,e);function t(n){uV(this,t);var o;return o=iV(this,t,[n]),Xw(o,"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return cV(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(j);Xw(_V,"controlFieldType",b.ANY);function yV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jw(e,t,n){return t=Vu(t),sV(e,t$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function Zw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(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&&tp(e,t)}function sV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:yV(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t$=function(){return!!e})()}var dV=function(e){Yw(t,e);function t(n){Zw(this,t);var o;return o=Jw(this,t,[n]),gt(o,"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),o}return t}(Me),ep=function(e){Yw(t,e);function t(n){Zw(this,t);var o;o=Jw(this,t,[n]),gt(o,"options",void 0),gt(o,"optionConfig",void 0),gt(o,"defaultValue",void 0),gt(o,"listPageBind",void 0),gt(o,"datasourceBind",void 0),gt(o,"multistageFilling",void 0),gt(o,"viewFormModelType",void 0),gt(o,"canViewForm",void 0),gt(o,"openMultistageFilling",void 0),gt(o,"showSelectedDetail",void 0),gt(o,"selectedContentConfig",void 0);var r;o.options=zt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new Af(n==null?void 0:n.listPageBind),o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:qu.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var a;o.showSelectedDetail=(a=n==null?void 0:n.showSelectedDetail)!==null&&a!==void 0?a:!1,o.selectedContentConfig=new jf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new yt(m))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o}return t}(D);gt(ep,"Rules",dV);function vV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hV(e,t,n){return t=Hu(t),OV(e,n$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function bV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mV(e,t,n){return t&&e$(e.prototype,t),n&&e$(e,n),e}function zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function gV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function OV(e,t){return t&&(wV(t)==="object"||typeof t=="function")?t:vV(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function wV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n$=function(){return!!e})()}var qu=function(e){gV(t,e);function t(n){bV(this,t);var o;return o=hV(this,t,[n]),zu(o,"props",void 0),o.props=new ep(n==null?void 0:n.props),o}return mV(t,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(x);zu(qu,"controlFieldType",b.VARCHAR),zu(qu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE,_.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),zu(qu,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function $V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t,n){return t=Uu(t),RV(e,i$()?Reflect.construct(t,n||[],Uu(e).constructor):t.apply(e,n))}function EV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SV(e,t,n){return t&&o$(e.prototype,t),n&&o$(e,n),e}function r$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(e)}function TV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function RV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:$V(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function BV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var IV=function(e){TV(t,e);function t(n){EV(this,t);var o;return o=PV(this,t,[n]),r$(o,"props",void 0),o.props=new ep(n==null?void 0:n.props),o}return SV(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(j);r$(IV,"controlFieldType",b.VARCHAR);function AV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kV(e,t,n){return t=Wu(t),jV(e,u$()?Reflect.construct(t,n||[],Wu(e).constructor):t.apply(e,n))}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(e)}function xV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function jV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:AV(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function FV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u$=function(){return!!e})()}var c$=function(e){xV(t,e);function t(n){return DV(this,t),kV(this,t,[n])}return t}(to);function LV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MV(e,t,n){return t=Ku(t),HV(e,a$()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VV(e,t,n){return t&&l$(e.prototype,t),n&&l$(e,n),e}function f$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(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&&ip(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:LV(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ip(e,t)}function qV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var UV=function(e){zV(t,e);function t(n){NV(this,t);var o;return o=MV(this,t,[n]),f$(o,"props",void 0),o.props=new c$(n==null?void 0:n.props),o}return VV(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),t}(eo);f$(UV,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function WV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t,n){return t=Gu(t),QV(e,s$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function GV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CV(e,t,n){return t&&_$(e.prototype,t),n&&_$(e,n),e}function y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(e)}function XV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:WV(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s$=function(){return!!e})()}var ZV=function(e){XV(t,e);function t(n){GV(this,t);var o;return o=KV(this,t,[n]),y$(o,"props",void 0),o.props=new c$(n==null?void 0:n.props),o}return CV(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(j);y$(ZV,"controlFieldType",b.VARCHAR);function YV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t,n){return t=Cu(t),tz(e,p$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(e)}function fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function tz(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:YV(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var nz=function(e){fp(t,e);function t(n){lp(this,t);var o;return o=cp(this,t,[n]),H(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),$o.call(o,n,we.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return t}(tt),oz=function(e){fp(t,e);function t(n){lp(this,t);var o;return o=cp(this,t,[n]),o[0].type="array",o}return t}(N),Xu=function(e){fp(t,e);function t(n){lp(this,t);var o,r;o=cp(this,t,[n]),H(o,"placeholder",void 0),H(o,"multiple",void 0),H(o,"canSearch",void 0),H(o,"levelType",void 0),H(o,"optionalLevel",void 0),H(o,"containsSubNode",void 0),H(o,"defaultDisplay",void 0),H(o,"isShowIncludeSub",void 0),H(o,"isDefaultCheckSub",void 0),H(o,"isShowFilterItem",void 0),H(o,"defaultCollapse",void 0),H(o,"defaultCollapseLevel",void 0),H(o,"optionConfig","datasource"),H(o,"datasourceBind",void 0),H(o,"filterItemDatasourceBind",void 0),H(o,"multistageFilling",void 0),H(o,"defaultValue",void 0),H(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:we.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.canSearch=(f=n==null?void 0:n.canSearch)!==null&&f!==void 0?f:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var a;o.optionalLevel=(a=n==null?void 0:n.optionalLevel)!==null&&a!==void 0?a:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var m;o.isShowIncludeSub=(m=n==null?void 0:n.isShowIncludeSub)!==null&&m!==void 0?m:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var $;o.defaultCollapseLevel=($=n==null?void 0:n.defaultCollapseLevel)!==null&&$!==void 0?$:1;var h;o.datasourceBind=new Vh((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:we.controlCustomAttributes});var w;o.filterItemDatasourceBind=new Vh((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:we.controlCustomAttributes});var B;o.openMultistageFilling=(B=n==null?void 0:n.openMultistageFilling)!==null&&B!==void 0?B:!1;var P;o.defaultDisplay=(P=n==null?void 0:n.defaultDisplay)!==null&&P!==void 0?P:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new yt(A)}))!==null&&T!==void 0?T:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return t}(D);H(Xu,"Rules",nz),H(Xu,"RuntimeRules",oz);function rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iz(e,t,n){return t=Ju(t),fz(e,v$()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cz(e,t,n){return t&&d$(e.prototype,t),n&&d$(e,n),e}function Qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fz(e,t){return t&&(az(t)==="object"||typeof t=="function")?t:rz(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(e,t)}function az(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v$=function(){return!!e})()}var we=function(e){lz(t,e);function t(n){uz(this,t);var o;return o=iz(this,t,[n]),Qu(o,"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return cz(t,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}]}}]),t}(x);Qu(we,"controlEventKeys",["on_change","on_click"]),Qu(we,"controlFieldType",b.ARRAY),Qu(we,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.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 _z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yz(e,t,n){return t=Zu(t),vz(e,m$()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pz(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function b$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(e)}function dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:_z(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m$=function(){return!!e})()}var bz=function(e){dz(t,e);function t(n){sz(this,t);var o;return o=yz(this,t,[n]),b$(o,"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return pz(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(j);b$(bz,"controlFieldType",b.ARRAY);function mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sp(e,t,n){return t=Yu(t),gz(e,g$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function pp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(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&&vp(e,t)}function gz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:mz(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(e,t)}function Oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g$=function(){return!!e})()}var wz=function(e){dp(t,e);function t(n){pp(this,t);var o;return o=sp(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Q(o,"externalScope",{type:"any"}),$o.call(o,n,oo.controlCustomAttributes),n.externalType===ze.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return t}(tt),$z=function(e){dp(t,e);function t(n){pp(this,t);var o;return o=sp(this,t,[n]),o[0].type="array",o}return t}(N),tc=function(e){dp(t,e);function t(n){pp(this,t);var o;o=sp(this,t,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"rangeOptions",void 0),Q(o,"multiple",void 0),Q(o,"defaultValueType",void 0),Q(o,"defaultValue",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"insideType",void 0),Q(o,"externalType",void 0),Q(o,"externalScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:oo.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;o.datasourceBind=new mo((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:oo.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:RD.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:BD.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:ze.ALL;var $;o.externalScope=($=n==null?void 0:n.externalScope)!==null&&$!==void 0?$:[];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 B;(B=o.multistageFilling)===null||B===void 0||B.push(new yt(w))})),o}return t}(D);Q(tc,"Rules",wz),Q(tc,"RuntimeRules",$z);function Pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t,n){return t=ec(t),Bz(e,w$()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function Sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Tz(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function hp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function Rz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function Bz(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:Pz(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w$=function(){return!!e})()}var oo=function(e){Rz(t,e);function t(n){Sz(this,t);var o;return o=Ez(this,t,[n]),hp(o,"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return Tz(t,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}]}}]),t}(x);hp(oo,"controlFieldType",b.EMPLOYEES),hp(oo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.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 Az(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(e,t,n){return t=nc(t),Fz(e,E$()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xz(e,t,n){return t&&$$(e.prototype,t),n&&$$(e,n),e}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(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&&mp(e,t)}function Fz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:Az(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function Lz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E$=function(){return!!e})()}var Mz=function(e){jz(t,e);function t(n){Dz(this,t);var o;return o=kz(this,t,[n]),P$(o,"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return xz(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(j);P$(Mz,"controlFieldType",b.EMPLOYEES);function Nz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S$(e,t,n){return t=oc(t),Vz(e,B$()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function T$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(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&&gp(e,t)}function Vz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:Nz(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B$=function(){return!!e})()}var Hz=function(e){R$(t,e);function t(n){T$(this,t);var o;return o=S$(this,t,[n]),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(r,i,u){return r[u]={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(f,l,a){if(i.type==="public"&&Pf(l.value)&&l.value.length===0){a("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}a()}},company:{type:"object",required:!0,validator:function(f,l,a){if(i.type==="public"&&i.signatureType.includes("company")&&Pf(l.value)&&l.value.length===0){a("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}a()}}}},r},{})}}},o}return t}(tt),Op=function(e){R$(t,e);function t(n){T$(this,t);var o;o=S$(this,t,[n]),Ft(o,"buttonType",void 0),Ft(o,"content",void 0),Ft(o,"showType",void 0),Ft(o,"color",void 0),Ft(o,"icon",void 0),Ft(o,"command",""),Ft(o,"isLoading",!1),Ft(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:uc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";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 f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new PD(n==null?void 0:n.signatureConfig),o}return t}(D);Ft(Op,"Rules",Hz);function qz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uz(e,t,n){return t=ic(t),Cz(e,A$()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function Wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Kz(e,t,n){return t&&I$(e.prototype,t),n&&I$(e,n),e}function rc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function Gz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:qz(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function Xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A$=function(){return!!e})()}var uc=function(e){Gz(t,e);function t(n){Wz(this,t);var o;return o=Uz(this,t,[n]),rc(o,"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return Kz(t,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);rc(uc,"controlEventKeys",["on_click","on_click_finish"]),rc(uc,"controlFieldType",b.VARCHAR),rc(uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.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 Qz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jz(e,t,n){return t=cc(t),eH(e,x$()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yz(e,t,n){return t&&k$(e.prototype,t),n&&k$(e,n),e}function D$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(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&&$p(e,t)}function eH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:Qz(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x$=function(){return!!e})()}var oH=function(e){tH(t,e);function t(n){Zz(this,t);var o;return o=Jz(this,t,[n]),D$(o,"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return Yz(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(j);D$(oH,"controlFieldType",b.VARCHAR);function rH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pp(e,t,n){return t=lc(t),iH(e,j$()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(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&&Tp(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:rH(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(j$=function(){return!!e})()}var cH=function(e){Sp(t,e);function t(n){Ep(this,t);var o;return o=Pp(this,t,[n]),J(o,"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),J(o,"canAdd",void 0),J(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(p.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return t}(tt),lH=function(e){Sp(t,e);function t(n){Ep(this,t);var o;return o=Pp(this,t,[n]),o[0].type="array",o}return t}(N),fc=function(e){Sp(t,e);function t(n){Ep(this,t);var o;o=Pp(this,t,[n]),J(o,"content",void 0),J(o,"canAdd",void 0),J(o,"addLocal",void 0),J(o,"addOnline",void 0),J(o,"canDownload",void 0),J(o,"canEdit",void 0),J(o,"canExport",void 0),J(o,"canDelete",void 0),J(o,"wpsSetting",void 0),J(o,"maxSize",void 0),J(o,"defaultValue",void 0),J(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:yc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var f;o.addOnline=(f=n==null?void 0:n.addOnline)!==null&&f!==void 0?f:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var a;o.canDownload=(a=n==null?void 0:n.canDownload)!==null&&a!==void 0?a:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var m;o.maxSize=(m=n==null?void 0:n.maxSize)!==null&&m!==void 0?m:_7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new ED(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return t}(D);J(fc,"Rules",cH),J(fc,"RuntimeRules",lH);function fH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(e,t,n){return t=_c(t),pH(e,L$()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function _H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yH(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:fH(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function dH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(L$=function(){return!!e})()}var yc=function(e){sH(t,e);function t(n){_H(this,t);var o;return o=aH(this,t,[n]),ac(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return yH(t,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(x);ac(yc,"controlEventKeys",["on_change","on_wps_open"]),ac(yc,"controlFieldType",b.FILE),ac(yc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.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 vH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t,n){return t=sc(t),OH(e,V$()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mH(e,t,n){return t&&M$(e.prototype,t),n&&M$(e,n),e}function N$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function OH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:vH(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function wH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(V$=function(){return!!e})()}var $H=function(e){gH(t,e);function t(n){bH(this,t);var o;return o=hH(this,t,[n]),N$(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return mH(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(j);N$($H,"controlFieldType",b.FILE);function PH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t,n){return t=pc(t),EH(e,z$()?Reflect.construct(t,n||[],pc(e).constructor):t.apply(e,n))}function Ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function kp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function EH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:PH(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z$=function(){return!!e})()}var TH=function(e){kp(t,e);function t(n){Ap(this,t);var o;return o=Ip(this,t,[n]),C(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),$o.call(o,n,Ye.controlCustomAttributes),n.businessType===ze.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return t}(tt),RH=function(e){kp(t,e);function t(n){Ap(this,t);var o;return o=Ip(this,t,[n]),o[0].type="array",o}return t}(N),dc=function(e){kp(t,e);function t(n){Ap(this,t);var o;o=Ip(this,t,[n]),C(o,"showType",void 0),C(o,"range",void 0),C(o,"defaultValueType",void 0),C(o,"multiple",void 0),C(o,"rangeOptions",void 0),C(o,"defaultValue",void 0),C(o,"displayLevel",void 0),C(o,"showSubDept",void 0),C(o,"multistageFilling",void 0),C(o,"datasourceBind",void 0),C(o,"datasourceType",void 0),C(o,"businessType",void 0),C(o,"businessScope",void 0),C(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;o.displayLevel=(a=n==null?void 0:n.displayLevel)!==null&&a!==void 0?a:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ye.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new mo((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:Ye.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:Yb.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:ze.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(B){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new yt(B))})),o}return t}(D);C(dc,"Rules",TH),C(dc,"RuntimeRules",RH);function BH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IH(e,t,n){return t=Ze(t),xH(e,q$()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function AH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kH(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function vc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?hc=Reflect.get:hc=function(r,i,u){var c=jH(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},hc(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function DH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:BH(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function jH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function FH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q$=function(){return!!e})()}var Ye=function(e){DH(t,e);function t(n){AH(this,t);var o;return o=IH(this,t,[n]),vc(o,"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return kH(t,[{key:"toDataBindModel",value:function(o){var r=hc(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),t}(x);vc(Ye,"controlName","\u90E8\u95E8"),vc(Ye,"controlFieldType",b.DEPARTMENTS),vc(Ye,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 LH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MH(e,t,n){return t=bc(t),HH(e,K$()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VH(e,t,n){return t&&U$(e.prototype,t),n&&U$(e,n),e}function W$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function zH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:LH(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K$=function(){return!!e})()}var UH=function(e){zH(t,e);function t(n){NH(this,t);var o;return o=MH(this,t,[n]),W$(o,"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return VH(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(j);W$(UH,"controlFieldType",b.DEPARTMENTS);function WH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fp(e,t,n){return t=mc(t),KH(e,G$()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function Lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function Mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function KH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:WH(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function GH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G$=function(){return!!e})()}var CH=function(e){Mp(t,e);function t(n){Lp(this,t);var o;return o=Fp(this,t,[n]),V(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),V(o,"businessScope",{type:"any"}),$o.call(o,n,en.controlCustomAttributes),n.businessType===ze.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return t}(tt),XH=function(e){Mp(t,e);function t(n){Lp(this,t);var o;return o=Fp(this,t,[n]),o[0].type="array",o}return t}(N),gc=function(e){Mp(t,e);function t(n){Lp(this,t);var o;o=Fp(this,t,[n]),V(o,"showType",void 0),V(o,"range",void 0),V(o,"defaultValueType",void 0),V(o,"multiple",void 0),V(o,"rangeOptions",void 0),V(o,"defaultValue",void 0),V(o,"displayLevel",void 0),V(o,"showSubDept",void 0),V(o,"multistageFilling",void 0),V(o,"datasourceBind",void 0),V(o,"listPageBind",void 0),V(o,"datasourceType",void 0),V(o,"businessType",void 0),V(o,"businessScope",void 0),V(o,"organizingFunction",void 0),V(o,"organizationView",void 0),V(o,"openMultistageFilling",void 0),V(o,"showSelectedDetail",void 0),V(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new Af(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var a;o.displayLevel=(a=n==null?void 0:n.displayLevel)!==null&&a!==void 0?a:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:en.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new wA((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:en.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:Yb.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:ze.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var B;o.organizationView=(B=n==null?void 0:n.organizationView)!==null&&B!==void 0?B:void 0;var P;o.showSelectedDetail=(P=n==null?void 0:n.showSelectedDetail)!==null&&P!==void 0?P:!1,o.selectedContentConfig=new jf(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(z){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new yt(z))})),o}return t}(D);V(gc,"Rules",CH),V(gc,"RuntimeRules",XH);function QH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JH(e,t,n){return t=tn(t),eq(e,X$()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function ZH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YH(e,t,n){return t&&C$(e.prototype,t),n&&C$(e,n),e}function Oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wc=Reflect.get:wc=function(r,i,u){var c=nq(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},wc(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function tq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eq(e,t){return t&&(oq(t)==="object"||typeof t=="function")?t:QH(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function nq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var en=function(e){tq(t,e);function t(n){ZH(this,t);var o;return o=JH(this,t,[n]),Oc(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return YH(t,[{key:"toDataBindModel",value:function(o){var r=wc(tn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),t}(x);Oc(en,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Oc(en,"controlFieldType",b.DEPARTMENTS),Oc(en,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.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:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.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 rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iq(e,t,n){return t=$c(t),fq(e,Z$()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cq(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function J$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function lq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function fq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:rq(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Z$=function(){return!!e})()}var _q=function(e){lq(t,e);function t(n){uq(this,t);var o;return o=iq(this,t,[n]),J$(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return cq(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(j);J$(_q,"controlFieldType",b.DEPARTMENTS);function yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t,n){return t=Pc(t),bq(e,tP()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dq(e,t,n){return t&&Y$(e.prototype,t),n&&Y$(e,n),e}function vq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(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&&Hp(e,t)}function bq(e,t){return t&&(mq(t)==="object"||typeof t=="function")?t:yq(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tP=function(){return!!e})()}var gq=function(e){hq(t,e);function t(n){return pq(this,t),sq(this,t,[n])}return dq(t,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(at);vq(gq,"excludes",[s.GRID]);function Oq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wq(e,t,n){return t=Ec(t),Eq(e,nP()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(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&&qp(e,t)}function Eq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:Oq(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function Sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nP=function(){return!!e})()}var Tq=24,ro=function(e){Pq(t,e);function t(n){$q(this,t);var o;o=wq(this,t,[n]),eP(o,"span",void 0),eP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:Tq;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(ft);function Rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bq(e,t,n){return t=Sc(t),Dq(e,rP()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function Iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Aq(e,t,n){return t&&oP(e.prototype,t),n&&oP(e,n),e}function Up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(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&&Wp(e,t)}function Dq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Rq(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var io=function(e){kq(t,e);function t(n){Iq(this,t);var o;return o=Bq(this,t,[n]),Up(o,"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return Aq(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(at);Up(io,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.DIVIDER]),Up(io,"childrenMaxLength",1);function jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fq(e,t,n){return t=Tc(t),zq(e,uP()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Mq(e,t,n){return t&&iP(e.prototype,t),n&&iP(e,n),e}function Nq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function Vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:jq(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(e,t)}function Hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var qq=function(e){Vq(t,e);function t(n){Lq(this,t);var o;return o=Fq(this,t,[n]),Nq(o,"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return Mq(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(me),cP={Designer:io,Runtime:qq,Property:ro};function Uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t,n){return t=Rc(t),Cq(e,fP()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function Kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function Gq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Uq(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var Cp=function(e){Gq(t,e);function t(n){Kq(this,t);var o;o=Wq(this,t,[n]),lP(o,"layoutMode",void 0),lP(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(ft);function Qq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jq(e,t,n){return t=Bc(t),eU(e,_P()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yq(e,t,n){return t&&aP(e.prototype,t),n&&aP(e,n),e}function Xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Qq(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_P=function(){return!!e})()}var Jp=function(e){tU(t,e);function t(n){Zq(this,t);var o;return o=Jq(this,t,[n]),Xp(o,"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return Yq(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(at);Xp(Jp,"excludes",[s.ROW]),Xp(Jp,"setting",[{key:"col-setting",visible:!0}]);function oU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t,n){return t=Ic(t),fU(e,sP()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uU(e,t,n){return t&&yP(e.prototype,t),n&&yP(e,n),e}function cU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function lU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:oU(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function aU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sP=function(){return!!e})()}var _U=function(e){lU(t,e);function t(n){iU(this,t);var o;return o=rU(this,t,[n]),cU(o,"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return uU(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(me);function yU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sU(e,t,n){return t=Ac(t),hU(e,dP()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function pU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dU(e,t,n){return t&&pP(e.prototype,t),n&&pP(e,n),e}function Yp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:yU(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function bU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dP=function(){return!!e})()}var mU=4,kc=function(e){vU(t,e);function t(n){return pU(this,t),sU(this,t,[n])}return dU(t,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"}}]),t}(Jp);Yp(kc,"excludes",[s.GRID_ROW]),Yp(kc,"setting",[]),Yp(kc,"childrenMaxLength",mU);function gU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OU(e,t,n){return t=Dc(t),EU(e,hP()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function wU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $U(e,t,n){return t&&vP(e.prototype,t),n&&vP(e,n),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function PU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:gU(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function SU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hP=function(){return!!e})()}var TU=function(e){PU(t,e);function t(n){return wU(this,t),OU(this,t,[n])}return $U(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(_U);function RU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BU(e,t,n){return t=xc(t),kU(e,bP()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function AU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:RU(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bP=function(){return!!e})()}var xU=function(e){AU(t,e);function t(n){return IU(this,t),BU(this,t,[n])}return t}(Cp),jU={Designer:kc,Runtime:TU,Property:xU};function FU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mP(e,t,n){return t=Fc(t),LU(e,wP()?Reflect.construct(t,n||[],Fc(e).constructor):t.apply(e,n))}function gP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(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&&od(e,t)}function LU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:FU(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wP=function(){return!!e})()}var NU=function(e){OP(t,e);function t(){gP(this,t);var n;return n=mP(this,t,arguments),jc(n,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return t}(ft.Rules),$P=function(e){OP(t,e);function t(n){gP(this,t);var o;o=mP(this,t,[n]),jc(o,"caption",void 0),jc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return t}(ft);jc($P,"Rules",NU);function VU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(e,t,n){return t=Lc(t),WU(e,EP()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function HU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qU(e,t,n){return t&&PP(e.prototype,t),n&&PP(e,n),e}function rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:VU(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EP=function(){return!!e})()}var SP=function(e){UU(t,e);function t(n){HU(this,t);var o;return o=zU(this,t,[n]),rd(o,"props",void 0),o.props=new $P(n==null?void 0:n.props),o}return qU(t,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(at);rd(SP,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),rd(SP,"excludes",[s.CARD_GROUP]);function GU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TP(e,t,n){return t=Mc(t),CU(e,IP()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}function RP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function BP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function CU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:GU(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var QU=function(e){BP(t,e);function t(n){RP(this,t);var o;return o=TP(this,t,[n]),Lt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Lt(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),Lt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(q),Nc=function(e){BP(t,e);function t(n){RP(this,t);var o;o=TP(this,t,[n]),Lt(o,"metaAutoWidth",void 0),Lt(o,"caption",void 0),Lt(o,"fixed",void 0),Lt(o,"isShowCaptionTip",void 0),Lt(o,"captionTip",void 0),Lt(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var f;return o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,o.metaAutoWidth=new Fh(n==null?void 0:n.metaAutoWidth),o}return t}(ft);Lt(Nc,"Rules",QU);function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t,n){return t=Vc(t),eW(e,AP()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function YU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function tW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function eW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:JU(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function nW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AP=function(){return!!e})()}var At=function(e){tW(t,e);function t(n){YU(this,t);var o;return o=ZU(this,t,[n]),$e(o,"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return t}(at);$e(At,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),$e(At,"controlType","subtable-column"),$e(At,"controlIcon","subtable-column"),$e(At,"childrenMaxLength",1),$e(At,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),$e(At,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function oW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t,n){return t=zc(t),cW(e,DP()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function iW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(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&&ld(e,t)}function cW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:oW(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function lW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DP=function(){return!!e})()}var xP=function(e){uW(t,e);function t(n){iW(this,t);var o;return o=rW(this,t,[n]),kP(o,"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return t}(me);kP(xP,"controlType","subtable-column");var fW={Designer:At,Runtime:xP,Property:Nc};function aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _W(e,t,n){return t=Hc(t),pW(e,jP()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function yW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:aW(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jP=function(){return!!e})()}var vW=function(e){sW(t,e);function t(n){return yW(this,t),_W(this,t,[n])}return t}(ft);function hW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bW(e,t,n){return t=qc(t),OW(e,FP()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function mW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:hW(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function wW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FP=function(){return!!e})()}var nn=function(e){gW(t,e);function t(n){mW(this,t);var o;return o=bW(this,t,[n]),Pe(o,"props",void 0),o.props=new vW(n==null?void 0:n.props),o}return t}(at);Pe(nn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Pe(nn,"controlType","subtable-row"),Pe(nn,"controlIcon","subtable-row"),Pe(nn,"childrenMaxLength",1),Pe(nn,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Pe(nn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function $W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t,n){return t=Uc(t),TW(e,LP()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function SW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:$W(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function RW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LP=function(){return!!e})()}var MP=function(e){SW(t,e);function t(n){EW(this,t);var o;o=PW(this,t,[n]),Et(o,"widthType",void 0),Et(o,"width",void 0),Et(o,"caption",void 0),Et(o,"fieldCode",void 0),Et(o,"fieldType",void 0),Et(o,"fieldName",void 0),Et(o,"datasourceBind",void 0),Et(o,"fixed",void 0),Et(o,"textCleanFormart",void 0),Et(o,"decimalKeepPrecision",void 0),Et(o,"timestampDateType",void 0),Et(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";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.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var f;o.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:b.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var a;o.textCleanFormart=(a=n==null?void 0:n.textCleanFormart)!==null&&a!==void 0?a:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:xe.DATE;var m;return o.departmentDisplayLevel=(m=n==null?void 0:n.departmentDisplayLevel)!==null&&m!==void 0?m:1,o}return t}(ft);function BW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IW(e,t,n){return t=Wc(t),DW(e,NP()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:BW(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NP=function(){return!!e})()}var on=function(e){kW(t,e);function t(n){AW(this,t);var o;return o=IW(this,t,[n]),Ee(o,"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return t}(at);Ee(on,"controlName","\u5217\u8868\u5355\u5143\u683C"),Ee(on,"controlType","gridtable-column"),Ee(on,"controlIcon","gridtable-column"),Ee(on,"childrenMaxLength",1),Ee(on,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Ee(on,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function jW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t,n){return t=Kc(t),NW(e,zP()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function LW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(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&&sd(e,t)}function NW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:jW(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function VW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zP=function(){return!!e})()}var zW=function(e){MW(t,e);function t(n){LW(this,t);var o;return o=FW(this,t,[n]),VP(o,"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return t}(me);VP(zW,"controlType","gridtable-column");function HW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qW(e,t,n){return t=Gc(t),GW(e,HP()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function KW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function GW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:HW(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function CW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HP=function(){return!!e})()}var XW=function(e){KW(t,e);function t(n){UW(this,t);var o;o=qW(this,t,[n]),WW(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(ft);function QW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qP(e,t,n){return t=Cc(t),JW(e,KP()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function UP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function WP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:QW(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(e,t)}function ZW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KP=function(){return!!e})()}var YW=function(e){WP(t,e);function t(n){UP(this,t);var o;return o=qP(this,t,[n]),dd(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return t}(q),GP=function(e){WP(t,e);function t(n){UP(this,t);var o;o=qP(this,t,[n]),dd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Yc.controlName,o}return t}(ft);dd(GP,"Rules",YW);function tK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t,n){return t=Xc(t),iK(e,XP()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function nK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oK(e,t,n){return t&&CP(e.prototype,t),n&&CP(e,n),e}function hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function rK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:tK(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XP=function(){return!!e})()}var Qc=function(e){rK(t,e);function t(n){nK(this,t);var o;return o=eK(this,t,[n]),hd(o,"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return oK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(at);hd(Qc,"excludes",[s.TAB]),hd(Qc,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lK(e,t,n){return t=Zc(t),yK(e,JP()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aK(e,t,n){return t&&QP(e.prototype,t),n&&QP(e,n),e}function Jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(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&&md(e,t)}function yK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:cK(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function sK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JP=function(){return!!e})()}var Yc=function(e){_K(t,e);function t(n){fK(this,t);var o;o=lK(this,t,[n]),Jc(o,"props",void 0),o.props=new XW(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Qc,new Qc],o}return aK(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(at);Jc(Yc,"excludes",[s.TAB]),Jc(Yc,"controlEventKeys",["on_change_tab"]),Jc(Yc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function pK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dK(e,t,n){return t=tl(t),bK(e,ZP()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function vK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function hK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:pK(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function mK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZP=function(){return!!e})()}var gK=function(e){hK(t,e);function t(n){return vK(this,t),dK(this,t,[n])}return t}(ft);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,n){return t=el(t),SK(e,eE()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function $K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PK(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}function tE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function EK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:OK(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function TK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eE=function(){return!!e})()}var RK=function(e){EK(t,e);function t(n){$K(this,t);var o;return o=wK(this,t,[n]),tE(o,"props",void 0),o.props=new gK({}),o.children=(n==null?void 0:n.children)||[new io({props:new ro({span:12})}),new io({props:new ro({span:12})})],o}return PK(t,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(at);tE(RK,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function BK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e,t,n){return t=nl(t),IK(e,nE()?Reflect.construct(t,n||[],nl(e).constructor):t.apply(e,n))}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:BK(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nE=function(){return!!e})()}var kK=function(e){Pd(t,e);function t(n){$d(this,t);var o;return o=wd(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),DK=function(e){Pd(t,e);function t(n){$d(this,t);var o;if(o=wd(this,t,[n]),Z(o,"triggerFieldCode",{type:"any"}),Z(o,"datasourceBind",{type:"any"}),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),Qf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(q),uo=function(e){Pd(t,e);function t(n){$d(this,t);var o;o=wd(this,t,[n]),Z(o,"datasourceBind",void 0),Z(o,"isLoading",void 0),Z(o,"isShowSubList",void 0),Z(o,"triggerType",void 0),Z(o,"triggerFieldCode",void 0),Z(o,"sublistPage",void 0),Z(o,"showType",void 0),Z(o,"showFullScreen",void 0),Z(o,"isFixedHeader",void 0),Z(o,"selectionType",void 0),Z(o,"isShowSelection",void 0),Z(o,"isAllLoaded",void 0),Z(o,"countType",void 0),o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var r;o.isLoading=(r=n==null?void 0:n.isLoading)!==null&&r!==void 0?r:!1;var i;o.isShowSubList=(i=n==null?void 0:n.isShowSubList)!==null&&i!==void 0?i:!1;var u;o.triggerType=(u=n==null?void 0:n.triggerType)!==null&&u!==void 0?u:1;var c;o.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",o.sublistPage=new mA(n==null?void 0:n.sublistPage);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var l;o.showFullScreen=(l=n==null?void 0:n.showFullScreen)!==null&&l!==void 0?l:!1;var a;o.selectionType=(a=n==null?void 0:n.selectionType)!==null&&a!==void 0?a:"multiple";var y;o.isFixedHeader=(y=n==null?void 0:n.isFixedHeader)!==null&&y!==void 0?y:!1;var d;o.isShowSelection=(d=n==null?void 0:n.isShowSelection)!==null&&d!==void 0?d:!1;var m;return o.isAllLoaded=(m=n==null?void 0:n.isAllLoaded)!==null&&m!==void 0?m:!0,o.countType=n==null?void 0:n.countType,o}return t}(ft);Z(uo,"Rules",DK),Z(uo,"RuntimeRules",kK);function xK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jK(e,t,n){return t=rl(t),NK(e,rE()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LK(e,t,n){return t&&oE(e.prototype,t),n&&oE(e,n),e}function ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(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&&Sd(e,t)}function NK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:xK(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function VK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rE=function(){return!!e})()}var il=function(e){MK(t,e);function t(n){FK(this,t);var o;return o=jK(this,t,[n]),ol(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return LK(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(at);ol(il,"excludes",[s.ROW]),ol(il,"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"]),ol(il,"setting",[{key:"list-datasource-bind",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 zK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HK(e,t,n){return t=ul(t),GK(e,uE()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UK(e,t,n){return t&&iE(e.prototype,t),n&&iE(e,n),e}function WK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GK(e,t){return t&&(CK(t)==="object"||typeof t=="function")?t:zK(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function CK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var XK=function(e){KK(t,e);function t(n){qK(this,t);var o;return o=HK(this,t,[n]),WK(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return UK(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(me),QK={Designer:il,Runtime:XK,Property:uo};function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cE(e,t,n){return t=cl(t),ZK(e,aE()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function lE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function fE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZK(e,t){return t&&(YK(t)==="object"||typeof t=="function")?t:JK(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(e,t)}function YK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aE=function(){return!!e})()}var tG=function(e){fE(t,e);function t(n){lE(this,t);var o;return o=cE(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),ll=function(e){fE(t,e);function t(n){lE(this,t);var o;o=cE(this,t,[n]),ye(o,"save",void 0),ye(o,"cancel",void 0),ye(o,"saveAs",void 0),ye(o,"print",void 0),ye(o,"custom",void 0),ye(o,"isLoading",void 0),ye(o,"datasourceBind",void 0);var r;o.save=new te((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new te((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new te((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new te((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(a){return new te(a)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new K(n==null?void 0:n.datasourceBind),o}return t}(ft);ye(ll,"RuntimeRules",tG);function eG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nG(e,t,n){return t=fl(t),uG(e,sE()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function oG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rG(e,t,n){return t&&_E(e.prototype,t),n&&_E(e,n),e}function yE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function iG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:eG(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function cG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sE=function(){return!!e})()}var pE=function(e){iG(t,e);function t(n){oG(this,t);var o;return o=nG(this,t,[n]),yE(o,"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return rG(t,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),t}(at);yE(pE,"excludes",[]);function lG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fG(e,t,n){return t=al(t),pG(e,vE()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function aG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _G(e,t,n){return t&&dE(e.prototype,t),n&&dE(e,n),e}function yG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function sG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:lG(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vE=function(){return!!e})()}var vG=function(e){sG(t,e);function t(n){aG(this,t);var o;return o=fG(this,t,[n]),yG(o,"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return _G(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(me),hG={Designer:pE,Runtime:vG,Property:ll};function bG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ad(e,t,n){return t=_l(t),mG(e,hE()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function kd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(e)}function Dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function mG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:bG(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function gG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hE=function(){return!!e})()}var OG=function(e){Dd(t,e);function t(n){kd(this,t);var o;return o=Ad(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(q),wG=function(e){Dd(t,e);function t(n){kd(this,t);var o;return o=Ad(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return t}(be),jd=function(e){Dd(t,e);function t(n,o){kd(this,t);var r;r=Ad(this,t,[n,o]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"importConfig",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Md.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var f;r.labelPosition=(f=o==null?void 0:o.labelPosition)!==null&&f!==void 0?f:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var a;r.formKey=(a=o==null?void 0:o.formKey)!==null&&a!==void 0?a:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:SD;var m;r.printMode=(m=o==null?void 0:o.printMode)!==null&&m!==void 0?m:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var g;r.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var $;r.defaultRows=($=o==null?void 0:o.defaultRows)!==null&&$!==void 0?$:1,r.datasourceBind=new K(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var w;r.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var B;r.canCheck=(B=o==null?void 0:o.canCheck)!==null&&B!==void 0?B:!1;var P;r.canEdit=(P=o==null?void 0:o.canEdit)!==null&&P!==void 0?P:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var z;r.canExport=(z=o==null?void 0:o.canExport)!==null&&z!==void 0?z:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var Y;r.serverPagination=(Y=o==null?void 0:o.serverPagination)!==null&&Y!==void 0?Y:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var Mt;r.captionTip=(Mt=o==null?void 0:o.captionTip)!==null&&Mt!==void 0?Mt:"";var so;r.mobileShowType=(so=o==null?void 0:o.mobileShowType)!==null&&so!==void 0?so:"list";var Nn;r.mobileDefaultNum=(Nn=o==null?void 0:o.mobileDefaultNum)!==null&&Nn!==void 0?Nn:10;var ke;r.dataStorageDoc=(ke=o==null?void 0:o.dataStorageDoc)!==null&&ke!==void 0?ke:new dA;var Nt;r.fixedColumn=(Nt=o==null?void 0:o.fixedColumn)!==null&&Nt!==void 0?Nt:[];var ph;r.mobileRowCaption=(ph=o==null?void 0:o.mobileRowCaption)!==null&&ph!==void 0?ph:"\u660E\u7EC6";var dh;r.mobileIsTile=(dh=o==null?void 0:o.mobileIsTile)!==null&&dh!==void 0?dh:!1;var vh;return r.isPaste=(vh=o==null?void 0:o.isPaste)!==null&&vh!==void 0?vh:!1,r.importConfig=new $D(o==null?void 0:o.importConfig),r}return t}(la);R(jd,"Rules",OG),R(jd,"RuntimeRules",wG);function $G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t,n){return t=yl(t),RG(e,mE()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SG(e,t,n){return t&&bE(e.prototype,t),n&&bE(e,n),e}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(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&&Ld(e,t)}function RG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:$G(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mE=function(){return!!e})()}var Md=function(e){TG(t,e);function t(n){EG(this,t);var o,r;return o=PG(this,t,[n]),Fd(o,"props",void 0),o.props=new jd(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new At,new At,new At]),o}return SG(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new At,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(_a);Fd(Md,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Fd(Md,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE]},{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 IG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t,n){return t=sl(t),xG(e,gE()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(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&&Nd(e,t)}function xG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:IG(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gE=function(){return!!e})()}var FG=function(e){DG(t,e);function t(n,o){kG(this,t);var r;r=AG(this,t,[n,o]),co(r,"isFixedHeader",void 0),co(r,"selectionType",void 0),co(r,"isShowToolbar",void 0),co(r,"isShowSelection",void 0),co(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var f;return r.isShowCustomColumns=(f=o==null?void 0:o.isShowCustomColumns)!==null&&f!==void 0?f:!0,r}return t}(la);function LG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OE(e,t,n){return t=pl(t),NG(e,PE()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function wE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(e)}function $E(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:LG(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function VG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PE=function(){return!!e})()}var zG=function(e){$E(t,e);function t(n){wE(this,t);var o;return o=OE(this,t,[n]),o.caption.required=!1,o}return t}(Ht),zd=function(e){$E(t,e);function t(n){wE(this,t);var o,r,i;o=OE(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:rn.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var a;o.autoWidth.flex=(a=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&a!==void 0?a:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return t}(W);MG(zd,"Rules",zG);function HG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qG(e,t,n){return t=dl(t),KG(e,EE()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function WG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:HG(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EE=function(){return!!e})()}var rn=function(e){WG(t,e);function t(n){UG(this,t);var o;return o=qG(this,t,[n]),lo(o,"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return t}(nt);lo(rn,"controlType","order-column"),lo(rn,"controlName","\u5E8F\u53F7"),lo(rn,"controlIcon","order-column"),lo(rn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function CG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XG(e,t,n){return t=vl(t),ZG(e,SE()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function QG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function JG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:CG(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function YG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SE=function(){return!!e})()}var TE=function(e){JG(t,e);function t(n){QG(this,t);var o;return o=XG(this,t,[n]),qd(o,"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return t}(ot);qd(TE,"controlType","order-column"),qd(TE,"controlFieldType",b.DECIMAL);function tC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t,n){return t=hl(t),rC(e,BE()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function oC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rC(e,t){return t&&(iC(t)==="object"||typeof t=="function")?t:tC(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function iC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BE=function(){return!!e})()}var IE=function(e){oC(t,e);function t(n){nC(this,t);var o,r;o=eC(this,t,[n]),RE(o,"showType",void 0),RE(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:cn.controlName;var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return t}(W);function uC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AE(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function cC(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){AE(i,o,r,u,c,"next",f)}function c(f){AE(i,o,r,u,c,"throw",f)}u(void 0)})}}function lC(e,t,n){return t=se(t),dC(e,DE()?Reflect.construct(t,n||[],se(e).constructor):t.apply(e,n))}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aC(e,t,n){return t&&kE(e.prototype,t),n&&kE(e,n),e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function un(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?un=Reflect.get:un=function(r,i,u){var c=vC(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},un(e,t,n||e)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(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&&Kd(e,t)}function yC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Se(e,r,n[r])})}return e}function sC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function pC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function dC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:uC(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function vC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=se(e),e!==null););return e}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DE=function(){return!!e})()}function bC(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var cn=function(e){_C(t,e);function t(n){fC(this,t);var o;return o=lC(this,t,[n]),Se(o,"props",void 0),Se(o,"children",void 0),o.props=new IE(n==null?void 0:n.props),oe(o,"children",n==null?void 0:n.children),o}return aC(t,[{key:"toDataBindModel",value:function(){var o=un(se(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===Ur.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"toSchema",value:function(){var o=un(se(t.prototype),"toSchema",this).call(this);return pC(yC({},o),{children:this.children.map(function(r){return r.toSchema()})})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return un(se(t.prototype),"validate",i)};return cC(function(){return bC(this,function(f){switch(f.label){case 0:return[4,c().call(u,o,r)];case 1:return f.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return f.sent(),[2,!0]}})}).call(this)}}]),t}(nt);Se(cn,"controlType","operation-column"),Se(cn,"controlName","\u64CD\u4F5C"),Se(cn,"controlIcon","operation-column"),Se(cn,"setting",[{key:"caption",showItems:[_.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 mC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t,n){return t=ml(t),$C(e,xE()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function OC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function $C(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:mC(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xE=function(){return!!e})()}var jE=function(e){wC(t,e);function t(n){OC(this,t);var o;return o=gC(this,t,[n]),bl(o,"props",void 0),bl(o,"children",void 0),o.props=new IE(n==null?void 0:n.props),oe(o,"children",n==null?void 0:n.children),o}return t}(ot);bl(jE,"controlType","operation-column"),bl(jE,"controlFieldType",b.FILE);function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FE(e,t,n,o,r,i,u){try{var c=e[i](u),f=c.value}catch(l){n(l);return}c.done?t(f):Promise.resolve(f).then(o,r)}function SC(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(f){FE(i,o,r,u,c,"next",f)}function c(f){FE(i,o,r,u,c,"throw",f)}u(void 0)})}}function TC(e,t,n){return t=Te(t),xC(e,ME()?Reflect.construct(t,n||[],Te(e).constructor):t.apply(e,n))}function RC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BC(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fo=Reflect.get:fo=function(r,i,u){var c=jC(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},fo(e,t,n||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function IC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function AC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){gl(e,r,n[r])})}return e}function kC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function DC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function xC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:EC(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function jC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ME=function(){return!!e})()}function LC(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(a){return f([l,a])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var MC=function(e){IC(t,e);function t(n){RC(this,t);var o;return o=TC(this,t,[n]),gl(o,"props",void 0),gl(o,"children",void 0),o.props=new FG(o,n==null?void 0:n.props),oe(o,"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new rn,new cn]),o}return BC(t,[{key:"toSchema",value:function(){var o=fo(Te(t.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return DC(AC({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return fo(Te(t.prototype),"validate",i)};return SC(function(){return LC(this,function(f){switch(f.label){case 0:return[4,c().call(u,o,r)];case 1:return f.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return f.sent(),[2,!0]}})}).call(this)}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),t}(_a);gl(MC,"setting",[{key:"list-fixed-header",visible:!0}]);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NE(e,t,n){return t=Ol(t),VC(e,HE()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function VE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function zE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:NC(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HE=function(){return!!e})()}var HC=function(e){zE(t,e);function t(n){VE(this,t);var o;return o=NE(this,t,[n]),ge.call(o,n),o}return t}(Bb),Qd=function(e){zE(t,e);function t(n){VE(this,t);var o;o=NE(this,t,[n]),Re(o,"optionConfig",void 0),Re(o,"datasourceBind",void 0),Re(o,"showLinkOperation",void 0),Re(o,"linkOperationOption",void 0),Re(o,"options",void 0),Re(o,"lineEllipsis",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:fn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var u;o.options=zt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption);var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return t}(W);Re(Qd,"Rules",HC);function qC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e,t,n){return t=wl(t),GC(e,qE()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GC(e,t){return t&&(CC(t)==="object"||typeof t=="function")?t:qC(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function CC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qE=function(){return!!e})()}var fn=function(e){KC(t,e);function t(n){WC(this,t);var o;return o=UC(this,t,[n]),ln(o,"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return t}(nt);ln(fn,"controlType","varchar-column"),ln(fn,"controlName","\u77ED\u6587\u672C"),ln(fn,"controlIcon","varchar-column"),ln(fn,"controlFieldType",b.VARCHAR),ln(fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t,n){return t=$l(t),YC(e,UE()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function JC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function YC(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:XC(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UE=function(){return!!e})()}var WE=function(e){ZC(t,e);function t(n){JC(this,t);var o;return o=QC(this,t,[n]),Zd(o,"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return t}(ot);Zd(WE,"controlType","varchar-column"),Zd(WE,"controlFieldType",b.VARCHAR);function eX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KE(e,t,n){return t=Pl(t),nX(e,XE()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function GE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function CE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:eX(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function oX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XE=function(){return!!e})()}var rX=function(e){CE(t,e);function t(n){GE(this,t);var o;return o=KE(this,t,[n]),ge.call(o,n),o}return t}(Ht),ev=function(e){CE(t,e);function t(n){GE(this,t);var o;o=KE(this,t,[n]),ao(o,"escapeHTML",void 0),ao(o,"showLinkOperation",void 0),ao(o,"linkOperationOption",void 0),ao(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:yn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption),o}return t}(W);ao(ev,"Rules",rX);function iX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uX(e,t,n){return t=_n(t),aX(e,JE()?Reflect.construct(t,n||[],_n(e).constructor):t.apply(e,n))}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lX(e,t,n){return t&&QE(e.prototype,t),n&&QE(e,n),e}function an(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?El=Reflect.get:El=function(r,i,u){var c=_X(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},El(e,t,n||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&nv(e,t)}function aX(e,t){return t&&(yX(t)==="object"||typeof t=="function")?t:iX(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function _X(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function yX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var yn=function(e){fX(t,e);function t(n){cX(this,t);var o;return o=uX(this,t,[n]),an(o,"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return lX(t,[{key:"toDataBindModel",value:function(o){var r=El(_n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(nt);an(yn,"controlType","text-column"),an(yn,"controlName","\u957F\u6587\u672C"),an(yn,"controlIcon","text-column"),an(yn,"controlFieldType",b.TEXT),an(yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 sX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t,n){return t=Sl(t),hX(e,ZE()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function dX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(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&&rv(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:sX(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZE=function(){return!!e})()}var YE=function(e){vX(t,e);function t(n){dX(this,t);var o;return o=pX(this,t,[n]),ov(o,"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return t}(ot);ov(YE,"controlType","text-column"),ov(YE,"controlFieldType",b.TEXT);function mX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t,n){return t=Tl(t),gX(e,oS()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function nS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:mX(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function OX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oS=function(){return!!e})()}var wX=function(e){nS(t,e);function t(n){eS(this,t);var o;return o=tS(this,t,[n]),ge.call(o,n),o}return t}(Ht),uv=function(e){nS(t,e);function t(n){eS(this,t);var o;o=tS(this,t,[n]),Jt(o,"optionConfig",void 0),Jt(o,"datasourceBind",void 0),Jt(o,"showLinkOperation",void 0),Jt(o,"linkOperationOption",void 0),Jt(o,"options",void 0),Jt(o,"precision",void 0),Jt(o,"micrometer",void 0),Jt(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:dn.controlName;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.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var l;o.options=zt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption),o}return t}(W);Jt(uv,"Rules",wX);function $X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t,n){return t=pn(t),RX(e,iS()?Reflect.construct(t,n||[],pn(e).constructor):t.apply(e,n))}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SX(e,t,n){return t&&rS(e.prototype,t),n&&rS(e,n),e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Rl=Reflect.get:Rl=function(r,i,u){var c=BX(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Rl(e,t,n||e)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(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&&cv(e,t)}function RX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:$X(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function BX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pn(e),e!==null););return e}function IX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iS=function(){return!!e})()}var dn=function(e){TX(t,e);function t(n){EX(this,t);var o;return o=PX(this,t,[n]),sn(o,"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return SX(t,[{key:"toDataBindModel",value:function(o){var r=Rl(pn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),t}(nt);sn(dn,"controlType","decimal-column"),sn(dn,"controlName","\u6570\u503C"),sn(dn,"controlIcon","decimal-column"),sn(dn,"controlFieldType",b.DECIMAL),sn(dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function AX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kX(e,t,n){return t=Bl(t),jX(e,uS()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(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&&fv(e,t)}function jX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:AX(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uS=function(){return!!e})()}var cS=function(e){xX(t,e);function t(n){DX(this,t);var o;return o=kX(this,t,[n]),lv(o,"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return t}(ot);lv(cS,"controlType","decimal-column"),lv(cS,"controlFieldType",b.DECIMAL);function LX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lS(e,t,n){return t=Al(t),MX(e,_S()?Reflect.construct(t,n||[],Al(e).constructor):t.apply(e,n))}function fS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(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&&av(e,t)}function MX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:LX(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function NX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_S=function(){return!!e})()}var VX=function(e){aS(t,e);function t(n){fS(this,t);var o;return o=lS(this,t,[n]),ge.call(o,n),o}return t}(Ht),_v=function(e){aS(t,e);function t(n){fS(this,t);var o;o=lS(this,t,[n]),Il(o,"dateType",void 0),Il(o,"showLinkOperation",void 0),Il(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:bn.controlName,o}return t}(W);Il(_v,"Rules",VX);function zX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t,n){return t=hn(t),KX(e,sS()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function qX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UX(e,t,n){return t&&yS(e.prototype,t),n&&yS(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?kl=Reflect.get:kl=function(r,i,u){var c=GX(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},kl(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function WX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:zX(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function GX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sS=function(){return!!e})()}var bn=function(e){WX(t,e);function t(n){qX(this,t);var o;return o=HX(this,t,[n]),vn(o,"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return UX(t,[{key:"toDataBindModel",value:function(o){var r=kl(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(nt);vn(bn,"controlType","timescope-column"),vn(bn,"controlName","\u65E5\u671F\u533A\u95F4"),vn(bn,"controlIcon","timescope-column"),vn(bn,"controlFieldType",b.TIMESCOPE),vn(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 XX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t,n){return t=Dl(t),YX(e,pS()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function JX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(e)}function ZX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function YX(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:XX(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pS=function(){return!!e})()}var dS=function(e){ZX(t,e);function t(n){JX(this,t);var o;return o=QX(this,t,[n]),sv(o,"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return t}(ot);sv(dS,"controlType","timescope-column"),sv(dS,"controlFieldType",b.TIMESCOPE);function eQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vS(e,t,n){return t=jl(t),nQ(e,mS()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function hS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(e)}function bS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:eQ(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mS=function(){return!!e})()}var rQ=function(e){bS(t,e);function t(n){hS(this,t);var o;return o=vS(this,t,[n]),ge.call(o,n),o}return t}(Ht),vv=function(e){bS(t,e);function t(n){hS(this,t);var o;o=vS(this,t,[n]),xl(o,"dateType",void 0),xl(o,"showLinkOperation",void 0),xl(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:On.controlName,o}return t}(W);xl(vv,"Rules",rQ);function iQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t,n){return t=gn(t),aQ(e,OS()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function cQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lQ(e,t,n){return t&&gS(e.prototype,t),n&&gS(e,n),e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(r,i,u){var c=_Q(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},Fl(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(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&&hv(e,t)}function aQ(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:iQ(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(e,t)}function _Q(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function yQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OS=function(){return!!e})()}var On=function(e){fQ(t,e);function t(n){cQ(this,t);var o;return o=uQ(this,t,[n]),mn(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return lQ(t,[{key:"toDataBindModel",value:function(o){var r=Fl(gn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(nt);mn(On,"controlType","timestamp-column"),mn(On,"controlName","\u65E5\u671F"),mn(On,"controlIcon","timestamp-column"),mn(On,"controlFieldType",b.TIMESTAMP),mn(On,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 sQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(e,t,n){return t=Ll(t),hQ(e,wS()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function dQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function vQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hQ(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:sQ(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function bQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wS=function(){return!!e})()}var $S=function(e){vQ(t,e);function t(n){dQ(this,t);var o;return o=pQ(this,t,[n]),bv(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return t}(ot);bv($S,"controlType","timestamp-column"),bv($S,"controlFieldType",b.TIMESTAMP);function mQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PS(e,t,n){return t=Nl(t),gQ(e,TS()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function ES(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ml(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(e)}function SS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function gQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:mQ(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TS=function(){return!!e})()}var wQ=function(e){SS(t,e);function t(n){return ES(this,t),PS(this,t,[n])}return t}(Bb),Ov=function(e){SS(t,e);function t(n){ES(this,t);var o;o=PS(this,t,[n]),Ml(o,"optionConfig",void 0),Ml(o,"datasourceBind",void 0),Ml(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$n.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new K(n==null?void 0:n.datasourceBind);var u;return o.options=zt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]),o}return t}(W);Ml(Ov,"Rules",wQ);function $Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t,n){return t=Vl(t),TQ(e,RS()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}function EQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TQ(e,t){return t&&(RQ(t)==="object"||typeof t=="function")?t:$Q(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function RQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RS=function(){return!!e})()}var $n=function(e){SQ(t,e);function t(n){EQ(this,t);var o;return o=PQ(this,t,[n]),wn(o,"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return t}(nt);wn($n,"controlType","array-column"),wn($n,"controlName","\u6570\u7EC4"),wn($n,"controlIcon","array-column"),wn($n,"controlFieldType",b.ARRAY),wn($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 BQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IQ(e,t,n){return t=zl(t),DQ(e,BS()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function AQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},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&&Pv(e,t)}function DQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:BQ(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BS=function(){return!!e})()}var IS=function(e){kQ(t,e);function t(n){AQ(this,t);var o;return o=IQ(this,t,[n]),$v(o,"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return t}(ot);$v(IS,"controlType","array-column"),$v(IS,"controlFieldType",b.ARRAY);function jQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t,n){return t=Hl(t),VQ(e,AS()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(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&&Ev(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:jQ(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AS=function(){return!!e})()}var kS=function(e){NQ(t,e);function t(n){LQ(this,t);var o;o=FQ(this,t,[n]),MQ(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Sn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(W);function HQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t,n){return t=En(t),GQ(e,xS()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WQ(e,t,n){return t&&DS(e.prototype,t),n&&DS(e,n),e}function Pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ql=Reflect.get:ql=function(r,i,u){var c=CQ(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},ql(e,t,n||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(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&&Sv(e,t)}function GQ(e,t){return t&&(XQ(t)==="object"||typeof t=="function")?t:HQ(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(e,t)}function CQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function XQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xS=function(){return!!e})()}var Sn=function(e){KQ(t,e);function t(n){UQ(this,t);var o;return o=qQ(this,t,[n]),Pn(o,"props",void 0),o.props=new kS(n==null?void 0:n.props),o}return WQ(t,[{key:"toDataBindModel",value:function(o){var r=ql(En(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(nt);Pn(Sn,"controlType","department-column"),Pn(Sn,"controlName","\u90E8\u95E8"),Pn(Sn,"controlIcon","department-column"),Pn(Sn,"controlFieldType",b.DEPARTMENTS),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function QQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t,n){return t=Ul(t),tJ(e,jS()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function ZQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(e)}function YQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function tJ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:QQ(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function eJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jS=function(){return!!e})()}var FS=function(e){YQ(t,e);function t(n){ZQ(this,t);var o;return o=JQ(this,t,[n]),Tv(o,"props",void 0),o.props=new kS(n==null?void 0:n.props),o}return t}(ot);Tv(FS,"controlType","department-column"),Tv(FS,"controlFieldType",b.DEPARTMENTS);function nJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LS(e,t,n){return t=Wl(t),oJ(e,VS()?Reflect.construct(t,n||[],Wl(e).constructor):t.apply(e,n))}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(e)}function NS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:nJ(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function rJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VS=function(){return!!e})()}var iJ=function(e){NS(t,e);function t(n){MS(this,t);var o;return o=LS(this,t,[n]),ge.call(o,n),o}return t}(Ht),Av=function(e){NS(t,e);function t(n){MS(this,t);var o;o=LS(this,t,[n]),Bv(o,"showLinkOperation",void 0),Bv(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Rn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption),o}return t}(W);Bv(Av,"Rules",iJ);function uJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cJ(e,t,n){return t=Kl(t),aJ(e,zS()?Reflect.construct(t,n||[],Kl(e).constructor):t.apply(e,n))}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(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&&kv(e,t)}function aJ(e,t){return t&&(_J(t)==="object"||typeof t=="function")?t:uJ(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function _J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var Rn=function(e){fJ(t,e);function t(n){lJ(this,t);var o;return o=cJ(this,t,[n]),Tn(o,"props",void 0),o.props=new Av(n==null?void 0:n.props),o}return t}(nt);Tn(Rn,"controlType","auto-number-column"),Tn(Rn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Tn(Rn,"controlIcon","auto-number-column"),Tn(Rn,"controlFieldType",b.AUTO_NUMBER),Tn(Rn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 yJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t,n){return t=Gl(t),vJ(e,HS()?Reflect.construct(t,n||[],Gl(e).constructor):t.apply(e,n))}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(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&&xv(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:yJ(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HS=function(){return!!e})()}var qS=function(e){dJ(t,e);function t(n){pJ(this,t);var o;return o=sJ(this,t,[n]),Dv(o,"props",void 0),o.props=new Av(n==null?void 0:n.props),o}return t}(ot);Dv(qS,"controlType","auto-number-column"),Dv(qS,"controlFieldType",b.AUTO_NUMBER);function bJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mJ(e,t,n){return t=Cl(t),wJ(e,US()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function gJ(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(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:bJ(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function US(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(US=function(){return!!e})()}var WS=function(e){OJ(t,e);function t(n){gJ(this,t);var o;o=mJ(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName,o}return t}(W);function PJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EJ(e,t,n){return t=Xl(t),RJ(e,KS()?Reflect.construct(t,n||[],Xl(e).constructor):t.apply(e,n))}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:PJ(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KS=function(){return!!e})()}var In=function(e){TJ(t,e);function t(n){SJ(this,t);var o;return o=EJ(this,t,[n]),Bn(o,"props",void 0),o.props=new WS(n==null?void 0:n.props),o}return t}(nt);Bn(In,"controlType","file-column"),Bn(In,"controlName","\u9644\u4EF6"),Bn(In,"controlIcon","file-column"),Bn(In,"controlFieldType",b.FILE),Bn(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function IJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AJ(e,t,n){return t=Ql(t),xJ(e,GS()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function kJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(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&&Mv(e,t)}function xJ(e,t){return t&&(jJ(t)==="object"||typeof t=="function")?t:IJ(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function jJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GS=function(){return!!e})()}var CS=function(e){DJ(t,e);function t(n){kJ(this,t);var o;return o=AJ(this,t,[n]),Lv(o,"props",void 0),o.props=new WS(n==null?void 0:n.props),o}return t}(ot);Lv(CS,"controlType","file-column"),Lv(CS,"controlFieldType",b.FILE);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LJ(e,t,n){return t=Jl(t),VJ(e,XS()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(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&&Nv(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var QS=function(e){NJ(t,e);function t(n){MJ(this,t);var o;o=LJ(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kn.controlName,o}return t}(W);function HJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qJ(e,t,n){return t=Zl(t),KJ(e,JS()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function UJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function WJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:HJ(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JS=function(){return!!e})()}var kn=function(e){WJ(t,e);function t(n){UJ(this,t);var o;return o=qJ(this,t,[n]),An(o,"props",void 0),o.props=new QS(n==null?void 0:n.props),o}return t}(nt);An(kn,"controlType","image-column"),An(kn,"controlName","\u56FE\u7247"),An(kn,"controlIcon","image-column"),An(kn,"controlFieldType",b.IMAGE),An(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t,n){return t=Yl(t),ZJ(e,ZS()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function QJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function JJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:CJ(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function YJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZS=function(){return!!e})()}var YS=function(e){JJ(t,e);function t(n){QJ(this,t);var o;return o=XJ(this,t,[n]),zv(o,"props",void 0),o.props=new QS(n==null?void 0:n.props),o}return t}(ot);zv(YS,"controlType","image-column"),zv(YS,"controlFieldType",b.IMAGE);function tZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eZ(e,t,n){return t=tf(t),rZ(e,tT()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function nZ(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(n){return n.__proto__||Object.getPrototypeOf(n)},tf(e)}function oZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:tZ(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function iZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tT=function(){return!!e})()}var eT=function(e){oZ(t,e);function t(n){nZ(this,t);var o;o=eZ(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName,o}return t}(W);function uZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t,n){return t=ef(t),aZ(e,nT()?Reflect.construct(t,n||[],ef(e).constructor):t.apply(e,n))}function lZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(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&&Uv(e,t)}function aZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:uZ(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nT=function(){return!!e})()}var xn=function(e){fZ(t,e);function t(n){lZ(this,t);var o;return o=cZ(this,t,[n]),Dn(o,"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return t}(nt);Dn(xn,"controlType","people-column"),Dn(xn,"controlName","\u4EBA\u5458"),Dn(xn,"controlIcon","people-column"),Dn(xn,"controlFieldType",b.EMPLOYEES),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function yZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sZ(e,t,n){return t=nf(t),vZ(e,oT()?Reflect.construct(t,n||[],nf(e).constructor):t.apply(e,n))}function pZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:yZ(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var rT=function(e){dZ(t,e);function t(n){pZ(this,t);var o;return o=sZ(this,t,[n]),Wv(o,"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return t}(ot);Wv(rT,"controlType","people-column"),Wv(rT,"controlFieldType",b.EMPLOYEES);function bZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iT(e,t,n){return t=of(t),mZ(e,lT()?Reflect.construct(t,n||[],of(e).constructor):t.apply(e,n))}function uT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(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&&Cv(e,t)}function mZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:bZ(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function gZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lT=function(){return!!e})()}var OZ=function(e){cT(t,e);function t(n){uT(this,t);var o;return o=iT(this,t,[n]),ge.call(o,n),o}return t}(Ht),Xv=function(e){cT(t,e);function t(n){uT(this,t);var o;o=iT(this,t,[n]),Gv(o,"showLinkOperation",void 0),Gv(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new ve(n==null?void 0:n.linkOperationOption),o}return t}(W);Gv(Xv,"Rules",OZ);function wZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Z(e,t,n){return t=rf(t),SZ(e,fT()?Reflect.construct(t,n||[],rf(e).constructor):t.apply(e,n))}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rf(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&&Qv(e,t)}function SZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:wZ(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function TZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fT=function(){return!!e})()}var Fn=function(e){EZ(t,e);function t(n){PZ(this,t);var o;return o=$Z(this,t,[n]),jn(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return t}(nt);jn(Fn,"controlType","location-column"),jn(Fn,"controlName","\u5730\u5740"),jn(Fn,"controlIcon","location-column"),jn(Fn,"controlFieldType",b.ADDRESS),jn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.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 RZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t,n){return t=uf(t),kZ(e,aT()?Reflect.construct(t,n||[],uf(e).constructor):t.apply(e,n))}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(e)}function AZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:RZ(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function DZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aT=function(){return!!e})()}var _T=function(e){AZ(t,e);function t(n){IZ(this,t);var o;return o=BZ(this,t,[n]),Jv(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return t}(ot);Jv(_T,"controlType","location-column"),Jv(_T,"controlFieldType",b.ADDRESS);function xZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jZ(e,t,n){return t=cf(t),NZ(e,yT()?Reflect.construct(t,n||[],cf(e).constructor):t.apply(e,n))}function FZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cf(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:xZ(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function VZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var sT=function(e){MZ(t,e);function t(n){FZ(this,t);var o;o=jZ(this,t,[n]),LZ(o,"fieldCodeList",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;return o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[],o}return t}(W);function zZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t,n){return t=Be(t),QZ(e,dT()?Reflect.construct(t,n||[],Be(e).constructor):t.apply(e,n))}function qZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UZ(e,t,n){return t&&pT(e.prototype,t),n&&pT(e,n),e}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _o(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?_o=Reflect.get:_o=function(r,i,u){var c=JZ(r,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||r):f.value}},_o(e,t,n||e)}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function WZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KZ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function GZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kt(e,r,n[r])})}return e}function CZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function XZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):CZ(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function QZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:zZ(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function JZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Be(e),e!==null););return e}function ZZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dT=function(){return!!e})()}var YZ=1,Ie=function(t){WZ(n,t);function n(o){qZ(this,n);var r;r=HZ(this,n,[o]),kt(r,"excludes",void 0),kt(r,"childrenMaxLength",void 0),kt(r,"props",void 0),kt(r,"children",void 0);var i=KZ(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new sT(o==null?void 0:o.props),oe(r,"children",o==null?void 0:o.children),r.excludes=Yt(u),r.childrenMaxLength=c,r}return UZ(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=_o(Be(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}},{key:"toSchema",value:function(){var r=_o(Be(n.prototype),"toSchema",this).call(this);return XZ(GZ({},r),{children:this.children.map(function(i){return i.toSchema()})})}}]),n}(nt);kt(Ie,"controlType","custom-column"),kt(Ie,"controlName","\u81EA\u5B9A\u4E49"),kt(Ie,"controlIcon","custom-column"),kt(Ie,"excludes",[]),kt(Ie,"childrenMaxLength",YZ),kt(Ie,"setting",[{key:"caption",showItems:[_.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 tY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eY(e,t,n){return t=lf(t),rY(e,vT()?Reflect.construct(t,n||[],lf(e).constructor):t.apply(e,n))}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lf(e)}function oY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function rY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:tY(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function iY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vT=function(){return!!e})()}var uY=function(e){oY(t,e);function t(n){nY(this,t);var o;return o=eY(this,t,[n]),eh(o,"props",void 0),eh(o,"children",void 0),o.props=new sT(n==null?void 0:n.props),oe(o,"children",n==null?void 0:n.children),o}return t}(ot);eh(uY,"controlType","custom-column");function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lY(e,t,n){return t=ff(t),yY(e,hT()?Reflect.construct(t,n||[],ff(e).constructor):t.apply(e,n))}function fY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(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&&oh(e,t)}function yY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:cY(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hT=function(){return!!e})()}var bT=function(e){_Y(t,e);function t(n){fY(this,t);var o;o=lY(this,t,[n]),aY(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ae.controlName;var i;return o.datasourceBind=new mo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ae.controlCustomAttributes}),o}return t}(W);function pY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dY(e,t,n){return t=af(t),mY(e,gT()?Reflect.construct(t,n||[],af(e).constructor):t.apply(e,n))}function vY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hY(e,t,n){return t&&mT(e.prototype,t),n&&mT(e,n),e}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},af(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&&rh(e,t)}function mY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:pY(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function gY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gT=function(){return!!e})()}var Ae=function(e){bY(t,e);function t(n){vY(this,t);var o;return o=dY(this,t,[n]),Ln(o,"props",void 0),o.props=new bT(n==null?void 0:n.props),o}return hY(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(nt);Ln(Ae,"controlType","employee-column"),Ln(Ae,"controlName","\u4EBA\u5458"),Ln(Ae,"controlIcon","employee-column"),Ln(Ae,"controlFieldType",b.EMPLOYEES),Ln(Ae,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function OY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wY(e,t,n){return t=_f(t),EY(e,OT()?Reflect.construct(t,n||[],_f(e).constructor):t.apply(e,n))}function $Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_f(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&&uh(e,t)}function EY(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:OY(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function SY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OT=function(){return!!e})()}var wT=function(e){PY(t,e);function t(n){$Y(this,t);var o;return o=wY(this,t,[n]),ih(o,"props",void 0),o.props=new bT(n==null?void 0:n.props),o}return t}(ot);ih(wT,"controlType","employee-column"),ih(wT,"controlFieldType",b.EMPLOYEES);function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(e,t,n){return t=yf(t),RY(e,ST()?Reflect.construct(t,n||[],yf(e).constructor):t.apply(e,n))}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yf(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:TY(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function BY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ST(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ST=function(){return!!e})()}var IY=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(be),lh=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(this,t,[n]),Zt(o,"search",void 0),Zt(o,"cancel",void 0),Zt(o,"searchType",void 0),Zt(o,"labelPosition",void 0),Zt(o,"viewType",void 0),Zt(o,"isLoading",void 0),Zt(o,"custom",void 0),Zt(o,"queryTypeMap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new te((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new te((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(d){return new te(d)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return t}(ma);Zt(lh,"RuntimeRules",IY);function AY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t,n){return t=sf(t),jY(e,TT()?Reflect.construct(t,n||[],sf(e).constructor):t.apply(e,n))}function DY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(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&&ah(e,t)}function jY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:AY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TT=function(){return!!e})()}var RT=function(e){xY(t,e);function t(n){DY(this,t);var o;return o=kY(this,t,[n]),fh(o,"props",void 0),o.props=new lh(n==null?void 0:n.props),o}return t}(Pk);fh(RT,"controlType","simple-search"),fh(RT,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function LY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MY(e,t,n){return t=pf(t),zY(e,BT()?Reflect.construct(t,n||[],pf(e).constructor):t.apply(e,n))}function NY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pf(e)}function VY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function zY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:LY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BT=function(){return!!e})()}var qY=function(e){VY(t,e);function t(n){NY(this,t);var o;o=MY(this,t,[n]),_h(o,"props",void 0),_h(o,"children",void 0),o.props=new lh(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(Ak);_h(qY,"controlType","simple-search");const UY=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];ntt(t==null?void 0:t.events),QY(o),JY(o);const r=XY(o),i=ZY(r,t);let u=Fe(lt(i,c=>CY(c,t)));return n?u:u[0]},WY=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],KY=["subtable","grid-table"],GY=["simple-search"];function CY(e,t){var r,i,u,c,f,l;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":WY.includes(n.type)?n.controlType="base":n.controlType="form",KY.includes(n.type)&&(n.controlType="list"),GY.includes(n.type)&&(n.controlType="search-view")),delete n.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),ct((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ct((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ct((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ct(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ct(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const a=n.props.entry_type||n.props.entryType;n.props.openType=a==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,d)=>{const m=new fW.Designer;m.props.caption=ct(y.field_name)?y.field_name.zh:y.field_name;const O=m.toSchema();O.id=y.header_id;const g=n.children[0].children[d].children[0];return g&&(O.children=[g]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(a=>{a.label=ct(a.text)?a.text.zh:a.text,a.id=a.id||a.opt_id||a.optId||a.data_id}),n=e),e.type==="grid-row"){const a=24/n.children.length;n.children=n.children.map(y=>{const d=new cP.Designer;d.props.span=a;const m=d.toSchema();return m.children.push(y),m})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const a=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={};a&&(IT(n,t),d.result=a.props.data_bind,n.id=a.id,n.props=a.props,n.props.script_src=a.props.script_src,n.props.script_echo=a.props.script_echo,n.props.precision=a.props.precision,n.props.micrometer=a.props.is_show_money,n.props.showUpperCase=a.props.is_show_chn),y&&(d.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=d,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const a=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={},m={};a&&(IT(n,t),n.id=a.id,d.amount=a.props.data_bind,n.props.range_min=je(a.props.range_min),n.props.range_max=je(a.props.range_max),m.amount=je(a.props.value),n.props.required=a.props.required,n.props.is_hide=a.props.is_hide,n.props.default_state=a.props.default_state,n.props.caption=ct(a.props.caption)?a.props.caption.zh:a.props.caption,n.props.is_hide_caption=a.props.is_hide_caption,n.props.showUpperCase=a.props.is_show_chn),y&&(d.currency=y.props.data_bind,m.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=m,delete n.children}if(e.type==="date-range"){n.controlType="form";const a=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=ct(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ct(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};a&&(d.min=a.props.data_bind),y&&(d.max=y.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ct(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=je(e.props.range_min),n.props.range_max=je(e.props.range_max),n.props.defaultValue=je(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),ott(n,t==null?void 0:t.control_events),n}function IT(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),f=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),f>-1&&u.hide_controls.splice(f,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function XY(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new hG.Designer().toSchema();return o.children=e,[o]}function QY(e){e.forEach(t=>{t.children&&ett(t.children)})}function JY(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function ZY(e,t){var m,O,g,$,h,w,B,P;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,c]=r;YY(i),c.props.is_fixed_header=(m=o==null?void 0:o.source_config)==null?void 0:m.is_fixed_header,ttt(c,u);const f=(g=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?g:t==null?void 0:t.dataCode,l=((h=($=o==null?void 0:o.source_config)==null?void 0:$.svc_code)!=null?h:f)?`${f}_selectMore`:void 0,a=(B=(w=o==null?void 0:o.source_config)==null?void 0:w.orders)!=null?B:[],y=new QK.Designer;y.props.datasourceBind=new K({dataCode:f,svcCode:l,orders:XI(a)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(P=o==null?void 0:o.sublist_page)==null||P.sublists.forEach(T=>{T.title=ct(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const d=y.toSchema();return d.children.push(i,c),[d]}function YY(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ct(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function ttt(e,t){e.children=t.children.filter(n=>n.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(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ct(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ct(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new K({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function ett(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function ntt(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 ott(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const rtt=(e,t)=>{const n=Array.isArray(e);let r=Fe(lt(n?e:[e],i=>itt(i)));return n?r:r[0]};function itt(e,t){return e.type===s.LIST_VIEW&&e.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ot({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const utt=(e,t)=>{const n=Array.isArray(e);let r=Fe(lt(n?e:[e],i=>ctt(i)));return n?r:r[0]};function ctt(e,t){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.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===s.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===s.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const ltt=(e,t)=>{const n=Array.isArray(e);let r=Fe(lt(n?e:[e],i=>ftt(i)));return n?r:r[0]};function ftt(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const att=(e,t)=>{const n=Array.isArray(e);let r=Fe(lt(n?e:[e],i=>ytt(i)));return n?r:r[0]},_tt=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function ytt(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(_tt.includes(n.type))return n;const o=new jU.Designer,r=new cP.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const stt=(e,t)=>{const n=Array.isArray(e);let r=Fe(lt(n?e:[e],i=>ptt(i)));return n?r:r[0]};function ptt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const dtt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>vtt(i));return n?r:r[0]};function vtt(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const htt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>btt(i));return n?r:r[0]};function pe(e,t){e.field_code&&(e.field_type=t)}function btt(e,t){var o;const n={[s.TITLE]:b.AUTO_NUMBER,[s.ADDRESS]:b.ADDRESS,[s.ATTACHMENT]:b.FILE,[s.AUTO_NUMBER]:b.AUTO_NUMBER,[s.CHECKBOX]:b.ARRAY,[s.DATE_PICKER]:b.TIMESTAMP,[s.DEPARTMENT]:b.DEPARTMENTS,[s.EMPLOYEE]:b.EMPLOYEES,[s.EMPLOYEE2]:b.EMPLOYEES,[s.IMAGE]:b.IMAGE,[s.INPUT]:b.VARCHAR,[s.NUMBER]:b.DECIMAL,[s.RADIO]:b.VARCHAR,[s.RICH_TEXT]:b.TEXT,[s.SCORE]:b.DECIMAL,[s.SELECT]:b.VARCHAR,[s.SELECT_MULTIPLE]:b.ARRAY,[s.SELECT_RELATION]:b.VARCHAR,[s.TEXTAREA]:b.TEXT,[s.TREE]:b.ARRAY,[s.SEARCH_DATE_RANGE]:b.ARRAY,[s.SEARCH_INPUT]:b.VARCHAR,[s.SEARCH_NUMBER_RANGE]:b.ARRAY};return n.hasOwnProperty(e.type)&&pe(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(pe(e.props.data_bind.amount,b.DECIMAL),pe(e.props.data_bind.currency,b.VARCHAR)),e.type===s.CALC&&(pe(e.props.data_bind.result,b.DECIMAL),pe(e.props.data_bind.unit,b.VARCHAR)),e.type===s.DATE_RANGE&&(pe(e.props.data_bind.min,b.TIMESTAMP),pe(e.props.data_bind.max,b.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&pe(e.props.data_bind,(o=e.field_type)!=null?o:b.ANY),e}const mtt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>gtt(i));return n?r:r[0]};function gtt(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Ott=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>wtt(i));return n?r:r[0]};function wtt(e,t){return e.type===s.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[b.VARCHAR,b.TEXT,b.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const $tt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>Ptt(i));return n?r:r[0]};function Ptt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Ett=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>Stt(i));return n?r:r[0]};function Stt(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Ttt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>Rtt(i));return n?r:r[0]};function Rtt(e,t){return e.type===s.TITLE&&e.props.config.push(Oe.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,c,f,l,a,y,d,m,O,g,$,h,w,B,P,T,z,A,Y;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new F_.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=n.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,I.props.openType=(c=n.props)==null?void 0:c.check.open_type,I.props.formKey=(f=n.props)==null?void 0:f.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(I.toSchema()),(a=n.props)==null||delete a.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const I=new F_.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(d=n.props)==null?void 0:d.edit.content,I.props.priorityProcess=(m=n.props)==null?void 0:m.edit.priority_process,I.props.openType=(O=n.props)==null?void 0:O.edit.open_type,I.props.formKey=(g=n.props)==null?void 0:g.edit.form_key,($=n.props)!=null&&$.edit.is_show&&n.children.push(I.toSchema()),(h=n.props)==null||delete h.edit}if(((w=n.props)==null?void 0:w.delete)!==void 0){const I=new F_.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(B=n.props)==null?void 0:B.delete.content,I.props.priorityProcess=(P=n.props)==null?void 0:P.delete.priority_process,I.props.openType=(T=n.props)==null?void 0:T.delete.open_type,I.props.formKey=(z=n.props)==null?void 0:z.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(Y=n.props)==null||delete Y.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Btt=(e,t)=>{const n=Array.isArray(e);let r=lt(n?e:[e],i=>Itt(i));return n?r:r[0]};function Itt(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{o.props.meta_auto_width=new Fh,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type});const n={[s.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e}var AT={"v1.0":UY,"v2.0":rtt,"v2.1":utt,"v2.2":ltt,"v2.3":att,"v2.4":stt,"v2.5":dtt,"v2.6":htt,"v2.7":mtt,"v2.8":Ott,"v2.9":$tt,"v2.10":Ett,"v3.0":Ttt,"v3.1":Btt,"v3.2":()=>{}};const kT=(e,t)=>{const n=DT(e),o=DT(t),r=n.pop(),i=o.pop(),u=FT(n,o);return u!==0?u:r&&i?FT(r.split("."),i.split(".")):r||i?r?-1:1:0},df=(e,t,n)=>{xtt(n);const o=kT(e,t);return LT[n].includes(o)},Att=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,DT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Att);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},xT=e=>e==="*"||e==="x"||e==="X",jT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},ktt=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Dtt=(e,t)=>{if(xT(e)||xT(t))return 0;const[n,o]=ktt(jT(e),jT(t));return n>o?1:n<o?-1:0},FT=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=Dtt(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},LT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},MT=Object.keys(LT),xtt=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(MT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${MT.join("|")}`)};function sh(e){return e.replace(/^v/,"")}const Mn=Object.keys(AT).map(e=>sh(e)).sort(kT),yo=Mn[Mn.length-1];class jtt{constructor(t,n=yo){this.schemaVersion=t,this.toVersion=n,df(n,yo,">")?qn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${yo}`):(!Mn.includes(sh(n))||!Mn.includes(sh(t)))&&qn(`Version Builder: Please give me a valid version number, The valid version is: ${Mn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(df(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const f=(y=c[u+1])!=null?y:this.toVersion;ho(`Version Builder: current version: ${i}, nextVersion: ${f}`);const l=AT[i];let a=r;if(typeof l=="function"){const d=l(r,n);d&&(a=d)}return a},t);return ho(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Mn.filter(t=>df(t,this.schemaVersion,">=")&&df(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return yo}static get version(){return yo}}De.VersionBuilder=jtt,Object.defineProperty(De,"__esModule",{value:!0})});