@byteluck-fe/model-driven-upgrade 2.7.0-alpha.8 → 2.7.0-beta

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(Tn,Vr){typeof exports=="object"&&typeof module!="undefined"?Vr(exports):typeof define=="function"&&define.amd?define(["exports"],Vr):(Tn=typeof globalThis!="undefined"?globalThis:Tn||self,Vr(Tn.modelDrivenUpgrade={}))})(this,function(Tn){"use strict";var Vr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",fT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",sT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",dT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vT="{caption}\u5FC5\u586B",pT="\u8BF7\u8F93\u5165\u6807\u9898",_T="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",hT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",bT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",gT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",mT="\u8BF7\u7ED1\u5B9A\u8868\u5355",OT="\u8BF7\u7ED1\u5B9A\u5217\u8868",wT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",PT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",RT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$T="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ST="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ET="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",TT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",IT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",BT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",CT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",AT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",NT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",kT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",DT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",FT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",LT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",MT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",VT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",HT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",UT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",WT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",KT="\u8BF7\u9009\u62E9\u7701",GT="\u8BF7\u9009\u62E9\u5E02",XT="\u8BF7\u9009\u62E9\u533A",QT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",JT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ZT="\u8BF7\u8F93\u5165\u5217\u5BBD",YT="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",eI="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",tI="\u8BF7\u9009\u62E9\u63A7\u4EF6",nI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",rI="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",oI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",iI="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",uI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",lI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",aI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",fI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",dI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vI="\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",_I="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",hI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",bI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",OI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",PI={isNotNumber:Vr,isNotString:fT,isNotObject:sT,isNotArray:yT,isNotBoolean:dT,runtimeRequired:vT,pleaseEnterCaption:pT,pleaseEnterCaptionTip:_T,pleaseEnterRowCaption:hT,pleaseEnterPlaceholder:bT,pleaseEnterFieldCode:gT,pleaseEnterForm:mT,pleaseEnterList:OT,pleaseEnterProcess:wT,pleaseEnterLabel:PT,pleaseEnterValue:RT,bizKeyNotBindFiled:$T,pleaseSelectOneField:ST,pleaseEnterNumberRange:ET,pleaseEnterAValueGreaterThanMin:TT,pleaseEnterAValueLessThanMax:IT,numberRangeSetError:BT,stringRangeError:CT,attachmentMaxSize:AT,pleaseEnterTotalScoreSetting:xT,theTotalScoreMustNotBeLessThan1:NT,scoreDefaultValueRange:kT,attachmentLimitError:DT,PleaseReselectTheOptionalQuantity:jT,TheMaximumLengthIsGreaterThanTheMinimumLength:FT,TheMinimumLengthIsGreaterThanTheMaximumLength:LT,PleaseSelectTheCorrectOptionSettings:MT,optionIdIsRepeat:VT,optionIsRequired:zT,pleaseEnterDataCode:HT,pleaseEnterValueFieldCode:qT,pleaseEnterSvcCode:UT,pleaseBindAtLeastOneDisplayValue:WT,pleaseSelectProvince:KT,pleaseSelectCity:GT,pleaseSelectDistrict:XT,limitRowsCannotBeLessThan0:QT,TheNumberOfRowsCannotBeLessThanMinRows:JT,pleaseEnterColumnWidth:ZT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:YT,pleaseCompleteAllRulesAndConditions:eI,pleaseSelectControl:tI,pleaseSelectAtLeastOneColumn:nI,pleaseSelectFillBackMode:rI,pleaseSelectDashboard:oI,rootNodeIsRequired:iI,theViewNameCannotBeEmpty:uI,pleaseSelectOcrType:cI,pleaseSelectAtLeastOneFieldToFillIn:lI,pleaseChooseAtLeastOne:aI,pleaseEnterButtonContent:fI,pleaseEnterDataCodeInDataSetting:sI,pleaseEnterValueFieldCodeInDataSetting:yI,pleaseEnterSvcCodeInDataSetting:dI,pleaseBindAtLeastOneDisplayValueInDataSetting:vI,rootNodeIsRequiredInDataSetting:pI,pleaseEnterMaxHeight:_I,pleaseEnter:hI,pleaseEnterWatermark:bI,pleaseEnterFileName:gI,pleaseUploadAtLeastOnePrintTemplate:mI,pleaseAssignBusiness:OI,pleaseAssignExternal:wI},RI="Please enter a number",$I="Please enter a string",SI="Please enter an object",EI="Please enter an array",TI="Please enter a boolean",II="{caption} Required",BI="Please enter the title",CI="Please enter the bubble prompt",AI="Please enter the row title",xI="Please enter the prompt text",NI="Please bind data items",kI="Please bind the form",DI="Please bind the list",jI="Please bind the process",FI="Please enter the displayed value",LI="Please enter the stored value",MI="The document number is not bound to the data item",VI="Please select at least one display field",zI="Please enter a value greater than or equal to {min} and less than or equal to {max}",HI="Please enter a value greater than or equal to {min}",qI="Please enter a value less than or equal to {max}",UI="The value range is set incorrectly",WI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",KI="The attachment size must be between 0MB and 1000MB",GI="Please fill in the total score setting",XI="The total score cannot be less than 1",QI="The default value must be between {min} and {max}",JI="The number of attachments uploaded must be between {min} and {max}",ZI="Please re-select the optional quantity",YI="The maximum length of the control must be greater than the minimum length",eB="The minimum length of the control must be less than the maximum length",tB="Please select the correct option setting",nB="Option ID cannot be repeated",rB="Please enter at least one option",oB="Please bind the data source",iB="Please bind the stored value",uB="Please bind the service",cB="At least one display value must be bound",lB="Please select a province",aB="Please select a city",fB="Please select a district",sB="The minimum number of lines to fill in cannot be less than 0",yB="The number of rows cannot be less than {min} rows",dB="Please enter the column width",vB="Please set the logical relationship of all rule conditions",pB="Please complete all rules and conditions",_B="please select control",hB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",mB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",OB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",wB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",PB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",RB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",$B="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",SB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",EB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",TB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",IB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",BB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",CB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",AB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",NB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",kB={isNotNumber:RI,isNotString:$I,isNotObject:SI,isNotArray:EI,isNotBoolean:TI,runtimeRequired:II,pleaseEnterCaption:BI,pleaseEnterCaptionTip:CI,pleaseEnterRowCaption:AI,pleaseEnterPlaceholder:xI,pleaseEnterFieldCode:NI,pleaseEnterForm:kI,pleaseEnterList:DI,pleaseEnterProcess:jI,pleaseEnterLabel:FI,pleaseEnterValue:LI,bizKeyNotBindFiled:MI,pleaseSelectOneField:VI,pleaseEnterNumberRange:zI,pleaseEnterAValueGreaterThanMin:HI,pleaseEnterAValueLessThanMax:qI,numberRangeSetError:UI,stringRangeError:WI,attachmentMaxSize:KI,pleaseEnterTotalScoreSetting:GI,theTotalScoreMustNotBeLessThan1:XI,scoreDefaultValueRange:QI,attachmentLimitError:JI,PleaseReselectTheOptionalQuantity:ZI,TheMaximumLengthIsGreaterThanTheMinimumLength:YI,TheMinimumLengthIsGreaterThanTheMaximumLength:eB,PleaseSelectTheCorrectOptionSettings:tB,optionIdIsRepeat:nB,optionIsRequired:rB,pleaseEnterDataCode:oB,pleaseEnterValueFieldCode:iB,pleaseEnterSvcCode:uB,pleaseBindAtLeastOneDisplayValue:cB,pleaseSelectProvince:lB,pleaseSelectCity:aB,pleaseSelectDistrict:fB,limitRowsCannotBeLessThan0:sB,TheNumberOfRowsCannotBeLessThanMinRows:yB,pleaseEnterColumnWidth:dB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vB,pleaseCompleteAllRulesAndConditions:pB,pleaseSelectControl:_B,pleaseSelectDashboard:hB,theViewNameCannotBeEmpty:bB,pleaseSelectOcrType:gB,pleaseSelectAtLeastOneFieldToFillIn:mB,pleaseChooseAtLeastOne:OB,pleaseEnterButtonContent:wB,pleaseEnterDataCodeInDataSetting:PB,pleaseEnterValueFieldCodeInDataSetting:RB,pleaseEnterSvcCodeInDataSetting:$B,pleaseBindAtLeastOneDisplayValueInDataSetting:SB,rootNodeIsRequiredInDataSetting:EB,pleaseEnterMaxHeight:TB,pleaseEnter:IB,pleaseEnterWatermark:BB,pleaseEnterFileName:CB,pleaseUploadAtLeastOnePrintTemplate:AB,pleaseAssignBusiness:xB,pleaseAssignExternal:NB},DB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VB="{caption}\u5FC5\u9808",zB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",oC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",cC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",fC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sC="\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",yC="\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",dC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_C="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",mC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",RC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",$C="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",SC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",EC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",TC="please select control",IC="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",BC="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",CC="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",AC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NC="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",DC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",FC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",LC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",MC="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",VC="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zC="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",HC="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qC="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",UC="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",WC="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",KC={isNotNumber:DB,isNotString:jB,isNotObject:FB,isNotArray:LB,isNotBoolean:MB,runtimeRequired:VB,pleaseEnterCaption:zB,pleaseEnterCaptionTip:HB,pleaseEnterRowCaption:qB,pleaseEnterPlaceholder:UB,pleaseEnterFieldCode:WB,pleaseEnterForm:KB,pleaseEnterList:GB,pleaseEnterProcess:XB,pleaseEnterLabel:QB,pleaseEnterValue:JB,bizKeyNotBindFiled:ZB,pleaseSelectOneField:YB,pleaseEnterNumberRange:eC,pleaseEnterAValueGreaterThanMin:tC,pleaseEnterAValueLessThanMax:nC,numberRangeSetError:rC,stringRangeError:oC,attachmentMaxSize:iC,pleaseEnterTotalScoreSetting:uC,theTotalScoreMustNotBeLessThan1:cC,scoreDefaultValueRange:lC,attachmentLimitError:aC,PleaseReselectTheOptionalQuantity:fC,TheMaximumLengthIsGreaterThanTheMinimumLength:sC,TheMinimumLengthIsGreaterThanTheMaximumLength:yC,PleaseSelectTheCorrectOptionSettings:dC,optionIdIsRepeat:vC,optionIsRequired:pC,pleaseEnterDataCode:_C,pleaseEnterValueFieldCode:hC,pleaseEnterSvcCode:bC,pleaseBindAtLeastOneDisplayValue:gC,pleaseSelectProvince:mC,pleaseSelectCity:OC,pleaseSelectDistrict:wC,limitRowsCannotBeLessThan0:PC,TheNumberOfRowsCannotBeLessThanMinRows:RC,pleaseEnterColumnWidth:$C,pleaseSetTheLogicalRelationshipOfAllRuleConditions:SC,pleaseCompleteAllRulesAndConditions:EC,pleaseSelectControl:TC,pleaseSelectDashboard:IC,theViewNameCannotBeEmpty:BC,pleaseSelectOcrType:CC,pleaseSelectAtLeastOneFieldToFillIn:AC,pleaseChooseAtLeastOne:xC,pleaseEnterButtonContent:NC,pleaseEnterDataCodeInDataSetting:kC,pleaseEnterValueFieldCodeInDataSetting:DC,pleaseEnterSvcCodeInDataSetting:jC,pleaseBindAtLeastOneDisplayValueInDataSetting:FC,rootNodeIsRequiredInDataSetting:LC,pleaseEnterMaxHeight:MC,pleaseEnter:VC,pleaseEnterWatermark:zC,pleaseEnterFileName:HC,pleaseUploadAtLeastOnePrintTemplate:qC,pleaseAssignBusiness:UC,pleaseAssignExternal:WC},GC={zhCN:PI,enUS:kB,jaJP:KC},Sg;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Sg||(Sg={}));var Eg;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Eg||(Eg={}));var XC="zh-CN";function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var In;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(In||(In={}));var d;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(d||(d={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var ge;ge={},Ne(ge,m.ARRAY,d.ARRAY_COLUMN),Ne(ge,m.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),Ne(ge,m.DECIMAL,d.DECIMAL_COLUMN),Ne(ge,m.DEPARTMENTS,d.DEPARTMENT_COLUMN),Ne(ge,m.FILE,d.FILE_COLUMN),Ne(ge,m.IMAGE,d.IMAGE_COLUMN),Ne(ge,m.ADDRESS,d.LOCATION_COLUMN),Ne(ge,m.EMPLOYEES,d.EMPLOYEE_COLUMN),Ne(ge,m.TEXT,d.TEXT_COLUMN),Ne(ge,m.TIMESCOPE,d.TIMESCOPE_COLUMN),Ne(ge,m.TIMESTAMP,d.TIMESTAMP_COLUMN),Ne(ge,m.VARCHAR,d.VARCHAR_COLUMN),Ne(ge,m.RELATION,d.VARCHAR_COLUMN);var Dt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Dt||(Dt={}));var Tg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",QC=Tg+"0123456789";function bt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Tg:QC,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Gf(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 JC(e){if(Array.isArray(e))return Gf(e)}function ZC(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 YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function wo(e,t,r){return YC()?wo=Reflect.construct:wo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Hr(l,u.prototype),l},wo.apply(null,arguments)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function 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&&Hr(e,t)}function e1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function t1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function n1(){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 r1(e,t){return t&&(o1(t)==="object"||typeof t=="function")?t:ZC(e)}function Hr(e,t){return Hr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hr(e,t)}function Cg(e){return JC(e)||t1(e)||i1(e)||n1()}var o1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i1(e,t){if(!!e){if(typeof e=="string")return Gf(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 Gf(e,t)}}function Xf(e){var t=typeof Map=="function"?new Map:void 0;return Xf=function(n){if(n===null||!e1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return wo(n,arguments,zr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hr(o,n)},Xf(e)}function u1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=u1();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r1(this,o)}}var Qf=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=Qf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Cg(o)))}function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Qf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Cg(o)))}function c1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Zf=function(e){Bg(r,e);var t=Ag(r);function r(n){Ig(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?c1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Xf(Error)),l1=function(e){Bg(r,e);var t=Ag(r);function r(n){Ig(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Zf);function qr(e){throw new Zf(e)}function xg(e){throw new l1(e)}function a1(e){Qf.error(new Zf(e))}var f1=Object.prototype.toString;function Ng(e,t){return f1.call(e)==="[object "+t+"]"}function s1(e){return Ng(e,"String")}function y1(e){return Ng(e,"Promise")}var d1=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();y1(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&&!s1(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 v1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p1(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function _1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=function(){function e(){v1(this,e)}return p1(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]:XC;return new d1({locale:r,messages:GC})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();_1(_,"$i18n",_.resetI18n());function h1(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 b1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yf={exports:{}};(function(e){(function(t){var r=function(p,P,R){if(!l(P)||y(P)||v(P)||h(P)||a(P))return P;var $,E=0,L=0;if(f(P))for($=[],L=P.length;E<L;E++)$.push(r(p,P[E],R));else{$={};for(var C in P)Object.prototype.hasOwnProperty.call(P,C)&&($[p(C,R)]=r(p,P[C],R))}return $},n=function(p,P){P=P||{};var R=P.separator||"_",$=P.split||/(?=[A-Z])/;return p.split($).join(R)},o=function(p){return O(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(P,R){return R?R.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},i=function(p){var P=o(p);return P.substr(0,1).toUpperCase()+P.substr(1)},u=function(p,P){return n(p,P).toLowerCase()},c=Object.prototype.toString,a=function(p){return typeof p=="function"},l=function(p){return p===Object(p)},f=function(p){return c.call(p)=="[object Array]"},y=function(p){return c.call(p)=="[object Date]"},v=function(p){return c.call(p)=="[object RegExp]"},h=function(p){return c.call(p)=="[object Boolean]"},O=function(p){return p=p-0,p===p},b=function(p,P){var R=P&&"process"in P?P.process:P;return typeof R!="function"?p:function($,E){return R($,p,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(p,P){return r(b(o,P),p)},decamelizeKeys:function(p,P){return r(b(u,P),p,P)},pascalizeKeys:function(p,P){return r(b(i,P),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(b1)})(Yf);var Dg={};Object.defineProperty(Dg,"__esModule",{value:!0});function es(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:es(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:es(n)}return t}}var g1=Dg.default=es;function jt(e){if(e!==void 0)return typeof e=="object"?g1(e):e}function me(e){return jg(e)&&"zh"in e}function jg(e){return Object.prototype.toString.call(e)==="[object Object]"}function ts(e){return Array.isArray(e)}function Bn(e){return isNaN(parseFloat(e))?"":Number(e)}function m1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Re(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Re(n.children,t)),t(o)})),r}function O1(e){return Yf.exports.camelizeKeys(e)}function Cn(e){return Yf.exports.decamelizeKeys(e)}function ns(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 ns(e)}function Fg(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 P1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Fg(i,n,o,u,c,"next",a)}function c(a){Fg(i,n,o,u,c,"throw",a)}u(void 0)})}}function R1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $1(e,t,r){return t&&Lg(e.prototype,t),r&&Lg(e,r),e}function Mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function E1(){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 rs(e){return w1(e)||S1(e)||T1(e)||E1()}function T1(e,t){if(!!e){if(typeof e=="string")return ns(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 ns(e,t)}}var I1=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},B1=function(){function e(){R1(this,e),Mg(this,"_events",new Map),Mg(this,"debug",!1)}return $1(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 P1(function(){var c,a,l,f,y,v,h,O,b,w,p,P;return I1(this,function(R){switch(R.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,v=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),h=l[Symbol.iterator](),R.label=2;case 2:if(f=(O=h.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(rs(o))),[4,b.apply(null,rs(o))];case 4:return w=R.sent(),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.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(rs(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return p=R.sent(),a1(String(p)+":"+String(p.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return P=R.sent(),y=!0,v=P,[3,10];case 9:try{!f&&h.return!=null&&h.return()}finally{if(y)throw v}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 C1(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 A1(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function x1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var N1=[{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"}],k1=function(){function e(){C1(this,e)}return A1(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}();x1(k1,"events",N1);function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j1(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Hg=[],os=function(){function e(t){D1(this,e),an(this,"registeredControlTypes",new Set),an(this,"controlConfigMap",new Map),an(this,"_controls",[]),an(this,"_type",void 0),this._type=t,this._initControls(t)}return j1(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||qr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(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===In.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===In.FORM}},{key:"isListControl",value:function(r){return r.controlType===In.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===In.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(l){return o.createControl(l,n)});r.children&&(r.children=r.children.map(function(l){return o.createControl(l,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(l){return o.createControl(l,n)}));var i=this.getControlFormType(r.type);if(i){var u=r;if(typeof n=="function"){var c=n(u);c&&(u=c)}var a=new i(u);return a}else qr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&qr("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(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}();an(os,"staticControls",Hg),an(os,"staticRegisteredTypes",new Set(Hg.map(function(e){return e.Designer.controlType}))),an(os,"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 S(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 Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function qg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function F1(e,t){return t&&(L1(t)==="object"||typeof t=="function")?t:F(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var L1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=M1();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F1(this,o)}}var Me=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},Ug=function e(t){S(this,e),g(this,"minWidth",void 0),g(this,"maxWidth",void 0),g(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},us=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"width",void 0),g(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}(Ug),V1=function e(t){S(this,e),g(this,"pc",void 0),g(this,"mobile",void 0),this.pc=new us(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new us(t==null?void 0:t.mobile):new us({width:130,minWidth:180})},z1=function e(t){S(this,e),g(this,"type",void 0),g(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},An=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"formKey",void 0),g(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:""},H1=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(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}(An),Wg=function e(t){S(this,e),g(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},cs=function e(t){S(this,e);var r;g(this,"appId",void 0),g(this,"formKey",void 0),g(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 Wg(u)}))!==null&&i!==void 0?i:[]},q1=function e(t){S(this,e),g(this,"fieldName",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},U1=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"title",void 0),g(F(o),"svcCode",void 0),g(F(o),"isOpenFilter",void 0),g(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}(An),W1=function e(t){S(this,e);var r,n;g(this,"type","sublist-page"),g(this,"formBind",void 0),g(this,"displayFields",void 0),g(this,"sublists",void 0),this.formBind=new An(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new q1(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 U1(u)}))!==null&&i!==void 0?i:[]},K1=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ur=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(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:[]},Kg=function e(t){var r=this;S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","conditions"),g(this,"level",void 0),g(this,"value",void 0),g(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:bt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,y=new ls(c);(f=r.children)===null||f===void 0||f.push(y)}}))},ls=function e(t){S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","condition"),g(this,"symbol",void 0),g(this,"checked",void 0),g(this,"describe",void 0),g(this,"leftVariableBo",void 0),g(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:bt();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 K1(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ur(t==null?void 0:t.rightVariableBo)},G1=function e(t){S(this,e),g(this,"aliasCode",void 0),g(this,"datasourceBind",void 0),g(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Q(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},$e=function e(t){S(this,e),g(this,"controlId",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(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:""},as=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(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},X1=function e(t){S(this,e),g(this,"columnName",void 0),g(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 fs(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 Kg(c):new ls(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 Kg(c):new ls(c)}))!==null&&o!==void 0?o:[],qg(this,Q)||qg(this,ys)){var i,u;this.orders=(u=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(c){return new X1(c)}))!==null&&u!==void 0?u:[]}}var Q=function e(t){var r=this;S(this,e),g(this,"dataCode",void 0),g(this,"valueFieldCode",void 0),g(this,"displayBoList",void 0),g(this,"keywordMapping",void 0),g(this,"svcCode",void 0),g(this,"appId",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"isOpenViewFilters",void 0),g(this,"orders",void 0),g(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=r.displayBoList)===null||y===void 0||y.push(new as(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:"",fs.call(this,t)},ss=function e(t){S(this,e),g(this,"dataCode",void 0),g(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:[]},Ft=function e(t){S(this,e),g(this,"code",void 0),g(this,"color",void 0),g(this,"command",void 0),g(this,"confirmMessage",void 0),g(this,"defaultState",void 0),g(this,"formKey",void 0),g(this,"icon",void 0),g(this,"needConfirm",void 0),g(this,"openType",void 0),g(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Gg=function e(t){S(this,e);var r;g(this,"name",void 0),g(this,"key",void 0),g(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 as(u)}))!==null&&i!==void 0?i:[]},$o=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(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 Gg(c)}))!==null&&u!==void 0?u:[],o}return r}(Q),Q1=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(F(o),"attributes",void 0),g(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 Gg(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(Q),Xg=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"rootNode",void 0),g(F(o),"filterCode",void 0),o.rootNode=new Ur(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}($o),Qg=function e(t){S(this,e);var r;g(this,"dataCode",void 0),g(this,"appId",void 0),g(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new $e(u)}))!==null&&i!==void 0?i:[]},ys=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this,n),g(F(o),"filters",void 0),g(F(o),"viewFilters",void 0),g(F(o),"orders",void 0),fs.call(F(o),n),o}return r}(Qg),Jg=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"mode",void 0),g(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}(Qg),Zg=function e(t){S(this,e),g(this,"stencilName",void 0),g(this,"expression",void 0),g(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:""},J1=function e(t){S(this,e),g(this,"id",void 0),g(this,"label",void 0),g(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:bt(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 gt(e){var t;return(t=e==null?void 0:e.map(function(r){return new J1(r)}))!==null&&t!==void 0?t:[]}var ds=function e(){S(this,e)},Z1=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"amount",void 0),g(F(o),"currency",void 0),o.amount=new Me(n==null?void 0:n.amount),o.currency=new Me(n==null?void 0:n.currency),o}return r}(ds),Y1=function e(t){S(this,e),g(this,"amount",void 0),g(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:So.CNY},eA=function(e){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"min",void 0),g(F(o),"max",void 0),o.min=new Me(n==null?void 0:n.min),o.max=new Me(n==null?void 0:n.max),o}return r}(ds),tA=function e(t){S(this,e),g(this,"min",void 0),g(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:""},nA=function e(t){S(this,e),g(this,"city",void 0),g(this,"cityDisplay",void 0),g(this,"district",void 0),g(this,"districtDisplay",void 0),g(this,"province",void 0),g(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){Qe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"result",void 0),g(F(o),"unit",void 0),o.result=new Me(n==null?void 0:n.result),o.unit=new Me(n==null?void 0:n.unit),o}return r}(ds),oA=function e(t){S(this,e),g(this,"result",void 0),g(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},So;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(So||(So={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var vs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(vs||(vs={}));var Lt=function e(t){S(this,e),g(this,"isShow",void 0),g(this,"priorityProcess",void 0),g(this,"formKey",void 0),g(this,"content",void 0),g(this,"openType",void 0),g(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},iA=function e(t){S(this,e);var r;g(this,"id",void 0),g(this,"title",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:bt(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 Wg(u)}))!==null&&i!==void 0?i:[],fs.call(this,t)},uA=function e(t){S(this,e),g(this,"width",void 0),g(this,"height",void 0),g(this,"widthConfig",void 0),g(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"},cA=function e(t){S(this,e),g(this,"optCode",void 0),g(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ps(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Eo(e,t,r){return aA()?Eo=Reflect.construct:Eo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Kr(l,u.prototype),l},Eo.apply(null,arguments)}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function fA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kr(e,t)}function sA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function yA(e,t){return t&&(dA(t)==="object"||typeof t=="function")?t:lA(e)}function Kr(e,t){return Kr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kr(e,t)}var dA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _s(e){var t=typeof Map=="function"?new Map:void 0;return _s=function(n){if(n===null||!sA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Eo(n,arguments,Wr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Kr(o,n)},_s(e)}function vA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pA(e){var t=vA();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 yA(this,o)}}var J=function e(t){ps(this,e),fn(this,"isHide",{type:"boolean"})},sn=function(e){fA(r,e);var t=pA(r);function r(n){return ps(this,r),t.call(this)}return r}(_s(Array)),te=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ps(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 uA(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};fn(te,"Rules",J),fn(te,"RuntimeRules",sn);function ut(){return ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ut.apply(this,arguments)}function _A(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function To(e,t){return To=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},To(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 Io(e,t,r){return hA()?Io=Reflect.construct:Io=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&To(l,u.prototype),l},Io.apply(null,arguments)}function bA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bs(e){var t=typeof Map=="function"?new Map:void 0;return bs=function(n){if(n===null||!bA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Io(n,arguments,hs(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),To(o,n)},bs(e)}var gA=/%[sdj%]/g,Yg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Yg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function gs(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(gA,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 Z(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||mA(t)&&typeof e=="string"&&!e)}function OA(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 em(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 wA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var tm=function(e){_A(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}(bs(Error));function PA(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var h=function(w){return n(w),w.length?v(new tm(w,gs(w))):y()},O=wA(e);em(O,r,h)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,v){var h=function(b){if(l.push.apply(l,b),a++,a===c)return n(l),l.length?v(new tm(l,gs(l))):y()};u.length||(n(l),y()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?em(b,r,h):OA(b,r,h)})});return f.catch(function(y){return y}),f}function nm(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 rm(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=ut(ut({},e[r]),n):e[r]=n}}return e}function om(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Z(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function RA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var ms={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gr={integer:function(t){return Gr.number(t)&&parseInt(t,10)===t},float:function(t){return Gr.number(t)&&!Gr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(ms.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ms.url)},hex:function(t){return typeof t=="string"&&!!t.match(ms.hex)}};function $A(e,t,r,n,o){if(e.required&&t===void 0){om(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Gr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function SA(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",v=typeof t=="string",h=Array.isArray(t);if(y?f="number":v?f="string":h&&(f="array"),!f)return!1;h&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var xn="enum";function EA(e,t,r,n,o){e[xn]=Array.isArray(e[xn])?e[xn]:[],e[xn].indexOf(t)===-1&&n.push(ke(o.messages[xn],e.fullField,e[xn].join(", ")))}function TA(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var A={required:om,whitespace:RA,type:$A,range:SA,enum:EA,pattern:TA};function IA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"string")&&!e.required)return r();A.required(e,t,n,i,o,"string"),Z(t,"string")||(A.type(e,t,n,i,o),A.range(e,t,n,i,o),A.pattern(e,t,n,i,o),e.whitespace===!0&&A.whitespace(e,t,n,i,o))}r(i)}function BA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}function CA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function AA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}function xA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),Z(t)||A.type(e,t,n,i,o)}r(i)}function NA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function kA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function DA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();A.required(e,t,n,i,o,"array"),t!=null&&(A.type(e,t,n,i,o),A.range(e,t,n,i,o))}r(i)}function jA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A.type(e,t,n,i,o)}r(i)}var FA="enum";function LA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o),t!==void 0&&A[FA](e,t,n,i,o)}r(i)}function MA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"string")&&!e.required)return r();A.required(e,t,n,i,o),Z(t,"string")||A.pattern(e,t,n,i,o)}r(i)}function VA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t,"date")&&!e.required)return r();if(A.required(e,t,n,i,o),!Z(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),A.type(e,c,n,i,o),c&&A.range(e,c.getTime(),n,i,o)}}r(i)}function zA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;A.required(e,t,n,i,o,u),r(i)}function Os(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Z(t,i)&&!e.required)return r();A.required(e,t,n,u,o,i),Z(t,i)||A.type(e,t,n,u,o)}r(u)}function HA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Z(t)&&!e.required)return r();A.required(e,t,n,i,o)}r(i)}var Xr={string:IA,method:BA,number:CA,boolean:AA,regexp:xA,integer:NA,float:kA,array:DA,object:jA,enum:LA,pattern:MA,date:VA,url:Os,hex:Os,email:Os,required:zA,any:HA};function ws(){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 Ps=ws();function Mt(e){this.rules=null,this._messages=Ps,this.define(e)}Mt.prototype={messages:function(t){return t&&(this._messages=rm(ws(),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(b){var w,p=[],P={};function R($){if(Array.isArray($)){var E;p=(E=p).concat.apply(E,$)}else p.push($)}for(w=0;w<b.length;w++)R(b[w]);p.length?P=gs(p):(p=null,P=null),c(p,P)}if(u.messages){var l=this.messages();l===Ps&&(l=ws()),rm(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,v={},h=u.keys||Object.keys(this.rules);h.forEach(function(b){f=o.rules[b],y=i[b],f.forEach(function(w){var p=w;typeof p.transform=="function"&&(i===t&&(i=ut({},i)),y=i[b]=p.transform(y)),typeof p=="function"?p={validator:p}:p=ut({},p),p.validator=o.getValidationMethod(p),p.field=b,p.fullField=p.fullField||b,p.type=o.getType(p),p.validator&&(v[b]=v[b]||[],v[b].push({rule:p,value:y,source:i,field:b}))})});var O={};return PA(v,u,function(b,w){var p=b.rule,P=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");P=P&&(p.required||!p.required&&b.value),p.field=b.field;function R(L,C){return ut(ut({},C),{},{fullField:p.fullField+"."+L})}function $(L){L===void 0&&(L=[]);var C=L;if(Array.isArray(C)||(C=[C]),!u.suppressWarning&&C.length&&Mt.warning("async-validator:",C),C.length&&p.message!==void 0&&(C=[].concat(p.message)),C=C.map(nm(p)),u.first&&C.length)return O[p.field]=1,w(C);if(!P)w(C);else{if(p.required&&!b.value)return p.message!==void 0?C=[].concat(p.message).map(nm(p)):u.error&&(C=[u.error(p,ke(u.messages.required,p.field))]),w(C);var W={};if(p.defaultField)for(var T in b.value)b.value.hasOwnProperty(T)&&(W[T]=p.defaultField);W=ut(ut({},W),b.rule.fields);for(var _t in W)if(W.hasOwnProperty(_t)){var Oo=Array.isArray(W[_t])?W[_t]:[W[_t]];W[_t]=Oo.map(R.bind(null,_t))}var Mr=new Mt(W);Mr.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Mr.validate(b.value,b.rule.options||u,function(En){var ht=[];C&&C.length&&ht.push.apply(ht,C),En&&En.length&&ht.push.apply(ht,En),w(ht.length?ht:null)})}}var E;p.asyncValidator?E=p.asyncValidator(p,b.value,$,b.source,u):p.validator&&(E=p.validator(p,b.value,$,b.source,u),E===!0?$():E===!1?$(p.message||p.field+" fails"):E instanceof Array?$(E):E instanceof Error&&$(E.message)),E&&E.then&&E.then(function(){return $()},function(L){return $(L)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Xr.hasOwnProperty(t.type))throw new Error(ke("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Xr.required:Xr[this.getType(t)]||!1}},Mt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Xr[t]=r},Mt.warning=Yg,Mt.messages=Ps,Mt.validators=Xr;var qA={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 UA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Mt(e);return r.messages(Object.assign(qA,t)),r}var WA=new B1;function Rs(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 KA(e){if(Array.isArray(e))return e}function GA(e){if(Array.isArray(e))return Rs(e)}function im(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 um(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){im(i,n,o,u,c,"next",a)}function c(a){im(i,n,o,u,c,"throw",a)}u(void 0)})}}function XA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QA(e,t,r){return t&&cm(e.prototype,t),r&&cm(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 lm(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function am(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JA(){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 ZA(){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 fm(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){j(e,o,r[o])})}return e}function YA(e){return KA(e)||am(e)||sm(e)||JA()}function Bo(e){return GA(e)||am(e)||sm(e)||ZA()}function sm(e,t){if(!!e){if(typeof e=="string")return Rs(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 Rs(e,t)}}var ym=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},M=function(){function t(r){var n=this;XA(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"updateSetting",vm),j(this,"removeSetting",dm),j(this,"addSetting",e3),j(this,"replaceSetting",t3),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,y=o.name,v=o.setting;i&&u&&c||xg("The ".concat(y," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:bt(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new te(r==null?void 0:r.props,(lm(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=jt(v);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=jt(l),this.customEvents=jt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return QA(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=YA(o),a=c[0],l=c.slice(1);return(u=WA).emit.apply(u,[a,this].concat(Bo(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),h1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return um(function(){var o,i,u;return ym(this,function(c){switch(c.label){case 0:return o=fm({},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 um(function(){var u,c,a,l;return ym(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:fm({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=UA(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,v=c.required,h=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var p={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(a&&(p.dataBind=a),f){case"datasource":case void 0:l&&(p.datasourceBind=l);break;case"custom":p.props.options=O;break}return v!==void 0&&(p.required=v),h!==void 0&&(p.maxLength=h),b!==void 0&&(p.encrypted=b),w!==void 0&&(p.encryptedMode=w),p}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:jt(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,Bo(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(M,"controlName","\u63A7\u4EF6"),j(M,"controlIcon","icon"),j(M,"controlType","control"),j(M,"controlFieldType",void 0),j(M,"controlEventKeys",[]),j(M,"controlCustomEvents",[]),j(M,"setting",[]),j(M,"__is_control__",!0),j(M,"removeSettingItem",dm),j(M,"updateSettingItem",vm);function dm(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string";if(!!Array.isArray(t.setting)){var u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}}})}function vm(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){if(!!Array.isArray(r.setting)){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Bo(t.showItems))}}}}})}function e3(e){var t,r=Object.prototype.toString.call(e)==="[object Object]"?[e]:e;(t=this.setting).push.apply(t,Bo(r))}function t3(e){this.setting=e}function n3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r3(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Vt=function(){function t(r){n3(this,t),Ve(this,"id",void 0),Ve(this,"type",void 0),Ve(this,"controlType",void 0),Ve(this,"props",void 0),Ve(this,"fieldType",void 0),Ve(this,"customEvents",[]),Ve(this,"pageStatus",void 0),Ve(this,"parent",null);var n=o3(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||xg("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:bt(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new te(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:vs.UNKNOWN}return r3(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ve(Vt,"controlType","control"),Ve(Vt,"controlFieldType",void 0),Ve(Vt,"__is_control__",!0),Ve(Vt,"controlCustomEvents",[]);function $s(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:_.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:_.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=m1(i);i.length!==u.length?o(_.getMessage("optionIdIsRepeat")):o()},message:_.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:_.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}])}function Co(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:_.getMessage("isNotString")},key:{type:"string",required:!0,message:_.getMessage("isNotString")},value:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}]}function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(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&&Ss(e,t)}function i3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function u3(e,t){return t&&(c3(t)==="object"||typeof t=="function")?t:V(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var c3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ko(e){var t=l3();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 u3(this,o)}}var de=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"dataBind",{}),z(V(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),z(V(o),"isHideCaption",{type:"boolean"}),z(V(o),"labelPosition",{type:"enum",enum:["top","left"]}),z(V(o),"defaultState",{type:"enum",enum:["default","readonly"]}),z(V(o),"required",{type:"boolean"}),z(V(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}};if(i3(n.dataBind,Me))o.dataBind={type:"object",required:!0,fields:jt(i),message:_.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:_.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:jt(i),message:_.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),H=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:_.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(sn),N=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"caption",void 0),z(V(o),"isHideCaption",void 0),z(V(o),"isShowCaptionTip",void 0),z(V(o),"captionTip",void 0),z(V(o),"labelPosition",void 0),z(V(o),"dataBind",void 0),z(V(o),"defaultValue",void 0),z(V(o),"placeholder",void 0),z(V(o),"defaultState",void 0),z(V(o),"required",void 0),z(V(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var h;o.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",o.dataBind=new Me(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(te);z(N,"Rules",de),z(N,"RuntimeRules",H);var Nn=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),z(V(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),z(V(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),z(V(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),$s.call(V(o),n),o}return r}(de);function Es(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(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 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&&Ts(e,t)}function s3(e,t){return t&&(y3(t)==="object"||typeof t=="function")?t:Es(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var y3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v3(e){var t=d3();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 s3(this,o)}}var k=function(e){f3(r,e);var t=v3(r);function r(n){a3(this,r);var o;return o=t.call(this,n),Do(Es(o),"controlType","form"),Do(Es(o),"props",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(M);Do(k,"controlEventKeys",["on_change","on_focus","on_blur"]),Do(k,"controlCustomAttributes",void 0);function Fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function _3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function h3(e,t){return t&&(b3(t)==="object"||typeof t=="function")?t:Fo(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var b3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m3(e){var t=g3();return function(){var n=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h3(this,o)}}var D=function(e){_3(r,e);var t=m3(r);function r(n){p3(this,r);var o;return o=t.call(this,n),Is(Fo(o),"controlType","form"),Is(Fo(o),"props",void 0),Is(Fo(o),"value",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(Vt);function O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function P3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R3(e,t){return t&&($3(t)==="object"||typeof t=="function")?t:O3(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var $3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E3(e){var t=S3();return function(){var n=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R3(this,o)}}var oe=function(e){P3(r,e);var t=E3(r);function r(n){return w3(this,r),t.call(this,n)}return r}(te);function As(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 T3(e){if(Array.isArray(e))return As(e)}function I3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function B3(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _m(e){return T3(e)||I3(e)||C3(e)||B3()}function C3(e,t){if(!!e){if(typeof e=="string")return As(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 As(e,t)}}function A3(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function hm(e,t){e.parent=t,A3(e,"parent")}function x3(e,t){e.forEach(function(r){hm(r,t)})}var bm=Symbol("targetKey");function gm(e){var t;return(t=e[bm])!==null&&t!==void 0?t:e}function mm(e,t){return x3(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===bm?n:(a=Reflect).get.apply(a,[n,o].concat(_m(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(ts(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(_m(c)));return jg(i)&&hm(i,t),f}})}function zt(e,t,r,n){var o=n!=null?n:e,i=mm(gm(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=mm(gm(c),o)},enumerable:!0})}function xs(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 N3(e){if(Array.isArray(e))return xs(e)}function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Om(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function k3(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Om(i,n,o,u,c,"next",a)}function c(a){Om(i,n,o,u,c,"throw",a)}u(void 0)})}}function D3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j3(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}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 kn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kn=Reflect.get:kn=function(o,i,u){var c=W3(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},kn(e,t,r||e)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qt(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&&Ns(e,t)}function L3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function M3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V3(){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 z3(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){Ht(e,o,r[o])})}return e}function H3(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 q3(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H3(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function U3(e,t){return t&&(K3(t)==="object"||typeof t=="function")?t:yn(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function W3(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qt(e),e!==null););return e}function Pm(e){return N3(e)||M3(e)||G3(e)||V3()}var K3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G3(e,t){if(!!e){if(typeof e=="string")return xs(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 xs(e,t)}}function X3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q3(e){var t=X3();return function(){var n=qt(e),o;if(t){var i=qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U3(this,o)}}var J3=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Z3=1e4,ie=function(t){F3(n,t);var r=Q3(n);function n(o){D3(this,n);var i;i=r.call(this,o),Ht(yn(i),"controlType","layout"),Ht(yn(i),"children",void 0),Ht(yn(i),"excludes",void 0),Ht(yn(i),"childrenMaxLength",void 0),Ht(yn(i),"props",void 0);var u=L3(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new oe(o==null?void 0:o.props),zt(yn(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return j3(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(qt(n.prototype),"validate",c)};return k3(function(){return J3(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=kn(qt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var y=f.filter(function(v){return!!v});return Pm(a).concat(Pm(y))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=kn(qt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return q3(z3({},i),{children:u})}}]),n}(M);Ht(ie,"excludes",!1),Ht(ie,"childrenMaxLength",Z3);function Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y3(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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(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&&Ds(e,t)}function tx(e,t){return t&&(nx(t)==="object"||typeof t=="function")?t:Qr(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var nx=function(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=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tx(this,o)}}var dn=function(e){ex(r,e);var t=ox(r);function r(n){Y3(this,r);var o;return o=t.call(this,n),ks(Qr(o),"controlType","layout"),ks(Qr(o),"children",void 0),ks(Qr(o),"props",void 0),o.props=new oe(n==null?void 0:n.props),zt(Qr(o),"children",n==null?void 0:n.children),o}return r}(Vt);function js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ux(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 cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lx(e,t){return t&&(ax(t)==="object"||typeof t=="function")?t:js(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var ax=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sx(e){var t=fx();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 lx(this,o)}}var Ls=function(e){cx(r,e);var t=sx(r);function r(n,o){ix(this,r);var i;return i=t.call(this,o),ux(js(i),"headers",void 0),zt(js(i),"headers",o==null?void 0:o.headers,n),i}return r}(te);function Ms(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 yx(e){if(Array.isArray(e))return Ms(e)}function Ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(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 dx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Rm(i,n,o,u,c,"next",a)}function c(a){Rm(i,n,o,u,c,"throw",a)}u(void 0)})}}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function px(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function qo(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=Ox(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Dn(e,t,r||e)}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(e)}function _x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function hx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bx(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sm(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){qo(e,o,r[o])})}return e}function gx(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 Em(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function mx(e,t){return t&&(wx(t)==="object"||typeof t=="function")?t:Ho(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}function Ox(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ut(e),e!==null););return e}function Tm(e){return yx(e)||hx(e)||Px(e)||bx()}var wx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Px(e,t){if(!!e){if(typeof e=="string")return Ms(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 Ms(e,t)}}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 $x(e){var t=Rx();return function(){var n=Ut(e),o;if(t){var i=Ut(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mx(this,o)}}var Sx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},zs=function(e){_x(r,e);var t=$x(r);function r(n){vx(this,r);var o;return o=t.call(this,n),qo(Ho(o),"controlType","list"),qo(Ho(o),"props",void 0),o.props=new Ls(Ho(o),n==null?void 0:n.props),o}return px(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Dn(Ut(r.prototype),"validate",u)};return dx(function(){return Sx(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(Ut(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return Tm(c).concat(Tm(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o=Dn(Ut(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return Em(Sm({},o),{props:Em(Sm({},this.props),{headers:i})})}}]),r}(M);qo(zs,"controlFieldType",m.LIST);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&Us(e,t)}function Ex(e,t){return t&&(Tx(t)==="object"||typeof t=="function")?t:ue(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var Tx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ix(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ws(e){var t=Ix();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 Ex(this,o)}}var mt=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(this,r);var o;return o=t.call(this,n),ve(ue(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),ve(ue(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(J),X=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(this,r);var o;o=t.call(this,n),ve(ue(o),"widthType",void 0),ve(ue(o),"width",void 0),ve(ue(o),"caption",void 0),ve(ue(o),"dataBind",void 0),ve(ue(o),"autoWidth",void 0),ve(ue(o),"fixed",void 0),ve(ue(o),"sort",void 0),ve(ue(o),"align",void 0),ve(ue(o),"colSpan",void 0),ve(ue(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new Ug(n==null?void 0:n.autoWidth),o.dataBind=new Me(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(te);ve(X,"Rules",mt);var Im=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(this,r);var o;return o=t.call(this,n),ve(ue(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),ve(ue(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),ve(ue(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),$s.call(ue(o),n),o}return r}(mt);function Ks(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(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 Cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ax(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:Ks(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var xx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kx(e){var t=Nx();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 Ax(this,o)}}var ce=function(e){Cx(r,e);var t=kx(r);function r(n){Bx(this,r);var o;return o=t.call(this,n),Bm(Ks(o),"controlType","column"),Bm(Ks(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(M);function Xs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(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 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&&Qs(e,t)}function Fx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Xs(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var Lx=function(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=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fx(this,o)}}var le=function(e){jx(r,e);var t=Vx(r);function r(n){Dx(this,r);var o;return o=t.call(this,n),Cm(Xs(o),"controlType","column"),Cm(Xs(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(Vt);function Am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function qx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ux(e,t){return t&&(Wx(t)==="object"||typeof t=="function")?t:Am(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var Wx=function(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 Gx(e){var t=Kx();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ux(this,o)}}var Zs=function(e){qx(r,e);var t=Gx(r);function r(n){zx(this,r);var o;return o=t.call(this,n),Hx(Am(o),"dataBind",void 0),o.dataBind=new Me(n==null?void 0:n.dataBind),o}return r}(oe);function Ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(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 Qx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jx(e,t){return t&&(Zx(t)==="object"||typeof t=="function")?t:Ys(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var Zx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eN(e){var t=Yx();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 Jx(this,o)}}var tN=function(e){Qx(r,e);var t=eN(r);function r(n){Xx(this,r);var o;return o=t.call(this,n),xm(Ys(o),"controlType","search"),xm(Ys(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ie);function ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(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 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&&ny(e,t)}function oN(e,t){return t&&(iN(t)==="object"||typeof t=="function")?t:ty(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var iN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cN(e){var t=uN();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 oN(this,o)}}var lN=function(e){rN(r,e);var t=cN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),Nm(ty(o),"controlType","search"),Nm(ty(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(dn);function vn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}}}])}function jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(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 Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function sN(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:jn(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var yN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dN();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 sN(this,o)}}var pN=function(e){fN(r,e);var t=vN(r);function r(n){aN(this,r);var o;o=t.call(this,n),Jr(jn(o),"content",void 0),Jr(jn(o),"fontSize",void 0),Jr(jn(o),"color",void 0),Jr(jn(o),"icon",void 0),Jr(jn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(te);function km(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 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 hN(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(e,r),e}function jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:km(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var mN=function(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 wN(e){var t=ON();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 gN(this,o)}}var PN=function(e){bN(r,e);var t=wN(r);function r(n){_N(this,r);var o;return o=t.call(this,n),jm(km(o),"props",void 0),o.props=new pN(n==null?void 0:n.props),o}return hN(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(M);jm(PN,"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 Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function $N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:Yo(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var EN=function(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 BN=function(e){$N(r,e);var t=IN(r);function r(n){RN(this,r);var o;o=t.call(this,n),iy(Yo(o),"content",void 0),iy(Yo(o),"url",void 0),iy(Yo(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(te);function Fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AN(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function cy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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&&ly(e,t)}function NN(e,t){return t&&(kN(t)==="object"||typeof t=="function")?t:Fm(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var kN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=DN();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 NN(this,o)}}var Mm=function(e){xN(r,e);var t=jN(r);function r(n){CN(this,r);var o;return o=t.call(this,n),cy(Fm(o),"props",void 0),o.props=new BN(n==null?void 0:n.props),o}return AN(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(M);cy(Mm,"controlEventKeys",["on_click"]),cy(Mm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function MN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:ct(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var VN=function(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 HN(e){var t=zN();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 MN(this,o)}}var De=function(e){LN(r,e);var t=HN(r);function r(n){FN(this,r);var o;o=t.call(this,n),Ot(ct(o),"content",void 0),Ot(ct(o),"buttonType",void 0),Ot(ct(o),"showType",void 0),Ot(ct(o),"color",void 0),Ot(ct(o),"icon",void 0),Ot(ct(o),"defaultState",void 0),Ot(ct(o),"command",void 0),Ot(ct(o),"isLoading",void 0),Ot(ct(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1;var h;return o.optObj=new cA((h=n==null?void 0:n.optObj)!==null&&h!==void 0?h:{}),o}return r}(te);function Vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 UN(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function fy(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 WN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function KN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:Vm(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var GN=function(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 QN(e){var t=XN();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 KN(this,o)}}var Se=function(e){WN(r,e);var t=QN(r);function r(n){qN(this,r);var o;return o=t.call(this,n),fy(Vm(o),"props",void 0),o.props=new De(n==null?void 0:n.props),o}return UN(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(M);fy(Se,"controlEventKeys",["on_click","on_click_finish"]),fy(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 Wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wt;(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"})(wt||(wt={}));var yy;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(yy||(yy={}));var dy;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(dy||(dy={}));var vy=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:yy.UN_SELECT_ABLE_INTERVAL,dateLimitType:dy.FILE_IN_TIME,id:bt(8),value:["",""]};Wt(this,e),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},py;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(py||(py={}));var _y=function e(t){Wt(this,e),I(this,"id",void 0),I(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:bt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},hy;(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"})(hy||(hy={}));var Hm=function e(t){Wt(this,e),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Ur((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Ur((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Ur((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},JN=function e(t){Wt(this,e);var r;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Hm(a)}))!==null&&o!==void 0?o:[new Hm];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:""},qm=function e(t){Wt(this,e),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:bt(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},Um=function e(t){Wt(this,e),I(this,"active",void 0),I(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},ZN=function e(t){Wt(this,e),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Um(t==null?void 0:t.watermark),this.autoRename=new Um(t==null?void 0:t.autoRename)},YN=480;function oi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var e2=function e(t){Wt(this,e),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Wm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Wm||(Wm={}));var by;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(by||(by={}));var ii;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ii||(ii={}));var Kt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Kt||(Kt={}));var gy;(function(e){e.ALL="all",e.ADMIN="admin"})(gy||(gy={}));function my(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(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 n2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r2(e,t){return t&&(o2(t)==="object"||typeof t=="function")?t:my(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var o2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u2(e){var t=i2();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 r2(this,o)}}var c2=function(e){n2(r,e);var t=u2(r);function r(n){t2(this,r);var o;o=t.call(this,n),Km(my(o),"color",void 0),Km(my(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:hy.SOLID,o}return r}(te);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a2(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Qm(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 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&&wy(e,t)}function s2(e,t){return t&&(y2(t)==="object"||typeof t=="function")?t:Gm(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=d2();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 s2(this,o)}}var p2=function(e){f2(r,e);var t=v2(r);function r(n){l2(this,r);var o;return o=t.call(this,n),Qm(Gm(o),"props",void 0),o.props=new c2(n==null?void 0:n.props),o}return a2(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(M);Qm(p2,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Gt(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 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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&Py(e,t)}function _2(e,t){return t&&(h2(t)==="object"||typeof t=="function")?t:Gt(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var h2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ym(e){var t=b2();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 _2(this,o)}}var g2=function(e){Zm(r,e);var t=Ym(r);function r(n){Jm(this,r);var o;return o=t.call(this,n),Xt(Gt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Xt(Gt(o),"dataBind",{type:"any"}),Xt(Gt(o),"config",{type:"array"}),n.config.includes(wt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")}},message:_.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:_.getMessage("pleaseSelectOneField")}),o}return r}(J),e0=function(e){Zm(r,e);var t=Ym(r);function r(n){Jm(this,r);var o;o=t.call(this,n),Xt(Gt(o),"dataBind",void 0),Xt(Gt(o),"caption",void 0),Xt(Gt(o),"config",void 0),Xt(Gt(o),"position",void 0),o.dataBind=new Me(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[wt.ShowSubmitUser,wt.ShowSubmitDept,wt.ShowSubmitTime,wt.ShowCurrentApprovar,wt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Zr==null?void 0:Zr.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(te);Xt(e0,"Rules",g2);function t0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m2(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 O2(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Ry(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P2(e,t){return t&&(R2(t)==="object"||typeof t=="function")?t:t0(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var R2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S2(e){var t=$2();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P2(this,o)}}var Zr=function(e){w2(r,e);var t=S2(r);function r(n){m2(this,r);var o;return o=t.call(this,n),Ry(t0(o),"props",void 0),o.props=new e0(n==null?void 0:n.props),o}return O2(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(M);Ry(Zr,"controlFieldType",m.AUTO_NUMBER),Ry(Zr,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function fi(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 si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&Sy(e,t)}function E2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:fi(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var T2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i0(e){var t=I2();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 E2(this,o)}}var B2=function(e){o0(r,e);var t=i0(r);function r(n){r0(this,r);var o;return o=t.call(this,n),si(fi(o),"formKey",{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(J),u0=function(e){o0(r,e);var t=i0(r);function r(n){r0(this,r);var o;o=t.call(this,n),si(fi(o),"formKey",void 0),si(fi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(De);si(u0,"Rules",B2);function c0(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 l0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A2(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Ey(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 x2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:c0(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var k2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j2(e){var t=D2();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 N2(this,o)}}var vi=function(e){x2(r,e);var t=j2(r);function r(n){C2(this,r);var o;return o=t.call(this,n),Ey(c0(o),"props",void 0),o.props=new u0(n==null?void 0:n.props),o}return A2(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);Ey(vi,"controlEventKeys",["on_click","on_click_finish"]),Ey(vi,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function f0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F2(e,t){return t&&(L2(t)==="object"||typeof t=="function")?t:Fn(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var L2=function(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 s0(e){var t=M2();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 F2(this,o)}}var V2=function(e){f0(r,e);var t=s0(r);function r(n){a0(this,r);var o;return o=t.call(this,n),Ln(Fn(o),"processKey",[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterProcess")}]),o}return r}(J),y0=function(e){f0(r,e);var t=s0(r);function r(n){a0(this,r);var o;o=t.call(this,n),Ln(Fn(o),"processKey",void 0),Ln(Fn(o),"initiatorMode",void 0),Ln(Fn(o),"fieldCode",void 0),Ln(Fn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:hi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(De);Ln(y0,"Rules",V2);function d0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z2(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 H2(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function By(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 q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U2(e,t){return t&&(W2(t)==="object"||typeof t=="function")?t:d0(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var W2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G2(e){var t=K2();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 U2(this,o)}}var hi=function(e){q2(r,e);var t=G2(r);function r(n){z2(this,r);var o;return o=t.call(this,n),By(d0(o),"props",void 0),o.props=new y0(n==null?void 0:n.props),o}return H2(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);By(hi,"controlEventKeys",["on_click","on_click_finish"]),By(hi,"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 X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&Ay(e,t)}function Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:X2(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}var Y2=function(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=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var nk=function(e){J2(r,e);var t=tk(r);function r(n){Q2(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:mi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon,o}return r}(De);function p0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ok(e,t,r){return t&&_0(e.prototype,t),r&&_0(e,r),e}function xy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function ik(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function uk(e,t){return t&&(ck(t)==="object"||typeof t=="function")?t:p0(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var ck=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ak(e){var t=lk();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uk(this,o)}}var mi=function(e){ik(r,e);var t=ak(r);function r(n){rk(this,r);var o;return o=t.call(this,n),xy(p0(o),"props",void 0),o.props=new nk(n==null?void 0:n.props),o}return ok(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);xy(mi,"controlEventKeys",["on_click"]),xy(mi,"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 ky(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fk(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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function yk(e,t){return t&&(dk(t)==="object"||typeof t=="function")?t:ky(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var dk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pk(e){var t=vk();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 yk(this,o)}}var _k=function(e){sk(r,e);var t=pk(r);function r(n){fk(this,r);var o,i;o=t.call(this,n),h0(ky(o),"templateList",void 0),h0(ky(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Pi.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 qm(f)}))!==null&&l!==void 0?l:[new qm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(De);function b0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bk(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:b0(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var Ok=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=wk();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 mk(this,o)}}var Pi=function(e){gk(r,e);var t=Pk(r);function r(n){hk(this,r);var o;return o=t.call(this,n),jy(b0(o),"props",void 0),o.props=new _k(n==null?void 0:n.props),o}return bk(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);jy(Pi,"controlEventKeys",["on_click","on_click_finish"]),jy(Pi,"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 Rk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function Ek(e,t){return t&&(Tk(t)==="object"||typeof t=="function")?t:Rk(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var Tk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bk(e){var t=Ik();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ek(this,o)}}var Ck=function(e){Sk(r,e);var t=Bk(r);function r(n){$k(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:Si.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Si.controlIcon,o}return r}(De);function m0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xk(e,t,r){return t&&O0(e.prototype,t),r&&O0(e,r),e}function My(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&Vy(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:m0(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var Dk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=jk();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 kk(this,o)}}var Si=function(e){Nk(r,e);var t=Fk(r);function r(n){Ak(this,r);var o;return o=t.call(this,n),My(m0(o),"props",void 0),o.props=new Ck(n==null?void 0:n.props),o}return xk(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);My(Si,"controlEventKeys",["on_click"]),My(Si,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function zy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(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&&qy(e,t)}function Mk(e,t){return t&&(Vk(t)==="object"||typeof t=="function")?t:zy(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var Vk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hk(e){var t=zk();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 Mk(this,o)}}var qk=function e(t){w0(this,e),Hy(this,"dataCode",void 0),this.dataCode=t.dataCode},Uk=function(e){Lk(r,e);var t=Hk(r);function r(n){w0(this,r);var o,i;o=t.call(this,n),Hy(zy(o),"canImportList",void 0),Hy(zy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ii.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Ii.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new qk(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 P0(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 R0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kk(e,t,r){return t&&R0(e.prototype,t),r&&R0(e,r),e}function Uy(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 Gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function Xk(e,t){return t&&(Qk(t)==="object"||typeof t=="function")?t:P0(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var Qk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zk(e){var t=Jk();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xk(this,o)}}var Ii=function(e){Gk(r,e);var t=Zk(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),Uy(P0(o),"props",void 0),o.props=new Uk(n==null?void 0:n.props),o}return Kk(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);Uy(Ii,"controlEventKeys",["on_click","on_click_finish"]),Uy(Ii,"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 Bi(){return{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}}}}}}function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $0(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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(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&&Ky(e,t)}function E0(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){Pt(e,o,r[o])})}return e}function Yk(e,t){return t&&(eD(t)==="object"||typeof t=="function")?t:Qt(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var eD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T0(e){var t=tD();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 Yk(this,o)}}var nD=function(e){S0(r,e);var t=T0(r);function r(n){$0(this,r);var o;return o=t.call(this,n),Pt(Qt(o),"fillPayload",{type:"object",fields:E0({},Bi())}),Pt(Qt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}}),Pt(Qt(o),"fillBack",{type:"object",fields:E0({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},Bi())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return r}(J),I0=function(e){S0(r,e);var t=T0(r);function r(n){$0(this,r);var o;o=t.call(this,n),Pt(Qt(o),"fillPayload",void 0),Pt(Qt(o),"formBind",void 0),Pt(Qt(o),"fillBack",void 0),Pt(Qt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:xi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xi.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new ys(n==null?void 0:n.fillPayload),o.formBind=new H1(n==null?void 0:n.formBind),o.fillBack=new Jg(n==null?void 0:n.fillBack),o}return r}(De);Pt(I0,"Rules",nD);function B0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oD(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function Gy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function iD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function uD(e,t){return t&&(cD(t)==="object"||typeof t=="function")?t:B0(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var cD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aD(e){var t=lD();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uD(this,o)}}var xi=function(e){iD(r,e);var t=aD(r);function r(n){rD(this,r);var o;return o=t.call(this,n),Gy(B0(o),"props",void 0),o.props=new I0(n==null?void 0:n.props),o}return oD(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);Gy(xi,"controlEventKeys",["on_click","on_click_finish"]),Gy(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&Qy(e,t)}function N0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){lt(e,o,r[o])})}return e}function fD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:Rt(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var sD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k0(e){var t=yD();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 fD(this,o)}}var dD=function(e){x0(r,e);var t=k0(r);function r(n){A0(this,r);var o;return o=t.call(this,n),lt(Rt(o),"fillPayload",{type:"object",fields:N0({},Bi())}),lt(Rt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}),lt(Rt(o),"fillBack",{type:"object",fields:N0({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},Bi())}),o}return r}(J),D0=function(e){x0(r,e);var t=k0(r);function r(n){A0(this,r);var o;o=t.call(this,n),lt(Rt(o),"fillPayload",void 0),lt(Rt(o),"listPageBind",void 0),lt(Rt(o),"fillBack",void 0),lt(Rt(o),"showSelectedDetail",void 0),lt(Rt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Di.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Di.controlIcon,o.fillPayload=new ys(n==null?void 0:n.fillPayload),o.listPageBind=new cs(n==null?void 0:n.listPageBind),o.fillBack=new Jg(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 ss(n==null?void 0:n.selectedContentConfig),o}return r}(De);lt(D0,"Rules",dD);function j0(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 F0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pD(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function Jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function _D(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function hD(e,t){return t&&(bD(t)==="object"||typeof t=="function")?t:j0(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var bD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mD(e){var t=gD();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 hD(this,o)}}var Di=function(e){_D(r,e);var t=mD(r);function r(n){vD(this,r);var o;return o=t.call(this,n),Jy(j0(o),"props",void 0),o.props=new D0(n==null?void 0:n.props),o}return pD(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);Jy(Di,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Jy(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function OD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(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 ed(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wD(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:OD(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var PD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nd(e){var t=RD();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 wD(this,o)}}var $D=function(e){ed(r,e);var t=nd(r);function r(n){return Yy(this,r),t.call(this,n)}return r}(J),SD=function(e){ed(r,e);var t=nd(r);function r(n){return Yy(this,r),t.call(this,n)}return r}(sn),rd=function(e){ed(r,e);var t=nd(r);function r(n){return Yy(this,r),t.call(this,n)}return r}(te);L0(rd,"Rules",$D),L0(rd,"RuntimeRules",SD);function M0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(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 TD(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function ID(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function BD(e,t){return t&&(CD(t)==="object"||typeof t=="function")?t:M0(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var CD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xD(e){var t=AD();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 BD(this,o)}}var ND=function(e){ID(r,e);var t=xD(r);function r(n){ED(this,r);var o;return o=t.call(this,n),z0(M0(o),"props",void 0),o.props=new rd(n==null?void 0:n.props),o}return TD(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(M);z0(ND,"setting",[]);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kD(e,t){return t&&(DD(t)==="object"||typeof t=="function")?t:ze(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var DD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U0(e){var t=jD();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 kD(this,o)}}var FD=function(e){q0(r,e);var t=U0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),He(ze(o),"dashboardKey",{type:"string",required:!0,message:_.getMessage("pleaseSelectDashboard")}),He(ze(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),He(ze(o),"isHideCaption",{type:"boolean"}),He(ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),He(ze(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),W0=function(e){q0(r,e);var t=U0(r);function r(n){H0(this,r);var o;o=t.call(this,n),He(ze(o),"dashboardKey",void 0),He(ze(o),"caption",void 0),He(ze(o),"isHideCaption",void 0),He(ze(o),"isShowCaptionTip",void 0),He(ze(o),"captionTip",void 0),He(ze(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(te);He(W0,"Rules",FD);function K0(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 G0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MD(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function VD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function zD(e,t){return t&&(HD(t)==="object"||typeof t=="function")?t:K0(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var HD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=qD();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 zD(this,o)}}var WD=function(e){VD(r,e);var t=UD(r);function r(n){LD(this,r);var o;return o=t.call(this,n),X0(K0(o),"props",void 0),o.props=new W0(n==null?void 0:n.props),o}return MD(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(M);X0(WD,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&cd(e,t)}function KD(e,t){return t&&(GD(t)==="object"||typeof t=="function")?t:Yr(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var GD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z0(e){var t=XD();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 KD(this,o)}}var QD=function(e){J0(r,e);var t=Z0(r);function r(n){Q0(this,r);var o;return o=t.call(this,n),eo(Yr(o),"showType",{type:"enum",enum:["select","tabs"]}),eo(Yr(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:_.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(J),Y0=function(e){J0(r,e);var t=Z0(r);function r(n){Q0(this,r);var o,i;o=t.call(this,n),eo(Yr(o),"showType",void 0),eo(Yr(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new iA(a)}))!==null&&c!==void 0?c:[],o}return r}(te);eo(Y0,"Rules",QD);function eO(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 tO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZD(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function nO(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 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&&ld(e,t)}function ej(e,t){return t&&(tj(t)==="object"||typeof t=="function")?t:eO(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var tj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rj(e){var t=nj();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 ej(this,o)}}var oj=function(e){YD(r,e);var t=rj(r);function r(n){JD(this,r);var o;return o=t.call(this,n),nO(eO(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return ZD(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(M);nO(oj,"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 rO(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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&&ad(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:Ee(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var uj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iO(e){var t=cj();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 ij(this,o)}}var lj=function(e){oO(r,e);var t=iO(r);function r(n){rO(this,r);var o;return o=t.call(this,n),Te(Ee(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Te(Ee(o),"isHideCaption",{type:"boolean"}),Te(Ee(o),"labelPosition",{type:"enum",enum:["top","left"]}),Te(Ee(o),"ocrType",{type:"string",required:!0,message:_.getMessage("pleaseSelectOcrType")}),Te(Ee(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Te(Ee(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),uO=function(e){oO(r,e);var t=iO(r);function r(n){rO(this,r);var o,i;o=t.call(this,n),Te(Ee(o),"caption",void 0),Te(Ee(o),"isHideCaption",void 0),Te(Ee(o),"isShowCaptionTip",void 0),Te(Ee(o),"captionTip",void 0),Te(Ee(o),"labelPosition",void 0),Te(Ee(o),"ocrType",void 0),Te(Ee(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:to.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:to.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:to.controlIcon;var h;o.ocrType=(h=n==null?void 0:n.ocrType)!==null&&h!==void 0?h:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Te(uO,"Rules",lj);function cO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fj(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function fd(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 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&&sd(e,t)}function yj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:cO(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var dj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pj(e){var t=vj();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 yj(this,o)}}var to=function(e){sj(r,e);var t=pj(r);function r(n){aj(this,r);var o;return o=t.call(this,n),fd(cO(o),"props",void 0),o.props=new uO(n==null?void 0:n.props),o}return fj(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);fd(to,"controlEventKeys",["on_click","on_click_finish"]),fd(to,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aO(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function fO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _j(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:Ie(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var hj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sO(e){var t=bj();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 _j(this,o)}}var gj=function(e){fO(r,e);var t=sO(r);function r(n){aO(this,r);var o;return o=t.call(this,n),Be(Ie(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Be(Ie(o),"isHideCaption",{type:"boolean"}),Be(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ie(o),"invoiceCheck",{type:"boolean"}),Be(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ie(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),yO=function(e){fO(r,e);var t=sO(r);function r(n){aO(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"caption",void 0),Be(Ie(o),"isHideCaption",void 0),Be(Ie(o),"isShowCaptionTip",void 0),Be(Ie(o),"captionTip",void 0),Be(Ie(o),"labelPosition",void 0),Be(Ie(o),"invoiceCheck",void 0),Be(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:no.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:no.controlIcon;var h;o.invoiceCheck=(h=n==null?void 0:n.invoiceCheck)!==null&&h!==void 0?h:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Be(yO,"Rules",gj);function dO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mj(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 Oj(e,t,r){return t&&vO(e.prototype,t),r&&vO(e,r),e}function dd(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 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&&vd(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:dO(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var Rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sj(e){var t=$j();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 Pj(this,o)}}var no=function(e){wj(r,e);var t=Sj(r);function r(n){mj(this,r);var o;return o=t.call(this,n),dd(dO(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return Oj(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);dd(no,"controlEventKeys",["on_click","on_click_finish"]),dd(no,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(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 _O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:Ki(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var Tj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hO(e){var t=Ij();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 Ej(this,o)}}var Bj=function(e){_O(r,e);var t=hO(r);function r(){pO(this,r);var n;return n=t.apply(this,arguments),Gi(Ki(n),"printTemplates",{type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(J),bO=function(e){_O(r,e);var t=hO(r);function r(n){pO(this,r);var o,i;o=t.call(this,n),Gi(Ki(o),"printTemplates",void 0),Gi(Ki(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ji.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ji.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new e2(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);Gi(bO,"Rules",Bj);function gO(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 mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aj(e,t,r){return t&&mO(e.prototype,t),r&&mO(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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&hd(e,t)}function Nj(e,t){return t&&(kj(t)==="object"||typeof t=="function")?t:gO(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var kj=function(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 jj(e){var t=Dj();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 Nj(this,o)}}var Ji=function(e){xj(r,e);var t=jj(r);function r(n){Cj(this,r);var o;return o=t.call(this,n),_d(gO(o),"props",void 0),o.props=new bO(n==null?void 0:n.props),o}return Aj(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);_d(Ji,"controlEventKeys",["on_click","on_click_finish"]),_d(Ji,"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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&bd(e,t)}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:Fj(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var zj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qj(e){var t=Hj();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 Vj(this,o)}}var Uj=function(e){Mj(r,e);var t=qj(r);function r(n){Lj(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:eu.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:eu.controlIcon,o}return r}(De);function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kj(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Gj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xj(e,t){return t&&(Qj(t)==="object"||typeof t=="function")?t:OO(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var Qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zj(e){var t=Jj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xj(this,o)}}var eu=function(e){Gj(r,e);var t=Zj(r);function r(n){Wj(this,r);var o;return o=t.call(this,n),gd(OO(o),"props",void 0),o.props=new Uj(n==null?void 0:n.props),o}return Kj(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);gd(eu,"controlEventKeys",["on_click"]),gd(eu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yj(e,t){return t&&(eF(t)==="object"||typeof t=="function")?t:Oe(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var eF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $O(e){var t=tF();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 Yj(this,o)}}var nF=function(e){RO(r,e);var t=$O(r);function r(n){PO(this,r);var o;return o=t.call(this,n),we(Oe(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(J),nu=function(e){RO(r,e);var t=$O(r);function r(n){PO(this,r);var o;o=t.call(this,n),we(Oe(o),"content",void 0),we(Oe(o),"code",void 0),we(Oe(o),"command",void 0),we(Oe(o),"color",void 0),we(Oe(o),"icon",void 0),we(Oe(o),"formKey",void 0),we(Oe(o),"openType",void 0),we(Oe(o),"needConfirm",void 0),we(Oe(o),"confirmMessage",void 0),we(Oe(o),"options",void 0),we(Oe(o),"defaultState",void 0),we(Oe(o),"priorityProcess",void 0),we(Oe(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(te);we(nu,"Rules",nF);function SO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oF(e,t,r){return t&&EO(e.prototype,t),r&&EO(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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function iF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function uF(e,t){return t&&(cF(t)==="object"||typeof t=="function")?t:SO(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var cF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aF(e){var t=lF();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 uF(this,o)}}var ou=function(e){iF(r,e);var t=aF(r);function r(n){rF(this,r);var o;return o=t.call(this,n),wd(SO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return oF(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(M);wd(ou,"controlEventKeys",["on_click"]),wd(ou,"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 TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sF(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function yF(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){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&Rd(e,t)}function vF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:TO(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=_F();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var bF=function(e){dF(r,e);var t=hF(r);function r(n){fF(this,r);var o;return o=t.call(this,n),yF(TO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return sF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Vt),$d={Designer:ou,Runtime:bF,Property:nu};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function mF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function OF(e,t){return t&&(wF(t)==="object"||typeof t=="function")?t:$t(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var wF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RF(e){var t=PF();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 OF(this,o)}}var $F=function(e){mF(r,e);var t=RF(r);function r(n){gF(this,r);var o;o=t.call(this,n),Jt($t(o),"content",void 0),Jt($t(o),"buttonType",void 0),Jt($t(o),"showType",void 0),Jt($t(o),"color",void 0),Jt($t(o),"icon",void 0),Jt($t(o),"defaultState",void 0),Jt($t(o),"command",void 0),Jt($t(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lu.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(te);function BO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EF(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function Ed(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 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&&Td(e,t)}function IF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:BO(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var BF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AF(e){var t=CF();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 IF(this,o)}}var lu=function(e){TF(r,e);var t=AF(r);function r(n){SF(this,r);var o;return o=t.call(this,n),Ed(BO(o),"props",void 0),o.props=new $F(n==null?void 0:n.props),o}return EF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(M);Ed(lu,"controlEventKeys",["on_click"]),Ed(lu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Bd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function xF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:at(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var NF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ad(e){var t=kF();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 xF(this,o)}}var DF=function(e){Bd(r,e);var t=Ad(r);function r(n){Id(this,r);var o;return o=t.call(this,n),Ze(at(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ze(at(o),"minLength",{type:"number",max:200,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ze(at(o),"defaultValue",[{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),jF=function(e){Bd(r,e);var t=Ad(r);function r(n){Id(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:_.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),ro=function(e){Bd(r,e);var t=Ad(r);function r(n){Id(this,r);var o;o=t.call(this,n),Ze(at(o),"maxLength",void 0),Ze(at(o),"minLength",void 0),Ze(at(o),"regularRules",void 0),Ze(at(o),"defaultValue",void 0),Ze(at(o),"encrypted",void 0),Ze(at(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Zg(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:oo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(N);Ze(ro,"Rules",DF),Ze(ro,"RuntimeRules",jF);function AO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LF(e,t,r){return t&&xO(e.prototype,t),r&&xO(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 MF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:AO(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=HF();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var oo=function(e){MF(r,e);var t=qF(r);function r(n){FF(this,r);var o;return o=t.call(this,n),fu(AO(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return LF(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(k);fu(oo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),fu(oo,"controlFieldType",m.VARCHAR),fu(oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WF(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function DO(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 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&&Nd(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:NO(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var XF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JF(e){var t=QF();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var ZF=function(e){KF(r,e);var t=JF(r);function r(n){UF(this,r);var o;return o=t.call(this,n),DO(NO(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return WF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);DO(ZF,"controlFieldType",m.VARCHAR);function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&jd(e,t)}function YF(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:pe(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var eL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fd(e){var t=tL();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 YF(this,o)}}var nL=function(e){Dd(r,e);var t=Fd(r);function r(n){kd(this,r);var o;o=t.call(this,n),ae(pe(o),"limitMax",{type:"number",min:void 0,message:_.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Nn),rL=function(e){Dd(r,e);var t=Fd(r);function r(n){kd(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(H),vu=function(e){Dd(r,e);var t=Fd(r);function r(n){kd(this,r);var o;o=t.call(this,n),ae(pe(o),"checkboxMode",void 0),ae(pe(o),"options",void 0),ae(pe(o),"optionsOrder",void 0),ae(pe(o),"limitMax",void 0),ae(pe(o),"limitMin",void 0),ae(pe(o),"otherOption",void 0),ae(pe(o),"optionConfig",void 0),ae(pe(o),"optionsFormat",void 0),ae(pe(o),"defaultShowOptions",void 0),ae(pe(o),"datasourceBind",void 0),ae(pe(o),"multistageFilling",void 0),ae(pe(o),"interreaction",void 0),ae(pe(o),"defaultValue",void 0),ae(pe(o),"openMultistageFilling",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:hu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;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(P){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new $e(P))})),o}return r}(N);ae(vu,"Rules",nL),ae(vu,"RuntimeRules",rL);function jO(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 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 iL(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&Ld(e,t)}function cL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:jO(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var lL=function(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=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cL(this,o)}}var hu=function(e){uL(r,e);var t=fL(r);function r(n){oL(this,r);var o;return o=t.call(this,n),pu(jO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return iL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);pu(hu,"controlEventKeys",["on_change","on_click"]),pu(hu,"controlFieldType",m.ARRAY),pu(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:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function LO(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 MO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yL(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function VO(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 dL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function vL(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:LO(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var pL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=_L();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vL(this,o)}}var bL=function(e){dL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),VO(LO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return yL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);VO(bL,"controlFieldType",m.ARRAY);function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function HO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gL(e,t){return t&&(mL(t)==="object"||typeof t=="function")?t:je(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}var mL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qO(e){var t=OL();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 gL(this,o)}}var wL=function(e){HO(r,e);var t=qO(r);function r(n){return zO(this,r),t.call(this,n)}return r}(Nn),zd=function(e){HO(r,e);var t=qO(r);function r(n){zO(this,r);var o;o=t.call(this,n),Fe(je(o),"radioMode",void 0),Fe(je(o),"options",void 0),Fe(je(o),"optionConfig",void 0),Fe(je(o),"optionsFormat",void 0),Fe(je(o),"defaultShowOptions",void 0),Fe(je(o),"otherOption",void 0),Fe(je(o),"optionsOrder",void 0),Fe(je(o),"datasourceBind",void 0),Fe(je(o),"multistageFilling",void 0),Fe(je(o),"interreaction",void 0),Fe(je(o),"defaultValue",void 0),Fe(je(o),"openMultistageFilling",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:wu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";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(w){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new $e(w))})),o}return r}(N);Fe(zd,"Rules",wL);function UO(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 WO(e,t){for(var r=0;r<t.length;r++){var 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&&WO(e.prototype,t),r&&WO(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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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&&Hd(e,t)}function SL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:UO(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var EL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IL(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 SL(this,o)}}var wu=function(e){$L(r,e);var t=IL(r);function r(n){PL(this,r);var o;return o=t.call(this,n),mu(UO(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return RL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);mu(wu,"controlEventKeys",["on_change","on_click"]),mu(wu,"controlFieldType",m.VARCHAR),mu(wu,"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 KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 CL(e,t,r){return t&&GO(e.prototype,t),r&&GO(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 AL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xL(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:KO(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var NL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DL(e){var t=kL();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 xL(this,o)}}var jL=function(e){AL(r,e);var t=DL(r);function r(n){BL(this,r);var o;return o=t.call(this,n),XO(KO(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return CL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);XO(jL,"controlFieldType",m.VARCHAR);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&Kd(e,t)}function FL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:Pe(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var LL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ML(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gd(e){var t=ML();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 FL(this,o)}}var VL=function(e){Wd(r,e);var t=Gd(r);function r(n){Ud(this,r);var o;o=t.call(this,n),_e(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:_.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),_e(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),zL=function(e){Wd(r,e);var t=Gd(r);function r(n){Ud(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),$u=function(e){Wd(r,e);var t=Gd(r);function r(n){Ud(this,r);var o;o=t.call(this,n),_e(Pe(o),"rangeMin",void 0),_e(Pe(o),"rangeMax",void 0),_e(Pe(o),"numberType",void 0),_e(Pe(o),"percentageFormat",void 0),_e(Pe(o),"micrometer",void 0),_e(Pe(o),"precision",void 0),_e(Pe(o),"showUpperCase",void 0),_e(Pe(o),"isShowUnit",void 0),_e(Pe(o),"unitPosition",void 0),_e(Pe(o),"unit",void 0),_e(Pe(o),"defaultValue",void 0),_e(Pe(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var h;o.unitPosition=(h=n==null?void 0:n.unitPosition)!==null&&h!==void 0?h:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Tu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var p;return o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"",o.regularRules=new Zg(n==null?void 0:n.regularRules),o}return r}(N);_e($u,"Rules",VL),_e($u,"RuntimeRules",zL);function QO(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 JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qL(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function Su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(o,i,u){var c=KL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Eu(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(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&&Xd(e,t)}function WL(e,t){return t&&(GL(t)==="object"||typeof t=="function")?t:QO(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function KL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}var GL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QL(e){var t=XL();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 WL(this,o)}}var Tu=function(e){UL(r,e);var t=QL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),Su(QO(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return qL(r,[{key:"toDataBindModel",value:function(o){var i=Eu(Mn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(k);Su(Tu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Su(Tu,"controlFieldType",m.DECIMAL),Su(Tu,"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 ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JL(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 ZL(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function ew(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){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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&&Qd(e,t)}function eM(e,t){return t&&(tM(t)==="object"||typeof t=="function")?t:ZO(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var tM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rM(e){var t=nM();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eM(this,o)}}var oM=function(e){YL(r,e);var t=rM(r);function r(n){JL(this,r);var o;return o=t.call(this,n),ew(ZO(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return ZL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);ew(oM,"controlFieldType",m.DECIMAL);function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function uM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cM(e,t){return t&&(lM(t)==="object"||typeof t=="function")?t:St(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var lM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fM(e){var t=aM();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 cM(this,o)}}var tw=function(e){uM(r,e);var t=fM(r);function r(n){iM(this,r);var o,i;o=t.call(this,n),Zt(St(o),"dateType",void 0),Zt(St(o),"dateFormat",void 0),Zt(St(o),"commonTimeSetting",void 0),Zt(St(o),"setValueType",void 0),Zt(St(o),"defaultValue",void 0),Zt(St(o),"limitDateList",void 0),Zt(St(o),"allowDateRange",void 0),Zt(St(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:ev.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"";var h;o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new vy(w)}))!==null&&h!==void 0?h:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(N);function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sM(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 yM(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function Zd(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=function(o,i,u){var c=pM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Cu(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(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&&Yd(e,t)}function vM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:nw(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function pM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var _M=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hM();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vM(this,o)}}var ev=function(e){dM(r,e);var t=bM(r);function r(n){sM(this,r);var o;return o=t.call(this,n),Zd(nw(o),"props",void 0),o.props=new tw(n==null?void 0:n.props),o}return yM(r,[{key:"toDataBindModel",value:function(o){var i=Cu(Vn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(k);Zd(ev,"controlFieldType",m.TIMESTAMP),Zd(ev,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gM(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 mM(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function uw(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 OM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wM(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:ow(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var PM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RM();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 wM(this,o)}}var SM=function(e){OM(r,e);var t=$M(r);function r(n){gM(this,r);var o;return o=t.call(this,n),uw(ow(o),"props",void 0),o.props=new tw(n==null?void 0:n.props),o}return mM(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);uw(SM,"controlFieldType",m.TIMESTAMP);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cw(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 xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function lw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function EM(e,t){return t&&(TM(t)==="object"||typeof t=="function")?t:qe(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var TM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aw(e){var t=IM();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 EM(this,o)}}var BM=function(e){lw(r,e);var t=aw(r);function r(n){cw(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),rv=function(e){lw(r,e);var t=aw(r);function r(n){cw(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 eA(n==null?void 0:n.dataBind),o.defaultValue=new tA(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 y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var h;o.placeholderEnd=(h=n==null?void 0:n.placeholderEnd)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:uv.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new vy(w)}))!==null&&b!==void 0?b:[],o}return r}(N);Ue(rv,"RuntimeRules",BM);function fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AM(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function ov(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(o,i,u){var c=kM(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Nu(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function xM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function NM(e,t){return t&&(DM(t)==="object"||typeof t=="function")?t:fw(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function kM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}var DM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FM(e){var t=jM();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 NM(this,o)}}var uv=function(e){xM(r,e);var t=FM(r);function r(n){CM(this,r);var o;return o=t.call(this,n),ov(fw(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return AM(r,[{key:"toDataBindModel",value:function(o){var i=Nu(zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(k);ov(uv,"controlFieldType",m.TIMESCOPE),ov(uv,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MM(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function vw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&cv(e,t)}function zM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:yw(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var HM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UM(e){var t=qM();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zM(this,o)}}var WM=function(e){VM(r,e);var t=UM(r);function r(n){LM(this,r);var o;return o=t.call(this,n),vw(yw(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return MM(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);vw(WM,"controlFieldType",m.TIMESCOPE);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lv(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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function av(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:Yt(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var GM=function(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 sv(e){var t=XM();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 KM(this,o)}}var QM=function(e){av(r,e);var t=sv(r);function r(n){lv(this,r);var o;return o=t.call(this,n),Et(Yt(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Et(Yt(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Et(Yt(o),"defaultValue",{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),JM=function(e){av(r,e);var t=sv(r);function r(n){lv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),ju=function(e){av(r,e);var t=sv(r);function r(n){lv(this,r);var o;o=t.call(this,n),Et(Yt(o),"maxLength",void 0),Et(Yt(o),"minLength",void 0),Et(Yt(o),"defaultValue",void 0),Et(Yt(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:Mu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:4,o}return r}(N);Et(ju,"Rules",QM),Et(ju,"RuntimeRules",JM);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZM(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 YM(e,t,r){return t&&_w(e.prototype,t),r&&_w(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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&yv(e,t)}function t5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:pw(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var n5=function(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=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t5(this,o)}}var Mu=function(e){e5(r,e);var t=o5(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),Fu(pw(o),"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return YM(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(k);Fu(Mu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fu(Mu,"controlFieldType",m.TEXT),Fu(Mu,"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 hw(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 bw(e,t){for(var r=0;r<t.length;r++){var 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&&bw(e.prototype,t),r&&bw(e,r),e}function gw(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 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&&dv(e,t)}function l5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:hw(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var a5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s5(e){var t=f5();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var y5=function(e){c5(r,e);var t=s5(r);function r(n){i5(this,r);var o;return o=t.call(this,n),gw(hw(o),"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return u5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);gw(y5,"controlFieldType",m.TEXT);function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(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 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&&_v(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:pn(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var v5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hv(e){var t=p5();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 d5(this,o)}}var _5=function(e){pv(r,e);var t=hv(r);function r(n){vv(this,r);var o;return o=t.call(this,n),en(pn(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),en(pn(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),en(pn(o),"defaultValue",{type:"string",max:200,min:0,message:_.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),h5=function(e){pv(r,e);var t=hv(r);function r(n){vv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Hu=function(e){pv(r,e);var t=hv(r);function r(n){vv(this,r);var o;o=t.call(this,n),en(pn(o),"maxLength",void 0),en(pn(o),"minLength",void 0),en(pn(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:Wu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(N);en(Hu,"Rules",_5),en(Hu,"RuntimeRules",h5);function mw(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 Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g5(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function qu(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 m5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function O5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:mw(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}var w5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();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 O5(this,o)}}var Wu=function(e){m5(r,e);var t=R5(r);function r(n){b5(this,r);var o;return o=t.call(this,n),qu(mw(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return g5(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(k);qu(Wu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qu(Wu,"controlFieldType",m.TEXT),qu(Wu,"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 ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 S5(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function Rw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&gv(e,t)}function T5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:ww(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var I5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C5(e){var t=B5();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T5(this,o)}}var A5=function(e){E5(r,e);var t=C5(r);function r(n){$5(this,r);var o;return o=t.call(this,n),Rw(ww(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return S5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);Rw(A5,"controlFieldType",m.TEXT);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&mv(e,t)}function x5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:We(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var N5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ew(e){var t=k5();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 x5(this,o)}}var D5=function(e){Sw(r,e);var t=Ew(r);function r(n){return $w(this,r),t.call(this,n)}return r}(Nn),Ov=function(e){Sw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;o=t.call(this,n),Ke(We(o),"options",void 0),Ke(We(o),"defaultShowOptions",void 0),Ke(We(o),"optionConfig",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"datasourceBind",void 0),Ke(We(o),"multistageFilling",void 0),Ke(We(o),"allowCopyOptions",void 0),Ke(We(o),"openMultistageFilling",void 0),Ke(We(o),"viewFormModelType",void 0),Ke(We(o),"canViewForm",void 0),Ke(We(o),"formBind",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rv.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new $e(b))}));var h;o.canViewForm=(h=n==null?void 0:n.canViewForm)!==null&&h!==void 0?h:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ke(Ov,"Rules",D5);function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j5(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 F5(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function wv(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 L5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:Tw(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var V5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=z5();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 M5(this,o)}}var Rv=function(e){L5(r,e);var t=H5(r);function r(n){j5(this,r);var o;return o=t.call(this,n),wv(Tw(o),"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return F5(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(k);wv(Rv,"controlFieldType",m.VARCHAR),wv(Rv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function Bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(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 U5(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Aw(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 W5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:Bw(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var G5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=X5();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 K5(this,o)}}var J5=function(e){W5(r,e);var t=Q5(r);function r(n){q5(this,r);var o;return o=t.call(this,n),Aw(Bw(o),"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return U5(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);Aw(J5,"controlFieldType",m.VARCHAR);function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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 Z5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:Ye(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var Y5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iv(e){var t=e6();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 Z5(this,o)}}var t6=function(e){Ev(r,e);var t=Iv(r);function r(n){return Sv(this,r),t.call(this,n)}return r}(Nn),n6=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Zu=function(e){Ev(r,e);var t=Iv(r);function r(n){Sv(this,r);var o;o=t.call(this,n),Ge(Ye(o),"options",void 0),Ge(Ye(o),"defaultShowOptions",void 0),Ge(Ye(o),"optionConfig",void 0),Ge(Ye(o),"defaultValue",void 0),Ge(Ye(o),"datasourceBind",void 0),Ge(Ye(o),"multistageFilling",void 0),Ge(Ye(o),"openMultistageFilling",void 0),Ge(Ye(o),"viewFormModelType",void 0),Ge(Ye(o),"canViewForm",void 0),Ge(Ye(o),"formBind",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Av.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ge(Zu,"Rules",t6),Ge(Zu,"RuntimeRules",n6);function xw(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 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 o6(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&Cv(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:xw(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var c6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=l6();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 u6(this,o)}}var Av=function(e){i6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),Bv(xw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return o6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);Bv(Av,"controlFieldType",m.ARRAY),Bv(Av,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function kw(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 Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s6(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&xv(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:kw(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var v6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _6(e){var t=p6();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 d6(this,o)}}var h6=function(e){y6(r,e);var t=_6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),jw(kw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return s6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);jw(h6,"controlFieldType",m.ARRAY);function Tt(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 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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Lw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function b6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:Tt(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var g6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mw(e){var t=m6();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b6(this,o)}}var O6=function(e){Lw(r,e);var t=Mw(r);function r(n){Fw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),kv=function(e){Lw(r,e);var t=Mw(r);function r(n){Fw(this,r);var o;o=t.call(this,n),It(Tt(o),"showType",void 0),It(Tt(o),"range",void 0),It(Tt(o),"rangeOptions",void 0),It(Tt(o),"multiple",void 0),It(Tt(o),"defaultValueType",void 0),It(Tt(o),"defaultValue",void 0),It(Tt(o),"multistageFilling",void 0),It(Tt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Fv.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";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(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))})),o}return r}(N);It(kv,"RuntimeRules",O6);function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P6(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function Dv(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 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&&jv(e,t)}function $6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:Vw(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var S6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T6(e){var t=E6();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 $6(this,o)}}var Fv=function(e){R6(r,e);var t=T6(r);function r(n){w6(this,r);var o;return o=t.call(this,n),Dv(Vw(o),"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return P6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);Dv(Fv,"controlFieldType",m.EMPLOYEES),Dv(Fv,"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 Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function Uw(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 C6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Hw(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var x6=function(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 k6(e){var t=N6();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 A6(this,o)}}var D6=function(e){C6(r,e);var t=k6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),Uw(Hw(o),"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return B6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);Uw(D6,"controlFieldType",m.EMPLOYEES);function Bt(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 ft(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 Vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j6(e,t){return t&&(F6(t)==="object"||typeof t=="function")?t:Bt(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}var F6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=L6();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 j6(this,o)}}var M6=10485760,V6=104857600,z6=1048576e3,H6=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),ft(Bt(o),"maxSize",{type:"number",min:0,max:z6,message:_.getMessage("attachmentMaxSize")}),o}return r}(de),q6=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:_.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),ic=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;o=t.call(this,n),ft(Bt(o),"defaultValue",void 0),ft(Bt(o),"showType",void 0),ft(Bt(o),"resultShowType",void 0),ft(Bt(o),"attachmentAccept",void 0),ft(Bt(o),"maxLimit",void 0),ft(Bt(o),"minLimit",void 0),ft(Bt(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.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:V6;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:io.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(N);ft(ic,"Rules",H6),ft(ic,"RuntimeRules",q6);function Ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U6(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 W6(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&qv(e,t)}function G6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:Ww(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var X6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Q6();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 G6(this,o)}}var io=function(e){K6(r,e);var t=J6(r);function r(n){U6(this,r);var o;return o=t.call(this,n),uc(Ww(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return W6(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);uc(io,"controlEventKeys",["on_change"]),uc(io,"controlFieldType",m.FILE),uc(io,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y6(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function Qw(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 e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:Gw(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var n8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=r8();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 t8(this,o)}}var i8=function(e){e8(r,e);var t=o8(r);function r(n){Z6(this,r);var o;return o=t.call(this,n),Qw(Gw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return Y6(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);Qw(i8,"controlFieldType",m.FILE);function u8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l8(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function a8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:u8(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var s8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d8(e){var t=y8();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 f8(this,o)}}var Yw=function(e){a8(r,e);var t=d8(r);function r(n){c8(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 l8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(io);Zw(Yw,"controlFieldType",m.IMAGE),Zw(Yw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(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&&Xv(e,t)}function v8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){he(e,o,r[o])})}return e}function p8(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 _8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:Ce(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var b8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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 Qv(e){var t=g8();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 h8(this,o)}}var m8=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(this,r);var o;o=t.call(this,n),he(Ce(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:_.getMessage("pleaseEnterNumberRange")}]}}),he(Ce(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o}return r}(Nn),O8=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(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:[_8(v8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),sc=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(this,r);var o;o=t.call(this,n),he(Ce(o),"rangeMin",void 0),he(Ce(o),"rangeMax",void 0),he(Ce(o),"showUpperCase",void 0),he(Ce(o),"submitSelectCurrency",void 0),he(Ce(o),"micrometer",void 0),he(Ce(o),"precision",void 0),he(Ce(o),"optionConfig",void 0),he(Ce(o),"dataBind",void 0),he(Ce(o),"datasourceBind",void 0),he(Ce(o),"defaultValue",void 0),he(Ce(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new Z1(n==null?void 0:n.dataBind);var f;o.datasourceBind=new Q((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new as({value:"name"})]});var y;o.defaultValue=new Y1((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:So.CNY}),o.options=gt(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:vc.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(N);he(sc,"Rules",m8),he(sc,"RuntimeRules",O8);function eP(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 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 P8(e,t,r){return t&&tP(e.prototype,t),r&&tP(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 dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?dc=Reflect.get:dc=function(o,i,u){var c=S8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},dc(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(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&&Jv(e,t)}function $8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:eP(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function S8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}var E8=function(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 I8(e){var t=T8();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 $8(this,o)}}var vc=function(e){R8(r,e);var t=I8(r);function r(n){w8(this,r);var o;return o=t.call(this,n),yc(eP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return P8(r,[{key:"toDataBindModel",value:function(o){var i=dc(Hn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(k);yc(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),yc(vc,"controlFieldType",m.MONEY),yc(vc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C8(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function oP(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){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:nP(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var N8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D8(e){var t=k8();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x8(this,o)}}var j8=function(e){A8(r,e);var t=D8(r);function r(n){B8(this,r);var o;return o=t.call(this,n),oP(nP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return C8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);oP(j8,"controlFieldType",m.MONEY);function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yv(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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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 F8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:tn(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var L8=function(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 np(e){var t=M8();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F8(this,o)}}var V8=function(e){ep(r,e);var t=np(r);function r(n){Yv(this,r);var o;return o=t.call(this,n),Ct(tn(o),"totalScore",[{type:"number",required:!0,message:_.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:_.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ct(tn(o),"defaultValue",{type:"number",min:0,max:5,message:_.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(de),z8=function(e){ep(r,e);var t=np(r);function r(n){Yv(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),hc=function(e){ep(r,e);var t=np(r);function r(n){Yv(this,r);var o,i;o=t.call(this,n),Ct(tn(o),"totalScore",void 0),Ct(tn(o),"scoreType",void 0),Ct(tn(o),"isShowExplain",void 0),Ct(tn(o),"explain",void 0),Ct(tn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:py.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(v){return new _y(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new _y});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:mc.controlName,o}return r}(N);Ct(hc,"Rules",V8),Ct(hc,"RuntimeRules",z8);function rp(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 H8(e){if(Array.isArray(e))return rp(e)}function iP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q8(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 U8(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}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 gc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gc=Reflect.get:gc=function(o,i,u){var c=Q8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},gc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K8(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 X8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:iP(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function Q8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function J8(e){return H8(e)||K8(e)||Y8(e)||G8()}var Z8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y8(e,t){if(!!e){if(typeof e=="string")return rp(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 rp(e,t)}}function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t7(e){var t=e7();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X8(this,o)}}var mc=function(e){W8(r,e);var t=t7(r);function r(n){q8(this,r);var o;return o=t.call(this,n),bc(iP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return U8(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 _y});(u=this.props.explain).push.apply(u,J8(a))}}gc(qn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(k);bc(mc,"controlEventKeys",["on_change","on_click"]),bc(mc,"controlFieldType",m.DECIMAL),bc(mc,"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 cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r7(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function aP(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 o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:cP(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var u7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l7(e){var t=c7();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 i7(this,o)}}var a7=function(e){o7(r,e);var t=l7(r);function r(n){n7(this,r);var o;return o=t.call(this,n),aP(cP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return r7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);aP(a7,"controlFieldType",m.DECIMAL);function wc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(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 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&&up(e,t)}function f7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:wc(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}var s7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yP(e){var t=y7();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 f7(this,o)}}var d7=function(e){sP(r,e);var t=yP(r);function r(n){fP(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:_.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:_.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:_.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),cp=function(e){sP(r,e);var t=yP(r);function r(n){fP(this,r);var o;o=t.call(this,n),Pc(wc(o),"defaultValueType",void 0),Pc(wc(o),"defaultValue",void 0),Pc(wc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fp.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 nA((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(N);Pc(cp,"RuntimeRules",d7);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p7(e,t,r){return t&&vP(e.prototype,t),r&&vP(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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h7(e,t){return t&&(b7(t)==="object"||typeof t=="function")?t:dP(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var b7=function(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 m7(e){var t=g7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h7(this,o)}}var fp=function(e){_7(r,e);var t=m7(r);function r(n){v7(this,r);var o;return o=t.call(this,n),lp(dP(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return p7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);lp(fp,"controlFieldType",m.ADDRESS),lp(fp,"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 pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O7(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 w7(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function hP(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 P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:pP(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var $7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E7(e){var t=S7();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 R7(this,o)}}var T7=function(e){P7(r,e);var t=E7(r);function r(n){O7(this,r);var o;return o=t.call(this,n),hP(pP(o),"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return w7(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(D);hP(T7,"controlFieldType",m.ADDRESS);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bP(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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function gP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function I7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:et(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}var B7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mP(e){var t=C7();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 I7(this,o)}}var A7=function(e){gP(r,e);var t=mP(r);function r(n){bP(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),dp=function(e){gP(r,e);var t=mP(r);function r(n){bP(this,r);var o;o=t.call(this,n),tt(et(o),"showType",void 0),tt(et(o),"range",void 0),tt(et(o),"defaultValueType",void 0),tt(et(o),"multiple",void 0),tt(et(o),"rangeOptions",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"displayLevel",void 0),tt(et(o),"showSubDept",void 0),tt(et(o),"multistageFilling",void 0),tt(et(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Bc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(w){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new $e(w))})),o}return r}(N);tt(dp,"RuntimeRules",A7);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(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 N7(e,t,r){return t&&wP(e.prototype,t),r&&wP(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ic=Reflect.get:Ic=function(o,i,u){var c=j7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ic(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:OP(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function j7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}var F7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M7(e){var t=L7();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D7(this,o)}}var Bc=function(e){k7(r,e);var t=M7(r);function r(n){x7(this,r);var o;return o=t.call(this,n),Tc(OP(o),"props",void 0),o.props=new dp(n==null?void 0:n.props),o}return N7(r,[{key:"toDataBindModel",value:function(o){var i=Ic(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(k);Tc(Bc,"controlName","\u90E8\u95E8"),Tc(Bc,"controlFieldType",m.DEPARTMENTS),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:"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 PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z7(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function $P(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 H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:PP(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var U7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K7(e){var t=W7();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q7(this,o)}}var G7=function(e){H7(r,e);var t=K7(r);function r(n){V7(this,r);var o;return o=t.call(this,n),$P(PP(o),"props",void 0),o.props=new dp(n==null?void 0:n.props),o}return z7(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);$P(G7,"controlFieldType",m.DEPARTMENTS);function SP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q7(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 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&&_p(e,t)}function Z7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:SP(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var Y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z7(this,o)}}var EP=function(e){J7(r,e);var t=t4(r);function r(n){X7(this,r);var o;o=t.call(this,n),Q7(SP(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:kc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(N);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n4(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 r4(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function xc(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 o4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:TP(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var u4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l4(e){var t=c4();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 i4(this,o)}}var kc=function(e){o4(r,e);var t=l4(r);function r(n){n4(this,r);var o;return o=t.call(this,n),xc(TP(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return r4(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(k);xc(kc,"controlEventKeys",["on_change"]),xc(kc,"controlFieldType",m.AUTO_NUMBER),xc(kc,"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 BP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a4(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 f4(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function AP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:BP(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var d4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=v4();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y4(this,o)}}var _4=function(e){s4(r,e);var t=p4(r);function r(n){a4(this,r);var o;return o=t.call(this,n),AP(BP(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return f4(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);AP(_4,"controlFieldType",m.AUTO_NUMBER);function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gp(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 jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&Op(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:nn(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var b4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wp(e){var t=g4();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var m4=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(de),O4=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:_.getMessage("isNotObject"),fields:{result:[{type:"number",message:_.getMessage("isNotNumber")}],unit:{type:"string",message:_.getMessage("isNotString")}}}),o}return r}(H),Fc=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o;o=t.call(this,n),At(nn(o),"precision",void 0),At(nn(o),"micrometer",void 0),At(nn(o),"showUpperCase",void 0),At(nn(o),"scriptSrc",void 0),At(nn(o),"scriptEcho",void 0),At(nn(o),"dataBind",void 0),At(nn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new rA(n==null?void 0:n.dataBind),o.defaultValue=new oA(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Vc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(N);At(Fc,"Rules",m4),At(Fc,"RuntimeRules",O4);function xP(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 NP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P4(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Lc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mc=Reflect.get:Mc=function(o,i,u){var c=S4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Mc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function R4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function $4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:xP(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function S4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}var E4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I4(e){var t=T4();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}var Vc=function(e){R4(r,e);var t=I4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),Lc(xP(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return P4(r,[{key:"toDataBindModel",value:function(o){var i=Mc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(k);Lc(Vc,"controlEventKeys",["on_change"]),Lc(Vc,"controlFieldType",m.CALC),Lc(Vc,"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 kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B4(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 C4(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function jP(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 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&&Rp(e,t)}function x4(e,t){return t&&(N4(t)==="object"||typeof t=="function")?t:kP(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var N4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D4(e){var t=k4();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 x4(this,o)}}var j4=function(e){A4(r,e);var t=D4(r);function r(n){B4(this,r);var o;return o=t.call(this,n),jP(kP(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return C4(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);jP(j4,"controlFieldType",m.CALC);function Kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function LP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function F4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:Kn(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}var L4=function(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 MP(e){var t=M4();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 F4(this,o)}}var V4=function(e){LP(r,e);var t=MP(r);function r(n){FP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(_.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),Sp=function(e){LP(r,e);var t=MP(r);function r(n){FP(this,r);var o;o=t.call(this,n),Gn(Kn(o),"rangeMin",void 0),Gn(Kn(o),"rangeMax",void 0),Gn(Kn(o),"placeholderStart",void 0),Gn(Kn(o),"placeholderEnd",void 0),Gn(Kn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ip.controlName,o}return r}(N);Gn(Sp,"RuntimeRules",V4);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H4(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Ep(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&Tp(e,t)}function U4(e,t){return t&&(W4(t)==="object"||typeof t=="function")?t:VP(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var W4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G4(e){var t=K4();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 U4(this,o)}}var Ip=function(e){q4(r,e);var t=G4(r);function r(n){z4(this,r);var o;return o=t.call(this,n),Ep(VP(o),"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return H4(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);Ep(Ip,"controlFieldType",m.DECIMAL_RANGE),Ep(Ip,"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 HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q4(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function UP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function J4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function Z4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:HP(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var Y4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tV(e){var t=eV();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var nV=function(e){J4(r,e);var t=tV(r);function r(n){X4(this,r);var o;return o=t.call(this,n),UP(HP(o),"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return Q4(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);UP(nV,"controlFieldType",m.DECIMAL_RANGE);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WP(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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Cp(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:nt(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var oV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GP(e){var t=iV();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 rV(this,o)}}var uV=function(e){KP(r,e);var t=GP(r);function r(n){WP(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),Ap=function(e){KP(r,e);var t=GP(r);function r(n){WP(this,r);var o,i;o=t.call(this,n),rt(nt(o),"rangeMin",void 0),rt(nt(o),"rangeMax",void 0),rt(nt(o),"placeholderStart",void 0),rt(nt(o),"placeholderEnd",void 0),rt(nt(o),"dateType",void 0),rt(nt(o),"dateFormat",void 0),rt(nt(o),"commonTimeSetting",void 0),rt(nt(o),"setValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c: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 y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var h;o.placeholderStart=(h=n==null?void 0:n.placeholderStart)!==null&&h!==void 0?h:"\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 b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:kp.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(p){return new vy(p)}))!==null&&w!==void 0?w:[],o}return r}(N);rt(Ap,"RuntimeRules",uV);function XP(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 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 lV(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function aV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fV(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:XP(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}var sV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dV(e){var t=yV();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 fV(this,o)}}var kp=function(e){aV(r,e);var t=dV(r);function r(n){cV(this,r);var o;return o=t.call(this,n),xp(XP(o),"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);xp(kp,"controlFieldType",m.ARRAY),xp(kp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pV(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function YP(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 _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&&Dp(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:JP(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var bV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mV(e){var t=gV();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 hV(this,o)}}var OV=function(e){_V(r,e);var t=mV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),YP(JP(o),"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return pV(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);YP(OV,"controlFieldType",m.ARRAY);function uo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&Lp(e,t)}function wV(e,t){return t&&(PV(t)==="object"||typeof t=="function")?t:uo(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var PV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mp(e){var t=RV();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 wV(this,o)}}var $V=function(e){Fp(r,e);var t=Mp(r);function r(n){jp(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(de),SV=function(e){Fp(r,e);var t=Mp(r);function r(n){jp(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(H),Qc=function(e){Fp(r,e);var t=Mp(r);function r(n){jp(this,r);var o;o=t.call(this,n),Xn(uo(o),"controlExportName",void 0),Xn(uo(o),"permissions",void 0),Xn(uo(o),"defaultValue",void 0),Xn(uo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(N);Xn(Qc,"Rules",$V),Xn(Qc,"RuntimeRules",SV);function eR(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 tR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TV(e,t,r){return t&&tR(e.prototype,t),r&&tR(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 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&&Vp(e,t)}function BV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:eR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var CV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=AV();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 BV(this,o)}}var Yc=function(e){IV(r,e);var t=xV(r);function r(n){EV(this,r);var o;return o=t.call(this,n),Jc(eR(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return TV(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);Jc(Yc,"controlFieldType",m.ANY),Jc(Yc,"controlEventKeys",[]),Jc(Yc,"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 nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kV(e,t,r){return t&&rR(e.prototype,t),r&&rR(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 el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function DV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function jV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:nR(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var FV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MV(e){var t=LV();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jV(this,o)}}var VV=function(e){DV(r,e);var t=MV(r);function r(n){NV(this,r);var o;return o=t.call(this,n),oR(nR(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return kV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);oR(VV,"controlFieldType",m.ANY);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iR(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 tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function uR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function zV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:Ae(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var HV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cR(e){var t=qV();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 zV(this,o)}}var UV=function(e){uR(r,e);var t=cR(r);function r(n){iR(this,r);var o;return o=t.call(this,n),xe(Ae(o),"listPageBind",[{type:"object",message:_.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}]}}]),o}return r}(Nn),qp=function(e){uR(r,e);var t=cR(r);function r(n){iR(this,r);var o;o=t.call(this,n),xe(Ae(o),"options",void 0),xe(Ae(o),"optionConfig",void 0),xe(Ae(o),"defaultValue",void 0),xe(Ae(o),"listPageBind",void 0),xe(Ae(o),"datasourceBind",void 0),xe(Ae(o),"multistageFilling",void 0),xe(Ae(o),"viewFormModelType",void 0),xe(Ae(o),"canViewForm",void 0),xe(Ae(o),"formBind",void 0),xe(Ae(o),"openMultistageFilling",void 0),xe(Ae(o),"showSelectedDetail",void 0),xe(Ae(o),"selectedContentConfig",void 0);var i;o.options=gt((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 cs(n==null?void 0:n.listPageBind),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ol.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);xe(qp,"Rules",UV);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KV(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function nl(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 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&&Up(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:lR(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var QV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZV(e){var t=JV();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 XV(this,o)}}var ol=function(e){GV(r,e);var t=ZV(r);function r(n){WV(this,r);var o;return o=t.call(this,n),nl(lR(o),"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(k);nl(ol,"controlFieldType",m.VARCHAR),nl(ol,"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}]),nl(ol,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e9(e,t,r){return t&&sR(e.prototype,t),r&&sR(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 il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function t9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:fR(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var r9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i9(e){var t=o9();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 n9(this,o)}}var u9=function(e){t9(r,e);var t=i9(r);function r(n){YV(this,r);var o;return o=t.call(this,n),yR(fR(o),"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return e9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);yR(u9,"controlFieldType",m.VARCHAR);function c9(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function f9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:c9(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var s9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d9(e){var t=y9();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f9(this,o)}}var dR=function(e){a9(r,e);var t=d9(r);function r(n){return l9(this,r),t.call(this,n)}return r}(ro);function vR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p9(e,t,r){return t&&pR(e.prototype,t),r&&pR(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(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&&Gp(e,t)}function h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:vR(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var b9=function(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 m9(e){var t=g9();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 h9(this,o)}}var O9=function(e){_9(r,e);var t=m9(r);function r(n){v9(this,r);var o;return o=t.call(this,n),_R(vR(o),"props",void 0),o.props=new dR(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(oo);_R(O9,"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 hR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(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 P9(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&Xp(e,t)}function $9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:hR(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var S9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T9(e){var t=E9();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 $9(this,o)}}var I9=function(e){R9(r,e);var t=T9(r);function r(n){w9(this,r);var o;return o=t.call(this,n),gR(hR(o),"props",void 0),o.props=new dR(n==null?void 0:n.props),o}return P9(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);gR(I9,"controlFieldType",m.VARCHAR);function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function B9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:K(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}var C9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yp(e){var t=A9();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 B9(this,o)}}var x9=function(e){Jp(r,e);var t=Yp(r);function r(n){Qp(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Co.call(K(o),n,_n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:_.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:_.getMessage("rootNodeIsRequired")}}}]),o}return r}(de),N9=function(e){Jp(r,e);var t=Yp(r);function r(n){Qp(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),fl=function(e){Jp(r,e);var t=Yp(r);function r(n){Qp(this,r);var o,i;o=t.call(this,n),G(K(o),"placeholder",void 0),G(K(o),"multiple",void 0),G(K(o),"canSearch",void 0),G(K(o),"levelType",void 0),G(K(o),"optionalLevel",void 0),G(K(o),"containsSubNode",void 0),G(K(o),"defaultDisplay",void 0),G(K(o),"isShowIncludeSub",void 0),G(K(o),"isDefaultCheckSub",void 0),G(K(o),"isShowFilterItem",void 0),G(K(o),"defaultCollapse",void 0),G(K(o),"defaultCollapseLevel",void 0),G(K(o),"optionConfig","datasource"),G(K(o),"datasourceBind",void 0),G(K(o),"filterItemDatasourceBind",void 0),G(K(o),"multistageFilling",void 0),G(K(o),"defaultValue",void 0),G(K(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var h;o.isShowFilterItem=(h=n==null?void 0:n.isShowFilterItem)!==null&&h!==void 0?h:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var p;o.defaultCollapseLevel=(p=n==null?void 0:n.defaultCollapseLevel)!==null&&p!==void 0?p:1;var P;o.datasourceBind=new Xg((P=n==null?void 0:n.datasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var R;o.filterItemDatasourceBind=new Xg((R=n==null?void 0:n.filterItemDatasourceBind)!==null&&R!==void 0?R:{attributes:_n.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var L;o.multistageFilling=(L=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(W){return new $e(W)}))!==null&&L!==void 0?L:[];var C;return o.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:[],o}return r}(N);G(fl,"Rules",x9),G(fl,"RuntimeRules",N9);function mR(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 OR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D9(e,t,r){return t&&OR(e.prototype,t),r&&OR(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(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&&e_(e,t)}function F9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:mR(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var L9=function(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=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F9(this,o)}}var _n=function(e){j9(r,e);var t=V9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),sl(mR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(k);sl(_n,"controlEventKeys",["on_change","on_click"]),sl(_n,"controlFieldType",m.ARRAY),sl(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(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 H9(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}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 dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:wR(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var W9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G9(e){var t=K9();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 U9(this,o)}}var X9=function(e){q9(r,e);var t=G9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),RR(wR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return H9(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);RR(X9,"controlFieldType",m.ARRAY);function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function 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&&o_(e,t)}function Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:fe(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var J9=function(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 i_(e){var t=Z9();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 Q9(this,o)}}var Y9=function(e){r_(r,e);var t=i_(r);function r(n){n_(this,r);var o;return o=t.call(this,n),se(fe(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),se(fe(o),"externalScope",{type:"any"}),Co.call(fe(o),n,co.controlCustomAttributes),n.externalType===Kt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(de),ez=function(e){r_(r,e);var t=i_(r);function r(n){n_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),pl=function(e){r_(r,e);var t=i_(r);function r(n){n_(this,r);var o;o=t.call(this,n),se(fe(o),"showType",void 0),se(fe(o),"range",void 0),se(fe(o),"rangeOptions",void 0),se(fe(o),"multiple",void 0),se(fe(o),"defaultValueType",void 0),se(fe(o),"defaultValue",void 0),se(fe(o),"multistageFilling",void 0),se(fe(o),"datasourceBind",void 0),se(fe(o),"datasourceType",void 0),se(fe(o),"insideType",void 0),se(fe(o),"externalType",void 0),se(fe(o),"externalScope",void 0),se(fe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:co.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;o.datasourceBind=new $o((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:co.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:by.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:gy.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Kt.ALL;var p;o.externalScope=(p=n==null?void 0:n.externalScope)!==null&&p!==void 0?p:[];var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new $e(R))})),o}return r}(N);se(pl,"Rules",Y9),se(pl,"RuntimeRules",ez);function $R(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 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 nz(e,t,r){return t&&SR(e.prototype,t),r&&SR(e,r),e}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(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&&c_(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:$R(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var iz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cz(e){var t=uz();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 oz(this,o)}}var co=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),u_($R(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return nz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);u_(co,"controlFieldType",m.EMPLOYEES),u_(co,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function ER(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 TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function az(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function IR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(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&&l_(e,t)}function sz(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:ER(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var yz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vz(e){var t=dz();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 sz(this,o)}}var pz=function(e){fz(r,e);var t=vz(r);function r(n){lz(this,r);var o;return o=t.call(this,n),IR(ER(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return az(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);IR(pz,"controlFieldType",m.EMPLOYEES);function st(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function CR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _z(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:st(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var hz=function(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 AR(e){var t=bz();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 _z(this,o)}}var gz=function(e){CR(r,e);var t=AR(r);function r(n){BR(this,r);var o;return o=t.call(this,n),yt(st(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&ts(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&u.signatureType.includes("company")&&ts(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(de),f_=function(e){CR(r,e);var t=AR(r);function r(n){BR(this,r);var o;o=t.call(this,n),yt(st(o),"buttonType",void 0),yt(st(o),"content",void 0),yt(st(o),"showType",void 0),yt(st(o),"color",void 0),yt(st(o),"icon",void 0),yt(st(o),"command",""),yt(st(o),"isLoading",!1),yt(st(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ol.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 JN(n==null?void 0:n.signatureConfig),o}return r}(N);yt(f_,"Rules",gz);function xR(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 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 Oz(e,t,r){return t&&NR(e.prototype,t),r&&NR(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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(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&&s_(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:xR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var Rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sz(e){var t=$z();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 Pz(this,o)}}var Ol=function(e){wz(r,e);var t=Sz(r);function r(n){mz(this,r);var o;return o=t.call(this,n),gl(xR(o),"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return Oz(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);gl(Ol,"controlEventKeys",["on_click","on_click_finish"]),gl(Ol,"controlFieldType",m.VARCHAR),gl(Ol,"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 kR(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 DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function jR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function Iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bz(e,t){return t&&(Cz(t)==="object"||typeof t=="function")?t:kR(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var Cz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xz(e){var t=Az();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bz(this,o)}}var Nz=function(e){Iz(r,e);var t=xz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),jR(kR(o),"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return Tz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);jR(Nz,"controlFieldType",m.VARCHAR);function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d_(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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(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&&p_(e,t)}function kz(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:be(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var Dz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function __(e){var t=jz();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 kz(this,o)}}var Fz=function(e){v_(r,e);var t=__(r);function r(n){d_(this,r);var o;return o=t.call(this,n),ye(be(o),"content",{type:"string",required:!0,message:_.getMessage("pleaseEnterButtonContent")}),ye(be(o),"canAdd",void 0),ye(be(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(_.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(de),Lz=function(e){v_(r,e);var t=__(r);function r(n){d_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Rl=function(e){v_(r,e);var t=__(r);function r(n){d_(this,r);var o;o=t.call(this,n),ye(be(o),"content",void 0),ye(be(o),"canAdd",void 0),ye(be(o),"addLocal",void 0),ye(be(o),"addOnline",void 0),ye(be(o),"canDownload",void 0),ye(be(o),"canEdit",void 0),ye(be(o),"canExport",void 0),ye(be(o),"canDelete",void 0),ye(be(o),"wpsSetting",void 0),ye(be(o),"maxSize",void 0),ye(be(o),"defaultValue",void 0),ye(be(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:El.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var h;o.canDelete=(h=n==null?void 0:n.canDelete)!==null&&h!==void 0?h:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:M6;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new ZN(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(N);ye(Rl,"Rules",Fz),ye(Rl,"RuntimeRules",Lz);function FR(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 LR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vz(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:FR(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var qz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wz(e){var t=Uz();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 Hz(this,o)}}var El=function(e){zz(r,e);var t=Wz(r);function r(n){Mz(this,r);var o;return o=t.call(this,n),$l(FR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return Vz(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(k);$l(El,"controlEventKeys",["on_change","on_wps_open"]),$l(El,"controlFieldType",m.FILE),$l(El,"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 MR(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 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 Gz(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function zR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&b_(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:MR(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yz(e){var t=Zz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qz(this,o)}}var eH=function(e){Xz(r,e);var t=Yz(r);function r(n){Kz(this,r);var o;return o=t.call(this,n),zR(MR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return Gz(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);zR(eH,"controlFieldType",m.FILE);function ne(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 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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function m_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:ne(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var nH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w_(e){var t=rH();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 tH(this,o)}}var oH=function(e){m_(r,e);var t=w_(r);function r(n){g_(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Co.call(ne(o),n,Jn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(de),iH=function(e){m_(r,e);var t=w_(r);function r(n){g_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Bl=function(e){m_(r,e);var t=w_(r);function r(n){g_(this,r);var o;o=t.call(this,n),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Jn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new $o((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Jn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var p;o.businessScope=(p=n==null?void 0:n.businessScope)!==null&&p!==void 0?p:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.ALL;var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new $e($))})),o}return r}(N);re(Bl,"Rules",oH),re(Bl,"RuntimeRules",iH);function HR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cH(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function Cl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Al=Reflect.get:Al=function(o,i,u){var c=fH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Al(e,t,r||e)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function lH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:HR(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function fH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}var sH=function(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 dH(e){var t=yH();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 aH(this,o)}}var Jn=function(e){lH(r,e);var t=dH(r);function r(n){uH(this,r);var o;return o=t.call(this,n),Cl(HR(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return cH(r,[{key:"toDataBindModel",value:function(o){var i=Al(Qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Cl(Jn,"controlName","\u90E8\u95E8"),Cl(Jn,"controlFieldType",m.DEPARTMENTS),Cl(Jn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pH(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function KR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&R_(e,t)}function hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:UR(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var bH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mH(e){var t=gH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hH(this,o)}}var OH=function(e){_H(r,e);var t=mH(r);function r(n){vH(this,r);var o;return o=t.call(this,n),KR(UR(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return pH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);KR(OH,"controlFieldType",m.DEPARTMENTS);function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $_(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 Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function S_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wH(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:q(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var PH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T_(e){var t=RH();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 wH(this,o)}}var $H=function(e){S_(r,e);var t=T_(r);function r(n){$_(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),U(q(o),"businessScope",{type:"any"}),Co.call(q(o),n,Yn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(de),SH=function(e){S_(r,e);var t=T_(r);function r(n){$_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),kl=function(e){S_(r,e);var t=T_(r);function r(n){$_(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 cs(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Yn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new Q1((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Yn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var p;o.businessScope=(p=n==null?void 0:n.businessScope)!==null&&p!==void 0?p:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.ALL;var R;o.organizingFunction=(R=n==null?void 0:n.organizingFunction)!==null&&R!==void 0?R:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new ss(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(C){var W;(W=o.multistageFilling)===null||W===void 0||W.push(new $e(C))})),o}return r}(N);U(kl,"Rules",$H),U(kl,"RuntimeRules",SH);function GR(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 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 TH(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function Dl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?jl=Reflect.get:jl=function(o,i,u){var c=CH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},jl(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function BH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:GR(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function CH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}var AH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=xH();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 BH(this,o)}}var Yn=function(e){IH(r,e);var t=NH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),Dl(GR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return TH(r,[{key:"toDataBindModel",value:function(o){var i=jl(Zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Dl(Yn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Dl(Yn,"controlFieldType",m.DEPARTMENTS),Dl(Yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function QR(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 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 DH(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function ZR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&B_(e,t)}function FH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:QR(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var LH=function(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),ZR(QR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return DH(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);ZR(zH,"controlFieldType",m.DEPARTMENTS);function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UH(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function KH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function GH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:HH(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var XH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=QH();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 GH(this,o)}}var ZH=function(e){KH(r,e);var t=JH(r);function r(n){return qH(this,r),t.call(this,n)}return UH(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ie);WH(ZH,"excludes",[d.GRID]);function A_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(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 Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&x_(e,t)}function tq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:A_(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var nq=function(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=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var iq=24,lo=function(e){eq(r,e);var t=oq(r);function r(n){YH(this,r);var o;o=t.call(this,n),e$(A_(o),"span",void 0),e$(A_(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:iq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(oe);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cq(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function N_(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 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&&k_(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:t$(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sq();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 aq(this,o)}}var ao=function(e){lq(r,e);var t=yq(r);function r(n){uq(this,r);var o;return o=t.call(this,n),N_(t$(o),"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ie);N_(ao,"excludes",[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.DIVIDER]),N_(ao,"childrenMaxLength",1);function r$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vq(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function pq(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 _q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hq(e,t){return t&&(bq(t)==="object"||typeof t=="function")?t:r$(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var bq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mq(e){var t=gq();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 hq(this,o)}}var Oq=function(e){_q(r,e);var t=mq(r);function r(n){dq(this,r);var o;return o=t.call(this,n),pq(r$(o),"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return vq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),i$={Designer:ao,Runtime:Oq,Property:lo};function j_(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 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 Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(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&&F_(e,t)}function Rq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:j_(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var $q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Sq();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 Rq(this,o)}}var L_=function(e){Pq(r,e);var t=Eq(r);function r(n){wq(this,r);var o;o=t.call(this,n),u$(j_(o),"layoutMode",void 0),u$(j_(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}(oe);function c$(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 l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iq(e,t,r){return t&&l$(e.prototype,t),r&&l$(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 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&&V_(e,t)}function Cq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:c$(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nq(e){var t=xq();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cq(this,o)}}var z_=function(e){Bq(r,e);var t=Nq(r);function r(n){Tq(this,r);var o;return o=t.call(this,n),M_(c$(o),"props",void 0),o.props=new L_(n==null?void 0:n.props),o}return Iq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ie);M_(z_,"excludes",[d.ROW]),M_(z_,"setting",[{key:"col-setting",visible:!0}]);function a$(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 f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dq(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function jq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function 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&&H_(e,t)}function Lq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:a$(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}var Mq=function(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 zq(e){var t=Vq();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lq(this,o)}}var Hq=function(e){Fq(r,e);var t=zq(r);function r(n){kq(this,r);var o;return o=t.call(this,n),jq(a$(o),"props",void 0),o.props=new L_(n==null?void 0:n.props),o}return Dq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);function qq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wq(e,t,r){return t&&s$(e.prototype,t),r&&s$(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 Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(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&&U_(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:qq(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var Xq=function(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 Jq(e){var t=Qq();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var Zq=4,Kl=function(e){Kq(r,e);var t=Jq(r);function r(n){return Uq(this,r),t.call(this,n)}return Wq(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}(z_);q_(Kl,"excludes",[d.GRID_ROW]),q_(Kl,"setting",[]),q_(Kl,"childrenMaxLength",Zq);function Yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tU(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function nU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:Yq(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var oU=function(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 uU(e){var t=iU();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 rU(this,o)}}var cU=function(e){nU(r,e);var t=uU(r);function r(n){return eU(this,r),t.call(this,n)}return tU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Hq);function lU(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function fU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sU(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:lU(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var yU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=dU();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 sU(this,o)}}var pU=function(e){fU(r,e);var t=vU(r);function r(n){return aU(this,r),t.call(this,n)}return r}(L_),_U={Designer:Kl,Runtime:cU,Property:pU};function Ql(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 Jl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(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&&G_(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:Ql(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p$(e){var t=gU();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 hU(this,o)}}var mU=function(e){v$(r,e);var t=p$(r);function r(){d$(this,r);var n;return n=t.apply(this,arguments),Jl(Ql(n),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),n}return r}(oe.Rules),_$=function(e){v$(r,e);var t=p$(r);function r(n){d$(this,r);var o;o=t.call(this,n),Jl(Ql(o),"caption",void 0),Jl(Ql(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}(oe);Jl(_$,"Rules",mU);function h$(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 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 wU(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function X_(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 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&&Q_(e,t)}function RU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:h$(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var $U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EU(e){var t=SU();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 RU(this,o)}}var g$=function(e){PU(r,e);var t=EU(r);function r(n){OU(this,r);var o;return o=t.call(this,n),X_(h$(o),"props",void 0),o.props=new _$(n==null?void 0:n.props),o}return wU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ie);X_(g$,"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}]),X_(g$,"excludes",[d.CARD_GROUP]);function dt(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 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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function O$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:dt(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var IU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w$(e){var t=BU();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 TU(this,o)}}var CU=function(e){O$(r,e);var t=w$(r);function r(n){m$(this,r);var o;return o=t.call(this,n),vt(dt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),vt(dt(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),vt(dt(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(J),ta=function(e){O$(r,e);var t=w$(r);function r(n){m$(this,r);var o;o=t.call(this,n),vt(dt(o),"metaAutoWidth",void 0),vt(dt(o),"caption",void 0),vt(dt(o),"fixed",void 0),vt(dt(o),"isShowCaptionTip",void 0),vt(dt(o),"captionTip",void 0),vt(dt(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 V1(n==null?void 0:n.metaAutoWidth),o}return r}(oe);vt(ta,"Rules",CU);function P$(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 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 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&&Z_(e,t)}function NU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:P$(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var kU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DU();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 NU(this,o)}}var ot=function(e){xU(r,e);var t=jU(r);function r(n){AU(this,r);var o;return o=t.call(this,n),hn(P$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(ie);hn(ot,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),hn(ot,"controlType","subtable-column"),hn(ot,"controlIcon","subtable-column"),hn(ot,"childrenMaxLength",1),hn(ot,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),hn(ot,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function R$(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 $$(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&&Y_(e,t)}function MU(e,t){return t&&(VU(t)==="object"||typeof t=="function")?t:R$(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var VU=function(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 HU(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 S$=function(e){LU(r,e);var t=HU(r);function r(n){FU(this,r);var o;return o=t.call(this,n),$$(R$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(dn);$$(S$,"controlType","subtable-column");var qU={Designer:ot,Runtime:S$,Property:ta};function UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:UU(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var XU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QU();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 GU(this,o)}}var ZU=function(e){KU(r,e);var t=JU(r);function r(n){return WU(this,r),t.call(this,n)}return r}(oe);function E$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YU(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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function eW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:E$(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var nW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oW(e){var t=rW();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 tW(this,o)}}var er=function(e){eW(r,e);var t=oW(r);function r(n){YU(this,r);var o;return o=t.call(this,n),bn(E$(o),"props",void 0),o.props=new ZU(n==null?void 0:n.props),o}return r}(ie);bn(er,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),bn(er,"controlType","subtable-row"),bn(er,"controlIcon","subtable-row"),bn(er,"childrenMaxLength",1),bn(er,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.SUBTABLE_ROW,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),bn(er,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iW(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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function uW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function cW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:Le(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var lW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=aW();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cW(this,o)}}var T$=function(e){uW(r,e);var t=fW(r);function r(n){iW(this,r);var o;o=t.call(this,n),Xe(Le(o),"widthType",void 0),Xe(Le(o),"width",void 0),Xe(Le(o),"caption",void 0),Xe(Le(o),"fieldCode",void 0),Xe(Le(o),"fieldType",void 0),Xe(Le(o),"fieldName",void 0),Xe(Le(o),"datasourceBind",void 0),Xe(Le(o),"fixed",void 0),Xe(Le(o),"textCleanFormart",void 0),Xe(Le(o),"decimalKeepPrecision",void 0),Xe(Le(o),"timestampDateType",void 0),Xe(Le(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var h;o.timestampDateType=(h=n==null?void 0:n.timestampDateType)!==null&&h!==void 0?h:Dt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(oe);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function yW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function dW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:I$(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var vW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=pW();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 dW(this,o)}}var tr=function(e){yW(r,e);var t=_W(r);function r(n){sW(this,r);var o;return o=t.call(this,n),gn(I$(o),"props",void 0),o.props=new T$(n==null?void 0:n.props),o}return r}(ie);gn(tr,"controlName","\u5217\u8868\u5355\u5143\u683C"),gn(tr,"controlType","gridtable-column"),gn(tr,"controlIcon","gridtable-column"),gn(tr,"childrenMaxLength",1),gn(tr,"excludes",[d.GRID_TABLE,d.GRID_TABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),gn(tr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function B$(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 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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&oh(e,t)}function gW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:B$(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var mW=function(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=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gW(this,o)}}var PW=function(e){bW(r,e);var t=wW(r);function r(n){hW(this,r);var o;return o=t.call(this,n),C$(B$(o),"props",void 0),o.props=new T$(n==null?void 0:n.props),o}return r}(dn);C$(PW,"controlType","gridtable-column");function ih(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 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function $W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SW(e,t){return t&&(EW(t)==="object"||typeof t=="function")?t:ih(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var EW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TW();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 SW(this,o)}}var BW=function(e){$W(r,e);var t=IW(r);function r(n){RW(this,r);var o;o=t.call(this,n),A$(ih(o),"childMinWidth",void 0),A$(ih(o),"rowGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.rowGap=(u=n==null?void 0:n.rowGap)!==null&&u!==void 0?u:24,o}return r}(oe);function x$(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 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 AW(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function xW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function NW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:x$(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var kW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=DW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NW(this,o)}}var FW=function(e){xW(r,e);var t=jW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),k$(x$(o),"props",void 0),o.props=new BW(n==null?void 0:n.props),o}return AW(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"iconfenzu6"}}]),r}(ie);k$(FW,"excludes",[d.GRID_LAYOUT_CONTAINER,d.CARD_GROUP,d.TAB]);function D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MW(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 VW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zW(e,t){return t&&(HW(t)==="object"||typeof t=="function")?t:D$(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var HW=function(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 UW(e){var t=qW();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 zW(this,o)}}var WW=function(e){VW(r,e);var t=UW(r);function r(n){LW(this,r);var o;o=t.call(this,n),MW(D$(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}(oe);function ah(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 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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function F$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:ah(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var GW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L$(e){var t=XW();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 KW(this,o)}}var QW=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;return o=t.call(this,n),fh(ah(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),o}return r}(J),M$=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;o=t.call(this,n),fh(ah(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ha.controlName,o}return r}(oe);fh(M$,"Rules",QW);function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZW(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function yh(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 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&&dh(e,t)}function eK(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:V$(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var tK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rK(e){var t=nK();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 eK(this,o)}}var va=function(e){YW(r,e);var t=rK(r);function r(n){JW(this,r);var o;return o=t.call(this,n),yh(V$(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return ZW(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}(ie);yh(va,"excludes",[d.TAB]),yh(va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iK(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function 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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&vh(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:H$(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var lK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fK(e){var t=aK();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var ha=function(e){uK(r,e);var t=fK(r);function r(n){oK(this,r);var o;o=t.call(this,n),pa(H$(o),"props",void 0),o.props=new WW(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new va,new va],o}return iK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ie);pa(ha,"excludes",[d.TAB]),pa(ha,"controlEventKeys",["on_change_tab"]),pa(ha,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function sK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&ph(e,t)}function vK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:sK(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var pK=function(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 hK(e){var t=_K();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 vK(this,o)}}var bK=function(e){dK(r,e);var t=hK(r);function r(n){return yK(this,r),t.call(this,n)}return r}(oe);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gK(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 mK(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function K$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(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&&_h(e,t)}function wK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:U$(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var PK=function(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 $K(e){var t=RK();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 wK(this,o)}}var SK=function(e){OK(r,e);var t=$K(r);function r(n){gK(this,r);var o;return o=t.call(this,n),K$(U$(o),"props",void 0),o.props=new bK({}),o.children=(n==null?void 0:n.children)||[new ao({props:new lo({span:12})}),new ao({props:new lo({span:12})})],o}return mK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ie);K$(SK,"excludes",[d.GRID_ROW,d.ROW,d.GRID,d.SUBTABLE,d.TAB,d.TOOLBOX]);function Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:Y(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mh(e){var t=IK();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 EK(this,o)}}var Oa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Oa||(Oa={}));var BK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),CK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;if(o=t.call(this,n),ee(Y(o),"triggerFieldCode",{type:"any"}),ee(Y(o),"datasourceBind",{type:"any"}),n.triggerType===Oa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),$s.call(Y(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(J),fo=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;o=t.call(this,n),ee(Y(o),"datasourceBind",void 0),ee(Y(o),"isLoading",void 0),ee(Y(o),"isShowSubList",void 0),ee(Y(o),"triggerType",void 0),ee(Y(o),"triggerFieldCode",void 0),ee(Y(o),"sublistPage",void 0),ee(Y(o),"isShowJoinRelation",void 0),ee(Y(o),"joinRelation",void 0),ee(Y(o),"showType",void 0),ee(Y(o),"showFullScreen",void 0),ee(Y(o),"isFixedHeader",void 0),ee(Y(o),"selectionType",void 0),ee(Y(o),"isShowSelection",void 0),ee(Y(o),"isAllLoaded",void 0),ee(Y(o),"countType",void 0),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:Oa.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new W1(n==null?void 0:n.sublistPage);var l;o.isShowJoinRelation=(l=n==null?void 0:n.isShowJoinRelation)!==null&&l!==void 0?l:!1,o.joinRelation=new G1(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.selectionType=(v=n==null?void 0:n.selectionType)!==null&&v!==void 0?v:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;return o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType,o}return r}(oe);ee(fo,"Rules",CK),ee(fo,"RuntimeRules",BK);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function wa(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 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&&Oh(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:G$(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var DK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FK(e){var t=jK();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 kK(this,o)}}var Ra=function(e){NK(r,e);var t=FK(r);function r(n){AK(this,r);var o;return o=t.call(this,n),wa(G$(o),"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return xK(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}(ie);wa(Ra,"excludes",[d.ROW]),wa(Ra,"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"]),wa(Ra,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function Q$(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 J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MK(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function VK(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 zK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HK(e,t){return t&&(qK(t)==="object"||typeof t=="function")?t:Q$(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var qK=function(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HK(this,o)}}var KK=function(e){zK(r,e);var t=WK(r);function r(n){LK(this,r);var o;return o=t.call(this,n),VK(Q$(o),"props",void 0),o.props=new fo(n==null?void 0:n.props),o}return MK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),GK={Designer:Ra,Runtime:KK,Property:fo};function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&Ph(e,t)}function XK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:rn(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var QK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eS(e){var t=JK();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 XK(this,o)}}var ZK=function(e){Y$(r,e);var t=eS(r);function r(n){Z$(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),Ea=function(e){Y$(r,e);var t=eS(r);function r(n){Z$(this,r);var o;o=t.call(this,n),on(rn(o),"save",void 0),on(rn(o),"cancel",void 0),on(rn(o),"saveAs",void 0),on(rn(o),"print",void 0),on(rn(o),"custom",void 0),on(rn(o),"isLoading",void 0),on(rn(o),"datasourceBind",void 0);var i;o.save=new Lt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Lt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Lt((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 Lt((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new Lt(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new Q(n==null?void 0:n.datasourceBind),o}return r}(oe);on(Ea,"RuntimeRules",ZK);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eG(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function rS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&Rh(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:tS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var rG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iG(e){var t=oG();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 nG(this,o)}}var oS=function(e){tG(r,e);var t=iG(r);function r(n){YK(this,r);var o;return o=t.call(this,n),rS(tS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return eG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ie);rS(oS,"excludes",[]);function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uG(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 cG(e,t,r){return t&&uS(e.prototype,t),r&&uS(e,r),e}function lG(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 aG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:iS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var sG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dG(e){var t=yG();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 fG(this,o)}}var vG=function(e){aG(r,e);var t=dG(r);function r(n){uG(this,r);var o;return o=t.call(this,n),lG(iS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return cG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),pG={Designer:oS,Runtime:vG,Property:Ea};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 Sh(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 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&&Eh(e,t)}function bG(e,t){return t&&(gG(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)}var gG=function(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 OG(e){var t=mG();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 bG(this,o)}}var wG=function(e){hG(r,e);var t=OG(r);function r(n){_G(this,r);var o;o=t.call(this,n),Sh(Ba(o),"position",void 0),Sh(Ba(o),"opacity",void 0),Sh(Ba(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(oe);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RG(e,t,r){return t&&lS(e.prototype,t),r&&lS(e,r),e}function Th(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 $G(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:cS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var EG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IG(e){var t=TG();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 SG(this,o)}}var aS=function(e){$G(r,e);var t=IG(r);function r(n){PG(this,r);var o;o=t.call(this,n),Th(cS(o),"props",void 0);var i;return o.props=new wG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return RG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ie);Th(aS,"excludes",[]),Th(aS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:x(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var CG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=AG();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 BG(this,o)}}var xG=function(e){Ch(r,e);var t=xh(r);function r(n){Bh(this,r);var o;return o=t.call(this,n),B(x(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),B(x(o),"limitRows",[{type:"number",required:!0,message:_.getMessage("isNotNumber")},{type:"number",min:0,message:_.getMessage("limitRowsCannotBeLessThan0")}]),B(x(o),"formKey",{type:"string",required:!1,message:_.getMessage("pleaseEnterForm")}),B(x(o),"maxHeight",{type:"number",required:!0,message:_.getMessage("pleaseEnterMaxHeight")}),B(x(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),B(x(o),"mobileRowCaption",{type:"string",required:!1,message:_.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(J),NG=function(e){Ch(r,e);var t=xh(r);function r(n){Bh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:_.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(sn),Nh=function(e){Ch(r,e);var t=xh(r);function r(n,o){Bh(this,r);var i;i=t.call(this,n,o),B(x(i),"caption",void 0),B(x(i),"labelPosition",void 0),B(x(i),"isHideCaption",void 0),B(x(i),"isShowCaptionTip",void 0),B(x(i),"captionTip",void 0),B(x(i),"defaultState",void 0),B(x(i),"limitRows",void 0),B(x(i),"maxRows",void 0),B(x(i),"defaultRows",void 0),B(x(i),"datasourceBind",void 0),B(x(i),"printMode",void 0),B(x(i),"openType",void 0),B(x(i),"formKey",void 0),B(x(i),"useCustomHeight",void 0),B(x(i),"maxHeight",void 0),B(x(i),"canAdd",void 0),B(x(i),"canDelete",void 0),B(x(i),"canCheck",void 0),B(x(i),"canEdit",void 0),B(x(i),"canImport",void 0),B(x(i),"canExport",void 0),B(x(i),"canClear",void 0),B(x(i),"mobileShowType",void 0),B(x(i),"mobileDefaultNum",void 0),B(x(i),"dataStorageDoc",void 0),B(x(i),"serverPagination",void 0),B(x(i),"fixedColumn",void 0),B(x(i),"mobileRowCaption",void 0),B(x(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Fh.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var h;i.maxHeight=(h=o==null?void 0:o.maxHeight)!==null&&h!==void 0?h:YN;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var p;i.defaultRows=(p=o==null?void 0:o.defaultRows)!==null&&p!==void 0?p:1,i.datasourceBind=new Q(o==null?void 0:o.datasourceBind);var P;i.canAdd=(P=o==null?void 0:o.canAdd)!==null&&P!==void 0?P:!0;var R;i.canDelete=(R=o==null?void 0:o.canDelete)!==null&&R!==void 0?R:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var L;i.canImport=(L=o==null?void 0:o.canImport)!==null&&L!==void 0?L:!1;var C;i.canExport=(C=o==null?void 0:o.canExport)!==null&&C!==void 0?C:!1;var W;i.canClear=(W=o==null?void 0:o.canClear)!==null&&W!==void 0?W:!0;var T;i.serverPagination=(T=o==null?void 0:o.serverPagination)!==null&&T!==void 0?T:!1;var _t;i.isShowCaptionTip=(_t=o==null?void 0:o.isShowCaptionTip)!==null&&_t!==void 0?_t:!1;var Oo;i.captionTip=(Oo=o==null?void 0:o.captionTip)!==null&&Oo!==void 0?Oo:"";var Mr;i.mobileShowType=(Mr=o==null?void 0:o.mobileShowType)!==null&&Mr!==void 0?Mr:"list";var En;i.mobileDefaultNum=(En=o==null?void 0:o.mobileDefaultNum)!==null&&En!==void 0?En:10;var ht;i.dataStorageDoc=(ht=o==null?void 0:o.dataStorageDoc)!==null&&ht!==void 0?ht:new z1;var Pg;i.fixedColumn=(Pg=o==null?void 0:o.fixedColumn)!==null&&Pg!==void 0?Pg:[];var Rg;i.mobileRowCaption=(Rg=o==null?void 0:o.mobileRowCaption)!==null&&Rg!==void 0?Rg:"\u660E\u7EC6";var $g;return i.mobileIsTile=($g=o==null?void 0:o.mobileIsTile)!==null&&$g!==void 0?$g:!1,i}return r}(Ls);B(Nh,"Rules",xG),B(Nh,"RuntimeRules",NG);function kh(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 fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DG(e,t,r){return t&&fS(e.prototype,t),r&&fS(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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&jh(e,t)}function FG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:kh(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var LG=function(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=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FG(this,o)}}var Fh=function(e){jG(r,e);var t=VG(r);function r(n){kG(this,r);var o,i;return o=t.call(this,n),Dh(kh(o),"props",void 0),o.props=new Nh(kh(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ot,new ot,new ot]),o}return DG(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ot,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(zs);Dh(Fh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Dh(Fh,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function nr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Lh(e,t)}function qG(e,t){return t&&(UG(t)==="object"||typeof t=="function")?t:nr(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var UG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KG(e){var t=WG();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qG(this,o)}}var GG=function(e){HG(r,e);var t=KG(r);function r(n,o){zG(this,r);var i;i=t.call(this,n,o),so(nr(i),"isFixedHeader",void 0),so(nr(i),"selectionType",void 0),so(nr(i),"isShowToolbar",void 0),so(nr(i),"isShowSelection",void 0),so(nr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;return i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0,i}return r}(Ls);function XG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QG(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 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&&Mh(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:XG(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var ZG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YG();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 JG(this,o)}}var eX=function(e){yS(r,e);var t=dS(r);function r(n){sS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(mt),Vh=function(e){yS(r,e);var t=dS(r);function r(n){sS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:rr.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(X);QG(Vh,"Rules",eX);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:vS(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var oX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uX(e){var t=iX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rX(this,o)}}var rr=function(e){nX(r,e);var t=uX(r);function r(n){tX(this,r);var o;return o=t.call(this,n),yo(vS(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(ce);yo(rr,"controlType","order-column"),yo(rr,"controlName","\u5E8F\u53F7"),yo(rr,"controlIcon","order-column"),yo(rr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(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 lX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:pS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var fX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=sX();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 aX(this,o)}}var _S=function(e){lX(r,e);var t=yX(r);function r(n){cX(this,r);var o;return o=t.call(this,n),Hh(pS(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(le);Hh(_S,"controlType","order-column"),Hh(_S,"controlFieldType",m.DECIMAL);function Uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dX(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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(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&&Wh(e,t)}function pX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:Uh(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var _X=function(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 bX(e){var t=hX();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var bS=function(e){vX(r,e);var t=bX(r);function r(n){dX(this,r);var o,i;o=t.call(this,n),hS(Uh(o),"showType",void 0),hS(Uh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ir.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(X);function Ma(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gS(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 gX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){gS(i,n,o,u,c,"next",a)}function c(a){gS(i,n,o,u,c,"throw",a)}u(void 0)})}}function mX(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 OX(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?or=Reflect.get:or=function(o,i,u){var c=EX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},or(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function 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&&Kh(e,t)}function PX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mn(e,o,r[o])})}return e}function RX(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 $X(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function SX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:Ma(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function EX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}var TX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=IX();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var CX=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ir=function(e){wX(r,e);var t=BX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),mn(Ma(o),"props",void 0),mn(Ma(o),"children",void 0),o.props=new bS(n==null?void 0:n.props),zt(Ma(o),"children",n==null?void 0:n.children),o}return OX(r,[{key:"toDataBindModel",value:function(){var o=or(un(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===ou.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=or(un(r.prototype),"toSchema",this).call(this);return $X(PX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return or(un(r.prototype),"validate",u)};return gX(function(){return CX(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ce);mn(ir,"controlType","operation-column"),mn(ir,"controlName","\u64CD\u4F5C"),mn(ir,"controlIcon","operation-column"),mn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Va(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 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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(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&&Gh(e,t)}function NX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:Va(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var kX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jX(e){var t=DX();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 NX(this,o)}}var OS=function(e){xX(r,e);var t=jX(r);function r(n){AX(this,r);var o;return o=t.call(this,n),za(Va(o),"props",void 0),za(Va(o),"children",void 0),o.props=new bS(n==null?void 0:n.props),zt(Va(o),"children",n==null?void 0:n.children),o}return r}(le);za(OS,"controlType","operation-column"),za(OS,"controlFieldType",m.FILE);function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wS(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 FX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){wS(i,n,o,u,c,"next",a)}function c(a){wS(i,n,o,u,c,"throw",a)}u(void 0)})}}function LX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MX(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function po(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?po=Reflect.get:po=function(o,i,u){var c=WX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},po(e,t,r||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},On(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&&Xh(e,t)}function zX(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){qa(e,o,r[o])})}return e}function HX(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 qX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function UX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:vo(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function WX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}var KX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XX(e){var t=GX();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 UX(this,o)}}var QX=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},JX=function(e){VX(r,e);var t=XX(r);function r(n){LX(this,r);var o;return o=t.call(this,n),qa(vo(o),"props",void 0),qa(vo(o),"children",void 0),o.props=new GG(vo(o),n==null?void 0:n.props),zt(vo(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new rr,new ir]),o}return MX(r,[{key:"toSchema",value:function(){var o=po(On(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return qX(zX({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return po(On(r.prototype),"validate",u)};return FX(function(){return QX(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}(zs);qa(JX,"setting",[{key:"list-fixed-header",visible:!0}]);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RS(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 Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function $S(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(YX(t)==="object"||typeof t=="function")?t:cn(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var YX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SS(e){var t=eQ();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 ZX(this,o)}}var tQ=function(e){$S(r,e);var t=SS(r);function r(n){RS(this,r);var o;return o=t.call(this,n),vn.call(cn(o),n),o}return r}(Im),Jh=function(e){$S(r,e);var t=SS(r);function r(n){RS(this,r);var o;o=t.call(this,n),wn(cn(o),"optionConfig",void 0),wn(cn(o),"datasourceBind",void 0),wn(cn(o),"showLinkOperation",void 0),wn(cn(o),"linkOperationOption",void 0),wn(cn(o),"options",void 0),wn(cn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.options=gt((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 Ft(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(X);wn(Jh,"Rules",tQ);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function rQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:ES(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var iQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cQ(e){var t=uQ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oQ(this,o)}}var cr=function(e){rQ(r,e);var t=cQ(r);function r(n){nQ(this,r);var o;return o=t.call(this,n),ur(ES(o),"props",void 0),o.props=new Jh(n==null?void 0:n.props),o}return r}(ce);ur(cr,"controlType","varchar-column"),ur(cr,"controlName","\u77ED\u6587\u672C"),ur(cr,"controlIcon","varchar-column"),ur(cr,"controlFieldType",m.VARCHAR),ur(cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function aQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:TS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var sQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dQ(e){var t=yQ();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fQ(this,o)}}var IS=function(e){aQ(r,e);var t=dQ(r);function r(n){lQ(this,r);var o;return o=t.call(this,n),Yh(TS(o),"props",void 0),o.props=new Jh(n==null?void 0:n.props),o}return r}(le);Yh(IS,"controlType","varchar-column"),Yh(IS,"controlFieldType",m.VARCHAR);function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BS(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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function CS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:lr(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var pQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AS(e){var t=_Q();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 vQ(this,o)}}var hQ=function(e){CS(r,e);var t=AS(r);function r(n){BS(this,r);var o;return o=t.call(this,n),vn.call(lr(o),n),o}return r}(mt),nb=function(e){CS(r,e);var t=AS(r);function r(n){BS(this,r);var o;o=t.call(this,n),_o(lr(o),"escapeHTML",void 0),_o(lr(o),"showLinkOperation",void 0),_o(lr(o),"linkOperationOption",void 0),_o(lr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:sr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Ft(n==null?void 0:n.linkOperationOption),o}return r}(X);_o(nb,"Rules",hQ);function xS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gQ(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xa=Reflect.get:Xa=function(o,i,u){var c=wQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Xa(e,t,r||e)}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function OQ(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:xS(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function wQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fr(e),e!==null););return e}var PQ=function(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 $Q(e){var t=RQ();return function(){var n=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OQ(this,o)}}var sr=function(e){mQ(r,e);var t=$Q(r);function r(n){bQ(this,r);var o;return o=t.call(this,n),ar(xS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return gQ(r,[{key:"toDataBindModel",value:function(o){var i=Xa(fr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ce);ar(sr,"controlType","text-column"),ar(sr,"controlName","\u957F\u6587\u672C"),ar(sr,"controlIcon","text-column"),ar(sr,"controlFieldType",m.TEXT),ar(sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function kS(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 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 Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(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&&ib(e,t)}function TQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:kS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var IQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CQ(e){var t=BQ();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TQ(this,o)}}var DS=function(e){EQ(r,e);var t=CQ(r);function r(n){SQ(this,r);var o;return o=t.call(this,n),ob(kS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return r}(le);ob(DS,"controlType","text-column"),ob(DS,"controlFieldType",m.TEXT);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(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&&ub(e,t)}function AQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:pt(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}var xQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LS(e){var t=NQ();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 AQ(this,o)}}var kQ=function(e){FS(r,e);var t=LS(r);function r(n){jS(this,r);var o;return o=t.call(this,n),vn.call(pt(o),n),o}return r}(mt),cb=function(e){FS(r,e);var t=LS(r);function r(n){jS(this,r);var o;o=t.call(this,n),xt(pt(o),"optionConfig",void 0),xt(pt(o),"datasourceBind",void 0),xt(pt(o),"showLinkOperation",void 0),xt(pt(o),"linkOperationOption",void 0),xt(pt(o),"options",void 0),xt(pt(o),"precision",void 0),xt(pt(o),"micrometer",void 0),xt(pt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var f;o.options=gt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Ft(n==null?void 0:n.linkOperationOption),o}return r}(X);xt(cb,"Rules",kQ);function MS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jQ(e,t,r){return t&&VS(e.prototype,t),r&&VS(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 Za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Za=Reflect.get:Za=function(o,i,u){var c=MQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Za(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(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&&lb(e,t)}function LQ(e,t){return t&&(VQ(t)==="object"||typeof t=="function")?t:MS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function MQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}var VQ=function(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 HQ(e){var t=zQ();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LQ(this,o)}}var vr=function(e){FQ(r,e);var t=HQ(r);function r(n){DQ(this,r);var o;return o=t.call(this,n),yr(MS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return jQ(r,[{key:"toDataBindModel",value:function(o){var i=Za(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(ce);yr(vr,"controlType","decimal-column"),yr(vr,"controlName","\u6570\u503C"),yr(vr,"controlIcon","decimal-column"),yr(vr,"controlFieldType",m.DECIMAL),yr(vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function UQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:zS(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var KQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=GQ();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 WQ(this,o)}}var HS=function(e){UQ(r,e);var t=XQ(r);function r(n){qQ(this,r);var o;return o=t.call(this,n),ab(zS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return r}(le);ab(HS,"controlType","decimal-column"),ab(HS,"controlFieldType",m.DECIMAL);function ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&sb(e,t)}function QQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:ho(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var JQ=function(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 WS(e){var t=ZQ();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 QQ(this,o)}}var YQ=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o;return o=t.call(this,n),vn.call(ho(o),n),o}return r}(mt),yb=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o;o=t.call(this,n),ef(ho(o),"dateType",void 0),ef(ho(o),"showLinkOperation",void 0),ef(ho(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 Ft(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:hr.controlName,o}return r}(X);ef(yb,"Rules",YQ);function KS(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 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 tJ(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nf=Reflect.get:nf=function(o,i,u){var c=oJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},nf(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(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&&db(e,t)}function rJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:KS(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function oJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}var iJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();return function(){var n=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rJ(this,o)}}var hr=function(e){nJ(r,e);var t=cJ(r);function r(n){eJ(this,r);var o;return o=t.call(this,n),pr(KS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return tJ(r,[{key:"toDataBindModel",value:function(o){var i=nf(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);pr(hr,"controlType","timescope-column"),pr(hr,"controlName","\u65E5\u671F\u533A\u95F4"),pr(hr,"controlIcon","timescope-column"),pr(hr,"controlFieldType",m.TIMESCOPE),pr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vb(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 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&&pb(e,t)}function fJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:XS(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var sJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yJ();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 fJ(this,o)}}var QS=function(e){aJ(r,e);var t=dJ(r);function r(n){lJ(this,r);var o;return o=t.call(this,n),vb(XS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return r}(le);vb(QS,"controlType","timescope-column"),vb(QS,"controlFieldType",m.TIMESCOPE);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function ZS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function vJ(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:bo(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var pJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YS(e){var t=_J();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vJ(this,o)}}var hJ=function(e){ZS(r,e);var t=YS(r);function r(n){JS(this,r);var o;return o=t.call(this,n),vn.call(bo(o),n),o}return r}(mt),hb=function(e){ZS(r,e);var t=YS(r);function r(n){JS(this,r);var o;o=t.call(this,n),of(bo(o),"dateType",void 0),of(bo(o),"showLinkOperation",void 0),of(bo(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 Ft(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(X);of(hb,"Rules",hJ);function eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gJ(e,t,r){return t&&tE(e.prototype,t),r&&tE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var c=wJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},cf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&bb(e,t)}function OJ(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:eE(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function wJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}var PJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $J(e){var t=RJ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OJ(this,o)}}var mr=function(e){mJ(r,e);var t=$J(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),br(eE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return gJ(r,[{key:"toDataBindModel",value:function(o){var i=cf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);br(mr,"controlType","timestamp-column"),br(mr,"controlName","\u65E5\u671F"),br(mr,"controlIcon","timestamp-column"),br(mr,"controlFieldType",m.TIMESTAMP),br(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function nE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(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 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&&mb(e,t)}function TJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:nE(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}var IJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CJ(e){var t=BJ();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 TJ(this,o)}}var rE=function(e){EJ(r,e);var t=CJ(r);function r(n){SJ(this,r);var o;return o=t.call(this,n),gb(nE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(le);gb(rE,"controlType","timestamp-column"),gb(rE,"controlFieldType",m.TIMESTAMP);function af(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 ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function iE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:af(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var xJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uE(e){var t=NJ();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 kJ=function(e){iE(r,e);var t=uE(r);function r(n){return oE(this,r),t.call(this,n)}return r}(Im),wb=function(e){iE(r,e);var t=uE(r);function r(n){oE(this,r);var o;o=t.call(this,n),ff(af(o),"optionConfig",void 0),ff(af(o),"datasourceBind",void 0),ff(af(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;return o.options=gt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(X);ff(wb,"Rules",kJ);function cE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(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&&Pb(e,t)}function FJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:cE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var LJ=function(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=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var wr=function(e){jJ(r,e);var t=VJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),Or(cE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(ce);Or(wr,"controlType","array-column"),Or(wr,"controlName","\u6570\u7EC4"),Or(wr,"controlIcon","array-column"),Or(wr,"controlFieldType",m.ARRAY),Or(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zJ(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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(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&&$b(e,t)}function qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:lE(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var UJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KJ(e){var t=WJ();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 qJ(this,o)}}var aE=function(e){HJ(r,e);var t=KJ(r);function r(n){zJ(this,r);var o;return o=t.call(this,n),Rb(lE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(le);Rb(aE,"controlType","array-column"),Rb(aE,"controlFieldType",m.ARRAY);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:fE(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var ZJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YJ();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 JJ(this,o)}}var sE=function(e){QJ(r,e);var t=eZ(r);function r(n){GJ(this,r);var o;o=t.call(this,n),XJ(fE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$r.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(X);function yE(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 dE(e,t){for(var r=0;r<t.length;r++){var 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&&dE(e.prototype,t),r&&dE(e,r),e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,u){var c=iZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},pf(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&Eb(e,t)}function oZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:yE(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function iZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var uZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lZ(e){var t=cZ();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oZ(this,o)}}var $r=function(e){rZ(r,e);var t=lZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),Pr(yE(o),"props",void 0),o.props=new sE(n==null?void 0:n.props),o}return nZ(r,[{key:"toDataBindModel",value:function(o){var i=pf(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ce);Pr($r,"controlType","department-column"),Pr($r,"controlName","\u90E8\u95E8"),Pr($r,"controlIcon","department-column"),Pr($r,"controlFieldType",m.DEPARTMENTS),Pr($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&Ib(e,t)}function sZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:vE(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var yZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vZ(e){var t=dZ();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 sZ(this,o)}}var pE=function(e){fZ(r,e);var t=vZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),Tb(vE(o),"props",void 0),o.props=new sE(n==null?void 0:n.props),o}return r}(le);Tb(pE,"controlType","department-column"),Tb(pE,"controlFieldType",m.DEPARTMENTS);function hf(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 Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function hE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function pZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:hf(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}var _Z=function(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 bE(e){var t=hZ();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 pZ(this,o)}}var bZ=function(e){hE(r,e);var t=bE(r);function r(n){_E(this,r);var o;return o=t.call(this,n),vn.call(hf(o),n),o}return r}(mt),Ab=function(e){hE(r,e);var t=bE(r);function r(n){_E(this,r);var o;o=t.call(this,n),Bb(hf(o),"showLinkOperation",void 0),Bb(hf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Ft(n==null?void 0:n.linkOperationOption),o}return r}(X);Bb(Ab,"Rules",bZ);function gE(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 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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&xb(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:gE(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var wZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RZ(e){var t=PZ();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 OZ(this,o)}}var Er=function(e){mZ(r,e);var t=RZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),Sr(gE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(ce);Sr(Er,"controlType","auto-number-column"),Sr(Er,"controlName","\u81EA\u52A8\u7F16\u53F7"),Sr(Er,"controlIcon","auto-number-column"),Sr(Er,"controlFieldType",m.AUTO_NUMBER),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Z(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 mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function SZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:mE(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var TZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BZ(e){var t=IZ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EZ(this,o)}}var OE=function(e){SZ(r,e);var t=BZ(r);function r(n){$Z(this,r);var o;return o=t.call(this,n),Nb(mE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(le);Nb(OE,"controlType","auto-number-column"),Nb(OE,"controlFieldType",m.AUTO_NUMBER);function CZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&Db(e,t)}function NZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:CZ(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}var kZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jZ(e){var t=DZ();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 NZ(this,o)}}var wE=function(e){xZ(r,e);var t=jZ(r);function r(n){AZ(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ir.controlName,o}return r}(X);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&jb(e,t)}function MZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:PE(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}var VZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=zZ();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 MZ(this,o)}}var Ir=function(e){LZ(r,e);var t=HZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),Tr(PE(o),"props",void 0),o.props=new wE(n==null?void 0:n.props),o}return r}(ce);Tr(Ir,"controlType","file-column"),Tr(Ir,"controlName","\u9644\u4EF6"),Tr(Ir,"controlIcon","file-column"),Tr(Ir,"controlFieldType",m.FILE),Tr(Ir,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function RE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:RE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var KZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XZ(e){var t=GZ();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var $E=function(e){UZ(r,e);var t=XZ(r);function r(n){qZ(this,r);var o;return o=t.call(this,n),Fb(RE(o),"props",void 0),o.props=new wE(n==null?void 0:n.props),o}return r}(le);Fb($E,"controlType","file-column"),Fb($E,"controlFieldType",m.FILE);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:QZ(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var eY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nY(e){var t=tY();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 YZ(this,o)}}var SE=function(e){ZZ(r,e);var t=nY(r);function r(n){JZ(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cr.controlName,o}return r}(X);function EE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&Vb(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:EE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var uY=function(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 lY(e){var t=cY();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 iY(this,o)}}var Cr=function(e){oY(r,e);var t=lY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),Br(EE(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(ce);Br(Cr,"controlType","image-column"),Br(Cr,"controlName","\u56FE\u7247"),Br(Cr,"controlIcon","image-column"),Br(Cr,"controlFieldType",m.IMAGE),Br(Cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TE(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 zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function fY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function sY(e,t){return t&&(yY(t)==="object"||typeof t=="function")?t:TE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var yY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vY(e){var t=dY();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 sY(this,o)}}var IE=function(e){fY(r,e);var t=vY(r);function r(n){aY(this,r);var o;return o=t.call(this,n),zb(TE(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(le);zb(IE,"controlType","image-column"),zb(IE,"controlFieldType",m.IMAGE);function pY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function hY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:pY(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var gY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=mY();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bY(this,o)}}var BE=function(e){hY(r,e);var t=OY(r);function r(n){_Y(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName,o}return r}(X);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&Ub(e,t)}function RY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:CE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var $Y=function(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=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RY(this,o)}}var xr=function(e){PY(r,e);var t=EY(r);function r(n){wY(this,r);var o;return o=t.call(this,n),Ar(CE(o),"props",void 0),o.props=new BE(n==null?void 0:n.props),o}return r}(ce);Ar(xr,"controlType","people-column"),Ar(xr,"controlName","\u4EBA\u5458"),Ar(xr,"controlIcon","people-column"),Ar(xr,"controlFieldType",m.EMPLOYEES),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function AE(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 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 If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(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&&Kb(e,t)}function BY(e,t){return t&&(CY(t)==="object"||typeof t=="function")?t:AE(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var CY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=AY();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 BY(this,o)}}var xE=function(e){IY(r,e);var t=xY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),Wb(AE(o),"props",void 0),o.props=new BE(n==null?void 0:n.props),o}return r}(le);Wb(xE,"controlType","people-column"),Wb(xE,"controlFieldType",m.EMPLOYEES);function Bf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(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 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&&Xb(e,t)}function NY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:Bf(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var kY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DE(e){var t=DY();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 NY(this,o)}}var jY=function(e){kE(r,e);var t=DE(r);function r(n){NE(this,r);var o;return o=t.call(this,n),vn.call(Bf(o),n),o}return r}(mt),Qb=function(e){kE(r,e);var t=DE(r);function r(n){NE(this,r);var o;o=t.call(this,n),Gb(Bf(o),"showLinkOperation",void 0),Gb(Bf(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 Ft(n==null?void 0:n.linkOperationOption),o}return r}(X);Gb(Qb,"Rules",jY);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(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 MY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:jE(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}var VY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zY();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 MY(this,o)}}var kr=function(e){LY(r,e);var t=HY(r);function r(n){FY(this,r);var o;return o=t.call(this,n),Nr(jE(o),"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return r}(ce);Nr(kr,"controlType","location-column"),Nr(kr,"controlName","\u5730\u5740"),Nr(kr,"controlIcon","location-column"),Nr(kr,"controlFieldType",m.ADDRESS),Nr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function FE(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 Zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Yb(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:FE(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var KY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=GY();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WY(this,o)}}var LE=function(e){UY(r,e);var t=XY(r);function r(n){qY(this,r);var o;return o=t.call(this,n),Zb(FE(o),"props",void 0),o.props=new Qb(n==null?void 0:n.props),o}return r}(le);Zb(LE,"controlType","location-column"),Zb(LE,"controlFieldType",m.ADDRESS);function ME(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 JY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:ME(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}var eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();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 YY(this,o)}}var VE=function(e){ZY(r,e);var t=nee(r);function r(n){QY(this,r);var o;o=t.call(this,n),JY(ME(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(X);function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oee(e,t,r){return t&&zE(e.prototype,t),r&&zE(e,r),e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function go(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(o,i,u){var c=see(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},go(e,t,r||e)}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function uee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){it(e,o,r[o])})}return e}function lee(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 aee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function fee(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:Dr(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function see(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pn(e),e!==null););return e}var yee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vee(e){var t=dee();return function(){var n=Pn(e),o;if(t){var i=Pn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fee(this,o)}}var pee=1,Rn=function(t){iee(n,t);var r=vee(n);function n(o){ree(this,n);var i;i=r.call(this,o),it(Dr(i),"excludes",void 0),it(Dr(i),"childrenMaxLength",void 0),it(Dr(i),"props",void 0),it(Dr(i),"children",void 0);var u=uee(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new VE(o==null?void 0:o.props),zt(Dr(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return oee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=go(Pn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=go(Pn(n.prototype),"toSchema",this).call(this);return aee(cee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ce);it(Rn,"controlType","custom-column"),it(Rn,"controlName","\u81EA\u5B9A\u4E49"),it(Rn,"controlIcon","custom-column"),it(Rn,"excludes",[]),it(Rn,"childrenMaxLength",pee),it(Rn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:kf(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}var gee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=mee();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 bee(this,o)}}var wee=function(e){hee(r,e);var t=Oee(r);function r(n){_ee(this,r);var o;return o=t.call(this,n),ng(kf(o),"props",void 0),ng(kf(o),"children",void 0),o.props=new VE(n==null?void 0:n.props),zt(kf(o),"children",n==null?void 0:n.children),o}return r}(le);ng(wee,"controlType","custom-column");function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ree(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&og(e,t)}function See(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:HE(e)}function og(e,t){return og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},og(e,t)}var Eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Tee();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return See(this,o)}}var qE=function(e){$ee(r,e);var t=Iee(r);function r(n){Pee(this,r);var o;o=t.call(this,n),Ree(HE(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$n.controlName;var u;return o.datasourceBind=new $o((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:$n.controlCustomAttributes}),o}return r}(X);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cee(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function xee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:UE(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}var Nee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=kee();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 xee(this,o)}}var $n=function(e){Aee(r,e);var t=Dee(r);function r(n){Bee(this,r);var o;return o=t.call(this,n),jr(UE(o),"props",void 0),o.props=new qE(n==null?void 0:n.props),o}return Cee(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ce);jr($n,"controlType","employee-column"),jr($n,"controlName","\u4EBA\u5458"),jr($n,"controlIcon","employee-column"),jr($n,"controlFieldType",m.EMPLOYEES),jr($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jee(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function Fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}function Lee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:KE(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}var Mee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Vee();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 Lee(this,o)}}var GE=function(e){Fee(r,e);var t=zee(r);function r(n){jee(this,r);var o;return o=t.call(this,n),ug(KE(o),"props",void 0),o.props=new qE(n==null?void 0:n.props),o}return r}(le);ug(GE,"controlType","employee-column"),ug(GE,"controlFieldType",m.EMPLOYEES);function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ag(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:Mf(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}var Wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gee(e){var t=Kee();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var XE=function(e){qee(r,e);var t=Gee(r);function r(n){Hee(this,r);var o;o=t.call(this,n),lg(Mf(o),"lineEllipsis",void 0),lg(Mf(o),"showLinkOperation",void 0),lg(Mf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Ft(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(X);function fg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Jee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:fg(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var Zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ete(e){var t=Yee();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jee(this,o)}}var Fr=function(e){Qee(r,e);var t=ete(r);function r(n){Xee(this,r);var o;return o=t.call(this,n),Sn(fg(o),"props",void 0),Sn(fg(o),"children",void 0),o.props=new XE(n==null?void 0:n.props),o}return r}(ce);Sn(Fr,"controlType","approval-status-column"),Sn(Fr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Sn(Fr,"controlIcon","approval-status-column"),Sn(Fr,"excludes",[]),Sn(Fr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function yg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(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 nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function rte(e,t){return t&&(ote(t)==="object"||typeof t=="function")?t:yg(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}var ote=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ute(e){var t=ite();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rte(this,o)}}var cte=function(e){nte(r,e);var t=ute(r);function r(n){tte(this,r);var o;return o=t.call(this,n),dg(yg(o),"props",void 0),dg(yg(o),"children",void 0),o.props=new XE(n==null?void 0:n.props),o}return r}(le);dg(cte,"controlType","approval-status-column");function Nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function JE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function lte(e,t){return t&&(ate(t)==="object"||typeof t=="function")?t:Nt(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}var ate=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZE(e){var t=fte();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lte(this,o)}}var ste=function(e){JE(r,e);var t=ZE(r);function r(n){QE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),_g=function(e){JE(r,e);var t=ZE(r);function r(n){QE(this,r);var o;o=t.call(this,n),kt(Nt(o),"search",void 0),kt(Nt(o),"cancel",void 0),kt(Nt(o),"searchType",void 0),kt(Nt(o),"labelPosition",void 0),kt(Nt(o),"viewType",void 0),kt(Nt(o),"isLoading",void 0),kt(Nt(o),"custom",void 0),kt(Nt(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 Lt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Lt((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(h){return new Lt(h)});var v;return o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[],o}return r}(Zs);kt(_g,"RuntimeRules",ste);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bg(e,t)}function vte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:YE(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}var pte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hte(e){var t=_te();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vte(this,o)}}var eT=function(e){dte(r,e);var t=hte(r);function r(n){yte(this,r);var o;return o=t.call(this,n),hg(YE(o),"props",void 0),o.props=new _g(n==null?void 0:n.props),o}return r}(tN);hg(eT,"controlType","simple-search"),hg(eT,"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 gg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(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 gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Og(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:gg(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}var Ote=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pte(e){var t=wte();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 mte(this,o)}}var Rte=function(e){gte(r,e);var t=Pte(r);function r(n){bte(this,r);var o;o=t.call(this,n),mg(gg(o),"props",void 0),mg(gg(o),"children",void 0),o.props=new _g(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}(lN);mg(Rte,"controlType","simple-search");const $te=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];jte(t==null?void 0:t.events),Cte(n),Ate(n);const o=Bte(n),i=xte(o,t);let u=Cn(Re(i,c=>Ite(c,t)));return r?u:u[0]},Ste=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],Ete=["subtable","grid-table"],Tte=["simple-search"];function Ite(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Ste.includes(r.type)?r.controlType="base":r.controlType="form",Ete.includes(r.type)&&(r.controlType="list"),Tte.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),me((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),me((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),me((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((y,v)=>{const h=new qU.Designer;h.props.caption=me(y.field_name)?y.field_name.zh:y.field_name;const O=h.toSchema();O.id=y.header_id;const b=r.children[0].children[v].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=me(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(y=>{const v=new i$.Designer;v.props.span=f;const h=v.toSchema();return h.children.push(y),h})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],v={};f&&(tT(r,t),v.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),y&&(v.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=v,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],v={},h={};f&&(tT(r,t),r.id=f.id,v.amount=f.props.data_bind,r.props.range_min=Bn(f.props.range_min),r.props.range_max=Bn(f.props.range_max),h.amount=Bn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=me(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),y&&(v.currency=y.props.data_bind,h.currency=y.props.value,r.props.datasourceBind=y.props.datasource_bind,r.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=v,r.props.defaultValue=h,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1];r.props.placeholderStart=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;const v={};f&&(v.min=f.props.data_bind),y&&(v.max=y.props.data_bind),r.props.dataBind=v,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Bn(e.props.range_min),r.props.range_max=Bn(e.props.range_max),r.props.defaultValue=Bn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),Fte(r,t==null?void 0:t.control_events),r}function tT(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 Bte(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new pG.Designer().toSchema();return n.children=e,[n]}function Cte(e){e.forEach(t=>{t.children&&Dte(t.children)})}function Ate(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 xte(e,t){var h,O,b,w,p,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;Nte(i),c.props.is_fixed_header=(h=n==null?void 0:n.source_config)==null?void 0:h.is_fixed_header,kte(c,u);const a=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,l=((p=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?p:a)?`${a}_selectMore`:void 0,f=(R=(P=n==null?void 0:n.source_config)==null?void 0:P.orders)!=null?R:[],y=new GK.Designer;y.props.datasourceBind=new Q({dataCode:a,svcCode:l,orders:O1(f)}),y.props.isShowSubList=n.is_show_sublist,y.props.triggerType=n.timing_type,y.props.triggerFieldCode=n.ctrl_field_code,($=n==null?void 0:n.sublist_page)==null||$.sublists.forEach(E=>{E.title=me(E.title)?E.title.zh:E.title}),y.props.sublistPage=n.sublist_page;const v=y.toSchema();return v.children.push(i,c),[v]}function Nte(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=me(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function kte(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=me(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Q({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Dte(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 jte(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 Fte(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 Lte=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Mte(i)));return r?o:o[0]};function Mte(e,t){return e.type===d.LIST_VIEW&&e.children.find(n=>n.type===d.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Me({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Vte=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>zte(i)));return r?o:o[0]};function zte(e,t){return[d.BUTTON,d.CREATE_FORM_LIST_BUTTON,d.BATCH_SUBMISSION_LIST_BUTTON,d.SUBMISSION_RECORD_LIST_BUTTON,d.IMPORT_RECORD_LIST_BUTTON,d.EXPORT_RECORD_LIST_BUTTON,d.EXPORT_LIST_BUTTON,d.FORM_SELECT_BUTTON,d.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===d.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===d.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Hte=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>qte(i)));return r?o:o[0]};function qte(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 Ute=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Kte(i)));return r?o:o[0]},Wte=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function Kte(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(Wte.includes(r.type))return r;const n=new _U.Designer,o=new i$.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const Gte=(e,t)=>{const r=Array.isArray(e);let o=Cn(Re(r?e:[e],i=>Xte(i)));return r?o:o[0]};function Xte(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===d.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Qte=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Jte(i));return r?o:o[0]};function Jte(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Zte=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>Yte(i));return r?o:o[0]};function ln(e,t){e.field_code&&(e.field_type=t)}function Yte(e,t){var n;const r={[d.TITLE]:m.AUTO_NUMBER,[d.ADDRESS]:m.ADDRESS,[d.ATTACHMENT]:m.FILE,[d.AUTO_NUMBER]:m.AUTO_NUMBER,[d.CHECKBOX]:m.ARRAY,[d.DATE_PICKER]:m.TIMESTAMP,[d.DEPARTMENT]:m.DEPARTMENTS,[d.EMPLOYEE]:m.EMPLOYEES,[d.EMPLOYEE2]:m.EMPLOYEES,[d.IMAGE]:m.IMAGE,[d.INPUT]:m.VARCHAR,[d.NUMBER]:m.DECIMAL,[d.RADIO]:m.VARCHAR,[d.RICH_TEXT]:m.TEXT,[d.SCORE]:m.DECIMAL,[d.SELECT]:m.VARCHAR,[d.SELECT_MULTIPLE]:m.ARRAY,[d.SELECT_RELATION]:m.VARCHAR,[d.TEXTAREA]:m.TEXT,[d.TREE]:m.ARRAY,[d.SEARCH_DATE_RANGE]:m.ARRAY,[d.SEARCH_INPUT]:m.VARCHAR,[d.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&ln(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(ln(e.props.data_bind.amount,m.DECIMAL),ln(e.props.data_bind.currency,m.VARCHAR)),e.type===d.CALC&&(ln(e.props.data_bind.result,m.DECIMAL),ln(e.props.data_bind.unit,m.VARCHAR)),e.type===d.DATE_RANGE&&(ln(e.props.data_bind.min,m.TIMESTAMP),ln(e.props.data_bind.max,m.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&ln(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const ene=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>tne(i));return r?o:o[0]};function tne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===d.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const nne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>rne(i));return r?o:o[0]};function rne(e,t){return e.type===d.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const one=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>ine(i));return r?o:o[0]};function ine(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const une=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>cne(i));return r?o:o[0]};function cne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const lne=(e,t)=>{const r=Array.isArray(e);let o=Re(r?e:[e],i=>ane(i));return r?o:o[0]};function ane(e,t){return e.type===d.TITLE&&e.props.config.push(wt.ShowTitle),e.type===d.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,y,v,h,O,b,w,p,P,R,$,E,L,C,W;if(r.type===d.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const T=new $d.Designer;Object.defineProperty(T,"id",{value:"listPageCheckBtnId"}),T.props.code="view",T.props.icon="iconliulan1",T.props.command="view",T.props.content=(i=r.props)==null?void 0:i.check.content,T.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,T.props.openType=(c=r.props)==null?void 0:c.check.open_type,T.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(T.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const T=new $d.Designer;Object.defineProperty(T,"id",{value:"listPageEditBtnId"}),T.props.code="edit",T.props.icon="iconbianji1",T.props.command="edit",T.props.content=(v=r.props)==null?void 0:v.edit.content,T.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,T.props.openType=(O=r.props)==null?void 0:O.edit.open_type,T.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(T.toSchema()),(p=r.props)==null||delete p.edit}if(((P=r.props)==null?void 0:P.delete)!==void 0){const T=new $d.Designer;Object.defineProperty(T,"id",{value:"listPageDeleteBtnId"}),T.props.code="delete",T.props.icon="iconlajitong",T.props.command="delete",T.props.content=(R=r.props)==null?void 0:R.delete.content,T.props.priorityProcess=($=r.props)==null?void 0:$.delete.priority_process,T.props.openType=(E=r.props)==null?void 0:E.delete.open_type,T.props.formKey=(L=r.props)==null?void 0:L.delete.form_key,T.props.needConfirm=!0,T.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(C=r.props)!=null&&C.delete.is_show&&r.children.push(T.toSchema()),(W=r.props)==null||delete W.delete}}}),[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var nT={"v1.0":$te,"v2.0":Lte,"v2.1":Vte,"v2.2":Hte,"v2.3":Ute,"v2.4":Gte,"v2.5":Qte,"v2.6":Zte,"v2.7":ene,"v2.8":nne,"v2.9":one,"v2.10":une,"v3.0":lne,"v3.1":()=>{}};const rT=(e,t)=>{const r=oT(e),n=oT(t),o=r.pop(),i=n.pop(),u=cT(r,n);return u!==0?u:o&&i?cT(o.split("."),i.split(".")):o||i?o?-1:1:0},Kf=(e,t,r)=>{dne(r);const n=rT(e,t);return lT[r].includes(n)},fne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,oT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(fne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},iT=e=>e==="*"||e==="x"||e==="X",uT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},sne=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],yne=(e,t)=>{if(iT(e)||iT(t))return 0;const[r,n]=sne(uT(e),uT(t));return r>n?1:r<n?-1:0},cT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=yne(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},lT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},aT=Object.keys(lT),dne=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(aT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${aT.join("|")}`)};function wg(e){return e.replace(/^v/,"")}const Lr=Object.keys(nT).map(e=>wg(e)).sort(rT),mo=Lr[Lr.length-1];class vne{constructor(t,r=mo){this.schemaVersion=t,this.toVersion=r,Kf(r,mo,">")?qr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${mo}`):(!Lr.includes(wg(r))||!Lr.includes(wg(t)))&&qr(`Version Builder: Please give me a valid version number, The valid version is: ${Lr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Kf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=nT[i];let f=o;if(typeof l=="function"){const v=l(o,r);v&&(f=v)}return f},t);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Lr.filter(t=>Kf(t,this.schemaVersion,">=")&&Kf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return mo}static get version(){return mo}}Tn.VersionBuilder=vne,Object.defineProperty(Tn,"__esModule",{value:!0})});
1
+ (function(Hr,eo){typeof exports=="object"&&typeof module!="undefined"?eo(exports):typeof define=="function"&&define.amd?define(["exports"],eo):(Hr=typeof globalThis!="undefined"?globalThis:Hr||self,eo(Hr.modelDrivenUpgrade={}))})(this,function(Hr){"use strict";var eo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",aT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",sT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",pT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",_T="{caption}\u5FC5\u586B",yT="\u8BF7\u8F93\u5165\u6807\u9898",dT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",vT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",hT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gT="\u8BF7\u7ED1\u5B9A\u8868\u5355",mT="\u8BF7\u7ED1\u5B9A\u5217\u8868",OT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",wT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",$T="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",PT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",RT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ST="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ET="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",TT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",IT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",BT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",AT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",DT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",NT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",FT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",LT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",MT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",VT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",CT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",HT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",qT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",UT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",WT="\u8BF7\u9009\u62E9\u7701",KT="\u8BF7\u9009\u62E9\u5E02",GT="\u8BF7\u9009\u62E9\u533A",XT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",QT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",JT="\u8BF7\u8F93\u5165\u5217\u5BBD",ZT="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",YT="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",e1="\u8BF7\u9009\u62E9\u63A7\u4EF6",t1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",r1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",n1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",o1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",i1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",u1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",c1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",l1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",a1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",f1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",s1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",p1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",_1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",y1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",d1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",v1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",h1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",b1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",g1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",m1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",O1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",w1={isNotNumber:eo,isNotString:aT,isNotObject:fT,isNotArray:sT,isNotBoolean:pT,runtimeRequired:_T,pleaseEnterCaption:yT,pleaseEnterCaptionTip:dT,pleaseEnterRowCaption:vT,pleaseEnterPlaceholder:hT,pleaseEnterFieldCode:bT,pleaseEnterForm:gT,pleaseEnterList:mT,pleaseEnterProcess:OT,pleaseEnterLabel:wT,pleaseEnterValue:$T,bizKeyNotBindFiled:PT,pleaseSelectOneField:RT,pleaseEnterNumberRange:ST,pleaseEnterAValueGreaterThanMin:ET,pleaseEnterAValueLessThanMax:TT,numberRangeSetError:IT,stringRangeError:BT,attachmentMaxSize:AT,pleaseEnterTotalScoreSetting:xT,theTotalScoreMustNotBeLessThan1:kT,scoreDefaultValueRange:DT,attachmentLimitError:NT,PleaseReselectTheOptionalQuantity:jT,TheMaximumLengthIsGreaterThanTheMinimumLength:FT,TheMinimumLengthIsGreaterThanTheMaximumLength:LT,PleaseSelectTheCorrectOptionSettings:MT,optionIdIsRepeat:VT,optionIsRequired:zT,pleaseEnterDataCode:CT,pleaseEnterValueFieldCode:HT,pleaseEnterSvcCode:qT,pleaseBindAtLeastOneDisplayValue:UT,pleaseSelectProvince:WT,pleaseSelectCity:KT,pleaseSelectDistrict:GT,limitRowsCannotBeLessThan0:XT,TheNumberOfRowsCannotBeLessThanMinRows:QT,pleaseEnterColumnWidth:JT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ZT,pleaseCompleteAllRulesAndConditions:YT,pleaseSelectControl:e1,pleaseSelectAtLeastOneColumn:t1,pleaseSelectFillBackMode:r1,pleaseSelectDashboard:n1,rootNodeIsRequired:o1,theViewNameCannotBeEmpty:i1,pleaseSelectOcrType:u1,pleaseSelectAtLeastOneFieldToFillIn:c1,pleaseChooseAtLeastOne:l1,pleaseEnterButtonContent:a1,pleaseEnterDataCodeInDataSetting:f1,pleaseEnterValueFieldCodeInDataSetting:s1,pleaseEnterSvcCodeInDataSetting:p1,pleaseBindAtLeastOneDisplayValueInDataSetting:_1,rootNodeIsRequiredInDataSetting:y1,pleaseEnterMaxHeight:d1,pleaseEnter:v1,pleaseEnterWatermark:h1,pleaseEnterFileName:b1,pleaseUploadAtLeastOnePrintTemplate:g1,pleaseAssignBusiness:m1,pleaseAssignExternal:O1},$1="Please enter a number",P1="Please enter a string",R1="Please enter an object",S1="Please enter an array",E1="Please enter a boolean",T1="{caption} Required",I1="Please enter the title",B1="Please enter the bubble prompt",A1="Please enter the row title",x1="Please enter the prompt text",k1="Please bind data items",D1="Please bind the form",N1="Please bind the list",j1="Please bind the process",F1="Please enter the displayed value",L1="Please enter the stored value",M1="The document number is not bound to the data item",V1="Please select at least one display field",z1="Please enter a value greater than or equal to {min} and less than or equal to {max}",C1="Please enter a value greater than or equal to {min}",H1="Please enter a value less than or equal to {max}",q1="The value range is set incorrectly",U1="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",W1="The attachment size must be between 0MB and 1000MB",K1="Please fill in the total score setting",G1="The total score cannot be less than 1",X1="The default value must be between {min} and {max}",Q1="The number of attachments uploaded must be between {min} and {max}",J1="Please re-select the optional quantity",Z1="The maximum length of the control must be greater than the minimum length",Y1="The minimum length of the control must be less than the maximum length",eI="Please select the correct option setting",tI="Option ID cannot be repeated",rI="Please enter at least one option",nI="Please bind the data source",oI="Please bind the stored value",iI="Please bind the service",uI="At least one display value must be bound",cI="Please select a province",lI="Please select a city",aI="Please select a district",fI="The minimum number of lines to fill in cannot be less than 0",sI="The number of rows cannot be less than {min} rows",pI="Please enter the column width",_I="Please set the logical relationship of all rule conditions",yI="Please complete all rules and conditions",dI="please select control",vI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",gI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",mI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",OI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wI="\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",PI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",RI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",SI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",EI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",TI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",II="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",BI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",AI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",DI={isNotNumber:$1,isNotString:P1,isNotObject:R1,isNotArray:S1,isNotBoolean:E1,runtimeRequired:T1,pleaseEnterCaption:I1,pleaseEnterCaptionTip:B1,pleaseEnterRowCaption:A1,pleaseEnterPlaceholder:x1,pleaseEnterFieldCode:k1,pleaseEnterForm:D1,pleaseEnterList:N1,pleaseEnterProcess:j1,pleaseEnterLabel:F1,pleaseEnterValue:L1,bizKeyNotBindFiled:M1,pleaseSelectOneField:V1,pleaseEnterNumberRange:z1,pleaseEnterAValueGreaterThanMin:C1,pleaseEnterAValueLessThanMax:H1,numberRangeSetError:q1,stringRangeError:U1,attachmentMaxSize:W1,pleaseEnterTotalScoreSetting:K1,theTotalScoreMustNotBeLessThan1:G1,scoreDefaultValueRange:X1,attachmentLimitError:Q1,PleaseReselectTheOptionalQuantity:J1,TheMaximumLengthIsGreaterThanTheMinimumLength:Z1,TheMinimumLengthIsGreaterThanTheMaximumLength:Y1,PleaseSelectTheCorrectOptionSettings:eI,optionIdIsRepeat:tI,optionIsRequired:rI,pleaseEnterDataCode:nI,pleaseEnterValueFieldCode:oI,pleaseEnterSvcCode:iI,pleaseBindAtLeastOneDisplayValue:uI,pleaseSelectProvince:cI,pleaseSelectCity:lI,pleaseSelectDistrict:aI,limitRowsCannotBeLessThan0:fI,TheNumberOfRowsCannotBeLessThanMinRows:sI,pleaseEnterColumnWidth:pI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_I,pleaseCompleteAllRulesAndConditions:yI,pleaseSelectControl:dI,pleaseSelectDashboard:vI,theViewNameCannotBeEmpty:hI,pleaseSelectOcrType:bI,pleaseSelectAtLeastOneFieldToFillIn:gI,pleaseChooseAtLeastOne:mI,pleaseEnterButtonContent:OI,pleaseEnterDataCodeInDataSetting:wI,pleaseEnterValueFieldCodeInDataSetting:$I,pleaseEnterSvcCodeInDataSetting:PI,pleaseBindAtLeastOneDisplayValueInDataSetting:RI,rootNodeIsRequiredInDataSetting:SI,pleaseEnterMaxHeight:EI,pleaseEnter:TI,pleaseEnterWatermark:II,pleaseEnterFileName:BI,pleaseUploadAtLeastOnePrintTemplate:AI,pleaseAssignBusiness:xI,pleaseAssignExternal:kI},NI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="{caption}\u5FC5\u9808",zI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",HI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ZI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rB="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nB="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oB="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",uB="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cB="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lB="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",aB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fB="\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",sB="\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",pB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_B="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",dB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vB="\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",bB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",gB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$B="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",PB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RB="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",SB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",EB="please select control",TB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",IB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",BB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",AB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",kB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",DB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",NB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",FB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",LB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",MB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",VB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",CB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",HB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",qB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",UB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",WB={isNotNumber:NI,isNotString:jI,isNotObject:FI,isNotArray:LI,isNotBoolean:MI,runtimeRequired:VI,pleaseEnterCaption:zI,pleaseEnterCaptionTip:CI,pleaseEnterRowCaption:HI,pleaseEnterPlaceholder:qI,pleaseEnterFieldCode:UI,pleaseEnterForm:WI,pleaseEnterList:KI,pleaseEnterProcess:GI,pleaseEnterLabel:XI,pleaseEnterValue:QI,bizKeyNotBindFiled:JI,pleaseSelectOneField:ZI,pleaseEnterNumberRange:YI,pleaseEnterAValueGreaterThanMin:eB,pleaseEnterAValueLessThanMax:tB,numberRangeSetError:rB,stringRangeError:nB,attachmentMaxSize:oB,pleaseEnterTotalScoreSetting:iB,theTotalScoreMustNotBeLessThan1:uB,scoreDefaultValueRange:cB,attachmentLimitError:lB,PleaseReselectTheOptionalQuantity:aB,TheMaximumLengthIsGreaterThanTheMinimumLength:fB,TheMinimumLengthIsGreaterThanTheMaximumLength:sB,PleaseSelectTheCorrectOptionSettings:pB,optionIdIsRepeat:_B,optionIsRequired:yB,pleaseEnterDataCode:dB,pleaseEnterValueFieldCode:vB,pleaseEnterSvcCode:hB,pleaseBindAtLeastOneDisplayValue:bB,pleaseSelectProvince:gB,pleaseSelectCity:mB,pleaseSelectDistrict:OB,limitRowsCannotBeLessThan0:wB,TheNumberOfRowsCannotBeLessThanMinRows:$B,pleaseEnterColumnWidth:PB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RB,pleaseCompleteAllRulesAndConditions:SB,pleaseSelectControl:EB,pleaseSelectDashboard:TB,theViewNameCannotBeEmpty:IB,pleaseSelectOcrType:BB,pleaseSelectAtLeastOneFieldToFillIn:AB,pleaseChooseAtLeastOne:xB,pleaseEnterButtonContent:kB,pleaseEnterDataCodeInDataSetting:DB,pleaseEnterValueFieldCodeInDataSetting:NB,pleaseEnterSvcCodeInDataSetting:jB,pleaseBindAtLeastOneDisplayValueInDataSetting:FB,rootNodeIsRequiredInDataSetting:LB,pleaseEnterMaxHeight:MB,pleaseEnter:VB,pleaseEnterWatermark:zB,pleaseEnterFileName:CB,pleaseUploadAtLeastOnePrintTemplate:HB,pleaseAssignBusiness:qB,pleaseAssignExternal:UB},KB={zhCN:w1,enUS:DI,jaJP:WB},Ig;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ig||(Ig={}));var Bg;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Bg||(Bg={}));var GB="zh-CN";function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qr;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(qr||(qr={}));var m;(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"})(m||(m={}));var P;(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"})(P||(P={}));var Te;Te={},qe(Te,P.ARRAY,m.ARRAY_COLUMN),qe(Te,P.AUTO_NUMBER,m.AUTO_NUMBER_COLUMN),qe(Te,P.DECIMAL,m.DECIMAL_COLUMN),qe(Te,P.DEPARTMENTS,m.DEPARTMENT_COLUMN),qe(Te,P.FILE,m.FILE_COLUMN),qe(Te,P.IMAGE,m.IMAGE_COLUMN),qe(Te,P.ADDRESS,m.LOCATION_COLUMN),qe(Te,P.EMPLOYEES,m.EMPLOYEE_COLUMN),qe(Te,P.TEXT,m.TEXT_COLUMN),qe(Te,P.TIMESCOPE,m.TIMESCOPE_COLUMN),qe(Te,P.TIMESTAMP,m.TIMESTAMP_COLUMN),qe(Te,P.VARCHAR,m.VARCHAR_COLUMN),qe(Te,P.RELATION,m.VARCHAR_COLUMN);var Gt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Gt||(Gt={}));var Ag="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",XB=Ag+"0123456789";function St(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Ag:XB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Qf(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 QB(e){if(Array.isArray(e))return Qf(e)}function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t,r){return Ng()?Do=Reflect.construct:Do=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&ro(a,u.prototype),a},Do.apply(null,arguments)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function kg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ro(e,t)}function ZB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function YB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function e2(){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 t2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:JB(e)}function ro(e,t){return ro=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ro(e,t)}function Dg(e){return QB(e)||YB(e)||n2(e)||e2()}function r2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n2(e,t){if(!!e){if(typeof e=="string")return Qf(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 Qf(e,t)}}function Jf(e){var t=typeof Map=="function"?new Map:void 0;return Jf=function(n){if(n===null||!ZB(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 Do(n,arguments,to(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ro(o,n)},Jf(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 jg(e){var t=Ng();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 t2(this,o)}}var Zf=console;function Yf(){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=Zf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Dg(o)))}function No(){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=Zf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Dg(o)))}function o2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var es=function(e){kg(r,e);var t=jg(r);function r(n){xg(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?o2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Jf(Error)),i2=function(e){kg(r,e);var t=jg(r);function r(n){xg(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(es);function no(e){throw new es(e)}function Fg(e){throw new i2(e)}function u2(e){Zf.error(new es(e))}var c2=Object.prototype.toString;function Lg(e,t){return c2.call(e)==="[object "+t+"]"}function l2(e){return Lg(e,"String")}function a2(e){return Lg(e,"Promise")}var f2=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();a2(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 l=o[i];if(!(u===c.length-1&&!l2(l)))return l}},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 s2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p2(e,t,r){return t&&Mg(e.prototype,t),r&&Mg(e,r),e}function _2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $=function(){function e(){s2(this,e)}return p2(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]:GB;return new f2({locale:r,messages:KB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();_2($,"$i18n",$.resetI18n());function y2(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Yf("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===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var d2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ts={exports:{}};(function(e){(function(t){var r=function(y,g,O){if(!a(g)||s(g)||p(g)||_(g)||l(g))return g;var w,R=0,I=0;if(f(g))for(w=[],I=g.length;R<I;R++)w.push(r(y,g[R],O));else{w={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&(w[y(E,O)]=r(y,g[E],O))}return w},n=function(y,g){g=g||{};var O=g.separator||"_",w=g.split||/(?=[A-Z])/;return y.split(w).join(O)},o=function(y){return h(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(g,O){return O?O.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var g=o(y);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(y,g){return n(y,g).toLowerCase()},c=Object.prototype.toString,l=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},f=function(y){return c.call(y)=="[object Array]"},s=function(y){return c.call(y)=="[object Date]"},p=function(y){return c.call(y)=="[object RegExp]"},_=function(y){return c.call(y)=="[object Boolean]"},h=function(y){return y=y-0,y===y},d=function(y,g){var O=g&&"process"in g?g.process:g;return typeof O!="function"?y:function(w,R){return O(w,y,R)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(y,g){return r(d(o,g),y)},decamelizeKeys:function(y,g){return r(d(u,g),y,g)},pascalizeKeys:function(y,g){return r(d(i,g),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(d2)})(ts);var Vg={};Object.defineProperty(Vg,"__esModule",{value:!0});function rs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rs(n)}return t}}var v2=Vg.default=rs;function Xt(e){if(e!==void 0)return typeof e=="object"?v2(e):e}function Ie(e){return zg(e)&&"zh"in e}function zg(e){return Object.prototype.toString.call(e)==="[object Object]"}function ns(e){return Array.isArray(e)}function Ur(e){return isNaN(parseFloat(e))?"":Number(e)}function h2(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function je(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o,i=n;return Array.isArray((o=n)===null||o===void 0?void 0:o.children)&&(i.children=je(n.children,t)),t(i)})),r}function b2(e){return ts.exports.camelizeKeys(e)}function Wr(e){return ts.exports.decamelizeKeys(e)}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 g2(e){if(Array.isArray(e))return os(e)}function Cg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function m2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Cg(i,n,o,u,c,"next",l)}function c(l){Cg(i,n,o,u,c,"throw",l)}u(void 0)})}}function O2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w2(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function qg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function P2(){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 is(e){return g2(e)||$2(e)||R2(e)||P2()}function R2(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 S2(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var E2=function(){function e(){O2(this,e),qg(this,"_events",new Map),qg(this,"debug",!1)}return w2(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 m2(function(){var c,l,a,f,s,p,_,h,d,b,y,g;return S2(this,function(O){switch(O.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,s=!1,p=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),_=a[Symbol.iterator](),O.label=2;case 2:if(f=(h=_.next()).done)return[3,7];if(d=h.value,!c.includes(d))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),u.debug&&No.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(is(o))),[4,d.apply(null,is(o))];case 4:return b=O.sent(),u.debug&&No.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.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(is(o),[b])),l.push(b),b===!1?[3,7]:[3,6];case 5:return y=O.sent(),u2(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return g=O.sent(),s=!0,p=g,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(s)throw p}return[7];case 10:return[2,l]}})})()}},{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,i,u=this._events.get(r),c=(o=u)===null||o===void 0?void 0:o.indexOf(n);(i=u)===null||i===void 0||i.splice(c,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function T2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I2(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function B2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A2=[{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"}],x2=function(){function e(){T2(this,e)}return I2(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}();B2(x2,"events",A2);function k2(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 D2(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kg=[],us=function(){function e(t){k2(this,e),wr(this,"registeredControlTypes",new Set),wr(this,"controlConfigMap",new Map),wr(this,"_controls",[]),wr(this,"_type",void 0),this._type=t,this._initControls(t)}return D2(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__||no("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Yf("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===qr.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===qr.FORM}},{key:"isListControl",value:function(r){return r.controlType===qr.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===qr.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(a){return o.createControl(a,n)});r.children&&(r.children=r.children.map(function(a){return o.createControl(a,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(a){return o.createControl(a,n)}));var i=this.getControlFormType(r.type);if(i){var u=r;if(typeof n=="function"){var c=n(u);c&&(u=c)}var l=new i(u);return l}else no("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__)&&no("".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&&(Yf("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}();wr(us,"staticControls",Kg),wr(us,"staticRegisteredTypes",new Set(Kg.map(function(e){return e.Designer.controlType}))),wr(us,"staticRegisteredConfigs",new Map);function U(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 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 ut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function N2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:U(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}function j2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ct(e){var t=F2();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 N2(this,o)}}var Ye=function e(t){N(this,e);var r,n,o;S(this,"dataCode",void 0),S(this,"fieldCode",void 0),S(this,"fieldType",void 0);var i;this.dataCode=(i=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&u!==void 0?u:"";var c;this.fieldType=(c=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&c!==void 0?c:""},Xg=function e(t){N(this,e);var r,n,o;S(this,"minWidth",void 0),S(this,"maxWidth",void 0),S(this,"flex",void 0);var i;this.minWidth=(i=(r=t)===null||r===void 0?void 0:r.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(n=t)===null||n===void 0?void 0:n.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},ls=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;o=t.call(this,n),S(U(o),"width",void 0),S(U(o),"widthType",void 0);var c;o.width=(c=(i=n)===null||i===void 0?void 0:i.width)!==null&&c!==void 0?c:240;var l;return o.widthType=(l=(u=n)===null||u===void 0?void 0:u.widthType)!==null&&l!==void 0?l:"auto",o}return r}(Xg),L2=function e(t){N(this,e);var r,n,o;S(this,"pc",void 0),S(this,"mobile",void 0),this.pc=new ls((r=t)===null||r===void 0?void 0:r.pc),this.mobile=!((n=t)===null||n===void 0)&&n.mobile?new ls((o=t)===null||o===void 0?void 0:o.mobile):new ls({width:130,minWidth:180})},M2=function e(t){N(this,e);var r,n;S(this,"type",void 0),S(this,"customOptions",void 0);var o;this.type=(o=(r=t)===null||r===void 0?void 0:r.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(n=t)===null||n===void 0?void 0:n.customOptions)!==null&&i!==void 0?i:[]},as=function e(t){N(this,e);var r,n,o;S(this,"dataCode",void 0),S(this,"formKey",void 0),S(this,"appId",void 0);var i;this.dataCode=(i=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;this.appId=(c=(o=t)===null||o===void 0?void 0:o.appId)!==null&&c!==void 0?c:""},V2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i;o=t.call(this,n),S(U(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=n)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(as),Qg=function e(t){N(this,e);var r;S(this,"fieldCode",void 0);var n;this.fieldCode=(n=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&n!==void 0?n:""},fs=function e(t){N(this,e);var r,n,o,i;S(this,"appId",void 0),S(this,"formKey",void 0),S(this,"headers",void 0);var u;this.appId=(u=(r=t)===null||r===void 0?void 0:r.appId)!==null&&u!==void 0?u:"";var c;this.formKey=(c=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Qg(a)}))!==null&&l!==void 0?l:[]},z2=function e(t){N(this,e);var r,n,o;S(this,"fieldName",void 0),S(this,"fieldCode",void 0),S(this,"fieldType",void 0);var i;this.fieldName=(i=(r=t)===null||r===void 0?void 0:r.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&u!==void 0?u:"";var c;this.fieldType=(c=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&c!==void 0?c:P.VARCHAR},C2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u,c,l;o=t.call(this,n),S(U(o),"title",void 0),S(U(o),"svcCode",void 0),S(U(o),"isOpenFilter",void 0),S(U(o),"filters",void 0);var a;o.title=(a=(i=n)===null||i===void 0?void 0:i.title)!==null&&a!==void 0?a:"";var f;o.svcCode=(f=(u=n)===null||u===void 0?void 0:u.svcCode)!==null&&f!==void 0?f:"";var s;o.isOpenFilter=(s=(c=n)===null||c===void 0?void 0:c.isOpenFilter)!==null&&s!==void 0?s:!1;var p;return o.filters=(p=(l=n)===null||l===void 0?void 0:l.filters)!==null&&p!==void 0?p:[],o}return r}(as),H2=function e(t){N(this,e);var r,n,o,i,u;S(this,"type","sublist-page"),S(this,"formBind",void 0),S(this,"displayFields",void 0),S(this,"sublists",void 0),this.formBind=new as((r=t)===null||r===void 0?void 0:r.formBind);var c;this.displayFields=(c=(o=t)===null||o===void 0||(n=o.displayFields)===null||n===void 0?void 0:n.map(function(a){return new z2(a)}))!==null&&c!==void 0?c:[];var l;this.sublists=(l=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(a){return new C2(a)}))!==null&&l!==void 0?l:[]},q2=function e(t){N(this,e);var r,n;S(this,"type",void 0),S(this,"value",void 0),this.type=(r=t)===null||r===void 0?void 0:r.type,this.value=(n=t)===null||n===void 0?void 0:n.value},oo=function e(t){N(this,e);var r,n,o;S(this,"type",void 0),S(this,"value",void 0),S(this,"displayBos",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:[];var c;this.displayBos=(c=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&c!==void 0?c:[]},Jg=function e(t){var r=this;N(this,e);var n,o,i,u,c;S(this,"id",void 0),S(this,"ruleId",void 0),S(this,"type","conditions"),S(this,"level",void 0),S(this,"value",void 0),S(this,"children",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:St();var a;this.ruleId=(a=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var f;this.level=(f=(i=t)===null||i===void 0?void 0:i.level)!==null&&f!==void 0?f:0;var s;if(this.value=(s=(u=t)===null||u===void 0?void 0:u.value)!==null&&s!==void 0?s:"and",this.children=[],Array.isArray((c=t)===null||c===void 0?void 0:c.children)){var p;(p=t)===null||p===void 0||p.children.map(function(_){if(_.children!==void 0){var h,d=new e(_);(h=r.children)===null||h===void 0||h.push(d)}else{var b,y=new ss(_);(b=r.children)===null||b===void 0||b.push(y)}})}},ss=function e(t){N(this,e);var r,n,o,i,u,c,l;S(this,"id",void 0),S(this,"ruleId",void 0),S(this,"type","condition"),S(this,"symbol",void 0),S(this,"checked",void 0),S(this,"describe",void 0),S(this,"leftVariableBo",void 0),S(this,"rightVariableBo",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:St();var f;this.ruleId=(f=(n=t)===null||n===void 0?void 0:n.ruleId)!==null&&f!==void 0?f:new Date().valueOf();var s;this.symbol=(s=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&s!==void 0?s:"";var p;this.checked=(p=(i=t)===null||i===void 0?void 0:i.checked)!==null&&p!==void 0?p:!1;var _;this.describe=(_=(u=t)===null||u===void 0?void 0:u.describe)!==null&&_!==void 0?_:"",this.leftVariableBo=new q2((c=t)===null||c===void 0?void 0:c.leftVariableBo),this.rightVariableBo=new oo((l=t)===null||l===void 0?void 0:l.rightVariableBo)},Fe=function e(t){N(this,e);var r,n,o,i;S(this,"controlId",void 0),S(this,"fieldCode",void 0),S(this,"fieldType",void 0),S(this,"propName",void 0);var u;this.controlId=(u=(r=t)===null||r===void 0?void 0:r.controlId)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"";var a;this.propName=(a=(i=t)===null||i===void 0?void 0:i.propName)!==null&&a!==void 0?a:""},ps=function e(t){N(this,e);var r,n,o;S(this,"type",void 0),S(this,"value",void 0),S(this,"fieldType",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},U2=function e(t){N(this,e),S(this,"columnName",void 0),S(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 _s(e){var t,r,n,o,i;this.filters=(i=(r=e)===null||r===void 0||(t=r.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Jg(f):new ss(f)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=(o=e)===null||o===void 0||(n=o.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Jg(f):new ss(f)}))!==null&&u!==void 0?u:[],Gg(this,ae)||Gg(this,ds)){var c,l,a;this.orders=(a=(l=e)===null||l===void 0||(c=l.orders)===null||c===void 0?void 0:c.map(function(f){return new U2(f)}))!==null&&a!==void 0?a:[]}}var ae=function e(t){var r=this;N(this,e);var n,o,i,u,c,l,a,f;S(this,"dataCode",void 0),S(this,"valueFieldCode",void 0),S(this,"displayBoList",void 0),S(this,"keywordMapping",void 0),S(this,"svcCode",void 0),S(this,"appId",void 0),S(this,"filters",void 0),S(this,"viewFilters",void 0),S(this,"isOpenViewFilters",void 0),S(this,"orders",void 0),S(this,"showOrder",void 0);var s;this.dataCode=(s=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&s!==void 0?s:"";var p;this.appId=(p=(o=t)===null||o===void 0?void 0:o.appId)!==null&&p!==void 0?p:"";var _;this.valueFieldCode=(_=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&_!==void 0?_:"",this.displayBoList=[];var h;if(this.isOpenViewFilters=(h=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&h!==void 0?h:0,Array.isArray((c=t)===null||c===void 0?void 0:c.displayBoList)){var d;(d=t)===null||d===void 0||d.displayBoList.map(function(O){var w;(w=r.displayBoList)===null||w===void 0||w.push(new ps(O))})}var b;this.keywordMapping=(b=(l=t)===null||l===void 0?void 0:l.keywordMapping)!==null&&b!==void 0?b:"";var y;this.showOrder=(y=(a=t)===null||a===void 0?void 0:a.showOrder)!==null&&y!==void 0?y:!0;var g;this.svcCode=(g=(f=t)===null||f===void 0?void 0:f.svcCode)!==null&&g!==void 0?g:"",_s.call(this,t)},ys=function e(t){N(this,e);var r,n;S(this,"dataCode",void 0),S(this,"displayBoList",void 0);var o;this.dataCode=(o=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(n=t)===null||n===void 0?void 0:n.displayBoList)!==null&&i!==void 0?i:[]},$r=function e(t){N(this,e);var r,n,o,i,u,c,l,a,f,s;S(this,"code",void 0),S(this,"color",void 0),S(this,"command",void 0),S(this,"confirmMessage",void 0),S(this,"defaultState",void 0),S(this,"formKey",void 0),S(this,"icon",void 0),S(this,"needConfirm",void 0),S(this,"openType",void 0),S(this,"priorityProcess",void 0);var p;this.code=(p=(r=t)===null||r===void 0?void 0:r.code)!==null&&p!==void 0?p:"view";var _;this.color=(_=(n=t)===null||n===void 0?void 0:n.color)!==null&&_!==void 0?_:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var d;this.confirmMessage=(d=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&d!==void 0?d:void 0;var b;this.defaultState=(b=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&b!==void 0?b:"default";var y;this.formKey=(y=(c=t)===null||c===void 0?void 0:c.formKey)!==null&&y!==void 0?y:void 0;var g;this.icon=(g=(l=t)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconliulan1";var O;this.needConfirm=(O=(a=t)===null||a===void 0?void 0:a.needConfirm)!==null&&O!==void 0?O:!1;var w;this.openType=(w=(f=t)===null||f===void 0?void 0:f.openType)!==null&&w!==void 0?w:"modal";var R;this.priorityProcess=(R=(s=t)===null||s===void 0?void 0:s.priorityProcess)!==null&&R!==void 0?R:!0},Zg=function e(t){N(this,e);var r,n,o,i;S(this,"name",void 0),S(this,"key",void 0),S(this,"value",void 0);var u;this.name=(u=(r=t)===null||r===void 0?void 0:r.name)!==null&&u!==void 0?u:"";var c;this.key=(c=(n=t)===null||n===void 0?void 0:n.key)!==null&&c!==void 0?c:"";var l;this.value=(l=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(a){return new ps(a)}))!==null&&l!==void 0?l:[]},Fo=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;o=t.call(this,n),S(U(o),"attributes",void 0);var c;return o.attributes=(c=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(l){return new Zg(l)}))!==null&&c!==void 0?c:[],o}return r}(ae),W2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u,c;o=t.call(this,n),S(U(o),"attributes",void 0),S(U(o),"formCode",void 0);var l;o.attributes=(l=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(f){return new Zg(f)}))!==null&&l!==void 0?l:[];var a;return o.formCode=(a=(c=n)===null||c===void 0?void 0:c.formCode)!==null&&a!==void 0?a:"",o}return r}(ae),Yg=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;o=t.call(this,n),S(U(o),"rootNode",void 0),S(U(o),"filterCode",void 0),o.rootNode=new oo((i=n)===null||i===void 0?void 0:i.rootNode);var c;return o.filterCode=(c=(u=n)===null||u===void 0?void 0:u.filterCode)!==null&&c!==void 0?c:"",o}return r}(Fo),em=function e(t){N(this,e);var r,n,o,i;S(this,"dataCode",void 0),S(this,"appId",void 0),S(this,"fillList",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.appId=(c=(n=t)===null||n===void 0?void 0:n.appId)!==null&&c!==void 0?c:"";var l;this.fillList=(l=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(a){return new Fe(a)}))!==null&&l!==void 0?l:[]},ds=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o;return o=t.call(this,n),S(U(o),"filters",void 0),S(U(o),"viewFilters",void 0),S(U(o),"orders",void 0),_s.call(U(o),n),o}return r}(em),tm=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;o=t.call(this,n),S(U(o),"mode",void 0),S(U(o),"multiple",void 0);var c;o.mode=(c=(i=n)===null||i===void 0?void 0:i.mode)!==null&&c!==void 0?c:"current";var l;return o.multiple=(l=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&l!==void 0?l:!1,o}return r}(em),rm=function e(t){N(this,e);var r,n,o;S(this,"stencilName",void 0),S(this,"expression",void 0),S(this,"errMessage",void 0);var i;this.stencilName=(i=(r=t)===null||r===void 0?void 0:r.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(n=t)===null||n===void 0?void 0:n.expression)!==null&&u!==void 0?u:"";var c;this.errMessage=(c=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&c!==void 0?c:""},K2=function e(t){N(this,e);var r,n,o;S(this,"id",void 0),S(this,"label",void 0),S(this,"value",void 0);var i;this.id=(i=(r=t)===null||r===void 0?void 0:r.id)!==null&&i!==void 0?i:St(8);var u;this.label=(u=(n=t)===null||n===void 0?void 0:n.label)!==null&&u!==void 0?u:"";var c;this.value=(c=(o=t)===null||o===void 0?void 0:o.value)!==null&&c!==void 0?c:this.label};function Et(e){var t,r;return(r=(t=e)===null||t===void 0?void 0:t.map(function(n){return new K2(n)}))!==null&&r!==void 0?r:[]}var vs=function e(){N(this,e)},G2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;return o=t.call(this),S(U(o),"amount",void 0),S(U(o),"currency",void 0),o.amount=new Ye((i=n)===null||i===void 0?void 0:i.amount),o.currency=new Ye((u=n)===null||u===void 0?void 0:u.currency),o}return r}(vs),X2=function e(t){N(this,e);var r,n;S(this,"amount",void 0),S(this,"currency",void 0);var o;this.amount=(o=(r=t)===null||r===void 0?void 0:r.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(n=t)===null||n===void 0?void 0:n.currency)!==null&&i!==void 0?i:Lo.CNY},Q2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;return o=t.call(this),S(U(o),"min",void 0),S(U(o),"max",void 0),o.min=new Ye((i=n)===null||i===void 0?void 0:i.min),o.max=new Ye((u=n)===null||u===void 0?void 0:u.max),o}return r}(vs),J2=function e(t){N(this,e);var r,n;S(this,"min",void 0),S(this,"max",void 0);var o;this.min=(o=(r=t)===null||r===void 0?void 0:r.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(n=t)===null||n===void 0?void 0:n.max)!==null&&i!==void 0?i:""},Z2=function e(t){N(this,e);var r,n,o,i,u,c;S(this,"city",void 0),S(this,"cityDisplay",void 0),S(this,"district",void 0),S(this,"districtDisplay",void 0),S(this,"province",void 0),S(this,"provinceDisplay",void 0);var l;this.city=(l=(r=t)===null||r===void 0?void 0:r.city)!==null&&l!==void 0?l:"";var a;this.cityDisplay=(a=(n=t)===null||n===void 0?void 0:n.cityDisplay)!==null&&a!==void 0?a:"";var f;this.district=(f=(o=t)===null||o===void 0?void 0:o.district)!==null&&f!==void 0?f:"";var s;this.districtDisplay=(s=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&s!==void 0?s:"";var p;this.province=(p=(u=t)===null||u===void 0?void 0:u.province)!==null&&p!==void 0?p:"";var _;this.provinceDisplay=(_=(c=t)===null||c===void 0?void 0:c.provinceDisplay)!==null&&_!==void 0?_:""},Y2=function(e){ut(r,e);var t=ct(r);function r(n){N(this,r);var o,i,u;return o=t.call(this),S(U(o),"result",void 0),S(U(o),"unit",void 0),o.result=new Ye((i=n)===null||i===void 0?void 0:i.result),o.unit=new Ye((u=n)===null||u===void 0?void 0:u.unit),o}return r}(vs),e3=function e(t){N(this,e);var r,n;S(this,"result",void 0),S(this,"unit",void 0);var o;this.result=(o=(r=t)===null||r===void 0?void 0:r.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(n=t)===null||n===void 0?void 0:n.unit)!==null&&i!==void 0?i:""},Lo;(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"})(Lo||(Lo={}));var v;(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.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(v||(v={}));var hs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(hs||(hs={}));var Qt=function e(t){N(this,e);var r,n,o,i,u,c;S(this,"isShow",void 0),S(this,"priorityProcess",void 0),S(this,"formKey",void 0),S(this,"content",void 0),S(this,"openType",void 0),S(this,"type",void 0);var l;this.isShow=(l=(r=t)===null||r===void 0?void 0:r.isShow)!==null&&l!==void 0?l:!0;var a;this.content=(a=(n=t)===null||n===void 0?void 0:n.content)!==null&&a!==void 0?a:"";var f;this.formKey=(f=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&f!==void 0?f:"";var s;this.openType=(s=(i=t)===null||i===void 0?void 0:i.openType)!==null&&s!==void 0?s:"modal";var p;this.type=(p=(u=t)===null||u===void 0?void 0:u.type)!==null&&p!==void 0?p:"";var _;this.priorityProcess=(_=(c=t)===null||c===void 0?void 0:c.priorityProcess)!==null&&_!==void 0?_:!1},t3=function e(t){N(this,e);var r,n,o,i;S(this,"id",void 0),S(this,"title",void 0),S(this,"filters",void 0),S(this,"viewFilters",void 0),S(this,"headers",void 0);var u;this.id=(u=(r=t)===null||r===void 0?void 0:r.id)!==null&&u!==void 0?u:St(8);var c;this.title=(c=(n=t)===null||n===void 0?void 0:n.title)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new Qg(a)}))!==null&&l!==void 0?l:[],_s.call(this,t)},r3=function e(t){N(this,e);var r,n,o,i;S(this,"width",void 0),S(this,"height",void 0),S(this,"widthConfig",void 0),S(this,"heightConfig",void 0);var u;this.width=(u=(r=t)===null||r===void 0?void 0:r.width)!==null&&u!==void 0?u:"";var c;this.height=(c=(n=t)===null||n===void 0?void 0:n.height)!==null&&c!==void 0?c:"";var l;this.widthConfig=(l=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&l!==void 0?l:"fill";var a;this.heightConfig=(a=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&a!==void 0?a:"fill"};function n3(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 Mo(e,t,r){return nm()?Mo=Reflect.construct:Mo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&uo(a,u.prototype),a},Mo.apply(null,arguments)}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 io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function o3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uo(e,t)}function i3(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function u3(e,t){return t&&(c3(t)==="object"||typeof t=="function")?t:n3(e)}function uo(e,t){return uo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uo(e,t)}function c3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gs(e){var t=typeof Map=="function"?new Map:void 0;return gs=function(n){if(n===null||!i3(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,io(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),uo(o,n)},gs(e)}function nm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l3(e){var t=nm();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u3(this,o)}}var ie=function e(t){bs(this,e),Pr(this,"isHide",{type:"boolean"})},Rr=function(e){o3(r,e);var t=l3(r);function r(n){return bs(this,r),t.call(this)}return r}(gs(Array)),fe=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";bs(this,e);var n,o,i;Pr(this,"isHide",void 0),Pr(this,"className",void 0),Pr(this,"style",void 0),Pr(this,"caption",void 0);var u;this.isHide=(u=(n=t)===null||n===void 0?void 0:n.isHide)!==null&&u!==void 0?u:!1,this.style=new r3((o=t)===null||o===void 0?void 0:o.style);var c;this.caption=(c=(i=t)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r};Pr(fe,"Rules",ie),Pr(fe,"RuntimeRules",Rr);function bt(){return bt=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},bt.apply(this,arguments)}function a3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Vo(e,t){return Vo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vo(e,t)}function f3(){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 zo(e,t,r){return f3()?zo=Reflect.construct:zo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Vo(a,u.prototype),a},zo.apply(null,arguments)}function s3(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Os(e){var t=typeof Map=="function"?new Map:void 0;return Os=function(n){if(n===null||!s3(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 zo(n,arguments,ms(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Vo(o,n)},Os(e)}var p3=/%[sdj%]/g,om=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(om=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ws(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ue(){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(p3,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(l){return"[Circular]"}break;default:return c}});return u}return o}function _3(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ue(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||_3(t)&&typeof e=="string"&&!e)}function y3(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 im(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 d3(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var um=function(e){a3(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Os(Error));function v3(e,t,r,n){if(t.first){var o=new Promise(function(s,p){var _=function(b){return n(b),b.length?p(new um(b,ws(b))):s()},h=d3(e);im(h,r,_)});return o.catch(function(s){return s}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(s,p){var _=function(d){if(a.push.apply(a,d),l++,l===c)return n(a),a.length?p(new um(a,ws(a))):s()};u.length||(n(a),s()),u.forEach(function(h){var d=e[h];i.indexOf(h)!==-1?im(d,r,_):y3(d,r,_)})});return f.catch(function(s){return s}),f}function cm(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 lm(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]=bt(bt({},e[r]),n):e[r]=n}}return e}function am(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ue(t,i||e.type))&&n.push(Ue(o.messages.required,e.fullField))}function h3(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ue(o.messages.whitespace,e.fullField))}var $s={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},co={integer:function(t){return co.number(t)&&parseInt(t,10)===t},float:function(t){return co.number(t)&&!co.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"&&!co.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match($s.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match($s.url)},hex:function(t){return typeof t=="string"&&!!t.match($s.hex)}};function b3(e,t,r,n,o){if(e.required&&t===void 0){am(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?co[u](t)||n.push(Ue(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ue(o.messages.types[u],e.fullField,e.type))}function g3(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,s=typeof t=="number",p=typeof t=="string",_=Array.isArray(t);if(s?f="number":p?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ue(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(Ue(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(Ue(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(Ue(o.messages[f].range,e.fullField,e.min,e.max))}var Kr="enum";function m3(e,t,r,n,o){e[Kr]=Array.isArray(e[Kr])?e[Kr]:[],e[Kr].indexOf(t)===-1&&n.push(Ue(o.messages[Kr],e.fullField,e[Kr].join(", ")))}function O3(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ue(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(Ue(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var V={required:am,whitespace:h3,type:b3,range:g3,enum:m3,pattern:O3};function w3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"string")&&!e.required)return r();V.required(e,t,n,i,o,"string"),ue(t,"string")||(V.type(e,t,n,i,o),V.range(e,t,n,i,o),V.pattern(e,t,n,i,o),e.whitespace===!0&&V.whitespace(e,t,n,i,o))}r(i)}function $3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function P3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function R3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function S3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),ue(t)||V.type(e,t,n,i,o)}r(i)}function E3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function T3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function I3(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();V.required(e,t,n,i,o,"array"),t!=null&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function B3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}var A3="enum";function x3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V[A3](e,t,n,i,o)}r(i)}function k3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"string")&&!e.required)return r();V.required(e,t,n,i,o),ue(t,"string")||V.pattern(e,t,n,i,o)}r(i)}function D3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"date")&&!e.required)return r();if(V.required(e,t,n,i,o),!ue(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),V.type(e,c,n,i,o),c&&V.range(e,c.getTime(),n,i,o)}}r(i)}function N3(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;V.required(e,t,n,i,o,u),r(i)}function Ps(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ue(t,i)&&!e.required)return r();V.required(e,t,n,u,o,i),ue(t,i)||V.type(e,t,n,u,o)}r(u)}function j3(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();V.required(e,t,n,i,o)}r(i)}var lo={string:w3,method:$3,number:P3,boolean:R3,regexp:S3,integer:E3,float:T3,array:I3,object:B3,enum:x3,pattern:k3,date:D3,url:Ps,hex:Ps,email:Ps,required:N3,any:j3};function Rs(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ss=Rs();function Jt(e){this.rules=null,this._messages=Ss,this.define(e)}Jt.prototype={messages:function(t){return t&&(this._messages=lm(Rs(),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 l(d){var b,y=[],g={};function O(w){if(Array.isArray(w)){var R;y=(R=y).concat.apply(R,w)}else y.push(w)}for(b=0;b<d.length;b++)O(d[b]);y.length?g=ws(y):(y=null,g=null),c(y,g)}if(u.messages){var a=this.messages();a===Ss&&(a=Rs()),lm(a,u.messages),u.messages=a}else u.messages=this.messages();var f,s,p={},_=u.keys||Object.keys(this.rules);_.forEach(function(d){f=o.rules[d],s=i[d],f.forEach(function(b){var y=b;typeof y.transform=="function"&&(i===t&&(i=bt({},i)),s=i[d]=y.transform(s)),typeof y=="function"?y={validator:y}:y=bt({},y),y.validator=o.getValidationMethod(y),y.field=d,y.fullField=y.fullField||d,y.type=o.getType(y),y.validator&&(p[d]=p[d]||[],p[d].push({rule:y,value:s,source:i,field:d}))})});var h={};return v3(p,u,function(d,b){var y=d.rule,g=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");g=g&&(y.required||!y.required&&d.value),y.field=d.field;function O(I,E){return bt(bt({},E),{},{fullField:y.fullField+"."+I})}function w(I){I===void 0&&(I=[]);var E=I;if(Array.isArray(E)||(E=[E]),!u.suppressWarning&&E.length&&Jt.warning("async-validator:",E),E.length&&y.message!==void 0&&(E=[].concat(y.message)),E=E.map(cm(y)),u.first&&E.length)return h[y.field]=1,b(E);if(!g)b(E);else{if(y.required&&!d.value)return y.message!==void 0?E=[].concat(y.message).map(cm(y)):u.error&&(E=[u.error(y,Ue(u.messages.required,y.field))]),b(E);var B={};if(y.defaultField)for(var T in d.value)d.value.hasOwnProperty(T)&&(B[T]=y.defaultField);B=bt(bt({},B),d.rule.fields);for(var A in B)if(B.hasOwnProperty(A)){var x=Array.isArray(B[A])?B[A]:[B[A]];B[A]=x.map(O.bind(null,A))}var k=new Jt(B);k.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),k.validate(d.value,d.rule.options||u,function(D){var j=[];E&&E.length&&j.push.apply(j,E),D&&D.length&&j.push.apply(j,D),b(j.length?j:null)})}}var R;y.asyncValidator?R=y.asyncValidator(y,d.value,w,d.source,u):y.validator&&(R=y.validator(y,d.value,w,d.source,u),R===!0?w():R===!1?w(y.message||y.field+" fails"):R instanceof Array?w(R):R instanceof Error&&w(R.message)),R&&R.then&&R.then(function(){return w()},function(I){return w(I)})},function(d){l(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!lo.hasOwnProperty(t.type))throw new Error(Ue("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"?lo.required:lo[this.getType(t)]||!1}},Jt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");lo[t]=r},Jt.warning=om,Jt.messages=Ss,Jt.validators=lo;var F3={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 L3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Jt(e);return r.messages(Object.assign(F3,t)),r}var M3=new E2;function Es(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V3(e){if(Array.isArray(e))return e}function z3(e){if(Array.isArray(e))return Es(e)}function fm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function sm(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){fm(i,n,o,u,c,"next",l)}function c(l){fm(i,n,o,u,c,"throw",l)}u(void 0)})}}function C3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H3(e,t,r){return t&&pm(e.prototype,t),r&&pm(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 _m(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ym(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function q3(){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 U3(){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 dm(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){W(e,o,r[o])})}return e}function W3(e){return V3(e)||ym(e)||vm(e)||q3()}function Ts(e){return z3(e)||ym(e)||vm(e)||U3()}function vm(e,t){if(!!e){if(typeof e=="string")return Es(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Es(e,t)}}function hm(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var K=function(){function t(r){var n=this;C3(this,t);var o,i,u,c,l;W(this,"id",void 0),W(this,"name",void 0),W(this,"icon",void 0),W(this,"type",void 0),W(this,"controlType",void 0),W(this,"props",void 0),W(this,"setting",[]),W(this,"fieldType",void 0),W(this,"eventKeys",[]),W(this,"customEvents",[]),W(this,"parent",null),W(this,"updateSetting",gm),W(this,"removeSetting",bm),this._callControlHooks("preInstance",r);var a=_m(this,t)?this.constructor:void 0,f=a.controlName,s=a.controlIcon,p=a.controlType,_=a.controlFieldType,h=a.controlEventKeys,d=a.controlCustomEvents,b=a.name,y=a.setting;f&&s&&p||Fg("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=r)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:St(10),this.name=f,this.icon=s;var O;this.type=(O=(i=r)===null||i===void 0?void 0:i.type)!==null&&O!==void 0?O:p,this.props=new fe((u=r)===null||u===void 0?void 0:u.props,(_m(this,t)?this.constructor:void 0).controlName);var w;this.controlType=(w=(c=r)===null||c===void 0?void 0:c.controlType)!==null&&w!==void 0?w:"base",this.setting=Xt(y);var R;this.fieldType=(R=(l=r)===null||l===void 0?void 0:l.fieldType)!==null&&R!==void 0?R:_,this.eventKeys=Xt(h),this.customEvents=Xt(d),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return H3(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=W3(o),l=c[0],a=c.slice(1);return(u=M3).emit.apply(u,[l,this].concat(Ts(a)))}},{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),y2(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return sm(function(){var o,i,u;return hm(this,function(c){switch(c.label){case 0:return o=dm({},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 sm(function(){var u,c,l,a;return hm(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:dm({},i.rules),Array.isArray(o)&&o.forEach(function(s){c.hasOwnProperty(s)&&delete c[s]}),l=L3(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;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,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,s=c.caption,p=c.required,_=c.maxLength,h=c.options,d=c.encrypted,b=c.encryptedMode;if(!(!o&&!l&&!a)){var y={parentId:n,fieldType:o,controlId:i,caption:s,type:u,props:{}};switch(l&&(y.dataBind=l),f){case"datasource":case void 0:a&&(y.datasourceBind=a);break;case"custom":y.props.options=h;break}return p!==void 0&&(y.required=p),_!==void 0&&(y.maxLength=_),d!==void 0&&(y.encrypted=d),b!==void 0&&(y.encryptedMode=b),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Xt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ts(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();W(K,"controlName","\u63A7\u4EF6"),W(K,"controlIcon","icon"),W(K,"controlType","control"),W(K,"controlFieldType",void 0),W(K,"controlEventKeys",[]),W(K,"controlCustomEvents",[]),W(K,"setting",[]),W(K,"__is_control__",!0),W(K,"removeSettingItem",bm),W(K,"updateSettingItem",gm);function bm(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(l){return l.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(l){return!n.hideItems.includes(l)}):t.setting.splice(i,1),o&&!(!((c=t.setting[i].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(i,1)}})}function gm(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Ts(t.showItems))}}}})}function K3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G3(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}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 X3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Zt=function(){function t(r){K3(this,t);var n,o,i,u,c,l;et(this,"id",void 0),et(this,"type",void 0),et(this,"controlType",void 0),et(this,"props",void 0),et(this,"fieldType",void 0),et(this,"customEvents",[]),et(this,"pageStatus",void 0),et(this,"parent",null);var a=X3(this,t)?this.constructor:void 0,f=a.controlType,s=a.controlFieldType,p=a.name,_=a.controlCustomEvents;f||Fg("The ".concat(p," controlType is not define"));var h;this.id=(h=(n=r)===null||n===void 0?void 0:n.id)!==null&&h!==void 0?h:St(10);var d;this.type=(d=(o=r)===null||o===void 0?void 0:o.type)!==null&&d!==void 0?d:f,this.props=new fe((i=r)===null||i===void 0?void 0:i.props),this.customEvents=_;var b;this.controlType=(b=(u=r)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var y;this.fieldType=(y=(c=r)===null||c===void 0?void 0:c.fieldType)!==null&&y!==void 0?y:s;var g;this.pageStatus=(g=(l=r)===null||l===void 0?void 0:l.pageStatus)!==null&&g!==void 0?g:hs.UNKNOWN}return G3(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}();et(Zt,"controlType","control"),et(Zt,"controlFieldType",void 0),et(Zt,"__is_control__",!0),et(Zt,"controlCustomEvents",[]);function Is(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:$.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:$.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=h2(i);i.length!==u.length?o($.getMessage("optionIdIsRepeat")):o()},message:$.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o($.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:$.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}])}function Co(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:$.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:$.getMessage("isNotString")},key:{type:"string",required:!0,message:$.getMessage("isNotString")},value:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u($.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:$.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:$.getMessage("isNotBoolean")}}}}]}}]}function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(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 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&&Bs(e,t)}function Q3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function J3(e,t){return t&&(Z3(t)==="object"||typeof t=="function")?t:G(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}function Z3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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 Wo(e){var t=Y3();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 J3(this,o)}}var me=function(e){Uo(r,e);var t=Wo(r);function r(n){Ho(this,r);var o;o=t.call(this,n),X(G(o),"dataBind",{}),X(G(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),X(G(o),"isHideCaption",{type:"boolean"}),X(G(o),"labelPosition",{type:"enum",enum:["top","left"]}),X(G(o),"defaultState",{type:"enum",enum:["default","readonly"]}),X(G(o),"required",{type:"boolean"}),X(G(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(Q3(n.dataBind,Ye))o.dataBind={type:"object",required:!0,fields:Xt(i),message:$.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Xt(i),message:$.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ie),Q=function(e){Uo(r,e);var t=Wo(r);function r(n){Ho(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:$.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Rr),z=function(e){Uo(r,e);var t=Wo(r);function r(n){Ho(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),X(G(o),"caption",void 0),X(G(o),"isHideCaption",void 0),X(G(o),"isShowCaptionTip",void 0),X(G(o),"captionTip",void 0),X(G(o),"labelPosition",void 0),X(G(o),"dataBind",void 0),X(G(o),"defaultValue",void 0),X(G(o),"placeholder",void 0),X(G(o),"defaultState",void 0),X(G(o),"required",void 0),X(G(o),"requiredMessage",void 0);var b;o.caption=(b=(i=n)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var y;o.isHideCaption=(y=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&y!==void 0?y:!1;var g;o.isShowCaptionTip=(g=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&g!==void 0?g:!1;var O;o.captionTip=(O=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&O!==void 0?O:"";var w;o.defaultState=(w=(a=n)===null||a===void 0?void 0:a.defaultState)!==null&&w!==void 0?w:"default";var R;o.labelPosition=(R=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&R!==void 0?R:"top";var I;o.placeholder=(I=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&I!==void 0?I:"";var E;o.required=(E=(p=n)===null||p===void 0?void 0:p.required)!==null&&E!==void 0?E:!1;var B;o.requiredMessage=(B=(_=n)===null||_===void 0?void 0:_.requiredMessage)!==null&&B!==void 0?B:"",o.dataBind=new Ye((h=n)===null||h===void 0?void 0:h.dataBind);var T;return o.defaultValue=(T=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&T!==void 0?T:"",o}return r}(fe);X(z,"Rules",me),X(z,"RuntimeRules",Q);var Gr=function(e){Uo(r,e);var t=Wo(r);function r(n){Ho(this,r);var o;return o=t.call(this,n),X(G(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(G(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),X(G(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Is.call(G(o),n),o}return r}(me);function As(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function tA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rA(e,t){return t&&(nA(t)==="object"||typeof t=="function")?t:As(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}function nA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iA(e){var t=oA();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rA(this,o)}}var H=function(e){tA(r,e);var t=iA(r);function r(n){eA(this,r);var o,i;return o=t.call(this,n),Ko(As(o),"controlType","form"),Ko(As(o),"props",void 0),o.props=new z((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);Ko(H,"controlEventKeys",["on_change","on_focus","on_blur"]),Ko(H,"controlCustomAttributes",void 0);function Xo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(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 Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:Xo(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(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 sA(e){var t=fA();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 lA(this,o)}}var q=function(e){cA(r,e);var t=sA(r);function r(n){uA(this,r);var o,i;return o=t.call(this,n),ks(Xo(o),"controlType","form"),ks(Xo(o),"props",void 0),ks(Xo(o),"value",void 0),o.props=new z((i=n)===null||i===void 0?void 0:i.props),o}return r}(Zt);function pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function yA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dA(e,t){return t&&(vA(t)==="object"||typeof t=="function")?t:pA(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function vA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bA(e){var t=hA();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 dA(this,o)}}var Be=function(e){yA(r,e);var t=bA(r);function r(n){return _A(this,r),t.call(this,n)}return r}(fe);function js(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gA(e){if(Array.isArray(e))return js(e)}function mA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OA(){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 Om(e){return gA(e)||mA(e)||wA(e)||OA()}function wA(e,t){if(!!e){if(typeof e=="string")return js(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return js(e,t)}}function $A(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function wm(e,t){e.parent=t,$A(e,"parent")}function PA(e,t){e.forEach(function(r){wm(r,t)})}var $m=Symbol("targetKey");function Pm(e){var t;return(t=e[$m])!==null&&t!==void 0?t:e}function Rm(e,t){return PA(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 l;return o===$m?n:(l=Reflect).get.apply(l,[n,o].concat(Om(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),l=3;l<u;l++)c[l-3]=arguments[l];var a;if(ns(e)&&o==="length"&&i===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,o,i].concat(Om(c)));return zg(i)&&wm(i,t),f}})}function Yt(e,t,r,n){var o=n!=null?n:e,i=Rm(Pm(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Rm(Pm(c),o)},enumerable:!0})}function Fs(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 RA(e){if(Array.isArray(e))return Fs(e)}function Sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sm(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function SA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Sm(i,n,o,u,c,"next",l)}function c(l){Sm(i,n,o,u,c,"throw",l)}u(void 0)})}}function EA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TA(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xr=Reflect.get:Xr=function(o,i,u){var c=FA(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Xr(e,t,r||e)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(e)}function IA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function AA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xA(){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 kA(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){er(e,o,r[o])})}return e}function DA(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 NA(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):DA(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function jA(e,t){return t&&(LA(t)==="object"||typeof t=="function")?t:Sr(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}function FA(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tr(e),e!==null););return e}function Tm(e){return RA(e)||AA(e)||MA(e)||xA()}function LA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MA(e,t){if(!!e){if(typeof e=="string")return Fs(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 Fs(e,t)}}function VA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zA(e){var t=VA();return function(){var n=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jA(this,o)}}function CA(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var HA=1e4,Ae=function(t){IA(n,t);var r=zA(n);function n(o){EA(this,n);var i,u,c;i=r.call(this,o),er(Sr(i),"controlType","layout"),er(Sr(i),"children",void 0),er(Sr(i),"excludes",void 0),er(Sr(i),"childrenMaxLength",void 0),er(Sr(i),"props",void 0);var l=BA(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new Be((u=o)===null||u===void 0?void 0:u.props),Yt(Sr(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Xt(a),i.childrenMaxLength=f,i}return TA(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,l=this,a=function(){return Xr(tr(n.prototype),"validate",c)};return SA(function(){return CA(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(s){return s.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=Xr(tr(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var s=f.filter(function(p){return!!p});return Tm(l).concat(Tm(s))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Xr(tr(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return NA(kA({},i),{children:u})}}]),n}(K);er(Ae,"excludes",!1),er(Ae,"childrenMaxLength",HA);function ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(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 UA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WA(e,t){return t&&(KA(t)==="object"||typeof t=="function")?t:ao(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}function KA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XA(e){var t=GA();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 WA(this,o)}}var Er=function(e){UA(r,e);var t=XA(r);function r(n){qA(this,r);var o,i,u;return o=t.call(this,n),Ms(ao(o),"controlType","layout"),Ms(ao(o),"children",void 0),Ms(ao(o),"props",void 0),o.props=new Be((i=n)===null||i===void 0?void 0:i.props),Yt(ao(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(Zt);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function ZA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YA(e,t){return t&&(ex(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 ex(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rx(e){var t=tx();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YA(this,o)}}var Hs=function(e){ZA(r,e);var t=rx(r);function r(n,o){QA(this,r);var i,u;return i=t.call(this,o),JA(zs(i),"headers",void 0),Yt(zs(i),"headers",(u=o)===null||u===void 0?void 0:u.headers,n),i}return r}(fe);function qs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nx(e){if(Array.isArray(e))return qs(e)}function ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Im(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function ox(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Im(i,n,o,u,c,"next",l)}function c(l){Im(i,n,o,u,c,"throw",l)}u(void 0)})}}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ux(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function ti(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qr=Reflect.get:Qr=function(o,i,u){var c=px(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Qr(e,t,r||e)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ax(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Am(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ti(e,o,r[o])})}return e}function fx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function sx(e,t){return t&&(_x(t)==="object"||typeof t=="function")?t:ei(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function px(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rr(e),e!==null););return e}function km(e){return nx(e)||lx(e)||yx(e)||ax()}function _x(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yx(e,t){if(!!e){if(typeof e=="string")return qs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qs(e,t)}}function dx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vx(e){var t=dx();return function(){var n=rr(e),o;if(t){var i=rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sx(this,o)}}function hx(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Ws=function(e){cx(r,e);var t=vx(r);function r(n){ix(this,r);var o,i;return o=t.call(this,n),ti(ei(o),"controlType","list"),ti(ei(o),"props",void 0),o.props=new Hs(ei(o),(i=n)===null||i===void 0?void 0:i.props),o}return ux(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Qr(rr(r.prototype),"validate",u)};return ox(function(){return hx(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Qr(rr(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(s){return!!s});return km(c).concat(km(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o=Qr(rr(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return xm(Am({},o),{props:xm(Am({},this.props),{headers:i})})}}]),r}(K);ti(Ws,"controlFieldType",P.LIST);function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(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 Gs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function bx(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:_e(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function gx(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 Qs(e){var t=mx();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 bx(this,o)}}var Tt=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o;return o=t.call(this,n),Oe(_e(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Oe(_e(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(ie),ce=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Oe(_e(o),"widthType",void 0),Oe(_e(o),"width",void 0),Oe(_e(o),"caption",void 0),Oe(_e(o),"dataBind",void 0),Oe(_e(o),"autoWidth",void 0),Oe(_e(o),"fixed",void 0),Oe(_e(o),"sort",void 0),Oe(_e(o),"align",void 0),Oe(_e(o),"colSpan",void 0),Oe(_e(o),"autoHeight",void 0);var d;o.width=(d=(i=n)===null||i===void 0?void 0:i.width)!==null&&d!==void 0?d:150,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(c=n)===null||c===void 0?void 0:c.caption)!==null&&b!==void 0?b:"";var y;o.fixed=(y=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&y!==void 0?y:"none",o.autoWidth=new Xg((a=n)===null||a===void 0?void 0:a.autoWidth),o.dataBind=new Ye((f=n)===null||f===void 0?void 0:f.dataBind);var g;o.sort=(g=(s=n)===null||s===void 0?void 0:s.sort)!==null&&g!==void 0?g:!0,o.align=(p=n)===null||p===void 0?void 0:p.align,o.colSpan=(_=n)===null||_===void 0?void 0:_.colSpan;var O;return o.autoHeight=(O=(h=n)===null||h===void 0?void 0:h.autoHeight)!==null&&O!==void 0?O:!1,o}return r}(fe);Oe(ce,"Rules",Tt);var Dm=function(e){Gs(r,e);var t=Qs(r);function r(n){Ks(this,r);var o;return o=t.call(this,n),Oe(_e(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),Oe(_e(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),Oe(_e(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Is.call(_e(o),n),o}return r}(Tt);function Js(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(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 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&&Zs(e,t)}function $x(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:Js(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}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 Sx(e){var t=Rx();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 $x(this,o)}}var we=function(e){wx(r,e);var t=Sx(r);function r(n){Ox(this,r);var o,i;return o=t.call(this,n),Nm(Js(o),"controlType","column"),Nm(Js(o),"props",void 0),o.props=new ce((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);function Ys(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 jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(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&&ep(e,t)}function Ix(e,t){return t&&(Bx(t)==="object"||typeof t=="function")?t:Ys(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(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=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ix(this,o)}}var $e=function(e){Tx(r,e);var t=xx(r);function r(n){Ex(this,r);var o,i;return o=t.call(this,n),jm(Ys(o),"controlType","column"),jm(Ys(o),"props",void 0),o.props=new ce((i=n)===null||i===void 0?void 0:i.props),o}return r}(Zt);function Fm(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 Dx(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 Nx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:Fm(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mx(e){var t=Lx();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 jx(this,o)}}var rp=function(e){Nx(r,e);var t=Mx(r);function r(n){kx(this,r);var o,i;return o=t.call(this,n),Dx(Fm(o),"dataBind",void 0),o.dataBind=new Ye((i=n)===null||i===void 0?void 0:i.dataBind),o}return r}(Be);function np(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 Lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&op(e,t)}function Cx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:np(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(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=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cx(this,o)}}var Wx=function(e){zx(r,e);var t=Ux(r);function r(n){Vx(this,r);var o,i;return o=t.call(this,n),Lm(np(o),"controlType","search"),Lm(np(o),"props",void 0),o.props=new rp((i=n)===null||i===void 0?void 0:i.props),o}return r}(Ae);function ip(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 Mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function Gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function Xx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:ip(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}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=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var Yx=function(e){Gx(r,e);var t=Zx(r);function r(n){Kx(this,r);var o,i;return o=t.call(this,n),Mm(ip(o),"controlType","search"),Mm(ip(o),"props",void 0),o.props=new rp((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);function Tr(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}}}])}function Jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(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 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&&cp(e,t)}function rk(e,t){return t&&(nk(t)==="object"||typeof t=="function")?t:Jr(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}function nk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ik(e){var t=ok();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 rk(this,o)}}var uk=function(e){tk(r,e);var t=ik(r);function r(n){ek(this,r);var o,i,u,c,l,a;o=t.call(this,n),fo(Jr(o),"content",void 0),fo(Jr(o),"fontSize",void 0),fo(Jr(o),"color",void 0),fo(Jr(o),"icon",void 0),fo(Jr(o),"showState",void 0);var f;o.fontSize=(f=(i=n)===null||i===void 0?void 0:i.fontSize)!==null&&f!==void 0?f:"14px";var s;o.color=(s=(u=n)===null||u===void 0?void 0:u.color)!==null&&s!==void 0?s:"#646A73";var p;o.icon=(p=(c=n)===null||c===void 0?void 0:c.icon)!==null&&p!==void 0?p:"page-hint";var _;o.showState=(_=(l=n)===null||l===void 0?void 0:l.showState)!==null&&_!==void 0?_:"text";var h;return o.content=(h=(a=n)===null||a===void 0?void 0:a.content)!==null&&h!==void 0?h:"\u8BF4\u660E\u6587\u5B57",o}return r}(fe);function Vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lk(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function Cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function ak(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fk(e,t){return t&&(sk(t)==="object"||typeof t=="function")?t:Vm(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function sk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _k(e){var t=pk();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fk(this,o)}}var yk=function(e){ak(r,e);var t=_k(r);function r(n){ck(this,r);var o,i;return o=t.call(this,n),Cm(Vm(o),"props",void 0),o.props=new uk((i=n)===null||i===void 0?void 0:i.props),o}return lk(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(K);Cm(yk,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ap(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 vk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hk(e,t){return t&&(bk(t)==="object"||typeof t=="function")?t:fi(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function bk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mk(e){var t=gk();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hk(this,o)}}var Ok=function(e){vk(r,e);var t=mk(r);function r(n){dk(this,r);var o,i,u,c;o=t.call(this,n),ap(fi(o),"content",void 0),ap(fi(o),"url",void 0),ap(fi(o),"openMode",void 0);var l;o.content=(l=(i=n)===null||i===void 0?void 0:i.content)!==null&&l!==void 0?l:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var a;o.url=(a=(u=n)===null||u===void 0?void 0:u.url)!==null&&a!==void 0?a:"";var f;return o.openMode=(f=(c=n)===null||c===void 0?void 0:c.openMode)!==null&&f!==void 0?f:"new",o}return r}(fe);function Hm(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 qm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $k(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&pp(e,t)}function Rk(e,t){return t&&(Sk(t)==="object"||typeof t=="function")?t:Hm(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function Sk(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=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rk(this,o)}}var Um=function(e){Pk(r,e);var t=Tk(r);function r(n){wk(this,r);var o,i;return o=t.call(this,n),sp(Hm(o),"props",void 0),o.props=new Ok((i=n)===null||i===void 0?void 0:i.props),o}return $k(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(K);sp(Um,"controlEventKeys",["on_click"]),sp(Um,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"open-mode",visible:!0},{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 Ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&_p(e,t)}function Ak(e,t){return t&&(xk(t)==="object"||typeof t=="function")?t:It(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(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=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ak(this,o)}}var We=function(e){Bk(r,e);var t=Dk(r);function r(n){Ik(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),nr(It(o),"content",void 0),nr(It(o),"buttonType",void 0),nr(It(o),"showType",void 0),nr(It(o),"color",void 0),nr(It(o),"icon",void 0),nr(It(o),"defaultState",void 0),nr(It(o),"command",void 0),nr(It(o),"isLoading",void 0);var _;o.content=(_=(i=n)===null||i===void 0?void 0:i.content)!==null&&_!==void 0?_:"\u6309\u94AE";var h;o.buttonType=(h=(u=n)===null||u===void 0?void 0:u.buttonType)!==null&&h!==void 0?h:"primary";var d;o.showType=(d=(c=n)===null||c===void 0?void 0:c.showType)!==null&&d!==void 0?d:"text";var b;o.color=(b=(l=n)===null||l===void 0?void 0:l.color)!==null&&b!==void 0?b:"primary";var y;o.icon=(y=(a=n)===null||a===void 0?void 0:a.icon)!==null&&y!==void 0?y:"iconfenlei2";var g;o.defaultState=(g=(f=n)===null||f===void 0?void 0:f.defaultState)!==null&&g!==void 0?g:"default";var O;o.command=(O=(s=n)===null||s===void 0?void 0:s.command)!==null&&O!==void 0?O:"custom";var w;return o.isLoading=(w=(p=n)===null||p===void 0?void 0:p.isLoading)!==null&&w!==void 0?w:!1,o}return r}(fe);function Wm(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 Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jk(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&dp(e,t)}function Lk(e,t){return t&&(Mk(t)==="object"||typeof t=="function")?t:Wm(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function Mk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zk(e){var t=Vk();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lk(this,o)}}var Le=function(e){Fk(r,e);var t=zk(r);function r(n){Nk(this,r);var o,i;return o=t.call(this,n),yp(Wm(o),"props",void 0),o.props=new We((i=n)===null||i===void 0?void 0:i.props),o}return jk(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(K);yp(Le,"controlEventKeys",["on_click"]),yp(Le,"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:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function or(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt;(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"})(Bt||(Bt={}));var vp;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(vp||(vp={}));var hp;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(hp||(hp={}));var bp=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:vp.UN_SELECT_ABLE_INTERVAL,dateLimitType:hp.FILE_IN_TIME,id:St(8),value:["",""]};or(this,e),L(this,"dateConfigType",void 0),L(this,"dateLimitType",void 0),L(this,"id",void 0),L(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},gp;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(gp||(gp={}));var mp=function e(t){or(this,e);var r,n;L(this,"id",void 0),L(this,"text",void 0);var o;this.id=(o=(r=t)===null||r===void 0?void 0:r.id)!==null&&o!==void 0?o:St();var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},Op;(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"})(Op||(Op={}));var Gm=function e(t){or(this,e);var r,n,o,i,u,c,l,a;L(this,"type",void 0),L(this,"person",void 0),L(this,"signatureType",void 0),L(this,"telephone",void 0),L(this,"company",void 0),L(this,"remark",void 0);var f;this.type=(f=(r=t)===null||r===void 0?void 0:r.type)!==null&&f!==void 0?f:"private";var s;this.person=new oo((s=(n=t)===null||n===void 0?void 0:n.person)!==null&&s!==void 0?s:{type:"form"});var p;this.signatureType=(p=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&p!==void 0?p:[];var _,h;this.telephone=(h=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&h!==void 0?h:new oo((_=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&_!==void 0?_:{type:"form"});var d,b;this.company=(b=(c=t)===null||c===void 0?void 0:c.company)!==null&&b!==void 0?b:new oo((d=(l=t)===null||l===void 0?void 0:l.company)!==null&&d!==void 0?d:{type:"form"});var y;this.remark=(y=(a=t)===null||a===void 0?void 0:a.remark)!==null&&y!==void 0?y:""},Ck=function e(t){or(this,e);var r,n,o,i,u,c;L(this,"fileControl",void 0),L(this,"undersignedList",void 0),L(this,"statusControl",void 0),L(this,"completeControl",void 0),L(this,"completeTimeControl",void 0);var l;this.fileControl=(l=(r=t)===null||r===void 0?void 0:r.fileControl)!==null&&l!==void 0?l:"";var a;this.undersignedList=(a=(o=t)===null||o===void 0||(n=o.undersignedList)===null||n===void 0?void 0:n.map(function(_){return new Gm(_)}))!==null&&a!==void 0?a:[new Gm];var f;this.statusControl=(f=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&f!==void 0?f:"";var s;this.completeControl=(s=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&s!==void 0?s:"";var p;this.completeTimeControl=(p=(c=t)===null||c===void 0?void 0:c.completeTimeControl)!==null&&p!==void 0?p:""},Xm=function e(t){or(this,e);var r,n,o,i,u,c,l;L(this,"id",void 0),L(this,"appId",void 0),L(this,"dataCode",void 0),L(this,"svcCode",void 0),L(this,"name",void 0),L(this,"fieldList",void 0),L(this,"active",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:St(8);var f;this.appId=(f=(n=t)===null||n===void 0?void 0:n.appId)!==null&&f!==void 0?f:"";var s;this.dataCode=(s=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&s!==void 0?s:"";var p;this.svcCode=(p=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&p!==void 0?p:"";var _;this.name=(_=(u=t)===null||u===void 0?void 0:u.name)!==null&&_!==void 0?_:"";var h;this.fieldList=(h=(c=t)===null||c===void 0?void 0:c.fieldList)!==null&&h!==void 0?h:[];var d;this.active=(d=(l=t)===null||l===void 0?void 0:l.active)!==null&&d!==void 0?d:!1},Qm=function e(t){or(this,e);var r,n;L(this,"active",void 0),L(this,"text",void 0);var o;this.active=(o=(r=t)===null||r===void 0?void 0:r.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},Hk=function e(t){or(this,e);var r,n,o,i,u,c;L(this,"types",void 0),L(this,"history",void 0),L(this,"collaborativeRecord",void 0),L(this,"logicToDelete",void 0),L(this,"watermark",void 0),L(this,"autoRename",void 0);var l;this.types=(l=(r=t)===null||r===void 0?void 0:r.types)!==null&&l!==void 0?l:["word","ppt","excel"];var a;this.history=(a=(n=t)===null||n===void 0?void 0:n.history)!==null&&a!==void 0?a:!1;var f;this.collaborativeRecord=(f=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&f!==void 0?f:!1;var s;this.logicToDelete=(s=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&s!==void 0?s:!0,this.watermark=new Qm((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new Qm((c=t)===null||c===void 0?void 0:c.autoRename)},qk=480;function di(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Uk=function e(t){or(this,e);var r,n,o;L(this,"fileId",void 0),L(this,"fileName",void 0),L(this,"ruleName",void 0),L(this,"isDefault",void 0),L(this,"rules",void 0);var i;this.fileId=(i=(r=t)===null||r===void 0?void 0:r.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(n=t)===null||n===void 0?void 0:n.fileName)!==null&&u!==void 0?u:"";var c;this.ruleName=(c=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&c!==void 0?c:"";var l;this.isDefault=(l=t.isDefault)!==null&&l!==void 0?l:!1;var a;this.rules=(a=t.rules)!==null&&a!==void 0?a:[]},Jm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Jm||(Jm={}));var wp;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(wp||(wp={}));var vi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(vi||(vi={}));var ir;(function(e){e.ALL="all",e.ASSIGN="assign"})(ir||(ir={}));var $p;(function(e){e.ALL="all",e.ADMIN="admin"})($p||($p={}));function Pp(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 Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(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&&Rp(e,t)}function Gk(e,t){return t&&(Xk(t)==="object"||typeof t=="function")?t:Pp(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(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=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gk(this,o)}}var Zk=function(e){Kk(r,e);var t=Jk(r);function r(n){Wk(this,r);var o,i,u;o=t.call(this,n),Zm(Pp(o),"color",void 0),Zm(Pp(o),"lineStyle",void 0);var c;o.color=(c=(i=n)===null||i===void 0?void 0:i.color)!==null&&c!==void 0?c:"#000";var l;return o.lineStyle=(l=(u=n)===null||u===void 0?void 0:u.lineStyle)!==null&&l!==void 0?l:Op.SOLID,o}return r}(fe);function Ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eD(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function tD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rD(e,t){return t&&(nD(t)==="object"||typeof t=="function")?t:Ym(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function nD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=oD();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 rD(this,o)}}var uD=function(e){tD(r,e);var t=iD(r);function r(n){Yk(this,r);var o,i;return o=t.call(this,n),t0(Ym(o),"props",void 0),o.props=new Zk((i=n)===null||i===void 0?void 0:i.props),o}return eD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(K);t0(uD,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]}]);function ur(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 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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function n0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:ur(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0(e){var t=aD();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 cD(this,o)}}var fD=function(e){n0(r,e);var t=o0(r);function r(n){r0(this,r);var o;return o=t.call(this,n),cr(ur(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),cr(ur(o),"dataBind",{type:"any"}),cr(ur(o),"config",{type:"array"}),n.config.includes(Bt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:$.getMessage("bizKeyNotBindFiled")}},message:$.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:$.getMessage("pleaseSelectOneField")}),o}return r}(ie),i0=function(e){n0(r,e);var t=o0(r);function r(n){r0(this,r);var o,i,u,c,l,a;o=t.call(this,n),cr(ur(o),"dataBind",void 0),cr(ur(o),"caption",void 0),cr(ur(o),"config",void 0),cr(ur(o),"position",void 0),o.dataBind=new Ye((i=n)===null||i===void 0?void 0:i.dataBind);var f;o.config=(f=(u=n)===null||u===void 0?void 0:u.config)!==null&&f!==void 0?f:[Bt.ShowSubmitUser,Bt.ShowSubmitDept,Bt.ShowSubmitTime,Bt.ShowCurrentApprovar,Bt.ShowTitle];var s,p;o.caption=(p=(s=(c=n)===null||c===void 0?void 0:c.caption)!==null&&s!==void 0?s:(l=Bp)===null||l===void 0?void 0:l.controlName)!==null&&p!==void 0?p:"";var _;return o.position=(_=(a=n)===null||a===void 0?void 0:a.position)!==null&&_!==void 0?_:"top",o}return r}(fe);cr(i0,"Rules",fD);function u0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c0(e,t){for(var r=0;r<t.length;r++){var 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&&c0(e.prototype,t),r&&c0(e,r),e}function Tp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function _D(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function yD(e,t){return t&&(dD(t)==="object"||typeof t=="function")?t:u0(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function dD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hD(e){var t=vD();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 yD(this,o)}}var Bp=function(e){_D(r,e);var t=hD(r);function r(n){sD(this,r);var o,i;return o=t.call(this,n),Tp(u0(o),"props",void 0),o.props=new i0((i=n)===null||i===void 0?void 0:i.props),o}return pD(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(K);Tp(Bp,"controlFieldType",P.AUTO_NUMBER),Tp(Bp,"setting",[{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 a0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bD(e,t){return t&&(gD(t)==="object"||typeof t=="function")?t:Oi(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function gD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f0(e){var t=mD();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 bD(this,o)}}var OD=function(e){a0(r,e);var t=f0(r);function r(n){l0(this,r);var o;return o=t.call(this,n),wi(Oi(o),"formKey",{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(ie),s0=function(e){a0(r,e);var t=f0(r);function r(n){l0(this,r);var o,i,u,c,l;o=t.call(this,n),wi(Oi(o),"formKey",void 0),wi(Oi(o),"openType",void 0);var a;o.icon=(a=(i=n)===null||i===void 0?void 0:i.icon)!==null&&a!==void 0?a:Ri.controlIcon;var f;o.content=(f=(u=n)===null||u===void 0?void 0:u.content)!==null&&f!==void 0?f:Ri.controlName;var s;o.formKey=(s=(c=n)===null||c===void 0?void 0:c.formKey)!==null&&s!==void 0?s:"";var p;return o.openType=(p=(l=n)===null||l===void 0?void 0:l.openType)!==null&&p!==void 0?p:"modal",o}return r}(We);wi(s0,"Rules",OD);function p0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $D(e,t,r){return t&&_0(e.prototype,t),r&&_0(e,r),e}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 Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(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&&kp(e,t)}function RD(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:p0(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function SD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ED(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TD(e){var t=ED();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 RD(this,o)}}var Ri=function(e){PD(r,e);var t=TD(r);function r(n){wD(this,r);var o,i;return o=t.call(this,n),xp(p0(o),"props",void 0),o.props=new s0((i=n)===null||i===void 0?void 0:i.props),o}return $D(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}(Le);xp(Ri,"controlEventKeys",["on_click","on_click_finish"]),xp(Ri,"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 Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function d0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function ID(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:Zr(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function BD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v0(e){var t=AD();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 ID(this,o)}}var xD=function(e){d0(r,e);var t=v0(r);function r(n){y0(this,r);var o;return o=t.call(this,n),Yr(Zr(o),"processKey",[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterProcess")}]),o}return r}(ie),h0=function(e){d0(r,e);var t=v0(r);function r(n){y0(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Yr(Zr(o),"processKey",void 0),Yr(Zr(o),"initiatorMode",void 0),Yr(Zr(o),"fieldCode",void 0),Yr(Zr(o),"employeeId",void 0);var s;o.icon=(s=(i=n)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:Ti.controlIcon;var p;o.content=(p=(u=n)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:Ti.controlName;var _;o.initiatorMode=(_=(c=n)===null||c===void 0?void 0:c.initiatorMode)!==null&&_!==void 0?_:"currentInitiator";var h;o.processKey=(h=(l=n)===null||l===void 0?void 0:l.processKey)!==null&&h!==void 0?h:"";var d;o.fieldCode=(d=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&d!==void 0?d:"";var b;return o.employeeId=(b=(f=n)===null||f===void 0?void 0:f.employeeId)!==null&&b!==void 0?b:"",o}return r}(We);Yr(h0,"Rules",xD);function b0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DD(e,t,r){return t&&g0(e.prototype,t),r&&g0(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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function ND(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function jD(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:b0(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function FD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MD(e){var t=LD();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jD(this,o)}}var Ti=function(e){ND(r,e);var t=MD(r);function r(n){kD(this,r);var o,i;return o=t.call(this,n),Np(b0(o),"props",void 0),o.props=new h0((i=n)===null||i===void 0?void 0:i.props),o}return DD(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}(Le);Np(Ti,"controlEventKeys",["on_click","on_click_finish"]),Np(Ti,"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 VD(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 Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function CD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function HD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:VD(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function qD(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 WD(e){var t=UD();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 HD(this,o)}}var KD=function(e){CD(r,e);var t=WD(r);function r(n){zD(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ai.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ai.controlIcon,o}return r}(We);function m0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XD(e,t,r){return t&&O0(e.prototype,t),r&&O0(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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function QD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function JD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:m0(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function ZD(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 eN(e){var t=YD();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 JD(this,o)}}var Ai=function(e){QD(r,e);var t=eN(r);function r(n){GD(this,r);var o,i;return o=t.call(this,n),Lp(m0(o),"props",void 0),o.props=new KD((i=n)===null||i===void 0?void 0:i.props),o}return XD(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}(Le);Lp(Ai,"controlEventKeys",["on_click"]),Lp(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:"super-setting",visible:!0}]);function w0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function nN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function oN(e,t){return t&&(iN(t)==="object"||typeof t=="function")?t:w0(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function iN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cN(e){var t=uN();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 oN(this,o)}}var lN=function(e){nN(r,e);var t=cN(r);function r(n){tN(this,r);var o,i,u,c,l;o=t.call(this,n),rN(w0(o),"templateList",void 0);var a;o.icon=(a=(i=n)===null||i===void 0?void 0:i.icon)!==null&&a!==void 0?a:Di.controlIcon;var f;o.content=(f=(u=n)===null||u===void 0?void 0:u.content)!==null&&f!==void 0?f:Di.controlName;var s;return o.templateList=(s=(l=n)===null||l===void 0||(c=l.templateList)===null||c===void 0?void 0:c.map(function(p){return new Xm(p)}))!==null&&s!==void 0?s:[new Xm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(We);function $0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fN(e,t,r){return t&&P0(e.prototype,t),r&&P0(e,r),e}function zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function sN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function pN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:$0(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function _N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dN(e){var t=yN();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 pN(this,o)}}var Di=function(e){sN(r,e);var t=dN(r);function r(n){aN(this,r);var o,i;return o=t.call(this,n),zp($0(o),"props",void 0),o.props=new lN((i=n)===null||i===void 0?void 0:i.props),o}return fN(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}(Le);zp(Di,"controlEventKeys",["on_click","on_click_finish"]),zp(Di,"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 vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:vN(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function mN(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 wN(e){var t=ON();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 gN(this,o)}}var $N=function(e){bN(r,e);var t=wN(r);function r(n){hN(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Fi.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Fi.controlIcon,o}return r}(We);function R0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RN(e,t,r){return t&&S0(e.prototype,t),r&&S0(e,r),e}function qp(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 SN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function EN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:R0(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function TN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BN(e){var t=IN();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 EN(this,o)}}var Fi=function(e){SN(r,e);var t=BN(r);function r(n){PN(this,r);var o,i;return o=t.call(this,n),qp(R0(o),"props",void 0),o.props=new $N((i=n)===null||i===void 0?void 0:i.props),o}return RN(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}(Le);qp(Fi,"controlEventKeys",["on_click"]),qp(Fi,"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 E0(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 I0(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 AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xN(e,t){return t&&(kN(t)==="object"||typeof t=="function")?t:E0(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function kN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NN(e){var t=DN();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 xN(this,o)}}var jN=function e(t){T0(this,e),I0(this,"dataCode",void 0),this.dataCode=t.dataCode},FN=function(e){AN(r,e);var t=NN(r);function r(n){T0(this,r);var o,i,u,c,l;o=t.call(this,n),I0(E0(o),"canImportList",void 0);var a;o.content=(a=(i=n)===null||i===void 0?void 0:i.content)!==null&&a!==void 0?a:Vi.controlName;var f;o.icon=(f=(u=n)===null||u===void 0?void 0:u.icon)!==null&&f!==void 0?f:Vi.controlIcon;var s;return o.canImportList=(s=(l=n)===null||l===void 0||(c=l.canImportList)===null||c===void 0?void 0:c.map(function(p){return new jN(p)}))!==null&&s!==void 0?s:[],o}return r}(We);function B0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(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 MN(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function Kp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function zN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:B0(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function CN(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 qN(e){var t=HN();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 zN(this,o)}}var Vi=function(e){VN(r,e);var t=qN(r);function r(n){LN(this,r);var o,i;return o=t.call(this,n),Kp(B0(o),"props",void 0),o.props=new FN((i=n)===null||i===void 0?void 0:i.props),o}return MN(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}(Le);Kp(Vi,"controlEventKeys",["on_click","on_click_finish"]),Kp(Vi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}]);function zi(){return{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}}}}}}function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x0(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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function k0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D0(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){At(e,o,r[o])})}return e}function UN(e,t){return t&&(WN(t)==="object"||typeof t=="function")?t:lr(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function WN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N0(e){var t=KN();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 UN(this,o)}}var GN=function(e){k0(r,e);var t=N0(r);function r(n){x0(this,r);var o;return o=t.call(this,n),At(lr(o),"fillPayload",{type:"object",fields:D0({},zi())}),At(lr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}}}),At(lr(o),"fillBack",{type:"object",fields:D0({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},zi())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}),o}return r}(ie),j0=function(e){k0(r,e);var t=N0(r);function r(n){x0(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),At(lr(o),"fillPayload",void 0),At(lr(o),"formBind",void 0),At(lr(o),"fillBack",void 0),At(lr(o),"command",void 0);var s;o.content=(s=(i=n)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:qi.controlName;var p;o.icon=(p=(u=n)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:qi.controlIcon;var _;return o.command=(_=(c=n)===null||c===void 0?void 0:c.command)!==null&&_!==void 0?_:"create",o.fillPayload=new ds((l=n)===null||l===void 0?void 0:l.fillPayload),o.formBind=new V2((a=n)===null||a===void 0?void 0:a.formBind),o.fillBack=new tm((f=n)===null||f===void 0?void 0:f.fillBack),o}return r}(We);At(j0,"Rules",GN);function F0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QN(e,t,r){return t&&L0(e.prototype,t),r&&L0(e,r),e}function Qp(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 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&&Jp(e,t)}function ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:F0(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function YN(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=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZN(this,o)}}var qi=function(e){JN(r,e);var t=tj(r);function r(n){XN(this,r);var o,i;return o=t.call(this,n),Qp(F0(o),"props",void 0),o.props=new j0((i=n)===null||i===void 0?void 0:i.props),o}return QN(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}(Le);Qp(qi,"controlEventKeys",["on_click","on_click_finish"]),Qp(qi,"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:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M0(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function V0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z0(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){gt(e,o,r[o])})}return e}function rj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:xt(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function nj(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 C0(e){var t=oj();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 rj(this,o)}}var ij=function(e){V0(r,e);var t=C0(r);function r(n){M0(this,r);var o;return o=t.call(this,n),gt(xt(o),"fillPayload",{type:"object",fields:z0({},zi())}),gt(xt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}),gt(xt(o),"fillBack",{type:"object",fields:z0({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},zi())}),o}return r}(ie),H0=function(e){V0(r,e);var t=C0(r);function r(n){M0(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),gt(xt(o),"fillPayload",void 0),gt(xt(o),"listPageBind",void 0),gt(xt(o),"fillBack",void 0),gt(xt(o),"showSelectedDetail",void 0),gt(xt(o),"selectedContentConfig",void 0);var p;o.content=(p=(i=n)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:Ki.controlName;var _;o.icon=(_=(u=n)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:Ki.controlIcon,o.fillPayload=new ds((c=n)===null||c===void 0?void 0:c.fillPayload),o.listPageBind=new fs((l=n)===null||l===void 0?void 0:l.listPageBind),o.fillBack=new tm((a=n)===null||a===void 0?void 0:a.fillBack);var h;return o.showSelectedDetail=(h=(f=n)===null||f===void 0?void 0:f.showSelectedDetail)!==null&&h!==void 0?h:!1,o.selectedContentConfig=new ys((s=n)===null||s===void 0?void 0:s.selectedContentConfig),o}return r}(We);gt(H0,"Rules",ij);function q0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cj(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function Yp(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 lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:q0(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pj(e){var t=sj();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 aj(this,o)}}var Ki=function(e){lj(r,e);var t=pj(r);function r(n){uj(this,r);var o,i;return o=t.call(this,n),Yp(q0(o),"props",void 0),o.props=new H0((i=n)===null||i===void 0?void 0:i.props),o}return cj(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}(Le);Yp(Ki,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Yp(Ki,"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:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(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 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&&n_(e,t)}function yj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:_j(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function dj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o_(e){var t=vj();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 yj(this,o)}}var hj=function(e){r_(r,e);var t=o_(r);function r(n){return t_(this,r),t.call(this,n)}return r}(ie),bj=function(e){r_(r,e);var t=o_(r);function r(n){return t_(this,r),t.call(this,n)}return r}(Rr),i_=function(e){r_(r,e);var t=o_(r);function r(n){return t_(this,r),t.call(this,n)}return r}(fe);W0(i_,"Rules",hj),W0(i_,"RuntimeRules",bj);function K0(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 G0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mj(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&u_(e,t)}function wj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:K0(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function $j(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 Rj(e){var t=Pj();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 wj(this,o)}}var Sj=function(e){Oj(r,e);var t=Rj(r);function r(n){gj(this,r);var o,i;return o=t.call(this,n),X0(K0(o),"props",void 0),o.props=new i_((i=n)===null||i===void 0?void 0:i.props),o}return mj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(K);X0(Sj,"setting",[]);function tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q0(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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&c_(e,t)}function Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:tt(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z0(e){var t=Ij();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 Ej(this,o)}}var Bj=function(e){J0(r,e);var t=Z0(r);function r(n){Q0(this,r);var o;return o=t.call(this,n),rt(tt(o),"dashboardKey",{type:"string",required:!0,message:$.getMessage("pleaseSelectDashboard")}),rt(tt(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),rt(tt(o),"isHideCaption",{type:"boolean"}),rt(tt(o),"labelPosition",{type:"enum",enum:["top","left"]}),rt(tt(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ie),Y0=function(e){J0(r,e);var t=Z0(r);function r(n){Q0(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),rt(tt(o),"dashboardKey",void 0),rt(tt(o),"caption",void 0),rt(tt(o),"isHideCaption",void 0),rt(tt(o),"isShowCaptionTip",void 0),rt(tt(o),"captionTip",void 0),rt(tt(o),"labelPosition",void 0);var s;o.dashboardKey=(s=(i=n)===null||i===void 0?void 0:i.dashboardKey)!==null&&s!==void 0?s:"";var p;o.caption=(p=(u=n)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:"";var _;o.isHideCaption=(_=(c=n)===null||c===void 0?void 0:c.isHideCaption)!==null&&_!==void 0?_:!1;var h;o.isShowCaptionTip=(h=(l=n)===null||l===void 0?void 0:l.isShowCaptionTip)!==null&&h!==void 0?h:!1;var d;o.captionTip=(d=(a=n)===null||a===void 0?void 0:a.captionTip)!==null&&d!==void 0?d:"";var b;return o.labelPosition=(b=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&b!==void 0?b:"top",o}return r}(fe);rt(Y0,"Rules",Bj);function eO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xj(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function rO(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 kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function Dj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:eO(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}function Nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fj(e){var t=jj();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 Dj(this,o)}}var Lj=function(e){kj(r,e);var t=Fj(r);function r(n){Aj(this,r);var o,i;return o=t.call(this,n),rO(eO(o),"props",void 0),o.props=new Y0((i=n)===null||i===void 0?void 0:i.props),o}return xj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(K);rO(Lj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function so(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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&&a_(e,t)}function Mj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:so(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Vj(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 iO(e){var t=zj();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mj(this,o)}}var Cj=function(e){oO(r,e);var t=iO(r);function r(n){nO(this,r);var o;return o=t.call(this,n),po(so(o),"showType",{type:"enum",enum:["select","tabs"]}),po(so(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:$.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(ie),uO=function(e){oO(r,e);var t=iO(r);function r(n){nO(this,r);var o,i,u,c;o=t.call(this,n),po(so(o),"showType",void 0),po(so(o),"viewList",void 0);var l;o.showType=(l=(i=n)===null||i===void 0?void 0:i.showType)!==null&&l!==void 0?l:"select";var a;return o.viewList=(a=(c=n)===null||c===void 0||(u=c.viewList)===null||u===void 0?void 0:u.map(function(f){return new t3(f)}))!==null&&a!==void 0?a:[],o}return r}(fe);po(uO,"Rules",Cj);function cO(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 lO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qj(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}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 Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Uj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:cO(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}function Kj(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 Xj(e){var t=Gj();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 Wj(this,o)}}var Qj=function(e){Uj(r,e);var t=Xj(r);function r(n){Hj(this,r);var o,i;return o=t.call(this,n),aO(cO(o),"props",void 0),o.props=new uO((i=n)===null||i===void 0?void 0:i.props),o}return qj(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}(K);aO(Qj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",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 fO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function sO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Me(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pO(e){var t=Yj();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 Jj(this,o)}}var eF=function(e){sO(r,e);var t=pO(r);function r(n){fO(this,r);var o;return o=t.call(this,n),Ve(Me(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ve(Me(o),"isHideCaption",{type:"boolean"}),Ve(Me(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ve(Me(o),"ocrType",{type:"string",required:!0,message:$.getMessage("pleaseSelectOcrType")}),Ve(Me(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Ve(Me(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ie),_O=function(e){sO(r,e);var t=pO(r);function r(n){fO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ve(Me(o),"caption",void 0),Ve(Me(o),"isHideCaption",void 0),Ve(Me(o),"isShowCaptionTip",void 0),Ve(Me(o),"captionTip",void 0),Ve(Me(o),"labelPosition",void 0),Ve(Me(o),"ocrType",void 0),Ve(Me(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:_o.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:_o.controlName;var R;o.icon=(R=(s=n)===null||s===void 0?void 0:s.icon)!==null&&R!==void 0?R:_o.controlIcon;var I;o.ocrType=(I=(p=n)===null||p===void 0?void 0:p.ocrType)!==null&&I!==void 0?I:"";var E;return o.fillList=(E=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new Fe(B)}))!==null&&E!==void 0?E:[],o}return r}(We);Ve(_O,"Rules",eF);function yO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rF(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}function p_(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 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&&__(e,t)}function oF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:yO(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function iF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cF(e){var t=uF();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 oF(this,o)}}var _o=function(e){nF(r,e);var t=cF(r);function r(n){tF(this,r);var o,i;return o=t.call(this,n),p_(yO(o),"props",void 0),o.props=new _O((i=n)===null||i===void 0?void 0:i.props),o}return rF(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}(Le);p_(_o,"controlEventKeys",["on_click","on_click_finish"]),p_(_o,"setting",[{key:"caption",showItems:[v.CAPTION,v.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:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(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 hO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:ze(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}function aF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fF();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 lF(this,o)}}var sF=function(e){hO(r,e);var t=bO(r);function r(n){vO(this,r);var o;return o=t.call(this,n),Ce(ze(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ce(ze(o),"isHideCaption",{type:"boolean"}),Ce(ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ce(ze(o),"invoiceCheck",{type:"boolean"}),Ce(ze(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Ce(ze(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ie),gO=function(e){hO(r,e);var t=bO(r);function r(n){vO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ce(ze(o),"caption",void 0),Ce(ze(o),"isHideCaption",void 0),Ce(ze(o),"isShowCaptionTip",void 0),Ce(ze(o),"captionTip",void 0),Ce(ze(o),"labelPosition",void 0),Ce(ze(o),"invoiceCheck",void 0),Ce(ze(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:yo.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:yo.controlName;var R;o.icon=(R=(s=n)===null||s===void 0?void 0:s.icon)!==null&&R!==void 0?R:yo.controlIcon;var I;o.invoiceCheck=(I=(p=n)===null||p===void 0?void 0:p.invoiceCheck)!==null&&I!==void 0?I:!0;var E;return o.fillList=(E=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new Fe(B)}))!==null&&E!==void 0?E:[],o}return r}(We);Ce(gO,"Rules",sF);function mO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _F(e,t,r){return t&&OO(e.prototype,t),r&&OO(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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function yF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:mO(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(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=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dF(this,o)}}var yo=function(e){yF(r,e);var t=bF(r);function r(n){pF(this,r);var o,i;return o=t.call(this,n),d_(mO(o),"props",void 0),o.props=new gO((i=n)===null||i===void 0?void 0:i.props),o}return _F(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}(Le);d_(yo,"controlEventKeys",["on_click","on_click_finish"]),d_(yo,"setting",[{key:"caption",showItems:[v.CAPTION,v.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:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-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 wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:ou(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}function mF(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 PO(e){var t=OF();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 gF(this,o)}}var wF=function(e){$O(r,e);var t=PO(r);function r(){wO(this,r);var n;return n=t.apply(this,arguments),iu(ou(n),"printTemplates",{type:"array",min:1,required:!0,message:$.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(ie),RO=function(e){$O(r,e);var t=PO(r);function r(n){wO(this,r);var o,i,u,c,l,a;o=t.call(this,n),iu(ou(o),"printTemplates",void 0),iu(ou(o),"autoSelectTemplate",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:lu.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:lu.controlName;var p;o.printTemplates=(p=(l=n)===null||l===void 0||(c=l.printTemplates)===null||c===void 0?void 0:c.map(function(h){return new Uk(h)}))!==null&&p!==void 0?p:[];var _;return o.autoSelectTemplate=(_=(a=n)===null||a===void 0?void 0:a.autoSelectTemplate)!==null&&_!==void 0?_:!1,o}return r}(We);iu(RO,"Rules",wF);function SO(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 PF(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function b_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&g_(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:SO(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SF(this,o)}}var lu=function(e){RF(r,e);var t=IF(r);function r(n){$F(this,r);var o,i;return o=t.call(this,n),b_(SO(o),"props",void 0),o.props=new RO((i=n)===null||i===void 0?void 0:i.props),o}return PF(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}(Le);b_(lu,"controlEventKeys",["on_click","on_click_finish"]),b_(lu,"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 BF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function kF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:BF(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}function DF(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 jF(e){var t=NF();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 kF(this,o)}}var FF=function(e){xF(r,e);var t=jF(r);function r(n){AF(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:su.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:su.controlIcon,o}return r}(We);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LF(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 MF(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&w_(e,t)}function zF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:TO(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(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=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zF(this,o)}}var su=function(e){VF(r,e);var t=qF(r);function r(n){LF(this,r);var o,i;return o=t.call(this,n),O_(TO(o),"props",void 0),o.props=new FF((i=n)===null||i===void 0?void 0:i.props),o}return MF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Le);O_(su,"controlEventKeys",["on_click"]),O_(su,"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 xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function AO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:xe(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xO(e){var t=KF();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 UF(this,o)}}var GF=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o;return o=t.call(this,n),ke(xe(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(ie),_u=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),ke(xe(o),"content",void 0),ke(xe(o),"code",void 0),ke(xe(o),"command",void 0),ke(xe(o),"color",void 0),ke(xe(o),"icon",void 0),ke(xe(o),"formKey",void 0),ke(xe(o),"openType",void 0),ke(xe(o),"needConfirm",void 0),ke(xe(o),"confirmMessage",void 0),ke(xe(o),"options",void 0),ke(xe(o),"defaultState",void 0),ke(xe(o),"priorityProcess",void 0),ke(xe(o),"isLoading",void 0);var g;o.content=(g=(i=n)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=n)===null||u===void 0?void 0:u.code;var O;o.command=(O=(c=n)===null||c===void 0?void 0:c.command)!==null&&O!==void 0?O:"custom";var w;o.color=(w=(l=n)===null||l===void 0?void 0:l.color)!==null&&w!==void 0?w:"primary",o.icon=(a=n)===null||a===void 0?void 0:a.icon,o.formKey=(f=n)===null||f===void 0?void 0:f.formKey,o.openType=(s=n)===null||s===void 0?void 0:s.openType,o.needConfirm=(p=n)===null||p===void 0?void 0:p.needConfirm,o.confirmMessage=(_=n)===null||_===void 0?void 0:_.confirmMessage,o.options=(h=n)===null||h===void 0?void 0:h.options;var R;o.defaultState=(R=(d=n)===null||d===void 0?void 0:d.defaultState)!==null&&R!==void 0?R:"default",o.priorityProcess=(b=n)===null||b===void 0?void 0:b.priorityProcess;var I;return o.isLoading=(I=(y=n)===null||y===void 0?void 0:y.isLoading)!==null&&I!==void 0?I:!1,o}return r}(fe);ke(_u,"Rules",GF);function kO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QF(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function P_(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 JF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function ZF(e,t){return t&&(YF(t)==="object"||typeof t=="function")?t:kO(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}function YF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tL(e){var t=eL();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 ZF(this,o)}}var du=function(e){JF(r,e);var t=tL(r);function r(n){XF(this,r);var o,i;return o=t.call(this,n),P_(kO(o),"props",void 0),o.props=new _u((i=n)===null||i===void 0?void 0:i.props),o}return QF(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(K);P_(du,"controlEventKeys",["on_click"]),P_(du,"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:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nL(e,t,r){return t&&jO(e.prototype,t),r&&jO(e,r),e}function oL(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 iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:NO(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function cL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aL(e){var t=lL();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 uL(this,o)}}var fL=function(e){iL(r,e);var t=aL(r);function r(n){rL(this,r);var o,i;return o=t.call(this,n),oL(NO(o),"props",void 0),o.props=new _u((i=n)===null||i===void 0?void 0:i.props),o}return nL(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Zt),E_={Designer:du,Runtime:fL,Property:_u};function kt(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 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 hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function _L(e,t){return t&&(yL(t)==="object"||typeof t=="function")?t:kt(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function yL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vL(e){var t=dL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _L(this,o)}}var hL=function(e){pL(r,e);var t=vL(r);function r(n){sL(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),ar(kt(o),"content",void 0),ar(kt(o),"buttonType",void 0),ar(kt(o),"showType",void 0),ar(kt(o),"color",void 0),ar(kt(o),"icon",void 0),ar(kt(o),"defaultState",void 0),ar(kt(o),"command",void 0),ar(kt(o),"isLoading",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:gu.controlName;var d;o.icon=(d=(u=n)===null||u===void 0?void 0:u.icon)!==null&&d!==void 0?d:gu.controlIcon;var b;o.buttonType=(b=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&b!==void 0?b:"primary";var y;o.showType=(y=(l=n)===null||l===void 0?void 0:l.showType)!==null&&y!==void 0?y:"iconText";var g;o.color=(g=(a=n)===null||a===void 0?void 0:a.color)!==null&&g!==void 0?g:"danger";var O;o.isHide=(O=(f=n)===null||f===void 0?void 0:f.isHide)!==null&&O!==void 0?O:!1;var w;o.defaultState=(w=(s=n)===null||s===void 0?void 0:s.defaultState)!==null&&w!==void 0?w:"default";var R;o.command=(R=(p=n)===null||p===void 0?void 0:p.command)!==null&&R!==void 0?R:"custom";var I;return o.isLoading=(I=(_=n)===null||_===void 0?void 0:_.isLoading)!==null&&I!==void 0?I:!1,o}return r}(fe);function FO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gL(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:FO(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function wL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PL(e){var t=$L();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 OL(this,o)}}var gu=function(e){mL(r,e);var t=PL(r);function r(n){bL(this,r);var o,i;return o=t.call(this,n),I_(FO(o),"props",void 0),o.props=new hL((i=n)===null||i===void 0?void 0:i.props),o}return gL(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}(K);I_(gu,"controlEventKeys",["on_click"]),I_(gu,"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:[v.IS_HIDE]},{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 A_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function x_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function RL(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:mt(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function SL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D_(e){var t=EL();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 RL(this,o)}}var TL=function(e){x_(r,e);var t=D_(r);function r(n){A_(this,r);var o;return o=t.call(this,n),lt(mt(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),lt(mt(o),"minLength",{type:"number",max:200,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),lt(mt(o),"defaultValue",[{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=di(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(me),IL=function(e){x_(r,e);var t=D_(r);function r(n){A_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:$.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:di(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(Q),vo=function(e){x_(r,e);var t=D_(r);function r(n){A_(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),lt(mt(o),"maxLength",void 0),lt(mt(o),"minLength",void 0),lt(mt(o),"regularRules",void 0),lt(mt(o),"defaultValue",void 0),lt(mt(o),"encrypted",void 0),lt(mt(o),"encryptedMode",void 0);var _;o.maxLength=(_=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&_!==void 0?_:200;var h;o.minLength=(h=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&h!==void 0?h:0,o.regularRules=new rm((c=n)===null||c===void 0?void 0:c.regularRules);var d;o.defaultValue=(d=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&d!==void 0?d:"";var b;o.caption=(b=(a=n)===null||a===void 0?void 0:a.caption)!==null&&b!==void 0?b:ho.controlName;var y;o.placeholder=(y=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(s=n)===null||s===void 0?void 0:s.encrypted)!==null&&g!==void 0?g:!1;var O;return o.encryptedMode=(O=(p=n)===null||p===void 0?void 0:p.encryptedMode)!==null&&O!==void 0?O:"",o}return r}(z);lt(vo,"Rules",TL),lt(vo,"RuntimeRules",IL);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AL(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function Ou(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function kL(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:MO(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function DL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jL(e){var t=NL();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 kL(this,o)}}var ho=function(e){xL(r,e);var t=jL(r);function r(n){BL(this,r);var o,i;return o=t.call(this,n),Ou(MO(o),"props",void 0),o.props=new vo((i=n)===null||i===void 0?void 0:i.props),o}return AL(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}(H);Ou(ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ou(ho,"controlFieldType",P.VARCHAR),Ou(ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP,v.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 zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LL(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function HO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function ML(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:zO(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function zL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CL();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VL(this,o)}}var qL=function(e){ML(r,e);var t=HL(r);function r(n){FL(this,r);var o,i;return o=t.call(this,n),HO(zO(o),"props",void 0),o.props=new vo((i=n)===null||i===void 0?void 0:i.props),o}return LL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(q);HO(qL,"controlFieldType",P.VARCHAR);function Pe(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 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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&M_(e,t)}function UL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:Pe(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V_(e){var t=KL();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 UL(this,o)}}var GL=function(e){L_(r,e);var t=V_(r);function r(n){F_(this,r);var o;o=t.call(this,n),ye(Pe(o),"limitMax",{type:"number",min:void 0,message:$.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Gr),XL=function(e){L_(r,e);var t=V_(r);function r(n){F_(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}(Q),Ru=function(e){L_(r,e);var t=V_(r);function r(n){F_(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),ye(Pe(o),"checkboxMode",void 0),ye(Pe(o),"options",void 0),ye(Pe(o),"optionsOrder",void 0),ye(Pe(o),"limitMax",void 0),ye(Pe(o),"limitMin",void 0),ye(Pe(o),"otherOption",void 0),ye(Pe(o),"optionConfig",void 0),ye(Pe(o),"optionsFormat",void 0),ye(Pe(o),"defaultShowOptions",void 0),ye(Pe(o),"datasourceBind",void 0),ye(Pe(o),"multistageFilling",void 0),ye(Pe(o),"interreaction",void 0),ye(Pe(o),"defaultValue",void 0),ye(Pe(o),"openMultistageFilling",void 0);var w;o.options=Et((w=(i=n)===null||i===void 0?void 0:i.options)!==null&&w!==void 0?w:[{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 R;o.checkboxMode=(R=(u=n)===null||u===void 0?void 0:u.checkboxMode)!==null&&R!==void 0?R:"horizontal";var I;o.optionConfig=(I=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&I!==void 0?I:"custom";var E;o.optionsOrder=(E=(l=n)===null||l===void 0?void 0:l.optionsOrder)!==null&&E!==void 0?E:!1;var B;o.otherOption=(B=(a=n)===null||a===void 0?void 0:a.otherOption)!==null&&B!==void 0?B:!1;var T;o.limitMin=(T=(f=n)===null||f===void 0?void 0:f.limitMin)!==null&&T!==void 0?T:"unlimited";var A;o.limitMax=(A=(s=n)===null||s===void 0?void 0:s.limitMax)!==null&&A!==void 0?A:"unlimited",o.datasourceBind=new ae((p=n)===null||p===void 0?void 0:p.datasourceBind);var x;o.interreaction=(x=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&x!==void 0?x:[];var k;o.caption=(k=(h=n)===null||h===void 0?void 0:h.caption)!==null&&k!==void 0?k:Tu.controlName;var D;o.defaultValue=(D=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&D!==void 0?D:[];var j;o.optionsFormat=(j=(b=n)===null||b===void 0?void 0:b.optionsFormat)!==null&&j!==void 0?j:"horizontal";var C;o.defaultShowOptions=(C=(y=n)===null||y===void 0?void 0:y.defaultShowOptions)!==null&&C!==void 0?C:!0;var Y;if(o.openMultistageFilling=(Y=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ee;(ee=n)===null||ee===void 0||ee.multistageFilling.map(function(ne){var oe;(oe=o.multistageFilling)===null||oe===void 0||oe.push(new Fe(ne))})}return o}return r}(z);ye(Ru,"Rules",GL),ye(Ru,"RuntimeRules",XL);function qO(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 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 JL(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function Su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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&&z_(e,t)}function YL(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:qO(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(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 rM(e){var t=tM();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 YL(this,o)}}var Tu=function(e){ZL(r,e);var t=rM(r);function r(n){QL(this,r);var o,i;return o=t.call(this,n),Su(qO(o),"props",void 0),o.props=new Ru((i=n)===null||i===void 0?void 0:i.props),o}return JL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(H);Su(Tu,"controlEventKeys",["on_change","on_click"]),Su(Tu,"controlFieldType",P.ARRAY),Su(Tu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 WO(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 KO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oM(e,t,r){return t&&KO(e.prototype,t),r&&KO(e,r),e}function GO(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){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function iM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function uM(e,t){return t&&(cM(t)==="object"||typeof t=="function")?t:WO(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function cM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aM(e){var t=lM();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uM(this,o)}}var fM=function(e){iM(r,e);var t=aM(r);function r(n){nM(this,r);var o,i;return o=t.call(this,n),GO(WO(o),"props",void 0),o.props=new Ru((i=n)===null||i===void 0?void 0:i.props),o}return oM(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(q);GO(fM,"controlFieldType",P.ARRAY);function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function QO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sM(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:Ke(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function pM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JO(e){var t=_M();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 sM(this,o)}}var yM=function(e){QO(r,e);var t=JO(r);function r(n){return XO(this,r),t.call(this,n)}return r}(Gr),q_=function(e){QO(r,e);var t=JO(r);function r(n){XO(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Ge(Ke(o),"radioMode",void 0),Ge(Ke(o),"options",void 0),Ge(Ke(o),"optionConfig",void 0),Ge(Ke(o),"optionsFormat",void 0),Ge(Ke(o),"defaultShowOptions",void 0),Ge(Ke(o),"otherOption",void 0),Ge(Ke(o),"optionsOrder",void 0),Ge(Ke(o),"datasourceBind",void 0),Ge(Ke(o),"multistageFilling",void 0),Ge(Ke(o),"interreaction",void 0),Ge(Ke(o),"defaultValue",void 0),Ge(Ke(o),"openMultistageFilling",void 0);var g;o.options=Et((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 O;o.radioMode=(O=(u=n)===null||u===void 0?void 0:u.radioMode)!==null&&O!==void 0?O:"horizontal";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom";var R;o.otherOption=(R=(l=n)===null||l===void 0?void 0:l.otherOption)!==null&&R!==void 0?R:!1;var I;o.optionsOrder=(I=(a=n)===null||a===void 0?void 0:a.optionsOrder)!==null&&I!==void 0?I:!1;var E;o.defaultShowOptions=(E=(f=n)===null||f===void 0?void 0:f.defaultShowOptions)!==null&&E!==void 0?E:!0;var B;o.optionsFormat=(B=(s=n)===null||s===void 0?void 0:s.optionsFormat)!==null&&B!==void 0?B:"horizontal",o.datasourceBind=new ae((p=n)===null||p===void 0?void 0:p.datasourceBind);var T;o.interreaction=(T=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&T!==void 0?T:[];var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:ku.controlName;var x;o.defaultValue=(x=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&x!==void 0?x:"";var k;if(o.openMultistageFilling=(k=(b=n)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&k!==void 0?k:!1,o.multistageFilling=[],Array.isArray((y=n)===null||y===void 0?void 0:y.multistageFilling)){var D;(D=n)===null||D===void 0||D.multistageFilling.map(function(j){var C;(C=o.multistageFilling)===null||C===void 0||C.push(new Fe(j))})}return o}return r}(z);Ge(q_,"Rules",yM);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dM(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 vM(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Au(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 hM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bM(e,t){return t&&(gM(t)==="object"||typeof t=="function")?t:ZO(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function gM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OM(e){var t=mM();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 bM(this,o)}}var ku=function(e){hM(r,e);var t=OM(r);function r(n){dM(this,r);var o,i;return o=t.call(this,n),Au(ZO(o),"props",void 0),o.props=new q_((i=n)===null||i===void 0?void 0:i.props),o}return vM(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(H);Au(ku,"controlEventKeys",["on_change","on_click"]),Au(ku,"controlFieldType",P.VARCHAR),Au(ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",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 wM(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 $M(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function rw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function 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&&W_(e,t)}function RM(e,t){return t&&(SM(t)==="object"||typeof t=="function")?t:ew(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function SM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TM(e){var t=EM();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 RM(this,o)}}var IM=function(e){PM(r,e);var t=TM(r);function r(n){wM(this,r);var o,i;return o=t.call(this,n),rw(ew(o),"props",void 0),o.props=new q_((i=n)===null||i===void 0?void 0:i.props),o}return $M(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(q);rw(IM,"controlFieldType",P.VARCHAR);function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function G_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function BM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:De(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function AM(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 Q_(e){var t=xM();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 BM(this,o)}}var kM=function(e){G_(r,e);var t=Q_(r);function r(n){K_(this,r);var o;o=t.call(this,n),Re(De(o),"defaultValue",[{type:"number",min:0,max:200,message:$.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Re(De(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=di(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(me),DM=function(e){G_(r,e);var t=Q_(r);function r(n){K_(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:di(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(Q),ju=function(e){G_(r,e);var t=Q_(r);function r(n){K_(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Re(De(o),"rangeMin",void 0),Re(De(o),"rangeMax",void 0),Re(De(o),"numberType",void 0),Re(De(o),"percentageFormat",void 0),Re(De(o),"micrometer",void 0),Re(De(o),"precision",void 0),Re(De(o),"showUpperCase",void 0),Re(De(o),"isShowUnit",void 0),Re(De(o),"unitPosition",void 0),Re(De(o),"unit",void 0),Re(De(o),"defaultValue",void 0),Re(De(o),"regularRules",void 0);var O;o.rangeMin=(O=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&O!==void 0?O:"";var w;o.rangeMax=(w=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&w!==void 0?w:"";var R;o.numberType=(R=(c=n)===null||c===void 0?void 0:c.numberType)!==null&&R!==void 0?R:"number";var I;o.percentageFormat=(I=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&I!==void 0?I:!1;var E;o.micrometer=(E=(a=n)===null||a===void 0?void 0:a.micrometer)!==null&&E!==void 0?E:!1;var B;o.precision=(B=(f=n)===null||f===void 0?void 0:f.precision)!==null&&B!==void 0?B:0;var T;o.showUpperCase=(T=(s=n)===null||s===void 0?void 0:s.showUpperCase)!==null&&T!==void 0?T:!1;var A;o.isShowUnit=(A=(p=n)===null||p===void 0?void 0:p.isShowUnit)!==null&&A!==void 0?A:!1;var x;o.unitPosition=(x=(_=n)===null||_===void 0?void 0:_.unitPosition)!==null&&x!==void 0?x:"right";var k;o.unit=(k=(h=n)===null||h===void 0?void 0:h.unit)!==null&&k!==void 0?k:"";var D;o.caption=(D=(d=n)===null||d===void 0?void 0:d.caption)!==null&&D!==void 0?D:Mu.controlName;var j;o.placeholder=(j=(b=n)===null||b===void 0?void 0:b.placeholder)!==null&&j!==void 0?j:"\u8BF7\u8F93\u5165";var C;return o.defaultValue=(C=(y=n)===null||y===void 0?void 0:y.defaultValue)!==null&&C!==void 0?C:"",o.regularRules=new rm((g=n)===null||g===void 0?void 0:g.regularRules),o}return r}(z);Re(ju,"Rules",kM),Re(ju,"RuntimeRules",DM);function nw(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 ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jM(e,t,r){return t&&ow(e.prototype,t),r&&ow(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 Lu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(o,i,u){var c=MM(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lu(e,t,r||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},en(e)}function FM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:nw(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function MM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function VM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=zM();return function(){var n=en(e),o;if(t){var i=en(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LM(this,o)}}var Mu=function(e){FM(r,e);var t=CM(r);function r(n){NM(this,r);var o,i;return o=t.call(this,n),Fu(nw(o),"props",void 0),o.props=new ju((i=n)===null||i===void 0?void 0:i.props),o}return jM(r,[{key:"toDataBindModel",value:function(o){var i=Lu(en(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(H);Fu(Mu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fu(Mu,"controlFieldType",P.DECIMAL),Fu(Mu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_UNIT,v.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:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function iw(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 uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qM(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function cw(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 UM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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:iw(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function KM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XM(e){var t=GM();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 WM(this,o)}}var QM=function(e){UM(r,e);var t=XM(r);function r(n){HM(this,r);var o,i;return o=t.call(this,n),cw(iw(o),"props",void 0),o.props=new ju((i=n)===null||i===void 0?void 0:i.props),o}return qM(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(q);cw(QM,"controlFieldType",P.DECIMAL);function Dt(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 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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&Y_(e,t)}function YM(e,t){return t&&(e5(t)==="object"||typeof t=="function")?t:Dt(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function e5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r5(e){var t=t5();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 YM(this,o)}}var lw=function(e){ZM(r,e);var t=r5(r);function r(n){JM(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),fr(Dt(o),"dateType",void 0),fr(Dt(o),"dateFormat",void 0),fr(Dt(o),"commonTimeSetting",void 0),fr(Dt(o),"setValueType",void 0),fr(Dt(o),"defaultValue",void 0),fr(Dt(o),"limitDateList",void 0),fr(Dt(o),"allowDateRange",void 0),fr(Dt(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:Gt.DATE;var y;o.dateFormat=(y=(u=n)===null||u===void 0?void 0:u.dateFormat)!==null&&y!==void 0?y:"";var g;o.commonTimeSetting=(g=(c=n)===null||c===void 0?void 0:c.commonTimeSetting)!==null&&g!==void 0?g:[];var O;o.setValueType=(O=(l=n)===null||l===void 0?void 0:l.setValueType)!==null&&O!==void 0?O:"custom";var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:ry.controlName;var R;o.placeholder=(R=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&R!==void 0?R:"\u8BF7\u8F93\u5165\u65E5\u671F";var I;o.defaultValue=(I=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&I!==void 0?I:"";var E;o.limitDateList=(E=(_=n)===null||_===void 0||(p=_.limitDateList)===null||p===void 0?void 0:p.map(function(A){return new bp(A)}))!==null&&E!==void 0?E:[];var B;o.allowDateRange=(B=(h=n)===null||h===void 0?void 0:h.allowDateRange)!==null&&B!==void 0?B:["",""];var T;return o.filterWeekend=(T=(d=n)===null||d===void 0?void 0:d.filterWeekend)!==null&&T!==void 0?T:!1,o}return r}(z);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o5(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function ey(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=function(o,i,u){var c=c5(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Cu(e,t,r||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tn(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&&ty(e,t)}function u5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:aw(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function c5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f5(e){var t=a5();return function(){var n=tn(e),o;if(t){var i=tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u5(this,o)}}var ry=function(e){i5(r,e);var t=f5(r);function r(n){n5(this,r);var o,i;return o=t.call(this,n),ey(aw(o),"props",void 0),o.props=new lw((i=n)===null||i===void 0?void 0:i.props),o}return o5(r,[{key:"toDataBindModel",value:function(o){var i=Cu(tn(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}(H);ey(ry,"controlFieldType",P.TIMESTAMP),ey(ry,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",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 s5(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 p5(e,t,r){return t&&pw(e.prototype,t),r&&pw(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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function _5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:sw(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function d5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h5(e){var t=v5();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 b5=function(e){_5(r,e);var t=h5(r);function r(n){s5(this,r);var o,i;return o=t.call(this,n),_w(sw(o),"props",void 0),o.props=new lw((i=n)===null||i===void 0?void 0:i.props),o}return p5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(q);_w(b5,"controlFieldType",P.TIMESTAMP);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yw(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function dw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:nt(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vw(e){var t=O5();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 g5(this,o)}}var w5=function(e){dw(r,e);var t=vw(r);function r(n){yw(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}(Q),iy=function(e){dw(r,e);var t=vw(r);function r(n){yw(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),ot(nt(o),"dataBind",void 0),ot(nt(o),"rangeMin",void 0),ot(nt(o),"rangeMax",void 0),ot(nt(o),"placeholderStart",void 0),ot(nt(o),"placeholderEnd",void 0),ot(nt(o),"dateFormat",void 0),ot(nt(o),"commonTimeSetting",void 0),ot(nt(o),"dateType",void 0),ot(nt(o),"setValueType",void 0),ot(nt(o),"defaultValue",void 0),ot(nt(o),"limitDateList",void 0),o.dataBind=new Q2((i=n)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new J2((u=n)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(c=n)===null||c===void 0?void 0:c.dateType)!==null&&g!==void 0?g:Gt.DATE;var O;o.dateFormat=(O=(l=n)===null||l===void 0?void 0:l.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(a=n)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&w!==void 0?w:[];var R;o.setValueType=(R=(f=n)===null||f===void 0?void 0:f.setValueType)!==null&&R!==void 0?R:"custom";var I;o.rangeMin=(I=(s=n)===null||s===void 0?void 0:s.rangeMin)!==null&&I!==void 0?I:"";var E;o.rangeMax=(E=(p=n)===null||p===void 0?void 0:p.rangeMax)!==null&&E!==void 0?E:"";var B;o.placeholderStart=(B=(_=n)===null||_===void 0?void 0:_.placeholderStart)!==null&&B!==void 0?B:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var T;o.placeholderEnd=(T=(h=n)===null||h===void 0?void 0:h.placeholderEnd)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(d=n)===null||d===void 0?void 0:d.caption)!==null&&A!==void 0?A:ly.controlName;var x;return o.limitDateList=(x=(y=n)===null||y===void 0||(b=y.limitDateList)===null||b===void 0?void 0:b.map(function(k){return new bp(k)}))!==null&&x!==void 0?x:[],o}return r}(z);ot(iy,"RuntimeRules",w5);function hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P5(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function uy(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Uu=Reflect.get:Uu=function(o,i,u){var c=E5(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Uu(e,t,r||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:hw(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function E5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B5(e){var t=I5();return function(){var n=rn(e),o;if(t){var i=rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S5(this,o)}}var ly=function(e){R5(r,e);var t=B5(r);function r(n){$5(this,r);var o,i;return o=t.call(this,n),uy(hw(o),"props",void 0),o.props=new iy((i=n)===null||i===void 0?void 0:i.props),o}return P5(r,[{key:"toDataBindModel",value:function(o){var i=Uu(rn(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}(H);uy(ly,"controlFieldType",P.TIMESCOPE),uy(ly,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}function Ow(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function D5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:gw(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function N5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F5(e){var t=j5();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var L5=function(e){k5(r,e);var t=F5(r);function r(n){A5(this,r);var o,i;return o=t.call(this,n),Ow(gw(o),"props",void 0),o.props=new iy((i=n)===null||i===void 0?void 0:i.props),o}return x5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(q);Ow(L5,"controlFieldType",P.TIMESCOPE);function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function sy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:sr(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function V5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _y(e){var t=z5();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var C5=function(e){sy(r,e);var t=_y(r);function r(n){fy(this,r);var o;return o=t.call(this,n),Nt(sr(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Nt(sr(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Nt(sr(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(me),H5=function(e){sy(r,e);var t=_y(r);function r(n){fy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(Q),Gu=function(e){sy(r,e);var t=_y(r);function r(n){fy(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Nt(sr(o),"maxLength",void 0),Nt(sr(o),"minLength",void 0),Nt(sr(o),"defaultValue",void 0),Nt(sr(o),"lineEllipsis",void 0);var s;o.maxLength=(s=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&_!==void 0?_:"";var h;o.caption=(h=(l=n)===null||l===void 0?void 0:l.caption)!==null&&h!==void 0?h:Ju.controlName;var d;o.placeholder=(d=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(f=n)===null||f===void 0?void 0:f.lineEllipsis)!==null&&b!==void 0?b:4,o}return r}(z);Nt(Gu,"Rules",C5),Nt(Gu,"RuntimeRules",H5);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(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 U5(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function Xu(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 W5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:ww(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function G5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=X5();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 K5(this,o)}}var Ju=function(e){W5(r,e);var t=Q5(r);function r(n){q5(this,r);var o,i;return o=t.call(this,n),Xu(ww(o),"props",void 0),o.props=new Gu((i=n)===null||i===void 0?void 0:i.props),o}return U5(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}(H);Xu(Ju,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Xu(Ju,"controlFieldType",P.TEXT),Xu(Ju,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(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 Z5(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function Sw(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 Y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:Pw(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n6(e){var t=r6();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 e6(this,o)}}var o6=function(e){Y5(r,e);var t=n6(r);function r(n){J5(this,r);var o,i;return o=t.call(this,n),Sw(Pw(o),"props",void 0),o.props=new Gu((i=n)===null||i===void 0?void 0:i.props),o}return Z5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(q);Sw(o6,"controlFieldType",P.TEXT);function Ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vy(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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:Ir(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}function u6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=c6();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 i6(this,o)}}var l6=function(e){hy(r,e);var t=gy(r);function r(n){vy(this,r);var o;return o=t.call(this,n),pr(Ir(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),pr(Ir(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),pr(Ir(o),"defaultValue",{type:"string",max:200,min:0,message:$.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(me),a6=function(e){hy(r,e);var t=gy(r);function r(n){vy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(Q),ec=function(e){hy(r,e);var t=gy(r);function r(n){vy(this,r);var o,i,u,c,l,a;o=t.call(this,n),pr(Ir(o),"maxLength",void 0),pr(Ir(o),"minLength",void 0),pr(Ir(o),"defaultValue",void 0);var f;o.maxLength=(f=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&f!==void 0?f:5e4;var s;o.minLength=(s=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&s!==void 0?s:0;var p;o.defaultValue=(p=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&p!==void 0?p:"";var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:nc.controlName;var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165",o}return r}(z);pr(ec,"Rules",l6),pr(ec,"RuntimeRules",a6);function Ew(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 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 s6(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:Ew(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function y6(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=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _6(this,o)}}var nc=function(e){p6(r,e);var t=v6(r);function r(n){f6(this,r);var o,i;return o=t.call(this,n),tc(Ew(o),"props",void 0),o.props=new ec((i=n)===null||i===void 0?void 0:i.props),o}return s6(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}(H);tc(nc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),tc(nc,"controlFieldType",P.TEXT),tc(nc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b6(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Aw(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 g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function m6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:Iw(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}function O6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $6(e){var t=w6();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 m6(this,o)}}var P6=function(e){g6(r,e);var t=$6(r);function r(n){h6(this,r);var o,i;return o=t.call(this,n),Aw(Iw(o),"props",void 0),o.props=new ec((i=n)===null||i===void 0?void 0:i.props),o}return b6(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(q);Aw(P6,"controlFieldType",P.TEXT);function jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(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 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&&wy(e,t)}function R6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:jt(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function S6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dw(e){var t=E6();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 R6(this,o)}}var T6=function(e){kw(r,e);var t=Dw(r);function r(n){return xw(this,r),t.call(this,n)}return r}(Gr),$y=function(e){kw(r,e);var t=Dw(r);function r(n){xw(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ft(jt(o),"options",void 0),Ft(jt(o),"defaultShowOptions",void 0),Ft(jt(o),"optionConfig",void 0),Ft(jt(o),"defaultValue",void 0),Ft(jt(o),"datasourceBind",void 0),Ft(jt(o),"multistageFilling",void 0),Ft(jt(o),"allowCopyOptions",void 0),Ft(jt(o),"openMultistageFilling",void 0);var d;o.options=Et((d=(i=n)===null||i===void 0?void 0:i.options)!==null&&d!==void 0?d:[{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 b;o.defaultShowOptions=(b=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&b!==void 0?b:!0;var y;o.optionConfig=(y=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&y!==void 0?y:"custom",o.datasourceBind=new ae((l=n)===null||l===void 0?void 0:l.datasourceBind);var g;o.caption=(g=(a=n)===null||a===void 0?void 0:a.caption)!==null&&g!==void 0?g:Sy.controlName;var O;o.placeholder=(O=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9";var w;o.defaultValue=(w=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&w!==void 0?w:"";var R;o.allowCopyOptions=(R=(p=n)===null||p===void 0?void 0:p.allowCopyOptions)!==null&&R!==void 0?R:!1;var I;if(o.openMultistageFilling=(I=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var E;(E=n)===null||E===void 0||E.multistageFilling.map(function(B){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Fe(B))})}return o}return r}(z);Ft($y,"Rules",T6);function Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B6(e,t,r){return t&&jw(e.prototype,t),r&&jw(e,r),e}function Py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function A6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function x6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:Nw(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function k6(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 N6(e){var t=D6();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x6(this,o)}}var Sy=function(e){A6(r,e);var t=N6(r);function r(n){I6(this,r);var o,i;return o=t.call(this,n),Py(Nw(o),"props",void 0),o.props=new $y((i=n)===null||i===void 0?void 0:i.props),o}return B6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(H);Py(Sy,"controlFieldType",P.VARCHAR),Py(Sy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP,v.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Mw(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 L6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function M6(e,t){return t&&(V6(t)==="object"||typeof t=="function")?t:Fw(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function V6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=z6();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 M6(this,o)}}var H6=function(e){L6(r,e);var t=C6(r);function r(n){j6(this,r);var o,i;return o=t.call(this,n),Mw(Fw(o),"props",void 0),o.props=new $y((i=n)===null||i===void 0?void 0:i.props),o}return F6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(q);Mw(H6,"controlFieldType",P.VARCHAR);function _r(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 Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&By(e,t)}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:_r(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function U6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ay(e){var t=W6();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 q6(this,o)}}var K6=function(e){Iy(r,e);var t=Ay(r);function r(n){return Ty(this,r),t.call(this,n)}return r}(Gr),G6=function(e){Iy(r,e);var t=Ay(r);function r(n){Ty(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),ac=function(e){Iy(r,e);var t=Ay(r);function r(n){Ty(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Lt(_r(o),"options",void 0),Lt(_r(o),"defaultShowOptions",void 0),Lt(_r(o),"optionConfig",void 0),Lt(_r(o),"defaultValue",void 0),Lt(_r(o),"datasourceBind",void 0),Lt(_r(o),"multistageFilling",void 0),Lt(_r(o),"openMultistageFilling",void 0);var h;o.options=Et((h=(i=n)===null||i===void 0?void 0:i.options)!==null&&h!==void 0?h:[{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 d;o.defaultShowOptions=(d=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&d!==void 0?d:!0;var b;o.optionConfig=(b=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&b!==void 0?b:"custom",o.datasourceBind=new ae((l=n)===null||l===void 0?void 0:l.datasourceBind);var y;o.caption=(y=(a=n)===null||a===void 0?void 0:a.caption)!==null&&y!==void 0?y:Dy.controlName;var g;o.placeholder=(g=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9";var O;o.defaultValue=(O=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&O!==void 0?O:[];var w;if(o.openMultistageFilling=(w=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray((_=n)===null||_===void 0?void 0:_.multistageFilling)){var R;(R=n)===null||R===void 0||R.multistageFilling.map(function(I){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new Fe(I))})}return o}return r}(z);Lt(ac,"Rules",K6),Lt(ac,"RuntimeRules",G6);function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q6(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function xy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(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&&ky(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Vw(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function Y6(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=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var Dy=function(e){J6(r,e);var t=t4(r);function r(n){X6(this,r);var o,i;return o=t.call(this,n),xy(Vw(o),"props",void 0),o.props=new ac((i=n)===null||i===void 0?void 0:i.props),o}return Q6(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}(H);xy(Dy,"controlFieldType",P.ARRAY),xy(Dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function Cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n4(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function qw(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 o4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:Cw(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function u4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l4(e){var t=c4();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 i4(this,o)}}var a4=function(e){o4(r,e);var t=l4(r);function r(n){r4(this,r);var o,i;return o=t.call(this,n),qw(Cw(o),"props",void 0),o.props=new ac((i=n)===null||i===void 0?void 0:i.props),o}return n4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(q);qw(a4,"controlFieldType",P.ARRAY);function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function Ww(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:Mt(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kw(e){var t=p4();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var _4=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),Fy=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Vt(Mt(o),"showType",void 0),Vt(Mt(o),"range",void 0),Vt(Mt(o),"rangeOptions",void 0),Vt(Mt(o),"multiple",void 0),Vt(Mt(o),"defaultValueType",void 0),Vt(Mt(o),"defaultValue",void 0),Vt(Mt(o),"multistageFilling",void 0),Vt(Mt(o),"openMultistageFilling",void 0);var d;o.showType=(d=(i=n)===null||i===void 0?void 0:i.showType)!==null&&d!==void 0?d:"default";var b;o.range=(b=(u=n)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var y;o.rangeOptions=(y=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&y!==void 0?y:[];var g;o.multiple=(g=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&g!==void 0?g:!1;var O;o.defaultValueType=(O=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var w;o.defaultValue=(w=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&w!==void 0?w:[];var R;o.caption=(R=(s=n)===null||s===void 0?void 0:s.caption)!==null&&R!==void 0?R:Vy.controlName;var I;o.placeholder=(I=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&I!==void 0?I:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var E;if(o.openMultistageFilling=(E=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&E!==void 0?E:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(T){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new Fe(T))})}return o}return r}(z);Vt(Fy,"RuntimeRules",_4);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:Gw(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var Vy=function(e){v4(r,e);var t=m4(r);function r(n){y4(this,r);var o,i;return o=t.call(this,n),Ly(Gw(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return d4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(H);Ly(Vy,"controlFieldType",P.EMPLOYEES),Ly(Vy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.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 Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w4(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(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 yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&zy(e,t)}function P4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:Qw(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function R4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P4(this,o)}}var T4=function(e){$4(r,e);var t=E4(r);function r(n){O4(this,r);var o,i;return o=t.call(this,n),Zw(Qw(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return w4(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(q);Zw(T4,"controlFieldType",P.EMPLOYEES);function yr(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 zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:yr(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function B4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uy(e){var t=A4();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I4(this,o)}}var x4=10485760,k4=104857600,D4=1048576e3,N4=function(e){Hy(r,e);var t=Uy(r);function r(n){Cy(this,r);var o;return o=t.call(this,n),zt(yr(o),"maxSize",{type:"number",min:0,max:D4,message:$.getMessage("attachmentMaxSize")}),o}return r}(me),j4=function(e){Hy(r,e);var t=Uy(r);function r(n){Cy(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:$.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(Q),vc=function(e){Hy(r,e);var t=Uy(r);function r(n){Cy(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),zt(yr(o),"defaultValue",void 0),zt(yr(o),"showType",void 0),zt(yr(o),"attachmentAccept",void 0),zt(yr(o),"maxLimit",void 0),zt(yr(o),"minLimit",void 0),zt(yr(o),"maxSize",void 0);var _;o.defaultValue=(_=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&_!==void 0?_:[];var h;o.showType=(h=(u=n)===null||u===void 0?void 0:u.showType)!==null&&h!==void 0?h:"default";var d;o.attachmentAccept=(d=(c=n)===null||c===void 0?void 0:c.attachmentAccept)!==null&&d!==void 0?d:[];var b;o.maxLimit=(b=(l=n)===null||l===void 0?void 0:l.maxLimit)!==null&&b!==void 0?b:10;var y;o.minLimit=(y=(a=n)===null||a===void 0?void 0:a.minLimit)!==null&&y!==void 0?y:0;var g;o.maxSize=(g=(f=n)===null||f===void 0?void 0:f.maxSize)!==null&&g!==void 0?g:k4;var O;o.caption=(O=(s=n)===null||s===void 0?void 0:s.caption)!==null&&O!==void 0?O:bo.controlName;var w;return o.placeholder=(w=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&w!==void 0?w:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(z);zt(vc,"Rules",N4),zt(vc,"RuntimeRules",j4);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(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 L4(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function M4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:Yw(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=C4();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V4(this,o)}}var bo=function(e){M4(r,e);var t=H4(r);function r(n){F4(this,r);var o,i;return o=t.call(this,n),hc(Yw(o),"props",void 0),o.props=new vc((i=n)===null||i===void 0?void 0:i.props),o}return L4(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(H);hc(bo,"controlEventKeys",["on_change"]),hc(bo,"controlFieldType",P.FILE),hc(bo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 t$(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 r$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U4(e,t,r){return t&&r$(e.prototype,t),r&&r$(e,r),e}function n$(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 W4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:t$(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function G4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q4(e){var t=X4();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 K4(this,o)}}var J4=function(e){W4(r,e);var t=Q4(r);function r(n){q4(this,r);var o,i;return o=t.call(this,n),n$(t$(o),"props",void 0),o.props=new vc((i=n)===null||i===void 0?void 0:i.props),o}return U4(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(q);n$(J4,"controlFieldType",P.FILE);function Z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e7(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(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&&Gy(e,t)}function r7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:Z4(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i7(e){var t=o7();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 r7(this,o)}}var u$=function(e){t7(r,e);var t=i7(r);function r(n){Y4(this,r);var o,i,u,c,l;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=(u=n)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:r.controlName;var f;return o.props.placeholder=(f=(l=n)===null||l===void 0||(c=l.props)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return e7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(bo);i$(u$,"controlFieldType",P.IMAGE),i$(u$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP,v.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function Qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function u7(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){Se(e,o,r[o])})}return e}function c7(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 l7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function a7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:He(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function f7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zy(e){var t=s7();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 a7(this,o)}}var p7=function(e){Qy(r,e);var t=Zy(r);function r(n){Xy(this,r);var o;o=t.call(this,n),Se(He(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:$.getMessage("pleaseEnterNumberRange")}]}}),Se(He(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=$.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:$.getMessage("numberRangeSetError")}),o}return r}(Gr),_7=function(e){Qy(r,e);var t=Zy(r);function r(n){Xy(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:[l7(u7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(Q),wc=function(e){Qy(r,e);var t=Zy(r);function r(n){Xy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Se(He(o),"rangeMin",void 0),Se(He(o),"rangeMax",void 0),Se(He(o),"showUpperCase",void 0),Se(He(o),"submitSelectCurrency",void 0),Se(He(o),"micrometer",void 0),Se(He(o),"precision",void 0),Se(He(o),"optionConfig",void 0),Se(He(o),"dataBind",void 0),Se(He(o),"datasourceBind",void 0),Se(He(o),"defaultValue",void 0),Se(He(o),"options",void 0);var g;o.rangeMin=(g=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var O;o.rangeMax=(O=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"datasource";var R;o.micrometer=(R=(l=n)===null||l===void 0?void 0:l.micrometer)!==null&&R!==void 0?R:!1;var I;o.precision=(I=(a=n)===null||a===void 0?void 0:a.precision)!==null&&I!==void 0?I:2,o.dataBind=new G2((f=n)===null||f===void 0?void 0:f.dataBind);var E;o.datasourceBind=new ae((E=(s=n)===null||s===void 0?void 0:s.datasourceBind)!==null&&E!==void 0?E:{displayBoList:[new ps({value:"name"})]});var B;o.defaultValue=new X2((B=(p=n)===null||p===void 0?void 0:p.defaultValue)!==null&&B!==void 0?B:{amount:"",currency:Lo.CNY}),o.options=Et((_=n)===null||_===void 0?void 0:_.options);var T;o.caption=(T=(h=n)===null||h===void 0?void 0:h.caption)!==null&&T!==void 0?T:Rc.controlName;var A;o.placeholder=(A=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&A!==void 0?A:"\u8BF7\u8F93\u5165";var x;o.submitSelectCurrency=(x=(b=n)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&x!==void 0?x:!1;var k;return o.showUpperCase=(k=(y=n)===null||y===void 0?void 0:y.showUpperCase)!==null&&k!==void 0?k:!1,o}return r}(z);Se(wc,"Rules",p7),Se(wc,"RuntimeRules",_7);function c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d7(e,t,r){return t&&l$(e.prototype,t),r&&l$(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=b7(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Pc(e,t,r||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nn(e)}function v7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:c$(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function b7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function g7(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 O7(e){var t=m7();return function(){var n=nn(e),o;if(t){var i=nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h7(this,o)}}var Rc=function(e){v7(r,e);var t=O7(r);function r(n){y7(this,r);var o,i;return o=t.call(this,n),$c(c$(o),"props",void 0),o.props=new wc((i=n)===null||i===void 0?void 0:i.props),o}return d7(r,[{key:"toDataBindModel",value:function(o){var i=Pc(nn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(H);$c(Rc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$c(Rc,"controlFieldType",P.MONEY),$c(Rc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.SUBMIT_SELECT_CURRENCY,v.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var 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&&f$(e.prototype,t),r&&f$(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:a$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function S7(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=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R7(this,o)}}var I7=function(e){P7(r,e);var t=T7(r);function r(n){w7(this,r);var o,i;return o=t.call(this,n),s$(a$(o),"props",void 0),o.props=new wc((i=n)===null||i===void 0?void 0:i.props),o}return $7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(q);s$(I7,"controlFieldType",P.MONEY);function dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&nd(e,t)}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:dr(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(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 od(e){var t=x7();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 B7(this,o)}}var k7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Ct(dr(o),"totalScore",[{type:"number",required:!0,message:$.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:$.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ct(dr(o),"defaultValue",{type:"number",min:0,max:5,message:$.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(me),D7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:$.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(Q),Tc=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Ct(dr(o),"totalScore",void 0),Ct(dr(o),"scoreType",void 0),Ct(dr(o),"isShowExplain",void 0),Ct(dr(o),"explain",void 0),Ct(dr(o),"defaultValue",void 0);var p;o.totalScore=(p=(i=n)===null||i===void 0?void 0:i.totalScore)!==null&&p!==void 0?p:5;var _;o.scoreType=(_=(u=n)===null||u===void 0?void 0:u.scoreType)!==null&&_!==void 0?_:gp.STAR;var h;o.isShowExplain=(h=(c=n)===null||c===void 0?void 0:c.isShowExplain)!==null&&h!==void 0?h:!0;var d;o.explain=(d=(a=n)===null||a===void 0||(l=a.explain)===null||l===void 0?void 0:l.map(function(g){return new mp(g)}))!==null&&d!==void 0?d:Array(o.totalScore).fill(void 0).map(function(){return new mp});var b;o.defaultValue=(b=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&b!==void 0?b:0;var y;return o.caption=(y=(s=n)===null||s===void 0?void 0:s.caption)!==null&&y!==void 0?y:Ac.controlName,o}return r}(z);Ct(Tc,"Rules",k7),Ct(Tc,"RuntimeRules",D7);function id(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 N7(e){if(Array.isArray(e))return id(e)}function p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j7(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 F7(e,t,r){return t&&_$(e.prototype,t),r&&_$(e,r),e}function Ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bc=Reflect.get:Bc=function(o,i,u){var c=C7(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Bc(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function L7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V7(){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 z7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:p$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function C7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function H7(e){return N7(e)||M7(e)||U7(e)||V7()}function q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U7(e,t){if(!!e){if(typeof e=="string")return id(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 id(e,t)}}function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K7(e){var t=W7();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z7(this,o)}}var Ac=function(e){L7(r,e);var t=K7(r);function r(n){j7(this,r);var o,i;return o=t.call(this,n),Ic(p$(o),"props",void 0),o.props=new Tc((i=n)===null||i===void 0?void 0:i.props),o}return F7(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,l=Array(c).fill(void 0).map(function(){return new mp});(u=this.props.explain).push.apply(u,H7(l))}}Bc(on(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}(H);Ic(Ac,"controlEventKeys",["on_change","on_click"]),Ic(Ac,"controlFieldType",P.DECIMAL),Ic(Ac,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X7(e,t,r){return t&&d$(e.prototype,t),r&&d$(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&cd(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:y$(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function Z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e8(e){var t=Y7();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 J7(this,o)}}var t8=function(e){Q7(r,e);var t=e8(r);function r(n){G7(this,r);var o,i;return o=t.call(this,n),v$(y$(o),"props",void 0),o.props=new Tc((i=n)===null||i===void 0?void 0:i.props),o}return X7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(q);v$(t8,"controlFieldType",P.DECIMAL);function kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function b$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function r8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:kc(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function n8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g$(e){var t=o8();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 r8(this,o)}}var i8=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:$.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:$.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:$.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(Q),ad=function(e){b$(r,e);var t=g$(r);function r(n){h$(this,r);var o,i,u,c,l,a;o=t.call(this,n),Dc(kc(o),"defaultValueType",void 0),Dc(kc(o),"defaultValue",void 0),Dc(kc(o),"addressType",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:pd.controlName;var s;o.defaultValueType=(s=(u=n)===null||u===void 0?void 0:u.defaultValueType)!==null&&s!==void 0?s:"default";var p;o.addressType=(p=(c=n)===null||c===void 0?void 0:c.addressType)!==null&&p!==void 0?p:["province","city","district"];var _;o.defaultValue=new Z2((_=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&_!==void 0?_:{});var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(z);Dc(ad,"RuntimeRules",i8);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c8(e,t,r){return t&&O$(e.prototype,t),r&&O$(e,r),e}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function l8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a8(e,t){return t&&(f8(t)==="object"||typeof t=="function")?t:m$(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function f8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=s8();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a8(this,o)}}var pd=function(e){l8(r,e);var t=p8(r);function r(n){u8(this,r);var o,i;return o=t.call(this,n),fd(m$(o),"props",void 0),o.props=new ad((i=n)===null||i===void 0?void 0:i.props),o}return c8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(H);fd(pd,"controlFieldType",P.ADDRESS),fd(pd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",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 _8(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 y8(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function P$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function v8(e,t){return t&&(h8(t)==="object"||typeof t=="function")?t:w$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function h8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g8(e){var t=b8();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 v8(this,o)}}var m8=function(e){d8(r,e);var t=g8(r);function r(n){_8(this,r);var o,i;return o=t.call(this,n),P$(w$(o),"props",void 0),o.props=new ad((i=n)===null||i===void 0?void 0:i.props),o}return y8(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}(q);P$(m8,"controlFieldType",P.ADDRESS);function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(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 S$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:at(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function w8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$8();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O8(this,o)}}var P8=function(e){S$(r,e);var t=E$(r);function r(n){R$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),dd=function(e){S$(r,e);var t=E$(r);function r(n){R$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ft(at(o),"showType",void 0),ft(at(o),"range",void 0),ft(at(o),"defaultValueType",void 0),ft(at(o),"multiple",void 0),ft(at(o),"rangeOptions",void 0),ft(at(o),"defaultValue",void 0),ft(at(o),"displayLevel",void 0),ft(at(o),"showSubDept",void 0),ft(at(o),"multistageFilling",void 0),ft(at(o),"openMultistageFilling",void 0);var y;o.showType=(y=(i=n)===null||i===void 0?void 0:i.showType)!==null&&y!==void 0?y:"default";var g;o.multiple=(g=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var O;o.range=(O=(c=n)===null||c===void 0?void 0:c.range)!==null&&O!==void 0?O:"all";var w;o.defaultValueType=(w=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&w!==void 0?w:"none";var R;o.rangeOptions=(R=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&R!==void 0?R:[];var I;o.defaultValue=(I=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&I!==void 0?I:[];var E;o.displayLevel=(E=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&E!==void 0?E:1;var B;o.showSubDept=(B=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&B!==void 0?B:!0;var T;o.caption=(T=(_=n)===null||_===void 0?void 0:_.caption)!==null&&T!==void 0?T:zc.controlName;var A;o.placeholder=(A=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&A!==void 0?A:"\u8BF7\u9009\u62E9\u90E8\u95E8";var x;if(o.openMultistageFilling=(x=(d=n)===null||d===void 0?void 0:d.openMultistageFilling)!==null&&x!==void 0?x:!1,o.multistageFilling=[],Array.isArray((b=n)===null||b===void 0?void 0:b.multistageFilling)){var k;(k=n)===null||k===void 0||k.multistageFilling.map(function(D){var j;(j=o.multistageFilling)===null||j===void 0||j.push(new Fe(D))})}return o}return r}(z);ft(dd,"RuntimeRules",P8);function T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S8(e,t,r){return t&&I$(e.prototype,t),r&&I$(e,r),e}function Mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vc=Reflect.get:Vc=function(o,i,u){var c=I8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Vc(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function T8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:T$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function I8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function B8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x8(e){var t=A8();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T8(this,o)}}var zc=function(e){E8(r,e);var t=x8(r);function r(n){R8(this,r);var o,i;return o=t.call(this,n),Mc(T$(o),"props",void 0),o.props=new dd((i=n)===null||i===void 0?void 0:i.props),o}return S8(r,[{key:"toDataBindModel",value:function(o){var i=Vc(un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(H);Mc(zc,"controlName","\u90E8\u95E8"),Mc(zc,"controlFieldType",P.DEPARTMENTS),Mc(zc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.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 B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k8(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 D8(e,t,r){return t&&A$(e.prototype,t),r&&A$(e,r),e}function x$(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 N8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:B$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=L8();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j8(this,o)}}var V8=function(e){N8(r,e);var t=M8(r);function r(n){k8(this,r);var o,i;return o=t.call(this,n),x$(B$(o),"props",void 0),o.props=new dd((i=n)===null||i===void 0?void 0:i.props),o}return D8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(q);x$(V8,"controlFieldType",P.DEPARTMENTS);function k$(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 C8(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 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&&bd(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:k$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(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=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q8(this,o)}}var D$=function(e){H8(r,e);var t=K8(r);function r(n){z8(this,r);var o,i,u,c;o=t.call(this,n),C8(k$(o),"defaultValue",void 0);var l;o.defaultValue=(l=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&l!==void 0?l:"";var a;o.caption=(a=(u=n)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:Wc.controlName;var f;return o.placeholder=(f=(c=n)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(z);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X8(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}function qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function Q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:N$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=Y8();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J8(this,o)}}var Wc=function(e){Q8(r,e);var t=e9(r);function r(n){G8(this,r);var o,i;return o=t.call(this,n),qc(N$(o),"props",void 0),o.props=new D$((i=n)===null||i===void 0?void 0:i.props),o}return X8(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}(H);qc(Wc,"controlEventKeys",["on_change"]),qc(Wc,"controlFieldType",P.AUTO_NUMBER),qc(Wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r9(e,t,r){return t&&L$(e.prototype,t),r&&L$(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function n9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:F$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(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 c9(e){var t=u9();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 o9(this,o)}}var l9=function(e){n9(r,e);var t=c9(r);function r(n){t9(this,r);var o,i;return o=t.call(this,n),M$(F$(o),"props",void 0),o.props=new D$((i=n)===null||i===void 0?void 0:i.props),o}return r9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(q);M$(l9,"controlFieldType",P.AUTO_NUMBER);function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Od(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&$d(e,t)}function a9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:vr(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function f9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=s9();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 a9(this,o)}}var p9=function(e){wd(r,e);var t=Pd(r);function r(n){Od(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}(me),_9=function(e){wd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:$.getMessage("isNotObject"),fields:{result:[{type:"number",message:$.getMessage("isNotNumber")}],unit:{type:"string",message:$.getMessage("isNotString")}}}),o}return r}(Q),Xc=function(e){wd(r,e);var t=Pd(r);function r(n){Od(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Ht(vr(o),"precision",void 0),Ht(vr(o),"micrometer",void 0),Ht(vr(o),"showUpperCase",void 0),Ht(vr(o),"scriptSrc",void 0),Ht(vr(o),"scriptEcho",void 0),Ht(vr(o),"dataBind",void 0),Ht(vr(o),"defaultValue",void 0);var h;o.precision=(h=(i=n)===null||i===void 0?void 0:i.precision)!==null&&h!==void 0?h:0;var d;o.micrometer=(d=(u=n)===null||u===void 0?void 0:u.micrometer)!==null&&d!==void 0?d:!1;var b;o.showUpperCase=(b=(c=n)===null||c===void 0?void 0:c.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new Y2((l=n)===null||l===void 0?void 0:l.dataBind),o.defaultValue=new e3((a=n)===null||a===void 0?void 0:a.defaultValue);var y;o.caption=(y=(f=n)===null||f===void 0?void 0:f.caption)!==null&&y!==void 0?y:Zc.controlName;var g;o.placeholder=(g=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.scriptEcho=(O=(p=n)===null||p===void 0?void 0:p.scriptEcho)!==null&&O!==void 0?O:[];var w;return o.scriptSrc=(w=(_=n)===null||_===void 0?void 0:_.scriptSrc)!==null&&w!==void 0?w:"",o}return r}(z);Ht(Xc,"Rules",p9),Ht(Xc,"RuntimeRules",_9);function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(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 d9(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function Qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jc=Reflect.get:Jc=function(o,i,u){var c=b9(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Jc(e,t,r||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cn(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&&Rd(e,t)}function h9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:V$(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function b9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function g9(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 O9(e){var t=m9();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 h9(this,o)}}var Zc=function(e){v9(r,e);var t=O9(r);function r(n){y9(this,r);var o,i;return o=t.call(this,n),Qc(V$(o),"props",void 0),o.props=new Xc((i=n)===null||i===void 0?void 0:i.props),o}return d9(r,[{key:"toDataBindModel",value:function(o){var i=Jc(cn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}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}(H);Qc(Zc,"controlEventKeys",["on_change"]),Qc(Zc,"controlFieldType",P.CALC),Qc(Zc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(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 $9(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:C$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function S9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T9(e){var t=E9();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var I9=function(e){P9(r,e);var t=T9(r);function r(n){w9(this,r);var o,i;return o=t.call(this,n),q$(C$(o),"props",void 0),o.props=new Xc((i=n)===null||i===void 0?void 0:i.props),o}return $9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(q);q$(I9,"controlFieldType",P.CALC);function ln(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 an(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 W$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:ln(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(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 K$(e){var t=x9();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 B9(this,o)}}var k9=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject($.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(Q),Td=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),an(ln(o),"rangeMin",void 0),an(ln(o),"rangeMax",void 0),an(ln(o),"placeholderStart",void 0),an(ln(o),"placeholderEnd",void 0),an(ln(o),"defaultValue",void 0);var s;o.defaultValue=(s=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&s!==void 0?s:["",""];var p;o.rangeMin=(p=(u=n)===null||u===void 0?void 0:u.rangeMin)!==null&&p!==void 0?p:"";var _;o.rangeMax=(_=(c=n)===null||c===void 0?void 0:c.rangeMax)!==null&&_!==void 0?_:"";var h;o.placeholderStart=(h=(l=n)===null||l===void 0?void 0:l.placeholderStart)!==null&&h!==void 0?h:"\u6700\u5C0F\u503C";var d;o.placeholderEnd=(d=(a=n)===null||a===void 0?void 0:a.placeholderEnd)!==null&&d!==void 0?d:"\u6700\u5927\u503C";var b;return o.caption=(b=(f=n)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:Ad.controlName,o}return r}(z);an(Td,"RuntimeRules",k9);function G$(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 X$(e,t){for(var r=0;r<t.length;r++){var 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&&X$(e.prototype,t),r&&X$(e,r),e}function Id(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 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&&Bd(e,t)}function F9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:G$(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(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=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F9(this,o)}}var Ad=function(e){j9(r,e);var t=V9(r);function r(n){D9(this,r);var o,i;return o=t.call(this,n),Id(G$(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return N9(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}(H);Id(Ad,"controlFieldType",P.DECIMAL_RANGE),Id(Ad,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C9(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(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&&xd(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:Q$(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function U9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K9(e){var t=W9();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q9(this,o)}}var G9=function(e){H9(r,e);var t=K9(r);function r(n){z9(this,r);var o,i;return o=t.call(this,n),Z$(Q$(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return C9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(q);Z$(G9,"controlFieldType",P.DECIMAL_RANGE);function st(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(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&&kd(e,t)}function X9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:st(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function Q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tP(e){var t=J9();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 X9(this,o)}}var Z9=function(e){eP(r,e);var t=tP(r);function r(n){Y$(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}(Q),Dd=function(e){eP(r,e);var t=tP(r);function r(n){Y$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),pt(st(o),"rangeMin",void 0),pt(st(o),"rangeMax",void 0),pt(st(o),"placeholderStart",void 0),pt(st(o),"placeholderEnd",void 0),pt(st(o),"dateType",void 0),pt(st(o),"dateFormat",void 0),pt(st(o),"commonTimeSetting",void 0),pt(st(o),"setValueType",void 0),pt(st(o),"defaultValue",void 0),pt(st(o),"limitDateList",void 0);var y;o.defaultValue=(y=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&y!==void 0?y:["",""];var g;o.dateType=(g=(u=n)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:Gt.DATE;var O;o.dateFormat=(O=(c=n)===null||c===void 0?void 0:c.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(l=n)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&w!==void 0?w:[];var R;o.setValueType=(R=(a=n)===null||a===void 0?void 0:a.setValueType)!==null&&R!==void 0?R:"custom";var I;o.rangeMin=(I=(f=n)===null||f===void 0?void 0:f.rangeMin)!==null&&I!==void 0?I:"";var E;o.rangeMax=(E=(s=n)===null||s===void 0?void 0:s.rangeMax)!==null&&E!==void 0?E:"";var B;o.placeholderStart=(B=(p=n)===null||p===void 0?void 0:p.placeholderStart)!==null&&B!==void 0?B:"\u5F00\u59CB\u65E5\u671F";var T;o.placeholderEnd=(T=(_=n)===null||_===void 0?void 0:_.placeholderEnd)!==null&&T!==void 0?T:"\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:Fd.controlName;var x;return o.limitDateList=(x=(b=n)===null||b===void 0||(d=b.limitDateList)===null||d===void 0?void 0:d.map(function(k){return new bp(k)}))!==null&&x!==void 0?x:[],o}return r}(z);pt(Dd,"RuntimeRules",Z9);function rP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eV(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function Nd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(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&&jd(e,t)}function rV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:rP(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iV(e){var t=oV();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 rV(this,o)}}var Fd=function(e){tV(r,e);var t=iV(r);function r(n){Y9(this,r);var o,i;return o=t.call(this,n),Nd(rP(o),"props",void 0),o.props=new Dd((i=n)===null||i===void 0?void 0:i.props),o}return eV(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}(H);Nd(Fd,"controlFieldType",P.ARRAY),Nd(Fd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uV(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 cV(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(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&&Ld(e,t)}function aV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:oP(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function fV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pV(e){var t=sV();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 aV(this,o)}}var _V=function(e){lV(r,e);var t=pV(r);function r(n){uV(this,r);var o,i;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new Dd((i=n)===null||i===void 0?void 0:i.props),o}return cV(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(q);uP(_V,"controlFieldType",P.ARRAY);function go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function Vd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function yV(e,t){return t&&(dV(t)==="object"||typeof t=="function")?t:go(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function dV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cd(e){var t=vV();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var hV=function(e){Vd(r,e);var t=Cd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(me),bV=function(e){Vd(r,e);var t=Cd(r);function r(n){Md(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(Q),cl=function(e){Vd(r,e);var t=Cd(r);function r(n){Md(this,r);var o,i,u,c,l,a;o=t.call(this,n),fn(go(o),"controlExportName",void 0),fn(go(o),"permissions",void 0),fn(go(o),"defaultValue",void 0),fn(go(o),"isInlineEdit",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:fl.controlName;var s;o.defaultValue=(s=(u=n)===null||u===void 0?void 0:u.defaultValue)!==null&&s!==void 0?s:void 0;var p;o.controlExportName=(p=(c=n)===null||c===void 0?void 0:c.controlExportName)!==null&&p!==void 0?p:"";var _;o.permissions=(_=(l=n)===null||l===void 0?void 0:l.permissions)!==null&&_!==void 0?_:[];var h;return o.isInlineEdit=(h=(a=n)===null||a===void 0?void 0:a.isInlineEdit)!==null&&h!==void 0?h:!1,o}return r}(z);fn(cl,"Rules",hV),fn(cl,"RuntimeRules",bV);function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mV(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function ll(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 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&&Hd(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:cP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(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=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wV(this,o)}}var fl=function(e){OV(r,e);var t=RV(r);function r(n){gV(this,r);var o,i;return o=t.call(this,n),ll(cP(o),"props",void 0),o.props=new cl((i=n)===null||i===void 0?void 0:i.props),o}return mV(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}(H);ll(fl,"controlFieldType",P.ANY),ll(fl,"controlEventKeys",[]),ll(fl,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.REQUIRED,v.IS_SHOW_CAPTION_TIP,v.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function aP(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 fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EV(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&qd(e,t)}function IV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:aP(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function BV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=AV();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 IV(this,o)}}var kV=function(e){TV(r,e);var t=xV(r);function r(n){SV(this,r);var o,i;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new cl((i=n)===null||i===void 0?void 0:i.props),o}return EV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(q);sP(kV,"controlFieldType",P.ANY);function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(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 _P(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function DV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:Xe(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yP(e){var t=jV();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 DV(this,o)}}var FV=function(e){_P(r,e);var t=yP(r);function r(n){pP(this,r);var o;return o=t.call(this,n),Qe(Xe(o),"listPageBind",[{type:"object",message:$.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}]}}]),o}return r}(Gr),Wd=function(e){_P(r,e);var t=yP(r);function r(n){pP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Qe(Xe(o),"options",void 0),Qe(Xe(o),"optionConfig",void 0),Qe(Xe(o),"defaultValue",void 0),Qe(Xe(o),"listPageBind",void 0),Qe(Xe(o),"datasourceBind",void 0),Qe(Xe(o),"multistageFilling",void 0),Qe(Xe(o),"viewFormModelType",void 0),Qe(Xe(o),"canViewForm",void 0),Qe(Xe(o),"openMultistageFilling",void 0),Qe(Xe(o),"showSelectedDetail",void 0),Qe(Xe(o),"selectedContentConfig",void 0);var g;o.options=Et((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[]);var O;o.optionConfig=(O=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&O!==void 0?O:"datasource",o.listPageBind=new fs((c=n)===null||c===void 0?void 0:c.listPageBind),o.datasourceBind=new ae((l=n)===null||l===void 0?void 0:l.datasourceBind);var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:dl.controlName;var R;o.placeholder=(R=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&R!==void 0?R:"\u8BF7\u9009\u62E9";var I;o.defaultValue=(I=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&I!==void 0?I:"";var E;o.openMultistageFilling=(E=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&E!==void 0?E:!1;var B;if(o.showSelectedDetail=(B=(_=n)===null||_===void 0?void 0:_.showSelectedDetail)!==null&&B!==void 0?B:!1,o.selectedContentConfig=new ys((h=n)===null||h===void 0?void 0:h.selectedContentConfig),o.multistageFilling=[],Array.isArray((d=n)===null||d===void 0?void 0:d.multistageFilling)){var T;(T=n)===null||T===void 0||T.multistageFilling.map(function(k){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new Fe(k))})}var A;o.canViewForm=(A=(b=n)===null||b===void 0?void 0:b.canViewForm)!==null&&A!==void 0?A:!1;var x;return o.viewFormModelType=(x=(y=n)===null||y===void 0?void 0:y.viewFormModelType)!==null&&x!==void 0?x:"window",o}return r}(z);Qe(Wd,"Rules",FV);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LV(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 MV(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function _l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function VV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:dP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function CV(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 qV(e){var t=HV();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 zV(this,o)}}var dl=function(e){VV(r,e);var t=qV(r);function r(n){LV(this,r);var o,i;return o=t.call(this,n),_l(dP(o),"props",void 0),o.props=new Wd((i=n)===null||i===void 0?void 0:i.props),o}return MV(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}(H);_l(dl,"controlFieldType",P.VARCHAR),_l(dl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE,v.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),_l(dl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WV(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function gP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function KV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function GV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:hP(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function XV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JV(e){var t=QV();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GV(this,o)}}var ZV=function(e){KV(r,e);var t=JV(r);function r(n){UV(this,r);var o,i;return o=t.call(this,n),gP(hP(o),"props",void 0),o.props=new Wd((i=n)===null||i===void 0?void 0:i.props),o}return WV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(q);gP(ZV,"controlFieldType",P.VARCHAR);function YV(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 hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(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&&Xd(e,t)}function rz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:YV(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function nz(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=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rz(this,o)}}var mP=function(e){tz(r,e);var t=iz(r);function r(n){return ez(this,r),t.call(this,n)}return r}(vo);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uz(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 cz(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function $P(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 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&&Qd(e,t)}function az(e,t){return t&&(fz(t)==="object"||typeof t=="function")?t:OP(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(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 pz(e){var t=sz();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 az(this,o)}}var _z=function(e){lz(r,e);var t=pz(r);function r(n){uz(this,r);var o,i;return o=t.call(this,n),$P(OP(o),"props",void 0),o.props=new mP((i=n)===null||i===void 0?void 0:i.props),o}return cz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(ho);$P(_z,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED]},{key:"super-setting",visible:!0}]);function PP(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 RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dz(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function SP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(bz(t)==="object"||typeof t=="function")?t:PP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function bz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mz(e){var t=gz();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hz(this,o)}}var Oz=function(e){vz(r,e);var t=mz(r);function r(n){yz(this,r);var o,i;return o=t.call(this,n),SP(PP(o),"props",void 0),o.props=new mP((i=n)===null||i===void 0?void 0:i.props),o}return dz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(q);SP(Oz,"controlFieldType",P.VARCHAR);function te(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 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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(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&&ev(e,t)}function wz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:te(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function $z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=Pz();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 wz(this,o)}}var Rz=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),re(te(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Co.call(te(o),n,Br.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:$.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:$.getMessage("rootNodeIsRequired")}}}]),o}return r}(me),Sz=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),Ol=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,R,I,E;o=t.call(this,n),re(te(o),"placeholder",void 0),re(te(o),"multiple",void 0),re(te(o),"canSearch",void 0),re(te(o),"levelType",void 0),re(te(o),"optionalLevel",void 0),re(te(o),"containsSubNode",void 0),re(te(o),"defaultDisplay",void 0),re(te(o),"isShowIncludeSub",void 0),re(te(o),"isDefaultCheckSub",void 0),re(te(o),"isShowFilterItem",void 0),re(te(o),"defaultCollapse",void 0),re(te(o),"defaultCollapseLevel",void 0),re(te(o),"optionConfig","datasource"),re(te(o),"datasourceBind",void 0),re(te(o),"filterItemDatasourceBind",void 0),re(te(o),"multistageFilling",void 0),re(te(o),"defaultValue",void 0),re(te(o),"openMultistageFilling",void 0);var B;o.caption=(B=(i=n)===null||i===void 0?void 0:i.caption)!==null&&B!==void 0?B:Br.controlName;var T;o.placeholder=(T=(u=n)===null||u===void 0?void 0:u.placeholder)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9";var A;o.multiple=(A=(c=n)===null||c===void 0?void 0:c.multiple)!==null&&A!==void 0?A:!1;var x;o.canSearch=(x=(l=n)===null||l===void 0?void 0:l.canSearch)!==null&&x!==void 0?x:!0;var k;o.levelType=(k=(a=n)===null||a===void 0?void 0:a.levelType)!==null&&k!==void 0?k:"all";var D;o.optionalLevel=(D=(f=n)===null||f===void 0?void 0:f.optionalLevel)!==null&&D!==void 0?D:1;var j;o.containsSubNode=(j=(s=n)===null||s===void 0?void 0:s.containsSubNode)!==null&&j!==void 0?j:!1;var C;o.isShowFilterItem=(C=(p=n)===null||p===void 0?void 0:p.isShowFilterItem)!==null&&C!==void 0?C:!1;var Y;o.isShowIncludeSub=(Y=(_=n)===null||_===void 0?void 0:_.isShowIncludeSub)!==null&&Y!==void 0?Y:!1;var ee;o.isDefaultCheckSub=(ee=(h=n)===null||h===void 0?void 0:h.isDefaultCheckSub)!==null&&ee!==void 0?ee:!1;var ne;o.defaultCollapse=(ne=(d=n)===null||d===void 0?void 0:d.defaultCollapse)!==null&&ne!==void 0?ne:"all";var oe;o.defaultCollapseLevel=(oe=(b=n)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&oe!==void 0?oe:1;var le;o.datasourceBind=new Yg((le=(y=n)===null||y===void 0?void 0:y.datasourceBind)!==null&&le!==void 0?le:{attributes:Br.controlCustomAttributes});var Ze;o.filterItemDatasourceBind=new Yg((Ze=(g=n)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&Ze!==void 0?Ze:{attributes:Br.controlCustomAttributes});var Ne;o.openMultistageFilling=(Ne=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&Ne!==void 0?Ne:!1;var dt;o.defaultDisplay=(dt=(w=n)===null||w===void 0?void 0:w.defaultDisplay)!==null&&dt!==void 0?dt:!1;var vt;o.multistageFilling=(vt=(I=n)===null||I===void 0||(R=I.multistageFilling)===null||R===void 0?void 0:R.map(function(Kt){return new Fe(Kt)}))!==null&&vt!==void 0?vt:[];var ht;return o.defaultValue=(ht=(E=n)===null||E===void 0?void 0:E.defaultValue)!==null&&ht!==void 0?ht:[],o}return r}(z);re(Ol,"Rules",Rz),re(Ol,"RuntimeRules",Sz);function EP(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 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 Tz(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function Iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:EP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function Az(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kz(e){var t=xz();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 Bz(this,o)}}var Br=function(e){Iz(r,e);var t=kz(r);function r(n){Ez(this,r);var o,i;return o=t.call(this,n),wl(EP(o),"props",void 0),o.props=new Ol((i=n)===null||i===void 0?void 0:i.props),o}return Tz(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}(H);wl(Br,"controlEventKeys",["on_change","on_click"]),wl(Br,"controlFieldType",P.ARRAY),wl(Br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.CAN_SEARCH,v.DEFAULT_DISPLAY,v.CONTAINS_SUB_NODE,v.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 IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nz(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function AP(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 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&&nv(e,t)}function Fz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:IP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(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=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fz(this,o)}}var zz=function(e){jz(r,e);var t=Vz(r);function r(n){Dz(this,r);var o,i;return o=t.call(this,n),AP(IP(o),"props",void 0),o.props=new Ol((i=n)===null||i===void 0?void 0:i.props),o}return Nz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(q);AP(zz,"controlFieldType",P.ARRAY);function de(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(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&&uv(e,t)}function Cz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:de(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function Hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cv(e){var t=qz();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 Cz(this,o)}}var Uz=function(e){iv(r,e);var t=cv(r);function r(n){ov(this,r);var o;return o=t.call(this,n),ve(de(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),ve(de(o),"externalScope",{type:"any"}),Co.call(de(o),n,mo.controlCustomAttributes),n.externalType===ir.ASSIGN&&(o.externalScope={type:"array",required:!0,message:$.getMessage("pleaseAssignExternal")}),o}return r}(me),Wz=function(e){iv(r,e);var t=cv(r);function r(n){ov(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),Sl=function(e){iv(r,e);var t=cv(r);function r(n){ov(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),ve(de(o),"showType",void 0),ve(de(o),"range",void 0),ve(de(o),"rangeOptions",void 0),ve(de(o),"multiple",void 0),ve(de(o),"defaultValueType",void 0),ve(de(o),"defaultValue",void 0),ve(de(o),"multistageFilling",void 0),ve(de(o),"datasourceBind",void 0),ve(de(o),"datasourceType",void 0),ve(de(o),"insideType",void 0),ve(de(o),"externalType",void 0),ve(de(o),"externalScope",void 0),ve(de(o),"openMultistageFilling",void 0);var w;o.showType=(w=(i=n)===null||i===void 0?void 0:i.showType)!==null&&w!==void 0?w:"default";var R;o.range=(R=(u=n)===null||u===void 0?void 0:u.range)!==null&&R!==void 0?R:"all";var I;o.rangeOptions=(I=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&I!==void 0?I:[];var E;o.multiple=(E=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&E!==void 0?E:!1;var B;o.defaultValueType=(B=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&B!==void 0?B:"none";var T;o.defaultValue=(T=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&T!==void 0?T:[];var A;o.caption=(A=(s=n)===null||s===void 0?void 0:s.caption)!==null&&A!==void 0?A:mo.controlName;var x;o.placeholder=(x=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&x!==void 0?x:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var k;o.datasourceBind=new Fo((k=(_=n)===null||_===void 0?void 0:_.datasourceBind)!==null&&k!==void 0?k:{attributes:mo.controlCustomAttributes});var D;o.datasourceType=(D=(h=n)===null||h===void 0?void 0:h.datasourceType)!==null&&D!==void 0?D:wp.INTERNAL;var j;o.insideType=(j=(d=n)===null||d===void 0?void 0:d.insideType)!==null&&j!==void 0?j:$p.ADMIN;var C;o.externalType=(C=(b=n)===null||b===void 0?void 0:b.externalType)!==null&&C!==void 0?C:ir.ALL;var Y;o.externalScope=(Y=(y=n)===null||y===void 0?void 0:y.externalScope)!==null&&Y!==void 0?Y:[];var ee;if(o.openMultistageFilling=(ee=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&ee!==void 0?ee:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ne;(ne=n)===null||ne===void 0||ne.multistageFilling.map(function(oe){var le;(le=o.multistageFilling)===null||le===void 0||le.push(new Fe(oe))})}return o}return r}(z);ve(Sl,"Rules",Uz),ve(Sl,"RuntimeRules",Wz);function xP(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 kP(e,t){for(var r=0;r<t.length;r++){var 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&&kP(e.prototype,t),r&&kP(e,r),e}function lv(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 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&&av(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:xP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(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=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qz(this,o)}}var mo=function(e){Xz(r,e);var t=Yz(r);function r(n){Kz(this,r);var o,i;return o=t.call(this,n),lv(xP(o),"props",void 0),o.props=new Sl((i=n)===null||i===void 0?void 0:i.props),o}return Gz(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}(H);lv(mo,"controlFieldType",P.EMPLOYEES),lv(mo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.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 DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tC(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function jP(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 rC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:DP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uC(e){var t=iC();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 nC(this,o)}}var cC=function(e){rC(r,e);var t=uC(r);function r(n){eC(this,r);var o,i;return o=t.call(this,n),jP(DP(o),"props",void 0),o.props=new Sl((i=n)===null||i===void 0?void 0:i.props),o}return tC(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(q);jP(cC,"controlFieldType",P.EMPLOYEES);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function LP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function lC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:Ot(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function aC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MP(e){var t=fC();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 lC(this,o)}}var sC=function(e){LP(r,e);var t=MP(r);function r(n){FP(this,r);var o;return o=t.call(this,n),wt(Ot(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(a,f,s){if(u.type==="public"&&ns(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}s()}},company:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&u.signatureType.includes("company")&&ns(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}s()}}}},i},{})}}},o}return r}(me),pv=function(e){LP(r,e);var t=MP(r);function r(n){FP(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),wt(Ot(o),"buttonType",void 0),wt(Ot(o),"content",void 0),wt(Ot(o),"showType",void 0),wt(Ot(o),"color",void 0),wt(Ot(o),"icon",void 0),wt(Ot(o),"command",""),wt(Ot(o),"isLoading",!1),wt(Ot(o),"signatureConfig",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:xl.controlName;var _;o.content=(_=(u=n)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:"\u53D1\u8D77\u7B7E\u7F72";var h;o.buttonType=(h=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&h!==void 0?h:"primary";var d;o.showType=(d=(l=n)===null||l===void 0?void 0:l.showType)!==null&&d!==void 0?d:"text";var b;o.color=(b=(a=n)===null||a===void 0?void 0:a.color)!==null&&b!==void 0?b:"primary";var y;return o.icon=(y=(f=n)===null||f===void 0?void 0:f.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new Ck((s=n)===null||s===void 0?void 0:s.signatureConfig),o}return r}(z);wt(pv,"Rules",sC);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _C(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Bl(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 yC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dC(e,t){return t&&(vC(t)==="object"||typeof t=="function")?t:VP(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function vC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bC(e){var t=hC();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dC(this,o)}}var xl=function(e){yC(r,e);var t=bC(r);function r(n){pC(this,r);var o,i;return o=t.call(this,n),Bl(VP(o),"props",void 0),o.props=new pv((i=n)===null||i===void 0?void 0:i.props),o}return _C(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}(H);Bl(xl,"controlEventKeys",["on_click","on_click_finish"]),Bl(xl,"controlFieldType",P.VARCHAR),Bl(xl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.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 CP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(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 mC(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function qP(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 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&&yv(e,t)}function wC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:CP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function $C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RC(e){var t=PC();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 wC(this,o)}}var SC=function(e){OC(r,e);var t=RC(r);function r(n){gC(this,r);var o,i;return o=t.call(this,n),qP(CP(o),"props",void 0),o.props=new pv((i=n)===null||i===void 0?void 0:i.props),o}return mC(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(q);qP(SC,"controlFieldType",P.VARCHAR);function Ee(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 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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EC(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:Ee(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function TC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=IC();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 EC(this,o)}}var BC=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),he(Ee(o),"content",{type:"string",required:!0,message:$.getMessage("pleaseEnterButtonContent")}),he(Ee(o),"canAdd",void 0),he(Ee(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l($.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(me),AC=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),Nl=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),he(Ee(o),"content",void 0),he(Ee(o),"canAdd",void 0),he(Ee(o),"addLocal",void 0),he(Ee(o),"addOnline",void 0),he(Ee(o),"canDownload",void 0),he(Ee(o),"canEdit",void 0),he(Ee(o),"canExport",void 0),he(Ee(o),"canDelete",void 0),he(Ee(o),"wpsSetting",void 0),he(Ee(o),"maxSize",void 0),he(Ee(o),"defaultValue",void 0),he(Ee(o),"revisionsMode",void 0);var g;o.caption=(g=(i=n)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:Ll.controlName;var O;o.content=(O=(u=n)===null||u===void 0?void 0:u.content)!==null&&O!==void 0?O:"\u65B0\u5EFA\u6587\u6863";var w;o.canAdd=(w=(c=n)===null||c===void 0?void 0:c.canAdd)!==null&&w!==void 0?w:!0;var R;o.addLocal=(R=(l=n)===null||l===void 0?void 0:l.addLocal)!==null&&R!==void 0?R:!0;var I;o.addOnline=(I=(a=n)===null||a===void 0?void 0:a.addOnline)!==null&&I!==void 0?I:!0;var E;o.canEdit=(E=(f=n)===null||f===void 0?void 0:f.canEdit)!==null&&E!==void 0?E:!0;var B;o.canDownload=(B=(s=n)===null||s===void 0?void 0:s.canDownload)!==null&&B!==void 0?B:!0;var T;o.canExport=(T=(p=n)===null||p===void 0?void 0:p.canExport)!==null&&T!==void 0?T:!0;var A;o.canDelete=(A=(_=n)===null||_===void 0?void 0:_.canDelete)!==null&&A!==void 0?A:!1;var x;o.maxSize=(x=(h=n)===null||h===void 0?void 0:h.maxSize)!==null&&x!==void 0?x:x4;var k;o.defaultValue=(k=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&k!==void 0?k:[],o.wpsSetting=new Hk((b=n)===null||b===void 0?void 0:b.wpsSetting);var D;return o.revisionsMode=(D=(y=n)===null||y===void 0?void 0:y.revisionsMode)!==null&&D!==void 0?D:!1,o}return r}(z);he(Nl,"Rules",BC),he(Nl,"RuntimeRules",AC);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(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 kC(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function jl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&gv(e,t)}function NC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:UP(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function jC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LC(e){var t=FC();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 NC(this,o)}}var Ll=function(e){DC(r,e);var t=LC(r);function r(n){xC(this,r);var o,i;return o=t.call(this,n),jl(UP(o),"props",void 0),o.props=new Nl((i=n)===null||i===void 0?void 0:i.props),o}return kC(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(H);jl(Ll,"controlEventKeys",["on_change","on_wps_open"]),jl(Ll,"controlFieldType",P.FILE),jl(Ll,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.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 KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VC(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}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 Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&mv(e,t)}function CC(e,t){return t&&(HC(t)==="object"||typeof t=="function")?t:KP(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(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 UC(e){var t=qC();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 CC(this,o)}}var WC=function(e){zC(r,e);var t=UC(r);function r(n){MC(this,r);var o,i;return o=t.call(this,n),XP(KP(o),"props",void 0),o.props=new Nl((i=n)===null||i===void 0?void 0:i.props),o}return VC(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(q);XP(WC,"controlFieldType",P.FILE);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function wv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function KC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:se(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function GC(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 Pv(e){var t=XC();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 KC(this,o)}}var QC=function(e){wv(r,e);var t=Pv(r);function r(n){Ov(this,r);var o;return o=t.call(this,n),pe(se(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),pe(se(o),"businessScope",{type:"any"}),Co.call(se(o),n,pn.controlCustomAttributes),n.businessType===ir.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(me),JC=function(e){wv(r,e);var t=Pv(r);function r(n){Ov(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),zl=function(e){wv(r,e);var t=Pv(r);function r(n){Ov(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w;o=t.call(this,n),pe(se(o),"showType",void 0),pe(se(o),"range",void 0),pe(se(o),"defaultValueType",void 0),pe(se(o),"multiple",void 0),pe(se(o),"rangeOptions",void 0),pe(se(o),"defaultValue",void 0),pe(se(o),"displayLevel",void 0),pe(se(o),"showSubDept",void 0),pe(se(o),"multistageFilling",void 0),pe(se(o),"datasourceBind",void 0),pe(se(o),"datasourceType",void 0),pe(se(o),"businessType",void 0),pe(se(o),"businessScope",void 0),pe(se(o),"openMultistageFilling",void 0);var R;o.showType=(R=(i=n)===null||i===void 0?void 0:i.showType)!==null&&R!==void 0?R:"default";var I;o.multiple=(I=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&I!==void 0?I:!1;var E;o.range=(E=(c=n)===null||c===void 0?void 0:c.range)!==null&&E!==void 0?E:"all";var B;o.defaultValueType=(B=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&B!==void 0?B:"none";var T;o.rangeOptions=(T=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&T!==void 0?T:[];var A;o.defaultValue=(A=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&A!==void 0?A:[];var x;o.displayLevel=(x=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&x!==void 0?x:1;var k;o.showSubDept=(k=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&k!==void 0?k:!0;var D;o.caption=(D=(_=n)===null||_===void 0?void 0:_.caption)!==null&&D!==void 0?D:pn.controlName;var j;o.placeholder=(j=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&j!==void 0?j:"\u8BF7\u9009\u62E9\u90E8\u95E8";var C;o.datasourceBind=new Fo((C=(d=n)===null||d===void 0?void 0:d.datasourceBind)!==null&&C!==void 0?C:{attributes:pn.controlCustomAttributes});var Y;o.datasourceType=(Y=(b=n)===null||b===void 0?void 0:b.datasourceType)!==null&&Y!==void 0?Y:vi.INTERNAL;var ee;o.businessScope=(ee=(y=n)===null||y===void 0?void 0:y.businessScope)!==null&&ee!==void 0?ee:[];var ne;o.businessType=(ne=(g=n)===null||g===void 0?void 0:g.businessType)!==null&&ne!==void 0?ne:ir.ALL;var oe;if(o.openMultistageFilling=(oe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&oe!==void 0?oe:!1,o.multistageFilling=[],Array.isArray((w=n)===null||w===void 0?void 0:w.multistageFilling)){var le;(le=n)===null||le===void 0||le.multistageFilling.map(function(Ze){var Ne;(Ne=o.multistageFilling)===null||Ne===void 0||Ne.push(new Fe(Ze))})}return o}return r}(z);pe(zl,"Rules",QC),pe(zl,"RuntimeRules",JC);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZC(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 YC(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function Cl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hl=Reflect.get:Hl=function(o,i,u){var c=rH(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Hl(e,t,r||e)}function sn(e){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sn(e)}function eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:QP(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function rH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sn(e),e!==null););return e}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iH(e){var t=oH();return function(){var n=sn(e),o;if(t){var i=sn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var pn=function(e){eH(r,e);var t=iH(r);function r(n){ZC(this,r);var o,i;return o=t.call(this,n),Cl(QP(o),"props",void 0),o.props=new zl((i=n)===null||i===void 0?void 0:i.props),o}return YC(r,[{key:"toDataBindModel",value:function(o){var i=Hl(sn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}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}(H);Cl(pn,"controlName","\u90E8\u95E8"),Cl(pn,"controlFieldType",P.DEPARTMENTS),Cl(pn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.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 ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cH(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function eR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function lH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:ZP(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sH();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 aH(this,o)}}var _H=function(e){lH(r,e);var t=pH(r);function r(n){uH(this,r);var o,i;return o=t.call(this,n),eR(ZP(o),"props",void 0),o.props=new zl((i=n)===null||i===void 0?void 0:i.props),o}return cH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(q);eR(_H,"controlFieldType",P.DEPARTMENTS);function J(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 Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(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&&Iv(e,t)}function yH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:J(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(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 Bv(e){var t=vH();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yH(this,o)}}var hH=function(e){Tv(r,e);var t=Bv(r);function r(n){Ev(this,r);var o;return o=t.call(this,n),Z(J(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Z(J(o),"businessScope",{type:"any"}),Co.call(J(o),n,yn.controlCustomAttributes),n.businessType===ir.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(me),bH=function(e){Tv(r,e);var t=Bv(r);function r(n){Ev(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(Q),Wl=function(e){Tv(r,e);var t=Bv(r);function r(n){Ev(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,R,I,E,B,T;o=t.call(this,n),Z(J(o),"showType",void 0),Z(J(o),"range",void 0),Z(J(o),"defaultValueType",void 0),Z(J(o),"multiple",void 0),Z(J(o),"rangeOptions",void 0),Z(J(o),"defaultValue",void 0),Z(J(o),"displayLevel",void 0),Z(J(o),"showSubDept",void 0),Z(J(o),"multistageFilling",void 0),Z(J(o),"datasourceBind",void 0),Z(J(o),"listPageBind",void 0),Z(J(o),"datasourceType",void 0),Z(J(o),"businessType",void 0),Z(J(o),"businessScope",void 0),Z(J(o),"organizingFunction",void 0),Z(J(o),"organizationView",void 0),Z(J(o),"openMultistageFilling",void 0),Z(J(o),"showSelectedDetail",void 0),Z(J(o),"selectedContentConfig",void 0);var A;o.showType=(A=(i=n)===null||i===void 0?void 0:i.showType)!==null&&A!==void 0?A:"default";var x;o.multiple=(x=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&x!==void 0?x:!1;var k;o.range=(k=(c=n)===null||c===void 0?void 0:c.range)!==null&&k!==void 0?k:"all",o.listPageBind=new fs((l=n)===null||l===void 0?void 0:l.listPageBind);var D;o.defaultValueType=(D=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&D!==void 0?D:"none";var j;o.rangeOptions=(j=(f=n)===null||f===void 0?void 0:f.rangeOptions)!==null&&j!==void 0?j:[];var C;o.defaultValue=(C=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&C!==void 0?C:[];var Y;o.displayLevel=(Y=(p=n)===null||p===void 0?void 0:p.displayLevel)!==null&&Y!==void 0?Y:1;var ee;o.showSubDept=(ee=(_=n)===null||_===void 0?void 0:_.showSubDept)!==null&&ee!==void 0?ee:!0;var ne;o.caption=(ne=(h=n)===null||h===void 0?void 0:h.caption)!==null&&ne!==void 0?ne:yn.controlName;var oe;o.placeholder=(oe=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&oe!==void 0?oe:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var le;o.datasourceBind=new W2((le=(b=n)===null||b===void 0?void 0:b.datasourceBind)!==null&&le!==void 0?le:{attributes:yn.controlCustomAttributes});var Ze;o.datasourceType=(Ze=(y=n)===null||y===void 0?void 0:y.datasourceType)!==null&&Ze!==void 0?Ze:vi.INTERNAL;var Ne;o.businessScope=(Ne=(g=n)===null||g===void 0?void 0:g.businessScope)!==null&&Ne!==void 0?Ne:[];var dt;o.businessType=(dt=(O=n)===null||O===void 0?void 0:O.businessType)!==null&&dt!==void 0?dt:ir.ALL;var vt;o.organizingFunction=(vt=(w=n)===null||w===void 0?void 0:w.organizingFunction)!==null&&vt!==void 0?vt:void 0;var ht;o.organizationView=(ht=(R=n)===null||R===void 0?void 0:R.organizationView)!==null&&ht!==void 0?ht:void 0;var Kt;o.showSelectedDetail=(Kt=(I=n)===null||I===void 0?void 0:I.showSelectedDetail)!==null&&Kt!==void 0?Kt:!1,o.selectedContentConfig=new ys((E=n)===null||E===void 0?void 0:E.selectedContentConfig);var Vr;if(o.openMultistageFilling=(Vr=(B=n)===null||B===void 0?void 0:B.openMultistageFilling)!==null&&Vr!==void 0?Vr:!1,o.multistageFilling=[],Array.isArray((T=n)===null||T===void 0?void 0:T.multistageFilling)){var zr;(zr=n)===null||zr===void 0||zr.multistageFilling.map(function(ko){var Cr;(Cr=o.multistageFilling)===null||Cr===void 0||Cr.push(new Fe(ko))})}return o}return r}(z);Z(Wl,"Rules",hH),Z(Wl,"RuntimeRules",bH);function tR(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 rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mH(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Kl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(o,i,u){var c=$H(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Gl(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(e)}function OH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function wH(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:tR(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function $H(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function PH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SH(e){var t=RH();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 wH(this,o)}}var yn=function(e){OH(r,e);var t=SH(r);function r(n){gH(this,r);var o,i;return o=t.call(this,n),Kl(tR(o),"props",void 0),o.props=new Wl((i=n)===null||i===void 0?void 0:i.props),o}return mH(r,[{key:"toDataBindModel",value:function(o){var i=Gl(_n(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}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}(H);Kl(yn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Kl(yn,"controlFieldType",P.DEPARTMENTS),Kl(yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.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 nR(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 oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TH(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function iR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function BH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:nR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function AH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xH();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 BH(this,o)}}var DH=function(e){IH(r,e);var t=kH(r);function r(n){EH(this,r);var o,i;return o=t.call(this,n),iR(nR(o),"props",void 0),o.props=new Wl((i=n)===null||i===void 0?void 0:i.props),o}return TH(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(q);iR(DH,"controlFieldType",P.DEPARTMENTS);function NH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function LH(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:NH(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function zH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CH();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 VH(this,o)}}var qH=function(e){MH(r,e);var t=HH(r);function r(n){return jH(this,r),t.call(this,n)}return FH(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Ae);LH(qH,"excludes",[m.GRID]);function Dv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function WH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function KH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:Dv(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function GH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QH(e){var t=XH();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 KH(this,o)}}var JH=24,Oo=function(e){WH(r,e);var t=QH(r);function r(n){UH(this,r);var o,i,u;o=t.call(this,n),cR(Dv(o),"span",void 0),cR(Dv(o),"offset",void 0);var c;o.span=(c=(i=n)===null||i===void 0?void 0:i.span)!==null&&c!==void 0?c:JH;var l;return o.offset=(l=(u=n)===null||u===void 0?void 0:u.offset)!==null&&l!==void 0?l:0,o}return r}(Be);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZH(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 YH(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function jv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(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&&Fv(e,t)}function tq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:lR(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=nq();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 tq(this,o)}}var wo=function(e){eq(r,e);var t=oq(r);function r(n){ZH(this,r);var o,i;return o=t.call(this,n),jv(lR(o),"props",void 0),o.props=new Oo((i=n)===null||i===void 0?void 0:i.props),o}return YH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Ae);jv(wo,"excludes",[m.COL,m.CARD_GROUP,m.SUBTABLE,m.SUBTABLE_COLUMN,m.DIVIDER]),jv(wo,"childrenMaxLength",1);function fR(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 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 uq(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function cq(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 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&&Lv(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:fR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pq(e){var t=sq();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 aq(this,o)}}var _q=function(e){lq(r,e);var t=pq(r);function r(n){iq(this,r);var o,i;return o=t.call(this,n),cq(fR(o),"props",void 0),o.props=new Oo((i=n)===null||i===void 0?void 0:i.props),o}return uq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Er),pR={Designer:wo,Runtime:_q,Property:Oo};function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(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&&Vv(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:Mv(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gq(e){var t=bq();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 vq(this,o)}}var zv=function(e){dq(r,e);var t=gq(r);function r(n){yq(this,r);var o,i,u;o=t.call(this,n),_R(Mv(o),"layoutMode",void 0),_R(Mv(o),"gutter",void 0);var c;o.layoutMode=(c=(i=n)===null||i===void 0?void 0:i.layoutMode)!==null&&c!==void 0?c:"select";var l;return o.gutter=(l=(u=n)===null||u===void 0?void 0:u.gutter)!==null&&l!==void 0?l:0,o}return r}(Be);function yR(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 dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Hv(e,t)}function $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:yR(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(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=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $q(this,o)}}var qv=function(e){wq(r,e);var t=Sq(r);function r(n){mq(this,r);var o,i;return o=t.call(this,n),Cv(yR(o),"props",void 0),o.props=new zv((i=n)===null||i===void 0?void 0:i.props),o}return Oq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Ae);Cv(qv,"excludes",[m.ROW]),Cv(qv,"setting",[{key:"col-setting",visible:!0}]);function vR(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 hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tq(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function Iq(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 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&&Uv(e,t)}function Aq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:vR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(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=ra(e),o;if(t){var i=ra(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){Eq(this,r);var o,i;return o=t.call(this,n),Iq(vR(o),"props",void 0),o.props=new zv((i=n)===null||i===void 0?void 0:i.props),o}return Tq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Er);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){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 Lq(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Wv(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 Mq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function Vq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:jq(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function zq(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 Hq(e){var t=Cq();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 Vq(this,o)}}var qq=4,oa=function(e){Mq(r,e);var t=Hq(r);function r(n){return Fq(this,r),t.call(this,n)}return Lq(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}(qv);Wv(oa,"excludes",[m.GRID_ROW]),Wv(oa,"setting",[]),Wv(oa,"childrenMaxLength",qq);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){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 Kq(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(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&&Gv(e,t)}function Xq(e,t){return t&&(Qq(t)==="object"||typeof t=="function")?t:Uq(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zq(e){var t=Jq();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xq(this,o)}}var Yq=function(e){Gq(r,e);var t=Zq(r);function r(n){return Wq(this,r),t.call(this,n)}return Kq(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Nq);function eU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function rU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function nU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:eU(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function oU(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 uU(e){var t=iU();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 nU(this,o)}}var cU=function(e){rU(r,e);var t=uU(r);function r(n){return tU(this,r),t.call(this,n)}return r}(zv),lU={Designer:oa,Runtime:Yq,Property:cU};function ca(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 OR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:ca(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function fU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wR(e){var t=sU();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 aU(this,o)}}var pU=function(e){OR(r,e);var t=wR(r);function r(){mR(this,r);var n;return n=t.apply(this,arguments),la(ca(n),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),n}return r}(Be.Rules),$R=function(e){OR(r,e);var t=wR(r);function r(n){mR(this,r);var o,i,u;o=t.call(this,n),la(ca(o),"caption",void 0),la(ca(o),"collapse",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:"\u5206\u7EC4";var l;return o.collapse=(l=(u=n)===null||u===void 0?void 0:u.collapse)!==null&&l!==void 0?l:"none",o}return r}(Be);la($R,"Rules",pU);function PR(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 RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yU(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function Jv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function dU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vU(e,t){return t&&(hU(t)==="object"||typeof t=="function")?t:PR(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function hU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gU(e){var t=bU();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 vU(this,o)}}var SR=function(e){dU(r,e);var t=gU(r);function r(n){_U(this,r);var o,i;return o=t.call(this,n),Jv(PR(o),"props",void 0),o.props=new $R((i=n)===null||i===void 0?void 0:i.props),o}return yU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Ae);Jv(SR,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Jv(SR,"excludes",[m.CARD_GROUP]);function $t(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 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(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&&Yv(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:$t(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IR(e){var t=wU();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 mU(this,o)}}var $U=function(e){TR(r,e);var t=IR(r);function r(n){ER(this,r);var o;return o=t.call(this,n),Pt($t(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Pt($t(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),Pt($t(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ie),pa=function(e){TR(r,e);var t=IR(r);function r(n){ER(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Pt($t(o),"metaAutoWidth",void 0),Pt($t(o),"caption",void 0),Pt($t(o),"fixed",void 0),Pt($t(o),"isShowCaptionTip",void 0),Pt($t(o),"captionTip",void 0),Pt($t(o),"isHideCaption",void 0);var s;o.caption=(s=(i=n)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:"";var p;o.fixed=(p=(u=n)===null||u===void 0?void 0:u.fixed)!==null&&p!==void 0?p:!1;var _;o.isShowCaptionTip=(_=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&_!==void 0?_:!1;var h;o.captionTip=(h=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var d;return o.isHideCaption=(d=(a=n)===null||a===void 0?void 0:a.isHideCaption)!==null&&d!==void 0?d:!1,o.metaAutoWidth=new L2((f=n)===null||f===void 0?void 0:f.metaAutoWidth),o}return r}(Be);Pt(pa,"Rules",$U);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:BR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function EU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IU(e){var t=TU();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 SU(this,o)}}var _t=function(e){RU(r,e);var t=IU(r);function r(n){PU(this,r);var o,i;return o=t.call(this,n),Ar(BR(o),"props",void 0),o.props=new pa((i=n)===null||i===void 0?void 0:i.props),o}return r}(Ae);Ar(_t,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Ar(_t,"controlType","subtable-column"),Ar(_t,"controlIcon","subtable-column"),Ar(_t,"childrenMaxLength",1),Ar(_t,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),Ar(_t,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",showItems:[v.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BU(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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&th(e,t)}function xU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:AR(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function kU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NU(e){var t=DU();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 xU(this,o)}}var kR=function(e){AU(r,e);var t=NU(r);function r(n){BU(this,r);var o,i;return o=t.call(this,n),xR(AR(o),"props",void 0),o.props=new pa((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);xR(kR,"controlType","subtable-column");var jU={Designer:_t,Runtime:kR,Property:pa};function FU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function MU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function VU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:FU(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function zU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CU();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 VU(this,o)}}var qU=function(e){MU(r,e);var t=HU(r);function r(n){return LU(this,r),t.call(this,n)}return r}(Be);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UU(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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(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&&nh(e,t)}function KU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:DR(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(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=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KU(this,o)}}var dn=function(e){WU(r,e);var t=QU(r);function r(n){UU(this,r);var o,i;return o=t.call(this,n),xr(DR(o),"props",void 0),o.props=new qU((i=n)===null||i===void 0?void 0:i.props),o}return r}(Ae);xr(dn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),xr(dn,"controlType","subtable-row"),xr(dn,"controlIcon","subtable-row"),xr(dn,"childrenMaxLength",1),xr(dn,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.SUBTABLE_ROW,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),xr(dn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0}]);function Je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JU(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function ZU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:Je(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=tW();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 YU(this,o)}}var NR=function(e){ZU(r,e);var t=rW(r);function r(n){JU(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),it(Je(o),"widthType",void 0),it(Je(o),"width",void 0),it(Je(o),"caption",void 0),it(Je(o),"fieldCode",void 0),it(Je(o),"fieldType",void 0),it(Je(o),"fieldName",void 0),it(Je(o),"datasourceBind",void 0),it(Je(o),"fixed",void 0),it(Je(o),"textCleanFormart",void 0),it(Je(o),"decimalKeepPrecision",void 0),it(Je(o),"timestampDateType",void 0),it(Je(o),"departmentDisplayLevel",void 0);var y;o.width=(y=(i=n)===null||i===void 0?void 0:i.width)!==null&&y!==void 0?y:200,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(c=n)===null||c===void 0?void 0:c.caption)!==null&&g!==void 0?g:"";var O;o.fixed=(O=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&O!==void 0?O:!1;var w;o.fieldCode=(w=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&w!==void 0?w:"";var R;o.fieldType=(R=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&R!==void 0?R:P.VARCHAR;var I;o.fieldName=(I=(s=n)===null||s===void 0?void 0:s.fieldName)!==null&&I!==void 0?I:"",o.datasourceBind=new ae((p=n)===null||p===void 0?void 0:p.datasourceBind);var E;o.textCleanFormart=(E=(_=n)===null||_===void 0?void 0:_.textCleanFormart)!==null&&E!==void 0?E:!1;var B;o.decimalKeepPrecision=(B=(h=n)===null||h===void 0?void 0:h.decimalKeepPrecision)!==null&&B!==void 0?B:0;var T;o.timestampDateType=(T=(d=n)===null||d===void 0?void 0:d.timestampDateType)!==null&&T!==void 0?T:Gt.DATE;var A;return o.departmentDisplayLevel=(A=(b=n)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&A!==void 0?A:1,o}return r}(Be);function jR(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 kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&ih(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:jR(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(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=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iW(this,o)}}var vn=function(e){oW(r,e);var t=lW(r);function r(n){nW(this,r);var o,i;return o=t.call(this,n),kr(jR(o),"props",void 0),o.props=new NR((i=n)===null||i===void 0?void 0:i.props),o}return r}(Ae);kr(vn,"controlName","\u5217\u8868\u5355\u5143\u683C"),kr(vn,"controlType","gridtable-column"),kr(vn,"controlIcon","gridtable-column"),kr(vn,"childrenMaxLength",1),kr(vn,"excludes",[m.GRID_TABLE,m.GRID_TABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),kr(vn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function FR(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 LR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function fW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:FR(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yW(e){var t=_W();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 sW(this,o)}}var dW=function(e){fW(r,e);var t=yW(r);function r(n){aW(this,r);var o,i;return o=t.call(this,n),LR(FR(o),"props",void 0),o.props=new NR((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);LR(dW,"controlType","gridtable-column");function MR(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 hW(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 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&&ch(e,t)}function gW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:MR(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function mW(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=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gW(this,o)}}var $W=function(e){bW(r,e);var t=wW(r);function r(n){vW(this,r);var o,i;o=t.call(this,n),hW(MR(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=n)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(Be);function lh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ah(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function zR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function PW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:lh(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function RW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CR(e){var t=SW();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 PW(this,o)}}var EW=function(e){zR(r,e);var t=CR(r);function r(n){VR(this,r);var o;return o=t.call(this,n),ah(lh(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),o}return r}(ie),HR=function(e){zR(r,e);var t=CR(r);function r(n){VR(this,r);var o,i;o=t.call(this,n),ah(lh(o),"caption",void 0);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Sa.controlName,o}return r}(Be);ah(HR,"Rules",EW);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IW(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function sh(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 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&&ph(e,t)}function AW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:qR(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kW();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 AW(this,o)}}var $a=function(e){BW(r,e);var t=DW(r);function r(n){TW(this,r);var o,i;return o=t.call(this,n),sh(qR(o),"props",void 0),o.props=new HR((i=n)===null||i===void 0?void 0:i.props),o}return IW(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}(Ae);sh($a,"excludes",[m.TAB]),sh($a,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function WR(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 KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jW(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function Pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:WR(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zW(e){var t=VW();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 LW(this,o)}}var Sa=function(e){FW(r,e);var t=zW(r);function r(n){NW(this,r);var o,i,u;o=t.call(this,n),Pa(WR(o),"props",void 0),o.props=new $W((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[new $a,new $a],o}return jW(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Ae);Pa(Sa,"excludes",[m.TAB]),Pa(Sa,"controlEventKeys",["on_change_tab"]),Pa(Sa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function CW(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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function qW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UW(e,t){return t&&(WW(t)==="object"||typeof t=="function")?t:CW(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function WW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GW(e){var t=KW();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 UW(this,o)}}var XW=function(e){qW(r,e);var t=GW(r);function r(n){return HW(this,r),t.call(this,n)}return r}(Be);function GR(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 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 JW(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function QR(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 ZW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function YW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:GR(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function eK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rK(e){var t=tK();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 YW(this,o)}}var nK=function(e){ZW(r,e);var t=rK(r);function r(n){QW(this,r);var o,i;return o=t.call(this,n),QR(GR(o),"props",void 0),o.props=new XW({}),o.children=((i=n)===null||i===void 0?void 0:i.children)||[new wo({props:new Oo({span:12})}),new wo({props:new Oo({span:12})})],o}return JW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Ae);QR(nK,"excludes",[m.GRID_ROW,m.ROW,m.GRID,m.SUBTABLE,m.TAB,m.TOOLBOX]);function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&bh(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:be(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(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 gh(e){var t=uK();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 oK(this,o)}}var Ba;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Ba||(Ba={}));var cK=function(e){hh(r,e);var t=gh(r);function r(n){vh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),lK=function(e){hh(r,e);var t=gh(r);function r(n){vh(this,r);var o;if(o=t.call(this,n),ge(be(o),"triggerFieldCode",{type:"any"}),ge(be(o),"datasourceBind",{type:"any"}),n.triggerType===Ba.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}),Is.call(be(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}(ie),$o=function(e){hh(r,e);var t=gh(r);function r(n){vh(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),ge(be(o),"datasourceBind",void 0),ge(be(o),"isLoading",void 0),ge(be(o),"isShowSubList",void 0),ge(be(o),"triggerType",void 0),ge(be(o),"triggerFieldCode",void 0),ge(be(o),"sublistPage",void 0),ge(be(o),"showType",void 0),ge(be(o),"showFullScreen",void 0),ge(be(o),"isFixedHeader",void 0),ge(be(o),"selectionType",void 0),ge(be(o),"isShowSelection",void 0),ge(be(o),"isAllLoaded",void 0),ge(be(o),"countType",void 0),o.datasourceBind=new ae((i=n)===null||i===void 0?void 0:i.datasourceBind);var g;o.isLoading=(g=(u=n)===null||u===void 0?void 0:u.isLoading)!==null&&g!==void 0?g:!1;var O;o.isShowSubList=(O=(c=n)===null||c===void 0?void 0:c.isShowSubList)!==null&&O!==void 0?O:!1;var w;o.triggerType=(w=(l=n)===null||l===void 0?void 0:l.triggerType)!==null&&w!==void 0?w:Ba.CLICK_ROW;var R;o.triggerFieldCode=(R=(a=n)===null||a===void 0?void 0:a.triggerFieldCode)!==null&&R!==void 0?R:"",o.sublistPage=new H2((f=n)===null||f===void 0?void 0:f.sublistPage);var I;o.showType=(I=(s=n)===null||s===void 0?void 0:s.showType)!==null&&I!==void 0?I:"stretch";var E;o.showFullScreen=(E=(p=n)===null||p===void 0?void 0:p.showFullScreen)!==null&&E!==void 0?E:!1;var B;o.selectionType=(B=(_=n)===null||_===void 0?void 0:_.selectionType)!==null&&B!==void 0?B:"multiple";var T;o.isFixedHeader=(T=(h=n)===null||h===void 0?void 0:h.isFixedHeader)!==null&&T!==void 0?T:!1;var A;o.isShowSelection=(A=(d=n)===null||d===void 0?void 0:d.isShowSelection)!==null&&A!==void 0?A:!1;var x;return o.isAllLoaded=(x=(b=n)===null||b===void 0?void 0:b.isAllLoaded)!==null&&x!==void 0?x:!0,o.countType=(y=n)===null||y===void 0?void 0:y.countType,o}return r}(Be);ge($o,"Rules",lK),ge($o,"RuntimeRules",cK);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fK(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}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 sK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function pK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:JR(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(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 dK(e){var t=yK();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 pK(this,o)}}var ka=function(e){sK(r,e);var t=dK(r);function r(n){aK(this,r);var o,i;return o=t.call(this,n),Aa(JR(o),"props",void 0),o.props=new $o((i=n)===null||i===void 0?void 0:i.props),o}return fK(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}(Ae);Aa(ka,"excludes",[m.ROW]),Aa(ka,"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"]),Aa(ka,"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 YR(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 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 hK(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function bK(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 gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:YR(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function OK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $K(e){var t=wK();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var PK=function(e){gK(r,e);var t=$K(r);function r(n){vK(this,r);var o,i;return o=t.call(this,n),bK(YR(o),"props",void 0),o.props=new $o((i=n)===null||i===void 0?void 0:i.props),o}return hK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Er),RK={Designer:ka,Runtime:PK,Property:$o};function hr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&wh(e,t)}function SK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:hr(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function EK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=TK();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 SK(this,o)}}var IK=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),ja=function(e){rS(r,e);var t=nS(r);function r(n){tS(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),br(hr(o),"save",void 0),br(hr(o),"cancel",void 0),br(hr(o),"saveAs",void 0),br(hr(o),"print",void 0),br(hr(o),"custom",void 0),br(hr(o),"isLoading",void 0),br(hr(o),"datasourceBind",void 0);var p;o.save=new Qt((p=(i=n)===null||i===void 0?void 0:i.save)!==null&&p!==void 0?p:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var _;o.cancel=new Qt((_=(u=n)===null||u===void 0?void 0:u.cancel)!==null&&_!==void 0?_:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var h;o.saveAs=new Qt((h=(c=n)===null||c===void 0?void 0:c.saveAs)!==null&&h!==void 0?h:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var d;o.print=new Qt((d=(l=n)===null||l===void 0?void 0:l.print)!==null&&d!==void 0?d:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(a=n)===null||a===void 0?void 0:a.custom)!==null&&b!==void 0?b:[]).map(function(g){return new Qt(g)});var y;return o.isLoading=(y=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new ae((s=n)===null||s===void 0?void 0:s.datasourceBind),o}return r}(Be);br(ja,"RuntimeRules",IK);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AK(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function uS(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 xK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:oS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function DK(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 jK(e){var t=NK();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 kK(this,o)}}var cS=function(e){xK(r,e);var t=jK(r);function r(n){BK(this,r);var o,i;return o=t.call(this,n),uS(oS(o),"props",void 0),o.props=new ja((i=n)===null||i===void 0?void 0:i.props),o}return AK(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Ae);uS(cS,"excludes",[]);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function MK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function zK(e,t){return t&&(CK(t)==="object"||typeof t=="function")?t:lS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function CK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zK(this,o)}}var UK=function(e){VK(r,e);var t=qK(r);function r(n){FK(this,r);var o,i;return o=t.call(this,n),MK(lS(o),"props",void 0),o.props=new ja((i=n)===null||i===void 0?void 0:i.props),o}return LK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Er),WK={Designer:cS,Runtime:UK,Property:ja};function M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&Eh(e,t)}function KK(e,t){return t&&(GK(t)==="object"||typeof t=="function")?t:M(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(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 Th(e){var t=XK();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 KK(this,o)}}var QK=function(e){Sh(r,e);var t=Th(r);function r(n){Rh(this,r);var o;return o=t.call(this,n),F(M(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),F(M(o),"limitRows",[{type:"number",required:!0,message:$.getMessage("isNotNumber")},{type:"number",min:0,message:$.getMessage("limitRowsCannotBeLessThan0")}]),F(M(o),"formKey",{type:"string",required:!1,message:$.getMessage("pleaseEnterForm")}),F(M(o),"maxHeight",{type:"number",required:!0,message:$.getMessage("pleaseEnterMaxHeight")}),F(M(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),F(M(o),"mobileRowCaption",{type:"string",required:!1,message:$.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(ie),JK=function(e){Sh(r,e);var t=Th(r);function r(n){Rh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:$.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l($.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:$.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Rr),Ih=function(e){Sh(r,e);var t=Th(r);function r(n,o){Rh(this,r);var i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,R,I,E,B,T,A,x,k,D,j,C,Y,ee,ne,oe;i=t.call(this,n,o),F(M(i),"caption",void 0),F(M(i),"labelPosition",void 0),F(M(i),"isHideCaption",void 0),F(M(i),"isShowCaptionTip",void 0),F(M(i),"captionTip",void 0),F(M(i),"defaultState",void 0),F(M(i),"limitRows",void 0),F(M(i),"maxRows",void 0),F(M(i),"defaultRows",void 0),F(M(i),"datasourceBind",void 0),F(M(i),"printMode",void 0),F(M(i),"openType",void 0),F(M(i),"formKey",void 0),F(M(i),"useCustomHeight",void 0),F(M(i),"maxHeight",void 0),F(M(i),"canAdd",void 0),F(M(i),"canDelete",void 0),F(M(i),"canCheck",void 0),F(M(i),"canEdit",void 0),F(M(i),"canImport",void 0),F(M(i),"canExport",void 0),F(M(i),"canClear",void 0),F(M(i),"isPaste",void 0),F(M(i),"mobileShowType",void 0),F(M(i),"mobileDefaultNum",void 0),F(M(i),"dataStorageDoc",void 0),F(M(i),"serverPagination",void 0),F(M(i),"fixedColumn",void 0),F(M(i),"mobileRowCaption",void 0),F(M(i),"mobileIsTile",void 0);var le;i.caption=(le=(u=o)===null||u===void 0?void 0:u.caption)!==null&&le!==void 0?le:kh.controlName;var Ze;i.isHideCaption=(Ze=(c=o)===null||c===void 0?void 0:c.isHideCaption)!==null&&Ze!==void 0?Ze:!1;var Ne;i.defaultState=(Ne=(l=o)===null||l===void 0?void 0:l.defaultState)!==null&&Ne!==void 0?Ne:"default";var dt;i.labelPosition=(dt=(a=o)===null||a===void 0?void 0:a.labelPosition)!==null&&dt!==void 0?dt:"top";var vt;i.openType=(vt=(f=o)===null||f===void 0?void 0:f.openType)!==null&&vt!==void 0?vt:"default";var ht;i.formKey=(ht=(s=o)===null||s===void 0?void 0:s.formKey)!==null&&ht!==void 0?ht:"";var Kt;i.useCustomHeight=(Kt=(p=o)===null||p===void 0?void 0:p.useCustomHeight)!==null&&Kt!==void 0?Kt:!1;var Vr;i.maxHeight=(Vr=(_=o)===null||_===void 0?void 0:_.maxHeight)!==null&&Vr!==void 0?Vr:qk;var zr;i.printMode=(zr=(h=o)===null||h===void 0?void 0:h.printMode)!==null&&zr!==void 0?zr:"row";var ko;i.limitRows=(ko=(d=o)===null||d===void 0?void 0:d.limitRows)!==null&&ko!==void 0?ko:1;var Cr;i.maxRows=(Cr=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&Cr!==void 0?Cr:null;var sg;i.defaultRows=(sg=(y=o)===null||y===void 0?void 0:y.defaultRows)!==null&&sg!==void 0?sg:1,i.datasourceBind=new ae((g=o)===null||g===void 0?void 0:g.datasourceBind);var pg;i.canAdd=(pg=(O=o)===null||O===void 0?void 0:O.canAdd)!==null&&pg!==void 0?pg:!0;var _g;i.canDelete=(_g=(w=o)===null||w===void 0?void 0:w.canDelete)!==null&&_g!==void 0?_g:!0;var yg;i.canCheck=(yg=(R=o)===null||R===void 0?void 0:R.canCheck)!==null&&yg!==void 0?yg:!1;var dg;i.canEdit=(dg=(I=o)===null||I===void 0?void 0:I.canEdit)!==null&&dg!==void 0?dg:!1;var vg;i.canImport=(vg=(E=o)===null||E===void 0?void 0:E.canImport)!==null&&vg!==void 0?vg:!1;var hg;i.canExport=(hg=(B=o)===null||B===void 0?void 0:B.canExport)!==null&&hg!==void 0?hg:!1;var bg;i.canClear=(bg=(T=o)===null||T===void 0?void 0:T.canClear)!==null&&bg!==void 0?bg:!0;var gg;i.serverPagination=(gg=(A=o)===null||A===void 0?void 0:A.serverPagination)!==null&&gg!==void 0?gg:!1;var mg;i.isShowCaptionTip=(mg=(x=o)===null||x===void 0?void 0:x.isShowCaptionTip)!==null&&mg!==void 0?mg:!1;var Og;i.captionTip=(Og=(k=o)===null||k===void 0?void 0:k.captionTip)!==null&&Og!==void 0?Og:"";var wg;i.mobileShowType=(wg=(D=o)===null||D===void 0?void 0:D.mobileShowType)!==null&&wg!==void 0?wg:"list";var $g;i.mobileDefaultNum=($g=(j=o)===null||j===void 0?void 0:j.mobileDefaultNum)!==null&&$g!==void 0?$g:10;var Pg;i.dataStorageDoc=(Pg=(C=o)===null||C===void 0?void 0:C.dataStorageDoc)!==null&&Pg!==void 0?Pg:new M2;var Rg;i.fixedColumn=(Rg=(Y=o)===null||Y===void 0?void 0:Y.fixedColumn)!==null&&Rg!==void 0?Rg:[];var Sg;i.mobileRowCaption=(Sg=(ee=o)===null||ee===void 0?void 0:ee.mobileRowCaption)!==null&&Sg!==void 0?Sg:"\u660E\u7EC6";var Eg;i.mobileIsTile=(Eg=(ne=o)===null||ne===void 0?void 0:ne.mobileIsTile)!==null&&Eg!==void 0?Eg:!1;var Tg;return i.isPaste=(Tg=(oe=o)===null||oe===void 0?void 0:oe.isPaste)!==null&&Tg!==void 0?Tg:!1,i}return r}(Hs);F(Ih,"Rules",QK),F(Ih,"RuntimeRules",JK);function Bh(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 fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YK(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Ah(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function eG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Bh(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function rG(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 oG(e){var t=nG();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 tG(this,o)}}var kh=function(e){eG(r,e);var t=oG(r);function r(n){ZK(this,r);var o,i,u,c;return o=t.call(this,n),Ah(Bh(o),"props",void 0),o.props=new Ih(Bh(o),(i=n)===null||i===void 0?void 0:i.props),((c=n)===null||c===void 0||(u=c.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new _t,new _t,new _t]),o}return YK(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new _t,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Ws);Ah(kh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Ah(kh,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.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 hn(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 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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function uG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:hn(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function lG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aG();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cG(this,o)}}var sG=function(e){uG(r,e);var t=fG(r);function r(n,o){iG(this,r);var i,u,c,l,a,f;i=t.call(this,n,o),Po(hn(i),"isFixedHeader",void 0),Po(hn(i),"selectionType",void 0),Po(hn(i),"isShowToolbar",void 0),Po(hn(i),"isShowSelection",void 0),Po(hn(i),"isShowCustomColumns",void 0);var s;i.isFixedHeader=(s=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&s!==void 0?s:!1,i.selectionType=(c=o)===null||c===void 0?void 0:c.selectionType;var p;i.isShowToolbar=(p=(l=o)===null||l===void 0?void 0:l.isShowToolbar)!==null&&p!==void 0?p:!0;var _;i.isShowSelection=(_=(a=o)===null||a===void 0?void 0:a.isShowSelection)!==null&&_!==void 0?_:!1;var h;return i.isShowCustomColumns=(h=(f=o)===null||f===void 0?void 0:f.isShowCustomColumns)!==null&&h!==void 0?h:!0,i}return r}(Hs);function pG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(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&&Nh(e,t)}function yG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:pG(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=vG();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 yG(this,o)}}var hG=function(e){pS(r,e);var t=_S(r);function r(n){sS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Tt),jh=function(e){pS(r,e);var t=_S(r);function r(n){sS(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n);var _;o.fixed=(_=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&_!==void 0?_:"left";var h;o.caption=(h=(u=n)===null||u===void 0?void 0:u.caption)!==null&&h!==void 0?h:bn.controlName;var d;o.width=(d=(c=n)===null||c===void 0?void 0:c.width)!==null&&d!==void 0?d:60;var b;o.autoWidth.minWidth=(b=(a=n)===null||a===void 0||(l=a.autoWidth)===null||l===void 0?void 0:l.minWidth)!==null&&b!==void 0?b:60;var y;o.autoWidth.flex=(y=(s=n)===null||s===void 0||(f=s.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&y!==void 0?y:.4;var g;return o.widthType=(g=(p=n)===null||p===void 0?void 0:p.widthType)!==null&&g!==void 0?g:"px",o}return r}(ce);_G(jh,"Rules",hG);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(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 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&&Fh(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:yS(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $G(e){var t=wG();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 mG(this,o)}}var bn=function(e){gG(r,e);var t=$G(r);function r(n){bG(this,r);var o,i;return o=t.call(this,n),Ro(yS(o),"props",void 0),o.props=new jh((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);Ro(bn,"controlType","order-column"),Ro(bn,"controlName","\u5E8F\u53F7"),Ro(bn,"controlIcon","order-column"),Ro(bn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",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 PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lh(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 RG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:dS(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function EG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IG(e){var t=TG();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 SG(this,o)}}var vS=function(e){RG(r,e);var t=IG(r);function r(n){PG(this,r);var o,i;return o=t.call(this,n),Lh(dS(o),"props",void 0),o.props=new jh((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Lh(vS,"controlType","order-column"),Lh(vS,"controlFieldType",P.DECIMAL);function Vh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BG(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 Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function AG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:Vh(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function kG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=DG();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 xG(this,o)}}var bS=function(e){AG(r,e);var t=NG(r);function r(n){BG(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),hS(Vh(o),"showType",void 0),hS(Vh(o),"limit",void 0);var s;o.fixed=(s=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&s!==void 0?s:"right",o.widthType="auto";var p;o.autoWidth.minWidth=(p=(c=n)===null||c===void 0||(u=c.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&p!==void 0?p:84;var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:mn.controlName;var h;o.showType=(h=(a=n)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"icon";var d;return o.limit=(d=(f=n)===null||f===void 0?void 0:f.limit)!==null&&d!==void 0?d:3,o}return r}(ce);function Wa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gS(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function jG(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){gS(i,n,o,u,c,"next",l)}function c(l){gS(i,n,o,u,c,"throw",l)}u(void 0)})}}function FG(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 LG(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gn=Reflect.get:gn=function(o,i,u){var c=qG(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},gn(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function MG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VG(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){Dr(e,o,r[o])})}return e}function zG(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 CG(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zG(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function HG(e,t){return t&&(UG(t)==="object"||typeof t=="function")?t:Wa(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function qG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}function UG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KG(e){var t=WG();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HG(this,o)}}function GG(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var mn=function(e){MG(r,e);var t=KG(r);function r(n){FG(this,r);var o,i,u;return o=t.call(this,n),Dr(Wa(o),"props",void 0),Dr(Wa(o),"children",void 0),o.props=new bS((i=n)===null||i===void 0?void 0:i.props),Yt(Wa(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return LG(r,[{key:"toDataBindModel",value:function(){var o=gn(gr(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===du.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=gn(gr(r.prototype),"toSchema",this).call(this);return CG(VG({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return gn(gr(r.prototype),"validate",u)};return jG(function(){return GG(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(we);Dr(mn,"controlType","operation-column"),Dr(mn,"controlName","\u64CD\u4F5C"),Dr(mn,"controlIcon","operation-column"),Dr(mn,"setting",[{key:"caption",showItems:[v.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 Ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(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 QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:Ka(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();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 JG(this,o)}}var OS=function(e){QG(r,e);var t=eX(r);function r(n){XG(this,r);var o,i,u;return o=t.call(this,n),Ga(Ka(o),"props",void 0),Ga(Ka(o),"children",void 0),o.props=new bS((i=n)===null||i===void 0?void 0:i.props),Yt(Ka(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}($e);Ga(OS,"controlType","operation-column"),Ga(OS,"controlFieldType",P.FILE);function So(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wS(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function tX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){wS(i,n,o,u,c,"next",l)}function c(l){wS(i,n,o,u,c,"throw",l)}u(void 0)})}}function rX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nX(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function Qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Eo=Reflect.get:Eo=function(o,i,u){var c=aX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Eo(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&qh(e,t)}function iX(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){Qa(e,o,r[o])})}return e}function uX(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 cX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:So(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function aX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}function fX(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 pX(e){var t=sX();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}function _X(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var yX=function(e){oX(r,e);var t=pX(r);function r(n){rX(this,r);var o,i,u,c;return o=t.call(this,n),Qa(So(o),"props",void 0),Qa(So(o),"children",void 0),o.props=new sG(So(o),(i=n)===null||i===void 0?void 0:i.props),Yt(So(o),"children",(u=n)===null||u===void 0?void 0:u.children),((c=n)===null||c===void 0?void 0:c.props.headers)===void 0&&(o.props.headers=[new bn,new mn]),o}return nX(r,[{key:"toSchema",value:function(){var o=Eo(Nr(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return cX(iX({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Eo(Nr(r.prototype),"validate",u)};return tX(function(){return _X(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Ws);Qa(yX,"setting",[{key:"list-fixed-header",visible:!0}]);function mr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PS(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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(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&&Uh(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:mr(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function vX(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 SS(e){var t=hX();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 dX(this,o)}}var bX=function(e){RS(r,e);var t=SS(r);function r(n){PS(this,r);var o;return o=t.call(this,n),Tr.call(mr(o),n),o}return r}(Dm),Wh=function(e){RS(r,e);var t=SS(r);function r(n){PS(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),jr(mr(o),"optionConfig",void 0),jr(mr(o),"datasourceBind",void 0),jr(mr(o),"showLinkOperation",void 0),jr(mr(o),"linkOperationOption",void 0),jr(mr(o),"options",void 0),jr(mr(o),"lineEllipsis",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:wn.controlName;var _;o.optionConfig=(_=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&_!==void 0?_:"none",o.datasourceBind=new ae((c=n)===null||c===void 0?void 0:c.datasourceBind);var h;o.options=Et((h=(l=n)===null||l===void 0?void 0:l.options)!==null&&h!==void 0?h:[{}]);var d;o.showLinkOperation=(d=(a=n)===null||a===void 0?void 0:a.showLinkOperation)!==null&&d!==void 0?d:!1,o.linkOperationOption=new $r((f=n)===null||f===void 0?void 0:f.linkOperationOption);var b;return o.lineEllipsis=(b=(s=n)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:1,o}return r}(ce);jr(Wh,"Rules",bX);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function mX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OX(e,t){return t&&(wX(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 wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PX(e){var t=$X();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OX(this,o)}}var wn=function(e){mX(r,e);var t=PX(r);function r(n){gX(this,r);var o,i;return o=t.call(this,n),On(ES(o),"props",void 0),o.props=new Wh((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);On(wn,"controlType","varchar-column"),On(wn,"controlName","\u77ED\u6587\u672C"),On(wn,"controlIcon","varchar-column"),On(wn,"controlFieldType",P.VARCHAR),On(wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(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 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&&Xh(e,t)}function EX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:TS(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=IX();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 EX(this,o)}}var IS=function(e){SX(r,e);var t=BX(r);function r(n){RX(this,r);var o,i;return o=t.call(this,n),Gh(TS(o),"props",void 0),o.props=new Wh((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Gh(IS,"controlType","varchar-column"),Gh(IS,"controlFieldType",P.VARCHAR);function $n(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 To(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 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&&Qh(e,t)}function AX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:$n(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}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 xS(e){var t=kX();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 AX(this,o)}}var DX=function(e){AS(r,e);var t=xS(r);function r(n){BS(this,r);var o;return o=t.call(this,n),Tr.call($n(o),n),o}return r}(Tt),Jh=function(e){AS(r,e);var t=xS(r);function r(n){BS(this,r);var o,i,u,c,l,a;o=t.call(this,n),To($n(o),"escapeHTML",void 0),To($n(o),"showLinkOperation",void 0),To($n(o),"linkOperationOption",void 0),To($n(o),"lineEllipsis",void 0);var f;o.escapeHTML=(f=(i=n)===null||i===void 0?void 0:i.escapeHTML)!==null&&f!==void 0?f:!0;var s;o.caption=(s=(u=n)===null||u===void 0?void 0:u.caption)!==null&&s!==void 0?s:Sn.controlName;var p;o.lineEllipsis=(p=(c=n)===null||c===void 0?void 0:c.lineEllipsis)!==null&&p!==void 0?p:1;var _;return o.showLinkOperation=(_=(l=n)===null||l===void 0?void 0:l.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new $r((a=n)===null||a===void 0?void 0:a.linkOperationOption),o}return r}(ce);To(Jh,"Rules",DX);function kS(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 DS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jX(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function Pn(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?tf=Reflect.get:tf=function(o,i,u){var c=MX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},tf(e,t,r||e)}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(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&&Zh(e,t)}function LX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:kS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function MX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rn(e),e!==null););return e}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CX(e){var t=zX();return function(){var n=Rn(e),o;if(t){var i=Rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var Sn=function(e){FX(r,e);var t=CX(r);function r(n){NX(this,r);var o,i;return o=t.call(this,n),Pn(kS(o),"props",void 0),o.props=new Jh((i=n)===null||i===void 0?void 0:i.props),o}return jX(r,[{key:"toDataBindModel",value:function(o){var i=tf(Rn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(we);Pn(Sn,"controlType","text-column"),Pn(Sn,"controlName","\u957F\u6587\u672C"),Pn(Sn,"controlIcon","text-column"),Pn(Sn,"controlFieldType",P.TEXT),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 NS(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 Yh(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 qX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:NS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function WX(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 GX(e){var t=KX();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 UX(this,o)}}var jS=function(e){qX(r,e);var t=GX(r);function r(n){HX(this,r);var o,i;return o=t.call(this,n),Yh(NS(o),"props",void 0),o.props=new Jh((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Yh(jS,"controlType","text-column"),Yh(jS,"controlFieldType",P.TEXT);function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:Rt(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}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 MS(e){var t=JX();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 XX(this,o)}}var ZX=function(e){LS(r,e);var t=MS(r);function r(n){FS(this,r);var o;return o=t.call(this,n),Tr.call(Rt(o),n),o}return r}(Tt),rb=function(e){LS(r,e);var t=MS(r);function r(n){FS(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),qt(Rt(o),"optionConfig",void 0),qt(Rt(o),"datasourceBind",void 0),qt(Rt(o),"showLinkOperation",void 0),qt(Rt(o),"linkOperationOption",void 0),qt(Rt(o),"options",void 0),qt(Rt(o),"precision",void 0),qt(Rt(o),"micrometer",void 0),qt(Rt(o),"percentageFormat",void 0);var h;o.caption=(h=(i=n)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:In.controlName;var d;o.precision=(d=(u=n)===null||u===void 0?void 0:u.precision)!==null&&d!==void 0?d:0;var b;o.micrometer=(b=(c=n)===null||c===void 0?void 0:c.micrometer)!==null&&b!==void 0?b:!1;var y;o.percentageFormat=(y=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&y!==void 0?y:!1;var g;o.optionConfig=(g=(a=n)===null||a===void 0?void 0:a.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new ae((f=n)===null||f===void 0?void 0:f.datasourceBind);var O;o.options=Et((O=(s=n)===null||s===void 0?void 0:s.options)!==null&&O!==void 0?O:[{}]);var w;return o.showLinkOperation=(w=(p=n)===null||p===void 0?void 0:p.showLinkOperation)!==null&&w!==void 0?w:!1,o.linkOperationOption=new $r((_=n)===null||_===void 0?void 0:_.linkOperationOption),o}return r}(ce);qt(rb,"Rules",ZX);function VS(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 zS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eQ(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function En(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?of=Reflect.get:of=function(o,i,u){var c=nQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},of(e,t,r||e)}function Tn(e){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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&&nb(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:VS(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(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 iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=iQ();return function(){var n=Tn(e),o;if(t){var i=Tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var In=function(e){tQ(r,e);var t=uQ(r);function r(n){YX(this,r);var o,i;return o=t.call(this,n),En(VS(o),"props",void 0),o.props=new rb((i=n)===null||i===void 0?void 0:i.props),o}return eQ(r,[{key:"toDataBindModel",value:function(o){var i=of(Tn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(we);En(In,"controlType","decimal-column"),En(In,"controlName","\u6570\u503C"),En(In,"controlIcon","decimal-column"),En(In,"controlFieldType",P.DECIMAL),En(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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:[v.MICROMETER,v.PRECISION,v.PERCENTAGE],visible:!0},{key:"column-align",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 cQ(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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&ib(e,t)}function aQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:CS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function fQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pQ(e){var t=sQ();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aQ(this,o)}}var HS=function(e){lQ(r,e);var t=pQ(r);function r(n){cQ(this,r);var o,i;return o=t.call(this,n),ob(CS(o),"props",void 0),o.props=new rb((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);ob(HS,"controlType","decimal-column"),ob(HS,"controlFieldType",P.DECIMAL);function Io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(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 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&&ub(e,t)}function _Q(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:Io(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function yQ(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 WS(e){var t=dQ();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 _Q(this,o)}}var vQ=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o;return o=t.call(this,n),Tr.call(Io(o),n),o}return r}(Tt),cb=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o,i,u,c,l;o=t.call(this,n),cf(Io(o),"dateType",void 0),cf(Io(o),"showLinkOperation",void 0),cf(Io(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Gt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new $r((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:xn.controlName,o}return r}(ce);cf(cb,"Rules",vQ);function KS(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 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 bQ(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}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 af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?af=Reflect.get:af=function(o,i,u){var c=OQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},af(e,t,r||e)}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},An(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&&lb(e,t)}function mQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:KS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function OQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function wQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PQ(e){var t=$Q();return function(){var n=An(e),o;if(t){var i=An(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mQ(this,o)}}var xn=function(e){gQ(r,e);var t=PQ(r);function r(n){hQ(this,r);var o,i;return o=t.call(this,n),Bn(KS(o),"props",void 0),o.props=new cb((i=n)===null||i===void 0?void 0:i.props),o}return bQ(r,[{key:"toDataBindModel",value:function(o){var i=af(An(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(we);Bn(xn,"controlType","timescope-column"),Bn(xn,"controlName","\u65E5\u671F\u533A\u95F4"),Bn(xn,"controlIcon","timescope-column"),Bn(xn,"controlFieldType",P.TIMESCOPE),Bn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(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&&fb(e,t)}function EQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:XS(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BQ(e){var t=IQ();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 EQ(this,o)}}var QS=function(e){SQ(r,e);var t=BQ(r);function r(n){RQ(this,r);var o,i;return o=t.call(this,n),ab(XS(o),"props",void 0),o.props=new cb((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);ab(QS,"controlType","timescope-column"),ab(QS,"controlFieldType",P.TIMESCOPE);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function ZS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function AQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:Bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(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 YS(e){var t=kQ();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 AQ(this,o)}}var DQ=function(e){ZS(r,e);var t=YS(r);function r(n){JS(this,r);var o;return o=t.call(this,n),Tr.call(Bo(o),n),o}return r}(Tt),pb=function(e){ZS(r,e);var t=YS(r);function r(n){JS(this,r);var o,i,u,c,l;o=t.call(this,n),sf(Bo(o),"dateType",void 0),sf(Bo(o),"showLinkOperation",void 0),sf(Bo(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Gt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new $r((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:Nn.controlName,o}return r}(ce);sf(pb,"Rules",DQ);function eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jQ(e,t,r){return t&&tE(e.prototype,t),r&&tE(e,r),e}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 _f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_f=Reflect.get:_f=function(o,i,u){var c=MQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},_f(e,t,r||e)}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dn(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&&_b(e,t)}function LQ(e,t){return t&&(VQ(t)==="object"||typeof t=="function")?t:eE(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function MQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dn(e),e!==null););return e}function VQ(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 CQ(e){var t=zQ();return function(){var n=Dn(e),o;if(t){var i=Dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LQ(this,o)}}var Nn=function(e){FQ(r,e);var t=CQ(r);function r(n){NQ(this,r);var o,i;return o=t.call(this,n),kn(eE(o),"props",void 0),o.props=new pb((i=n)===null||i===void 0?void 0:i.props),o}return jQ(r,[{key:"toDataBindModel",value:function(o){var i=_f(Dn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(we);kn(Nn,"controlType","timestamp-column"),kn(Nn,"controlName","\u65E5\u671F"),kn(Nn,"controlIcon","timestamp-column"),kn(Nn,"controlFieldType",P.TIMESTAMP),kn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 rE(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 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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function qQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:rE(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function WQ(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 GQ(e){var t=KQ();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 UQ(this,o)}}var nE=function(e){qQ(r,e);var t=GQ(r);function r(n){HQ(this,r);var o,i;return o=t.call(this,n),yb(rE(o),"props",void 0),o.props=new pb((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);yb(nE,"controlType","timestamp-column"),yb(nE,"controlFieldType",P.TIMESTAMP);function df(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 vf(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 iE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:df(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uE(e){var t=JQ();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 XQ(this,o)}}var ZQ=function(e){iE(r,e);var t=uE(r);function r(n){return oE(this,r),t.call(this,n)}return r}(Dm),hb=function(e){iE(r,e);var t=uE(r);function r(n){oE(this,r);var o,i,u,c,l;o=t.call(this,n),vf(df(o),"optionConfig",void 0),vf(df(o),"datasourceBind",void 0),vf(df(o),"options",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:Fn.controlName;var f;o.optionConfig=(f=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new ae((c=n)===null||c===void 0?void 0:c.datasourceBind);var s;return o.options=Et((s=(l=n)===null||l===void 0?void 0:l.options)!==null&&s!==void 0?s:[{}]),o}return r}(ce);vf(hb,"Rules",ZQ);function cE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(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 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&&bb(e,t)}function tJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:cE(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function rJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oJ(e){var t=nJ();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 tJ(this,o)}}var Fn=function(e){eJ(r,e);var t=oJ(r);function r(n){YQ(this,r);var o,i;return o=t.call(this,n),jn(cE(o),"props",void 0),o.props=new hb((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);jn(Fn,"controlType","array-column"),jn(Fn,"controlName","\u6570\u7EC4"),jn(Fn,"controlIcon","array-column"),jn(Fn,"controlFieldType",P.ARRAY),jn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 lE(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 gb(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 uJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:lE(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function lJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fJ(e){var t=aJ();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 cJ(this,o)}}var aE=function(e){uJ(r,e);var t=fJ(r);function r(n){iJ(this,r);var o,i;return o=t.call(this,n),gb(lE(o),"props",void 0),o.props=new hb((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);gb(aE,"controlType","array-column"),gb(aE,"controlFieldType",P.ARRAY);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function _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&&Ob(e,t)}function yJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:fE(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function dJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=vJ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yJ(this,o)}}var sE=function(e){_J(r,e);var t=hJ(r);function r(n){sJ(this,r);var o,i,u;o=t.call(this,n),pJ(fE(o),"displayLevel",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Vn.controlName;var l;return o.displayLevel=(l=(u=n)===null||u===void 0?void 0:u.displayLevel)!==null&&l!==void 0?l:1,o}return r}(ce);function pE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(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 gJ(e,t,r){return t&&_E(e.prototype,t),r&&_E(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}function Of(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Of=Reflect.get:Of=function(o,i,u){var c=wJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Of(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(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&&wb(e,t)}function OJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:pE(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function wJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}function $J(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 RJ(e){var t=PJ();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 OJ(this,o)}}var Vn=function(e){mJ(r,e);var t=RJ(r);function r(n){bJ(this,r);var o,i;return o=t.call(this,n),Ln(pE(o),"props",void 0),o.props=new sE((i=n)===null||i===void 0?void 0:i.props),o}return gJ(r,[{key:"toDataBindModel",value:function(o){var i=Of(Mn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(we);Ln(Vn,"controlType","department-column"),Ln(Vn,"controlName","\u90E8\u95E8"),Ln(Vn,"controlIcon","department-column"),Ln(Vn,"controlFieldType",P.DEPARTMENTS),Ln(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&Pb(e,t)}function TJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:yE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function IJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AJ(e){var t=BJ();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 TJ(this,o)}}var dE=function(e){EJ(r,e);var t=AJ(r);function r(n){SJ(this,r);var o,i;return o=t.call(this,n),$b(yE(o),"props",void 0),o.props=new sE((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);$b(dE,"controlType","department-column"),$b(dE,"controlFieldType",P.DEPARTMENTS);function $f(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function hE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:$f(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(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 bE(e){var t=DJ();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 xJ(this,o)}}var NJ=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o;return o=t.call(this,n),Tr.call($f(o),n),o}return r}(Tt),Eb=function(e){hE(r,e);var t=bE(r);function r(n){vE(this,r);var o,i,u,c;o=t.call(this,n),Rb($f(o),"showLinkOperation",void 0),Rb($f(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Cn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new $r((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ce);Rb(Eb,"Rules",NJ);function gE(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 zn(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 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&&Tb(e,t)}function LJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:gE(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LJ(this,o)}}var Cn=function(e){FJ(r,e);var t=zJ(r);function r(n){jJ(this,r);var o,i;return o=t.call(this,n),zn(gE(o),"props",void 0),o.props=new Eb((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);zn(Cn,"controlType","auto-number-column"),zn(Cn,"controlName","\u81EA\u52A8\u7F16\u53F7"),zn(Cn,"controlIcon","auto-number-column"),zn(Cn,"controlFieldType",P.AUTO_NUMBER),zn(Cn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 mE(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 Ib(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 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&&Bb(e,t)}function qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:mE(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}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=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}var OE=function(e){HJ(r,e);var t=KJ(r);function r(n){CJ(this,r);var o,i;return o=t.call(this,n),Ib(mE(o),"props",void 0),o.props=new Eb((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Ib(OE,"controlType","auto-number-column"),Ib(OE,"controlFieldType",P.AUTO_NUMBER);function GJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:GJ(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function ZJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YJ();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 JJ(this,o)}}var wE=function(e){QJ(r,e);var t=eZ(r);function r(n){XJ(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:qn.controlName,o}return r}(ce);function $E(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 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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&xb(e,t)}function nZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:$E(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function oZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uZ(e){var t=iZ();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 nZ(this,o)}}var qn=function(e){rZ(r,e);var t=uZ(r);function r(n){tZ(this,r);var o,i;return o=t.call(this,n),Hn($E(o),"props",void 0),o.props=new wE((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);Hn(qn,"controlType","file-column"),Hn(qn,"controlName","\u9644\u4EF6"),Hn(qn,"controlIcon","file-column"),Hn(qn,"controlFieldType",P.FILE),Hn(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function PE(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 kb(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 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&&Db(e,t)}function aZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:PE(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(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 pZ(e){var t=sZ();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 aZ(this,o)}}var RE=function(e){lZ(r,e);var t=pZ(r);function r(n){cZ(this,r);var o,i;return o=t.call(this,n),kb(PE(o),"props",void 0),o.props=new wE((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);kb(RE,"controlType","file-column"),kb(RE,"controlFieldType",P.FILE);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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(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&&Nb(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:_Z(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(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 gZ(e){var t=bZ();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 vZ(this,o)}}var SE=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Wn.controlName,o}return r}(ce);function EE(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 Un(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 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&&jb(e,t)}function wZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:EE(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function $Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RZ(e){var t=PZ();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 wZ(this,o)}}var Wn=function(e){OZ(r,e);var t=RZ(r);function r(n){mZ(this,r);var o,i;return o=t.call(this,n),Un(EE(o),"props",void 0),o.props=new SE((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);Un(Wn,"controlType","image-column"),Un(Wn,"controlName","\u56FE\u7247"),Un(Wn,"controlIcon","image-column"),Un(Wn,"controlFieldType",P.IMAGE),Un(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Lb(e,t)}function TZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:TE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function IZ(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 AZ(e){var t=BZ();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var IE=function(e){EZ(r,e);var t=AZ(r);function r(n){SZ(this,r);var o,i;return o=t.call(this,n),Fb(TE(o),"props",void 0),o.props=new SE((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Fb(IE,"controlType","image-column"),Fb(IE,"controlFieldType",P.IMAGE);function xZ(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 kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(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&&Mb(e,t)}function NZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:xZ(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LZ(e){var t=FZ();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var BE=function(e){DZ(r,e);var t=LZ(r);function r(n){kZ(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Gn.controlName,o}return r}(ce);function AE(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 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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:AE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function CZ(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 qZ(e){var t=HZ();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 zZ(this,o)}}var Gn=function(e){VZ(r,e);var t=qZ(r);function r(n){MZ(this,r);var o,i;return o=t.call(this,n),Kn(AE(o),"props",void 0),o.props=new BE((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);Kn(Gn,"controlType","people-column"),Kn(Gn,"controlName","\u4EBA\u5458"),Kn(Gn,"controlIcon","people-column"),Kn(Gn,"controlFieldType",P.EMPLOYEES),Kn(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&Cb(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:xE(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=XZ();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 KZ(this,o)}}var kE=function(e){WZ(r,e);var t=QZ(r);function r(n){UZ(this,r);var o,i;return o=t.call(this,n),zb(xE(o),"props",void 0),o.props=new BE((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);zb(kE,"controlType","people-column"),zb(kE,"controlFieldType",P.EMPLOYEES);function jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DE(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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function NE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:jf(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function ZZ(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 jE(e){var t=YZ();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 JZ(this,o)}}var eY=function(e){NE(r,e);var t=jE(r);function r(n){DE(this,r);var o;return o=t.call(this,n),Tr.call(jf(o),n),o}return r}(Tt),Ub=function(e){NE(r,e);var t=jE(r);function r(n){DE(this,r);var o,i,u,c;o=t.call(this,n),Hb(jf(o),"showLinkOperation",void 0),Hb(jf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Qn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new $r((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ce);Hb(Ub,"Rules",eY);function FE(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 Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&Wb(e,t)}function nY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:FE(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uY(e){var t=iY();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 nY(this,o)}}var Qn=function(e){rY(r,e);var t=uY(r);function r(n){tY(this,r);var o,i;return o=t.call(this,n),Xn(FE(o),"props",void 0),o.props=new Ub((i=n)===null||i===void 0?void 0:i.props),o}return r}(we);Xn(Qn,"controlType","location-column"),Xn(Qn,"controlName","\u5730\u5740"),Xn(Qn,"controlIcon","location-column"),Xn(Qn,"controlFieldType",P.ADDRESS),Xn(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 LE(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 Kb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function 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&&Gb(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:LE(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(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 pY(e){var t=sY();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var ME=function(e){lY(r,e);var t=pY(r);function r(n){cY(this,r);var o,i;return o=t.call(this,n),Kb(LE(o),"props",void 0),o.props=new Ub((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);Kb(ME,"controlType","location-column"),Kb(ME,"controlFieldType",P.ADDRESS);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function dY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vY(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:VE(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function hY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gY(e){var t=bY();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 vY(this,o)}}var zE=function(e){dY(r,e);var t=gY(r);function r(n){_Y(this,r);var o,i,u;o=t.call(this,n),yY(VE(o),"fieldCodeList",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Lr.controlName;var l;return o.fieldCodeList=(l=(u=n)===null||u===void 0?void 0:u.fieldCodeList)!==null&&l!==void 0?l:[],o}return r}(ce);function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OY(e,t,r){return t&&CE(e.prototype,t),r&&CE(e,r),e}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ao(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(o,i,u){var c=TY(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ao(e,t,r||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(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&&Qb(e,t)}function $Y(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function PY(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){yt(e,o,r[o])})}return e}function RY(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 SY(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RY(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function EY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:Jn(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function TY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=BY();return function(){var n=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EY(this,o)}}var xY=1,Lr=function(t){wY(n,t);var r=AY(n);function n(o){mY(this,n);var i,u,c;i=r.call(this,o),yt(Jn(i),"excludes",void 0),yt(Jn(i),"childrenMaxLength",void 0),yt(Jn(i),"props",void 0),yt(Jn(i),"children",void 0);var l=$Y(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new zE((u=o)===null||u===void 0?void 0:u.props),Yt(Jn(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Xt(a),i.childrenMaxLength=f,i}return OY(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=Ao(Fr(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=Ao(Fr(n.prototype),"toSchema",this).call(this);return SY(PY({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(we);yt(Lr,"controlType","custom-column"),yt(Lr,"controlName","\u81EA\u5B9A\u4E49"),yt(Lr,"controlIcon","custom-column"),yt(Lr,"excludes",[]),yt(Lr,"childrenMaxLength",xY),yt(Lr,"setting",[{key:"caption",showItems:[v.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 zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(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 DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:zf(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function jY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LY(e){var t=FY();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 NY(this,o)}}var MY=function(e){DY(r,e);var t=LY(r);function r(n){kY(this,r);var o,i,u;return o=t.call(this,n),Jb(zf(o),"props",void 0),Jb(zf(o),"children",void 0),o.props=new zE((i=n)===null||i===void 0?void 0:i.props),Yt(zf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}($e);Jb(MY,"controlType","custom-column");function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:HE(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function qY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=UY();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 HY(this,o)}}var qE=function(e){CY(r,e);var t=WY(r);function r(n){VY(this,r);var o,i,u;o=t.call(this,n),zY(HE(o),"datasourceBind",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Mr.controlName;var l;return o.datasourceBind=new Fo((l=(u=n)===null||u===void 0?void 0:u.datasourceBind)!==null&&l!==void 0?l:{attributes:Mr.controlCustomAttributes}),o}return r}(ce);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GY(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function 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&&eg(e,t)}function QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:UE(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YY(e){var t=ZY();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QY(this,o)}}var Mr=function(e){XY(r,e);var t=YY(r);function r(n){KY(this,r);var o,i;return o=t.call(this,n),Zn(UE(o),"props",void 0),o.props=new qE((i=n)===null||i===void 0?void 0:i.props),o}return GY(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(we);Zn(Mr,"controlType","employee-column"),Zn(Mr,"controlName","\u4EBA\u5458"),Zn(Mr,"controlIcon","employee-column"),Zn(Mr,"controlFieldType",P.EMPLOYEES),Zn(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function ree(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:KE(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}function nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ree(this,o)}}var GE=function(e){tee(r,e);var t=iee(r);function r(n){eee(this,r);var o,i;return o=t.call(this,n),tg(KE(o),"props",void 0),o.props=new qE((i=n)===null||i===void 0?void 0:i.props),o}return r}($e);tg(GE,"controlType","employee-column"),tg(GE,"controlFieldType",P.EMPLOYEES);function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XE(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 Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function QE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:Ut(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JE(e){var t=lee();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 uee(this,o)}}var aee=function(e){QE(r,e);var t=JE(r);function r(n){XE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),og=function(e){QE(r,e);var t=JE(r);function r(n){XE(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),Wt(Ut(o),"search",void 0),Wt(Ut(o),"cancel",void 0),Wt(Ut(o),"searchType",void 0),Wt(Ut(o),"labelPosition",void 0),Wt(Ut(o),"viewType",void 0),Wt(Ut(o),"isLoading",void 0),Wt(Ut(o),"custom",void 0),Wt(Ut(o),"queryTypeMap",void 0);var _;o.searchType=(_=(i=n)===null||i===void 0?void 0:i.searchType)!==null&&_!==void 0?_:"model";var h;o.labelPosition=(h=(u=n)===null||u===void 0?void 0:u.labelPosition)!==null&&h!==void 0?h:"top";var d;o.viewType=(d=(c=n)===null||c===void 0?void 0:c.viewType)!==null&&d!==void 0?d:"mini";var b;o.search=new Qt((b=(l=n)===null||l===void 0?void 0:l.search)!==null&&b!==void 0?b:{content:"\u67E5\u8BE2",isShow:!0});var y;o.cancel=new Qt((y=(a=n)===null||a===void 0?void 0:a.cancel)!==null&&y!==void 0?y:{content:"\u91CD\u7F6E",isShow:!0});var g;o.isLoading=(g=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&g!==void 0?g:!1;var O;o.custom=((O=(s=n)===null||s===void 0?void 0:s.custom)!==null&&O!==void 0?O:[]).map(function(R){return new Qt(R)});var w;return o.queryTypeMap=(w=(p=n)===null||p===void 0?void 0:p.queryTypeMap)!==null&&w!==void 0?w:[],o}return r}(rp);Wt(og,"RuntimeRules",aee);function ZE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function see(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ug(e,t)}function pee(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:ZE(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dee(e){var t=yee();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var YE=function(e){see(r,e);var t=dee(r);function r(n){fee(this,r);var o,i;return o=t.call(this,n),ig(ZE(o),"props",void 0),o.props=new og((i=n)===null||i===void 0?void 0:i.props),o}return r}(Wx);ig(YE,"controlType","simple-search"),ig(YE,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"search-view-type",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 vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(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 hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ag(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:cg(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}function gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=mee();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 bee(this,o)}}var wee=function(e){hee(r,e);var t=Oee(r);function r(n){vee(this,r);var o,i,u;o=t.call(this,n),lg(cg(o),"props",void 0),lg(cg(o),"children",void 0),o.props=new og((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[],o}return r}(Yx);lg(wee,"controlType","simple-search");const $ee=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Nee(t==null?void 0:t.events),Iee(n),Bee(n);const o=Tee(n),i=Aee(o,t);let u=Wr(je(i,c=>Eee(c,t)));return r?u:u[0]},Pee=[m.DIVIDER,m.TEXT,m.TITLE,m.LINK,m.BUTTON,"list-btn-export-list","list-btn-export-record"],Ree=["subtable","grid-table"],See=["simple-search"];function Eee(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Pee.includes(r.type)?r.controlType="base":r.controlType="form",Ree.includes(r.type)&&(r.controlType="list"),See.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),Ie((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Ie((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Ie((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=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Ie(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Ie(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((s,p)=>{const _=new jU.Designer;_.props.caption=Ie(s.field_name)?s.field_name.zh:s.field_name;const h=_.toSchema();h.id=s.header_id;const d=r.children[0].children[p].children[0];return d&&(h.children=[d]),h}),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=Ie(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(s=>{const p=new pR.Designer;p.props.span=f;const _=p.toSchema();return _.children.push(s),_})}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],s=r==null?void 0:r.children[1],p={};f&&(eT(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),s&&(p.unit=s.props.data_bind,r.props.default_value={unit:s.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],s=r==null?void 0:r.children[1],p={},_={};f&&(eT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Ur(f.props.range_min),r.props.range_max=Ur(f.props.range_max),_.amount=Ur(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=Ie(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),s&&(p.currency=s.props.data_bind,_.currency=s.props.value,r.props.datasourceBind=s.props.datasource_bind,r.props.options=s.props.options.map(h=>({label:h.text,value:h.value}))),r.props.dataBind=p,r.props.defaultValue=_,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1];r.props.placeholderStart=Ie(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Ie(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),s&&(p.max=s.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=Ie(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Ur(e.props.range_min),r.props.range_max=Ur(e.props.range_max),r.props.defaultValue=Ur(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"),jee(r,t==null?void 0:t.control_events),r}function eT(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(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Tee(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new WK.Designer().toSchema();return n.children=e,[n]}function Iee(e){e.forEach(t=>{t.children&&Dee(t.children)})}function Bee(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 Aee(e,t){var _,h,d,b,y,g,O,w;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;xee(i),c.props.is_fixed_header=(_=n==null?void 0:n.source_config)==null?void 0:_.is_fixed_header,kee(c,u);const l=(d=(h=n==null?void 0:n.source_config)==null?void 0:h.data_code)!=null?d:t==null?void 0:t.dataCode,a=((y=(b=n==null?void 0:n.source_config)==null?void 0:b.svc_code)!=null?y:l)?`${l}_selectMore`:void 0,f=(O=(g=n==null?void 0:n.source_config)==null?void 0:g.orders)!=null?O:[],s=new RK.Designer;s.props.datasourceBind=new ae({dataCode:l,svcCode:a,orders:b2(f)}),s.props.isShowSubList=n.is_show_sublist,s.props.triggerType=n.timing_type,s.props.triggerFieldCode=n.ctrl_field_code,(w=n==null?void 0:n.sublist_page)==null||w.sublists.forEach(R=>{R.title=Ie(R.title)?R.title.zh:R.title}),s.props.sublistPage=n.sublist_page;const p=s.toSchema();return p.children.push(i,c),[p]}function xee(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Ie(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 kee(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:Ie(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Ie(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 ae({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Dee(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 Nee(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 jee(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 Fee=(e,t)=>{const r=Array.isArray(e);let o=Wr(je(r?e:[e],i=>Lee(i)));return r?o:o[0]};function Lee(e,t){return e.type===m.LIST_VIEW&&e.children.find(n=>n.type===m.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ye({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Mee=(e,t)=>{const r=Array.isArray(e);let o=Wr(je(r?e:[e],i=>Vee(i)));return r?o:o[0]};function Vee(e,t){return[m.BUTTON,m.CREATE_FORM_LIST_BUTTON,m.BATCH_SUBMISSION_LIST_BUTTON,m.SUBMISSION_RECORD_LIST_BUTTON,m.IMPORT_RECORD_LIST_BUTTON,m.EXPORT_RECORD_LIST_BUTTON,m.EXPORT_LIST_BUTTON,m.FORM_SELECT_BUTTON,m.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===m.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===m.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const zee=(e,t)=>{const r=Array.isArray(e);let o=Wr(je(r?e:[e],i=>Cee(i)));return r?o:o[0]};function Cee(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=Wr(je(r?e:[e],i=>Uee(i)));return r?o:o[0]},qee=[m.ROW,m.TAB,m.SUBTABLE,m.GRID_ROW,m.CARD_GROUP];function Uee(e,t){return e.type===m.TAB_PANE&&(e.children=e.children.map(r=>{if(qee.includes(r.type))return r;const n=new lU.Designer,o=new pR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const Wee=(e,t)=>{const r=Array.isArray(e);let o=Wr(je(r?e:[e],i=>Kee(i)));return r?o:o[0]};function Kee(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===m.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Gee=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>Xee(i));return r?o:o[0]};function Xee(e,t){return e.type===m.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Qee=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>Jee(i));return r?o:o[0]};function Or(e,t){e.field_code&&(e.field_type=t)}function Jee(e,t){var n;const r={[m.TITLE]:P.AUTO_NUMBER,[m.ADDRESS]:P.ADDRESS,[m.ATTACHMENT]:P.FILE,[m.AUTO_NUMBER]:P.AUTO_NUMBER,[m.CHECKBOX]:P.ARRAY,[m.DATE_PICKER]:P.TIMESTAMP,[m.DEPARTMENT]:P.DEPARTMENTS,[m.EMPLOYEE]:P.EMPLOYEES,[m.EMPLOYEE2]:P.EMPLOYEES,[m.IMAGE]:P.IMAGE,[m.INPUT]:P.VARCHAR,[m.NUMBER]:P.DECIMAL,[m.RADIO]:P.VARCHAR,[m.RICH_TEXT]:P.TEXT,[m.SCORE]:P.DECIMAL,[m.SELECT]:P.VARCHAR,[m.SELECT_MULTIPLE]:P.ARRAY,[m.SELECT_RELATION]:P.VARCHAR,[m.TEXTAREA]:P.TEXT,[m.TREE]:P.ARRAY,[m.SEARCH_DATE_RANGE]:P.ARRAY,[m.SEARCH_INPUT]:P.VARCHAR,[m.SEARCH_NUMBER_RANGE]:P.ARRAY};return r.hasOwnProperty(e.type)&&Or(e.props.data_bind,r[e.type]),e.type===m.AMOUNT&&(Or(e.props.data_bind.amount,P.DECIMAL),Or(e.props.data_bind.currency,P.VARCHAR)),e.type===m.CALC&&(Or(e.props.data_bind.result,P.DECIMAL),Or(e.props.data_bind.unit,P.VARCHAR)),e.type===m.DATE_RANGE&&(Or(e.props.data_bind.min,P.TIMESTAMP),Or(e.props.data_bind.max,P.TIMESTAMP)),e.type===m.VUE_FORM_ITEM&&Or(e.props.data_bind,(n=e.field_type)!=null?n:P.ANY),e}const Zee=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>Yee(i));return r?o:o[0]};function Yee(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===m.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const ete=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>tte(i));return r?o:o[0]};function tte(e,t){return e.type===m.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[P.VARCHAR,P.TEXT,P.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 rte=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>nte(i));return r?o:o[0]};function nte(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.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 ote=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>ite(i));return r?o:o[0]};function ite(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.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 ute=(e,t)=>{const r=Array.isArray(e);let o=je(r?e:[e],i=>cte(i));return r?o:o[0]};function cte(e,t){return e.type===m.TITLE&&e.props.config.push(Bt.ShowTitle),e.type===m.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,R,I,E,B;if(r.type===m.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const T=new E_.Designer;Object.defineProperty(T,"id",{value:"listPageCheckBtnId"}),T.props.code="view",T.props.icon="iconliulan1",T.props.command="view",T.props.content=(i=r.props)==null?void 0:i.check.content,T.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,T.props.openType=(c=r.props)==null?void 0:c.check.open_type,T.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(T.toSchema()),(f=r.props)==null||delete f.check}if(((s=r.props)==null?void 0:s.edit)!==void 0){const T=new E_.Designer;Object.defineProperty(T,"id",{value:"listPageEditBtnId"}),T.props.code="edit",T.props.icon="iconbianji1",T.props.command="edit",T.props.content=(p=r.props)==null?void 0:p.edit.content,T.props.priorityProcess=(_=r.props)==null?void 0:_.edit.priority_process,T.props.openType=(h=r.props)==null?void 0:h.edit.open_type,T.props.formKey=(d=r.props)==null?void 0:d.edit.form_key,(b=r.props)!=null&&b.edit.is_show&&r.children.push(T.toSchema()),(y=r.props)==null||delete y.edit}if(((g=r.props)==null?void 0:g.delete)!==void 0){const T=new E_.Designer;Object.defineProperty(T,"id",{value:"listPageDeleteBtnId"}),T.props.code="delete",T.props.icon="iconlajitong",T.props.command="delete",T.props.content=(O=r.props)==null?void 0:O.delete.content,T.props.priorityProcess=(w=r.props)==null?void 0:w.delete.priority_process,T.props.openType=(R=r.props)==null?void 0:R.delete.open_type,T.props.formKey=(I=r.props)==null?void 0:I.delete.form_key,T.props.needConfirm=!0,T.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(E=r.props)!=null&&E.delete.is_show&&r.children.push(T.toSchema()),(B=r.props)==null||delete B.delete}}}),[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var tT={"v1.0":$ee,"v2.0":Fee,"v2.1":Mee,"v2.2":zee,"v2.3":Hee,"v2.4":Wee,"v2.5":Gee,"v2.6":Qee,"v2.7":Zee,"v2.8":ete,"v2.9":rte,"v2.10":ote,"v3.0":ute,"v3.1":()=>{}};const rT=(e,t)=>{const r=nT(e),n=nT(t),o=r.pop(),i=n.pop(),u=uT(r,n);return u!==0?u:o&&i?uT(o.split("."),i.split(".")):o||i?o?-1:1:0},Xf=(e,t,r)=>{ste(r);const n=rT(e,t);return cT[r].includes(n)},lte=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,nT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(lte);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},oT=e=>e==="*"||e==="x"||e==="X",iT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},ate=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],fte=(e,t)=>{if(oT(e)||oT(t))return 0;const[r,n]=ate(iT(e),iT(t));return r>n?1:r<n?-1:0},uT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=fte(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},cT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},lT=Object.keys(cT),ste=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(lT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${lT.join("|")}`)};function fg(e){return e.replace(/^v/,"")}const Yn=Object.keys(tT).map(e=>fg(e)).sort(rT),xo=Yn[Yn.length-1];class pte{constructor(t,r=xo){this.schemaVersion=t,this.toVersion=r,Xf(r,xo,">")?no(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${xo}`):(!Yn.includes(fg(r))||!Yn.includes(fg(t)))&&no(`Version Builder: Please give me a valid version number, The valid version is: ${Yn.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 s;const l=(s=c[u+1])!=null?s:this.toVersion;No(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=tT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return No(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Yn.filter(t=>Xf(t,this.schemaVersion,">=")&&Xf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return xo}static get version(){return xo}}Hr.VersionBuilder=pte,Object.defineProperty(Hr,"__esModule",{value:!0})});