@byteluck-fe/model-driven-core-all 1.8.0-beta.0 → 1.8.0-beta.1

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
- var Cn=(c,$e,Je)=>new Promise((Xf,Bn)=>{var Qf=ve=>{try{It(Je.next(ve))}catch(Nt){Bn(Nt)}},Jf=ve=>{try{It(Je.throw(ve))}catch(Nt){Bn(Nt)}},It=ve=>ve.done?Xf(ve.value):Promise.resolve(ve.value).then(Qf,Jf);It((Je=Je.apply(c,$e)).next())});(function(c,$e){typeof exports=="object"&&typeof module!="undefined"?$e(exports):typeof define=="function"&&define.amd?define(["exports"],$e):(c=typeof globalThis!="undefined"?globalThis:c||self,$e(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Je=function e(){$e(this,e)};function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Bn=function e(){Xf(this,e)},Qf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Jf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",It="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Nt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Sw="{caption}\u5FC5\u586B",Ew="\u8BF7\u8F93\u5165\u6807\u9898",Iw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Cw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Bw="\u8BF7\u7ED1\u5B9A\u8868\u5355",jw="\u8BF7\u7ED1\u5B9A\u5217\u8868",kw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Aw="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Mw="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Dw="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",xw="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Gw="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Vw="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Hw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yw="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",qw="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Uw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ww="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Kw="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Xw="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Qw="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Jw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Zw="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",e$="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",t$="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",n$="\u8BF7\u7ED1\u5B9A\u670D\u52A1",r$="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",o$="\u8BF7\u9009\u62E9\u7701",i$="\u8BF7\u9009\u62E9\u5E02",u$="\u8BF7\u9009\u62E9\u533A",c$="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",f$="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",a$="\u8BF7\u8F93\u5165\u5217\u5BBD",l$="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",s$="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",y$="\u8BF7\u9009\u62E9\u63A7\u4EF6",v$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",h$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",d$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",p$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",b$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",O$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",g$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",m$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",P$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",R$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",w$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",T$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",S$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",E$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",I$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",N$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",C$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",B$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",j$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",k$={isNotNumber:Qf,isNotString:Jf,isNotObject:It,isNotArray:ve,isNotBoolean:Nt,runtimeRequired:Sw,pleaseEnterCaption:Ew,pleaseEnterCaptionTip:Iw,pleaseEnterPlaceholder:Nw,pleaseEnterFieldCode:Cw,pleaseEnterForm:Bw,pleaseEnterList:jw,pleaseEnterProcess:kw,pleaseEnterLabel:Aw,pleaseEnterValue:Mw,bizKeyNotBindFiled:Dw,pleaseEnterNumberRange:Fw,pleaseEnterAValueGreaterThanMin:Lw,pleaseEnterAValueLessThanMax:xw,numberRangeSetError:zw,stringRangeError:Gw,attachmentMaxSize:Vw,pleaseEnterTotalScoreSetting:Hw,theTotalScoreMustNotBeLessThan1:Yw,scoreDefaultValueRange:qw,attachmentLimitError:Uw,PleaseReselectTheOptionalQuantity:Ww,TheMaximumLengthIsGreaterThanTheMinimumLength:Kw,TheMinimumLengthIsGreaterThanTheMaximumLength:Xw,PleaseSelectTheCorrectOptionSettings:Qw,optionIdIsRepeat:Jw,optionIsRequired:Zw,pleaseEnterDataCode:e$,pleaseEnterValueFieldCode:t$,pleaseEnterSvcCode:n$,pleaseBindAtLeastOneDisplayValue:r$,pleaseSelectProvince:o$,pleaseSelectCity:i$,pleaseSelectDistrict:u$,limitRowsCannotBeLessThan0:c$,TheNumberOfRowsCannotBeLessThanMinRows:f$,pleaseEnterColumnWidth:a$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:l$,pleaseCompleteAllRulesAndConditions:s$,pleaseSelectControl:y$,pleaseSelectAtLeastOneColumn:v$,pleaseSelectFillBackMode:h$,pleaseSelectDashboard:d$,rootNodeIsRequired:_$,theViewNameCannotBeEmpty:p$,pleaseSelectOcrType:b$,pleaseSelectAtLeastOneFieldToFillIn:O$,pleaseChooseAtLeastOne:g$,pleaseEnterButtonContent:m$,pleaseEnterDataCodeInDataSetting:P$,pleaseEnterValueFieldCodeInDataSetting:R$,pleaseEnterSvcCodeInDataSetting:w$,pleaseBindAtLeastOneDisplayValueInDataSetting:$$,rootNodeIsRequiredInDataSetting:T$,pleaseEnterMaxHeight:S$,pleaseEnter:E$,pleaseEnterWatermark:I$,pleaseEnterFileName:N$,pleaseUploadAtLeastOnePrintTemplate:C$,pleaseAssignBusiness:B$,pleaseAssignExternal:j$},A$="Please enter a number",M$="Please enter a string",D$="Please enter an object",F$="Please enter an array",L$="Please enter a boolean",x$="{caption} Required",z$="Please enter the title",G$="Please enter the bubble prompt",V$="Please enter the prompt text",H$="Please bind data items",Y$="Please bind the form",q$="Please bind the list",U$="Please bind the process",W$="Please enter the displayed value",K$="Please enter the stored value",X$="The document number is not bound to the data item",Q$="Please enter a value greater than or equal to {min} and less than or equal to {max}",J$="Please enter a value greater than or equal to {min}",Z$="Please enter a value less than or equal to {max}",eT="The value range is set incorrectly",tT="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",nT="The attachment size must be between 0MB and 1000MB",rT="Please fill in the total score setting",oT="The total score cannot be less than 1",iT="The default value must be between {min} and {max}",uT="The number of attachments uploaded must be between {min} and {max}",cT="Please re-select the optional quantity",fT="The maximum length of the control must be greater than the minimum length",aT="The minimum length of the control must be less than the maximum length",lT="Please select the correct option setting",sT="Option ID cannot be repeated",yT="Please enter at least one option",vT="Please bind the data source",hT="Please bind the stored value",dT="Please bind the service",_T="At least one display value must be bound",pT="Please select a province",bT="Please select a city",OT="Please select a district",gT="The minimum number of lines to fill in cannot be less than 0",mT="The number of rows cannot be less than {min} rows",PT="Please enter the column width",RT="Please set the logical relationship of all rule conditions",wT="Please complete all rules and conditions",$T="please select control",TT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ST="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ET="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",IT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",NT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",CT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",BT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",jT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",kT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",AT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",MT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",DT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",FT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",LT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",GT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",VT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",HT={isNotNumber:A$,isNotString:M$,isNotObject:D$,isNotArray:F$,isNotBoolean:L$,runtimeRequired:x$,pleaseEnterCaption:z$,pleaseEnterCaptionTip:G$,pleaseEnterPlaceholder:V$,pleaseEnterFieldCode:H$,pleaseEnterForm:Y$,pleaseEnterList:q$,pleaseEnterProcess:U$,pleaseEnterLabel:W$,pleaseEnterValue:K$,bizKeyNotBindFiled:X$,pleaseEnterNumberRange:Q$,pleaseEnterAValueGreaterThanMin:J$,pleaseEnterAValueLessThanMax:Z$,numberRangeSetError:eT,stringRangeError:tT,attachmentMaxSize:nT,pleaseEnterTotalScoreSetting:rT,theTotalScoreMustNotBeLessThan1:oT,scoreDefaultValueRange:iT,attachmentLimitError:uT,PleaseReselectTheOptionalQuantity:cT,TheMaximumLengthIsGreaterThanTheMinimumLength:fT,TheMinimumLengthIsGreaterThanTheMaximumLength:aT,PleaseSelectTheCorrectOptionSettings:lT,optionIdIsRepeat:sT,optionIsRequired:yT,pleaseEnterDataCode:vT,pleaseEnterValueFieldCode:hT,pleaseEnterSvcCode:dT,pleaseBindAtLeastOneDisplayValue:_T,pleaseSelectProvince:pT,pleaseSelectCity:bT,pleaseSelectDistrict:OT,limitRowsCannotBeLessThan0:gT,TheNumberOfRowsCannotBeLessThanMinRows:mT,pleaseEnterColumnWidth:PT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RT,pleaseCompleteAllRulesAndConditions:wT,pleaseSelectControl:$T,pleaseSelectDashboard:TT,theViewNameCannotBeEmpty:ST,pleaseSelectOcrType:ET,pleaseSelectAtLeastOneFieldToFillIn:IT,pleaseChooseAtLeastOne:NT,pleaseEnterButtonContent:CT,pleaseEnterDataCodeInDataSetting:BT,pleaseEnterValueFieldCodeInDataSetting:jT,pleaseEnterSvcCodeInDataSetting:kT,pleaseBindAtLeastOneDisplayValueInDataSetting:AT,rootNodeIsRequiredInDataSetting:MT,pleaseEnterMaxHeight:DT,pleaseEnter:FT,pleaseEnterWatermark:LT,pleaseEnterFileName:xT,pleaseUploadAtLeastOnePrintTemplate:zT,pleaseAssignBusiness:GT,pleaseAssignExternal:VT},YT="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qT="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WT="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KT="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XT="{caption}\u5FC5\u9808",QT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eS="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tS="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nS="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rS="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oS="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iS="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uS="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",cS="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sS="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yS="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dS="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_S="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pS="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bS="\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",OS="\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",gS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PS="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$S="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",SS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ES="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",CS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",BS="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jS="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",AS="please select control",MS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",DS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",FS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",LS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",GS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",HS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",YS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",US="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",WS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",KS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",XS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",QS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",JS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ZS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",eE={isNotNumber:YT,isNotString:qT,isNotObject:UT,isNotArray:WT,isNotBoolean:KT,runtimeRequired:XT,pleaseEnterCaption:QT,pleaseEnterCaptionTip:JT,pleaseEnterPlaceholder:ZT,pleaseEnterFieldCode:eS,pleaseEnterForm:tS,pleaseEnterList:nS,pleaseEnterProcess:rS,pleaseEnterLabel:oS,pleaseEnterValue:iS,bizKeyNotBindFiled:uS,pleaseEnterNumberRange:cS,pleaseEnterAValueGreaterThanMin:fS,pleaseEnterAValueLessThanMax:aS,numberRangeSetError:lS,stringRangeError:sS,attachmentMaxSize:yS,pleaseEnterTotalScoreSetting:vS,theTotalScoreMustNotBeLessThan1:hS,scoreDefaultValueRange:dS,attachmentLimitError:_S,PleaseReselectTheOptionalQuantity:pS,TheMaximumLengthIsGreaterThanTheMinimumLength:bS,TheMinimumLengthIsGreaterThanTheMaximumLength:OS,PleaseSelectTheCorrectOptionSettings:gS,optionIdIsRepeat:mS,optionIsRequired:PS,pleaseEnterDataCode:RS,pleaseEnterValueFieldCode:wS,pleaseEnterSvcCode:$S,pleaseBindAtLeastOneDisplayValue:TS,pleaseSelectProvince:SS,pleaseSelectCity:ES,pleaseSelectDistrict:IS,limitRowsCannotBeLessThan0:NS,TheNumberOfRowsCannotBeLessThanMinRows:CS,pleaseEnterColumnWidth:BS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jS,pleaseCompleteAllRulesAndConditions:kS,pleaseSelectControl:AS,pleaseSelectDashboard:MS,theViewNameCannotBeEmpty:DS,pleaseSelectOcrType:FS,pleaseSelectAtLeastOneFieldToFillIn:LS,pleaseChooseAtLeastOne:xS,pleaseEnterButtonContent:zS,pleaseEnterDataCodeInDataSetting:GS,pleaseEnterValueFieldCodeInDataSetting:VS,pleaseEnterSvcCodeInDataSetting:HS,pleaseBindAtLeastOneDisplayValueInDataSetting:YS,rootNodeIsRequiredInDataSetting:qS,pleaseEnterMaxHeight:US,pleaseEnter:WS,pleaseEnterWatermark:KS,pleaseEnterFileName:XS,pleaseUploadAtLeastOnePrintTemplate:QS,pleaseAssignBusiness:JS,pleaseAssignExternal:ZS},tE={zhCN:k$,enUS:HT,jaJP:eE};function nE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var rE=function e(t){nE(this,e);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:c.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},pp="zh-CN",oE=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}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,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"}(c.FieldTypes||(c.FieldTypes={}));var X,iE=(X={},te(X,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),te(X,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),te(X,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),te(X,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),te(X,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),te(X,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),te(X,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),te(X,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),te(X,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),te(X,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),te(X,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),te(X,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),te(X,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),X);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var bp="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",uE=bp+"0123456789";function ue(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?bp:uE,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Zf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cE(e){if(Array.isArray(e))return Zf(e)}function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Op(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(){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 jn(e,t,r){return aE()?jn=Reflect.construct:jn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Bt(l,u.prototype),l},jn.apply(null,arguments)}function Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ct(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&&Bt(e,t)}function lE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yE(){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 vE(e,t){return t&&(hE(t)==="object"||typeof t=="function")?t:fE(e)}function Bt(e,t){return Bt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bt(e,t)}function mp(e){return cE(e)||sE(e)||dE(e)||yE()}var hE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dE(e,t){if(!!e){if(typeof e=="string")return Zf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zf(e,t)}}function ea(e){var t=typeof Map=="function"?new Map:void 0;return ea=function(n){if(n===null||!lE(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 jn(n,arguments,Ct(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Bt(o,n)},ea(e)}function _E(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pp(e){var t=_E();return function(){var n=Ct(e),o;if(t){var i=Ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vE(this,o)}}var ta=console;function Te(){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=ta).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(mp(o)))}function jt(){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=ta).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(mp(o)))}function pE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var na=function(e){gp(r,e);var t=Pp(r);function r(n){Op(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?pE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(ea(Error)),bE=function(e){gp(r,e);var t=Pp(r);function r(n){Op(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(na);function _e(e){throw new na(e)}function ra(e){throw new bE(e)}function Rp(e){ta.error(new na(e))}function oa(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":oa(r==null?void 0:r.children,t);break;case"search":oa(r==null?void 0:r.children,t);break;case"form":t(r)}})}var OE=Object.prototype.toString;function wp(e,t){return OE.call(e)==="[object "+t+"]"}function gE(e){return wp(e,"String")}function mE(e){return wp(e,"Promise")}var PE=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();mE(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,f){if(o!==void 0){var a=o[i];if(!(u===f.length-1&&!gE(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 RE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(){RE(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pp;return new PE({locale:r,messages:tE})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();h.$i18n=h.resetI18n();function $p(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Te("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 f===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var wE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ia={exports:{}};(function(e){(function(t){var r=function(d,g,w){if(!l(g)||y(g)||v(g)||p(g)||a(g))return g;var m,S=0,P=0;if(s(g))for(m=[],P=g.length;S<P;S++)m.push(r(d,g[S],w));else{m={};for(var $ in g)Object.prototype.hasOwnProperty.call(g,$)&&(m[d($,w)]=r(d,g[$],w))}return m},n=function(d,g){g=g||{};var w=g.separator||"_",m=g.split||/(?=[A-Z])/;return d.split(m).join(w)},o=function(d){return b(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,w){return w?w.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var g=o(d);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(d,g){return n(d,g).toLowerCase()},f=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},s=function(d){return f.call(d)=="[object Array]"},y=function(d){return f.call(d)=="[object Date]"},v=function(d){return f.call(d)=="[object RegExp]"},p=function(d){return f.call(d)=="[object Boolean]"},b=function(d){return d=d-0,d===d},_=function(d,g){var w=g&&"process"in g?g.process:g;return typeof w!="function"?d:function(m,S){return w(m,d,S)}},O={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,g){return r(_(o,g),d)},decamelizeKeys:function(d,g){return r(_(u,g),d,g)},pascalizeKeys:function(d,g){return r(_(i,g),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(wE)})(ia);function he(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function W(e){return ua(e)&&"zh"in e}function ua(e){return Object.prototype.toString.call(e)==="[object Object]"}function $E(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Se(e){return Array.isArray(e)}function Tp(e){return typeof e=="string"}function ca(e){return typeof e=="number"}function TE(e){return typeof e=="function"}function SE(e){return Se(e)&&e.every(function(t){return Tp(t)})}function EE(e){return Se(e)&&e.every(function(t){return ca(t)})}function IE(e){return Se(e)&&e.every(function(t){return ca(t)||t===""})}function NE(e){return/^\[.*?]$/.test(e)}function CE(e){return/^{.*?}$/.test(e)}function Ee(e){return isNaN(parseFloat(e))?"":Number(e)}function Sp(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function BE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function jE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ne(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=ne(n.children,t)),t(o)})),r}function Ep(e){return ia.exports.camelizeKeys(e)}function Ie(e){return ia.exports.decamelizeKeys(e)}function kE(e){return Object.values(c.CONTROL_TYPE).includes(e)}function fa(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 AE(e){if(Array.isArray(e))return fa(e)}function Ip(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function ME(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Ip(i,n,o,u,f,"next",a)}function f(a){Ip(i,n,o,u,f,"throw",a)}u(void 0)})}}function DE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LE(){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 aa(e){return AE(e)||FE(e)||xE(e)||LE()}function xE(e,t){if(!!e){if(typeof e=="string")return fa(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 fa(e,t)}}var zE=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Np=function(){function e(){DE(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];var f=this;return ME(function(){var a,l,s,y,v,p,b,_,O,d,g,w;return zE(this,function(m){switch(m.label){case 0:if(a=f._events.get(n),l=[],!a)return[3,10];s=a.slice(),y=!0,v=!1,p=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),b=s[Symbol.iterator](),m.label=2;case 2:if(y=(_=b.next()).done)return[3,7];if(O=_.value,!a.includes(O))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),f.debug&&jt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(aa(i))),[4,O.apply(null,aa(i))];case 4:return d=m.sent(),f.debug&&jt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(aa(i),[d])),l.push(d),d===!1?[3,7]:[3,6];case 5:return g=m.sent(),Rp(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return w=m.sent(),v=!0,p=w,[3,10];case 9:try{!y&&b.return!=null&&b.return()}finally{if(v)throw p}return[7];case 10:return[2,l]}})})()},t.on=function(n,o){if(this._events.has(n)){var i;(i=this._events.get(n))===null||i===void 0||i.push(o)}else this._events.set(n,[o])},t.off=function(n,o){if(this._events.has(n)){var i=this._events.get(n),u=i==null?void 0:i.indexOf(o);i==null||i.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}();function GE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var VE=[{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_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_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"}],Cp=function(){function e(){GE(this,e)}var t=e.prototype;return t.getEventsFromKeys=function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(i){return o.includes(i.key)})},e}();Cp.events=VE;function HE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Bp=[],kn=function(){function e(r){HE(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=r,this._initControls(r)}var t=e.prototype;return t.registerControlConfig=function(n,o){return this.controlConfigMap.set(n,o),this},t.getControlConfig=function(n){return this.controlConfigMap.get(n)},t.getControls=function(){return this._controls},t.register=function(n){n.__is_control__||_e("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(i){return i.controlType===n.controlType});return o>-1&&(Te("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this},t.isLayoutControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.LAYOUT},t.isFormControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.FORM},t.isListControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.LIST},t.isColumnControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.COLUMN},t.createControl=function(n,o){var i=this;if(Array.isArray(n))return n.map(function(s){return i.createControl(s,o)});n.children&&(n.children=n.children.map(function(s){return i.createControl(s,o)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(s){return i.createControl(s,o)}));var u=this.getControlFormType(n.type);if(u){var f=n;if(typeof o=="function"){var a=o(f);a&&(f=a)}var l=new u(f);return l}else _e("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))},t.createControlInstance=function(n,o){var i=this.getControlFormType(n);if(i)return new i(o)},t.getControlFormType=function(n){return this._controls.find(function(o){return o.controlType===n})},t._initControls=function(n){var o=this;this.constructor.staticControls.forEach(function(i){o.register(i[n])})},e.register=function(n){var o=n.Designer,i=n.Runtime;(!o||!i||!o.__is_control__||!i.__is_control__)&&_e("".concat(n," is can't register as a Control"));var u=this.staticControls.findIndex(function(f){return f.Designer.controlType===o.controlType});return u>-1&&(Te("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(u,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),this},e}();kn.staticControls=Bp,kn.staticRegisteredTypes=new Set(Bp.map(function(e){return e.Designer.controlType})),kn.staticRegisteredConfigs=new Map;function jp(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 An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},An(e)}function fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&la(e,t)}function kp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function YE(e,t){return t&&(qE(t)==="object"||typeof t=="function")?t:jp(e)}function la(e,t){return la=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},la(e,t)}var qE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ae(e){var t=UE();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 YE(this,o)}}var re=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},Mn=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},Ap=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Mn),Mp=function e(t){R(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},sa=function e(t){R(this,e);var r,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 Mp(u)}))!==null&&i!==void 0?i:[]},Dp=function e(t){R(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},Fp=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;o=t.call(this,n);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 f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(Mn),Lp=function e(t){R(this,e);var r,n;this.type="sublist-page",this.formBind=new Mn(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 Dp(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 Fp(u)}))!==null&&i!==void 0?i:[]},xp=function e(t){R(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ze=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},zp=function e(t){var r=this;R(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ue();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(f){if(f.children!==void 0){var a,l=new e(f);(a=r.children)===null||a===void 0||a.push(l)}else{var s,y=new ya(f);(s=r.children)===null||s===void 0||s.push(y)}}))},ya=function e(t){R(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue();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 xp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ze(t==null?void 0:t.rightVariableBo)},Z=function e(t){R(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Dn=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},va=function e(t){R(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},Gp=function e(t){R(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},WE=function e(t){R(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new va(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(l){return new Gp(l)}))!==null&&a!==void 0?a:[]};function ha(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(i){return i.children!==void 0?new zp(i):new ya(i)}))!==null&&r!==void 0?r:[],kp(this,G)||kp(this,Fn)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new va(i)}))!==null&&o!==void 0?o:[]}}var G=function e(t){var r=this;R(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var l;(l=r.displayBoList)===null||l===void 0||l.push(new Dn(a))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",ha.call(this,t)},Vp=function e(t){R(this,e);var r,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 Dn(u)}))!==null&&i!==void 0?i:[]},kt=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o,i;o=t.call(this,n);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Vp(f)}))!==null&&u!==void 0?u:[],o}return r}(G),Hp=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;return o=t.call(this,n),o.rootNode=new Ze(n==null?void 0:n.rootNode),o}return r}(kt),Yp=function e(t){R(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Z(u)}))!==null&&i!==void 0?i:[]},Fn=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;return o=t.call(this,n),ha.call(jp(o),n),o}return r}(Yp),da=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;o=t.call(this,n);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}(Yp),KE=function e(t){R(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},_a=function e(t){R(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},pa=function e(t){R(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue(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},qp=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(pa);function le(e){var t;return(t=e==null?void 0:e.map(function(r){return new pa(r)}))!==null&&t!==void 0?t:[]}function XE(e){var t;return(t=e==null?void 0:e.map(function(r){return new qp(r)}))!==null&&t!==void 0?t:[]}var Ln=function e(){R(this,e)},Up=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;return o=t.call(this),o.amount=new re(n==null?void 0:n.amount),o.currency=new re(n==null?void 0:n.currency),o}return r}(Ln),Wp=function e(t){R(this,e);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:c.AMOUNT_TYPE.CNY},Kp=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;return o=t.call(this),o.min=new re(n==null?void 0:n.min),o.max=new re(n==null?void 0:n.max),o}return r}(Ln),Xp=function e(t){R(this,e);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:""},Qp=function e(t){R(this,e);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 f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},Jp=function(e){fe(r,e);var t=ae(r);function r(n){R(this,r);var o;return o=t.call(this),o.result=new re(n==null?void 0:n.result),o.unit=new re(n==null?void 0:n.unit),o}return r}(Ln),Zp=function e(t){R(this,e);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:""};c.AMOUNT_TYPE=void 0,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"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var et=function e(t){R(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue(8);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var o;this.isShow=(o=t==null?void 0:t.isShow)!==null&&o!==void 0?o:!0,this.invalidType=t==null?void 0:t.invalidType,this.condition=t==null?void 0:t.condition;var i;this.content=(i=t==null?void 0:t.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"",this.icon=t==null?void 0:t.icon,this.showType=t==null?void 0:t.showType;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal",this.priorityProcess=t==null?void 0:t.priorityProcess,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage,this.options=t==null?void 0:t.options},eb=function e(t){R(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ue(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 Mp(u)}))!==null&&i!==void 0?i:[],ha.call(this,t)},QE=function e(t){R(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:ue(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},tb=function e(t){R(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(){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 xn(e,t,r){return ZE()?xn=Reflect.construct:xn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Mt(l,u.prototype),l},xn.apply(null,arguments)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(e)}function eI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}function tI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nI(e,t){return t&&(rI(t)==="object"||typeof t=="function")?t:JE(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mt(e,t)}var rI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oa(e){var t=typeof Map=="function"?new Map:void 0;return Oa=function(n){if(n===null||!tI(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 xn(n,arguments,At(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Mt(o,n)},Oa(e)}function oI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iI(e){var t=oI();return function(){var n=At(e),o;if(t){var i=At(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nI(this,o)}}var L=function e(t){ba(this,e),this.isHide={type:"boolean"}},pe=function(e){eI(r,e);var t=iI(r);function r(n){return ba(this,r),t.call(this)}return r}(Oa(Array)),V=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ba(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new tb(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};V.Rules=L,V.RuntimeRules=pe;function se(){return se=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},se.apply(this,arguments)}function uI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function zn(e,t){return zn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zn(e,t)}function cI(){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 Gn(e,t,r){return cI()?Gn=Reflect.construct:Gn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&zn(l,u.prototype),l},Gn.apply(null,arguments)}function fI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ma(e){var t=typeof Map=="function"?new Map:void 0;return ma=function(n){if(n===null||!fI(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 Gn(n,arguments,ga(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),zn(o,n)},ma(e)}var aI=/%[sdj%]/g,nb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(nb=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Pa(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 oe(){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(aI,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){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 f}});return u}return o}function lI(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function x(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||lI(t)&&typeof e=="string"&&!e)}function sI(e,t,r){var n=[],o=0,i=e.length;function u(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,u)})}function rb(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function yI(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var ob=function(e){uI(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}(ma(Error));function vI(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var p=function(O){return n(O),O.length?v(new ob(O,Pa(O))):y()},b=yI(e);rb(b,r,p)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(y,v){var p=function(_){if(l.push.apply(l,_),a++,a===f)return n(l),l.length?v(new ob(l,Pa(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var _=e[b];i.indexOf(b)!==-1?rb(_,r,p):sI(_,r,p)})});return s.catch(function(y){return y}),s}function ib(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 ub(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]=se(se({},e[r]),n):e[r]=n}}return e}function cb(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||x(t,i||e.type))&&n.push(oe(o.messages.required,e.fullField))}function hI(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(oe(o.messages.whitespace,e.fullField))}var Ra={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},Dt={integer:function(t){return Dt.number(t)&&parseInt(t,10)===t},float:function(t){return Dt.number(t)&&!Dt.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"&&!Dt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ra.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ra.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ra.hex)}};function dI(e,t,r,n,o){if(e.required&&t===void 0){cb(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?Dt[u](t)||n.push(oe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(oe(o.messages.types[u],e.fullField,e.type))}function _I(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,y=typeof t=="number",v=typeof t=="string",p=Array.isArray(t);if(y?s="number":v?s="string":p&&(s="array"),!s)return!1;p&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(oe(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(oe(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(oe(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(oe(o.messages[s].range,e.fullField,e.min,e.max))}var tt="enum";function pI(e,t,r,n,o){e[tt]=Array.isArray(e[tt])?e[tt]:[],e[tt].indexOf(t)===-1&&n.push(oe(o.messages[tt],e.fullField,e[tt].join(", ")))}function bI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(oe(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(oe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var T={required:cb,whitespace:hI,type:dI,range:_I,enum:pI,pattern:bI};function OI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();T.required(e,t,n,i,o,"string"),x(t,"string")||(T.type(e,t,n,i,o),T.range(e,t,n,i,o),T.pattern(e,t,n,i,o),e.whitespace===!0&&T.whitespace(e,t,n,i,o))}r(i)}function gI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}function mI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&(T.type(e,t,n,i,o),T.range(e,t,n,i,o))}r(i)}function PI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}function RI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),x(t)||T.type(e,t,n,i,o)}r(i)}function wI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&(T.type(e,t,n,i,o),T.range(e,t,n,i,o))}r(i)}function $I(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&(T.type(e,t,n,i,o),T.range(e,t,n,i,o))}r(i)}function TI(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();T.required(e,t,n,i,o,"array"),t!=null&&(T.type(e,t,n,i,o),T.range(e,t,n,i,o))}r(i)}function SI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}var EI="enum";function II(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T[EI](e,t,n,i,o)}r(i)}function NI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();T.required(e,t,n,i,o),x(t,"string")||T.pattern(e,t,n,i,o)}r(i)}function CI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"date")&&!e.required)return r();if(T.required(e,t,n,i,o),!x(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),T.type(e,f,n,i,o),f&&T.range(e,f.getTime(),n,i,o)}}r(i)}function BI(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;T.required(e,t,n,i,o,u),r(i)}function wa(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t,i)&&!e.required)return r();T.required(e,t,n,u,o,i),x(t,i)||T.type(e,t,n,u,o)}r(u)}function jI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();T.required(e,t,n,i,o)}r(i)}var Ft={string:OI,method:gI,number:mI,boolean:PI,regexp:RI,integer:wI,float:$I,array:TI,object:SI,enum:II,pattern:NI,date:CI,url:wa,hex:wa,email:wa,required:BI,any:jI};function $a(){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 Ta=$a();function be(e){this.rules=null,this._messages=Ta,this.define(e)}be.prototype={messages:function(t){return t&&(this._messages=ub($a(),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,f=n;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(_){var O,d=[],g={};function w(m){if(Array.isArray(m)){var S;d=(S=d).concat.apply(S,m)}else d.push(m)}for(O=0;O<_.length;O++)w(_[O]);d.length?g=Pa(d):(d=null,g=null),f(d,g)}if(u.messages){var l=this.messages();l===Ta&&(l=$a()),ub(l,u.messages),u.messages=l}else u.messages=this.messages();var s,y,v={},p=u.keys||Object.keys(this.rules);p.forEach(function(_){s=o.rules[_],y=i[_],s.forEach(function(O){var d=O;typeof d.transform=="function"&&(i===t&&(i=se({},i)),y=i[_]=d.transform(y)),typeof d=="function"?d={validator:d}:d=se({},d),d.validator=o.getValidationMethod(d),d.field=_,d.fullField=d.fullField||_,d.type=o.getType(d),d.validator&&(v[_]=v[_]||[],v[_].push({rule:d,value:y,source:i,field:_}))})});var b={};return vI(v,u,function(_,O){var d=_.rule,g=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");g=g&&(d.required||!d.required&&_.value),d.field=_.field;function w(P,$){return se(se({},$),{},{fullField:d.fullField+"."+P})}function m(P){P===void 0&&(P=[]);var $=P;if(Array.isArray($)||($=[$]),!u.suppressWarning&&$.length&&be.warning("async-validator:",$),$.length&&d.message!==void 0&&($=[].concat(d.message)),$=$.map(ib(d)),u.first&&$.length)return b[d.field]=1,O($);if(!g)O($);else{if(d.required&&!_.value)return d.message!==void 0?$=[].concat(d.message).map(ib(d)):u.error&&($=[u.error(d,oe(u.messages.required,d.field))]),O($);var B={};if(d.defaultField)for(var ee in _.value)_.value.hasOwnProperty(ee)&&(B[ee]=d.defaultField);B=se(se({},B),_.rule.fields);for(var U in B)if(B.hasOwnProperty(U)){var I=Array.isArray(B[U])?B[U]:[B[U]];B[U]=I.map(w.bind(null,U))}var Et=new be(B);Et.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),Et.validate(_.value,_.rule.options||u,function(Qe){var ye=[];$&&$.length&&ye.push.apply(ye,$),Qe&&Qe.length&&ye.push.apply(ye,Qe),O(ye.length?ye:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,_.value,m,_.source,u):d.validator&&(S=d.validator(d,_.value,m,_.source,u),S===!0?m():S===!1?m(d.message||d.field+" fails"):S instanceof Array?m(S):S instanceof Error&&m(S.message)),S&&S.then&&S.then(function(){return m()},function(P){return m(P)})},function(_){a(_)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ft.hasOwnProperty(t.type))throw new Error(oe("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"?Ft.required:Ft[this.getType(t)]||!1}},be.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ft[t]=r},be.warning=nb,be.messages=Ta,be.validators=Ft;var kI={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 fb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new be(e);return r.messages(Object.assign(kI,t)),r}var ab=new Np;function Sa(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 AI(e){if(Array.isArray(e))return e}function MI(e){if(Array.isArray(e))return Sa(e)}function lb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function sb(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){lb(i,n,o,u,f,"next",a)}function f(a){lb(i,n,o,u,f,"throw",a)}u(void 0)})}}function DI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FI(e,t,r){return t&&yb(e.prototype,t),r&&yb(e,r),e}function LI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function hb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xI(){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 zI(){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 db(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){LI(e,o,r[o])})}return e}function GI(e){return AI(e)||hb(e)||_b(e)||xI()}function Ea(e){return MI(e)||hb(e)||_b(e)||zI()}function _b(e,t){if(!!e){if(typeof e=="string")return Sa(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 Sa(e,t)}}var pb=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},j=function(){function t(n){var o=this;DI(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ob,this.removeSetting=bb,this._callControlHooks("preInstance",n);var i=vb(this,t)?this.constructor:void 0,u=i.controlName,f=i.controlIcon,a=i.controlType,l=i.controlFieldType,s=i.controlEventKeys,y=i.controlCustomEvents,v=i.name,p=i.setting;u&&f&&a||ra("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:ue(10),this.name=u,this.icon=f;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:a,this.props=new V(n==null?void 0:n.props,(vb(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=he(p);var d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d:l,this.eventKeys=he(s),this.customEvents=he(y),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];var f,a=GI(i),l=a[0],s=a.slice(1);return(f=ab).emit.apply(f,[l,this].concat(Ea(s)))},r.preUpdate=function(o,i){this._callControlHooks("preUpdateProps",o,i)},r.postUpdate=function(o,i){this._callControlHooks("postUpdateProps",o,i)},r.updateProps=function(o,i){this.preUpdate(o,i),$p(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return sb(function(){var i,u,f;return pb(this,function(a){switch(a.label){case 0:return i=db({},o.rules),[4,o._callControlHooks("preValidate",i)];case 1:return u=a.sent(),f=u[u.length-1],[2,f===!1?void 0:f]}})})()},r.validate=function(o,i){var u=this;return sb(function(){var f,a,l,s;return pb(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:db({},u.rules),Array.isArray(i)&&i.forEach(function(v){a.hasOwnProperty(v)&&delete a[v]}),l=fb(a,o),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,l.validate(u.props)];case 3:return y.sent(),[2,!0];case 4:throw s=y.sent(),s.control||(s.control=u),s;case 5:return[2]}})})()},r.toDataBindModel=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,v=a.caption,p=a.required,b=a.maxLength,_=a.options,O=a.encrypted,d=a.encryptedMode;if(!(!i&&!l&&!s)){var g={parentId:o,fieldType:i,controlId:u,caption:v,type:f,props:{}};switch(l&&(g.dataBind=l),y){case"datasource":case void 0:s&&(g.datasourceBind=s);break;case"custom":g.props.options=_;break}return p!==void 0&&(g.required=p),b!==void 0&&(g.maxLength=b),O!==void 0&&(g.encrypted=O),d!==void 0&&(g.encryptedMode=d),g}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:he(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(o,i){if(o==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Ea(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},FI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();j.controlName="\u63A7\u4EF6",j.controlIcon="icon",j.controlType="control",j.controlEventKeys=[],j.controlCustomEvents=[],j.setting=[],j.__is_control__=!0,j.removeSettingItem=bb,j.updateSettingItem=Ob;function bb(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,f;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((f=t.setting[i].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(i,1)}})}function Ob(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Ea(t.showItems))}}}})}function VI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HI(e,t,r){return t&&gb(e.prototype,t),r&&gb(e,r),e}function YI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var H=function(){function t(r){VI(this,t),this.customEvents=[],this.parent=null;var n=YI(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ra("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ue(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new V(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"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:c.PAGE_STATUS.UNKNOWN}return HI(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}();H.controlType="control",H.__is_control__=!0,H.controlCustomEvents=[];function Vn(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:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),u=Sp(i);i.length!==u.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Hn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function mb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function Un(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ia(e,t)}function qI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function UI(e,t){return t&&(WI(t)==="object"||typeof t=="function")?t:mb(e)}function Ia(e,t){return Ia=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ia(e,t)}var WI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=KI();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 UI(this,o)}}var K=function(e){Un(r,e);var t=Wn(r);function r(n){Yn(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.defaultState={type:"enum",enum:["default","readonly"]},o.required={type:"boolean"},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")};var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(qI(n.dataBind,re))o.dataBind={type:"object",required:!0,fields:he(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:he(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),k=function(e){Un(r,e);var t=Wn(r);function r(n){Yn(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:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(pe),E=function(e){Un(r,e);var t=Wn(r);function r(n){Yn(this,r);var o;o=t.call(this,n);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 f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"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 p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new re(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return r}(V);E.Rules=K,E.RuntimeRules=k;var Ne=function(e){Un(r,e);var t=Wn(r);function r(n){Yn(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:h.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Vn.call(mb(o),n),o}return r}(K);function XI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function JI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Na(e,t)}function ZI(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:XI(e)}function Na(e,t){return Na=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Na(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 nN(e){var t=tN();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZI(this,o)}}var N=function(e){JI(r,e);var t=nN(r);function r(n){QI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(j);N.controlEventKeys=["on_change","on_focus","on_blur"];function rN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function iN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ca(e,t)}function uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:rN(e)}function Ca(e,t){return Ca=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ca(e,t)}var cN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=fN();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uN(this,o)}}var C=function(e){iN(r,e);var t=aN(r);function r(n){oN(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(H);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function yN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}function vN(e,t){return t&&(hN(t)==="object"||typeof t=="function")?t:lN(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ba(e,t)}var hN=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 _N(e){var t=dN();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 vN(this,o)}}var M=function(e){yN(r,e);var t=_N(r);function r(n){return sN(this,r),t.call(this,n)}return r}(V);function ja(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 pN(e){if(Array.isArray(e))return ja(e)}function bN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ON(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pb(e){return pN(e)||bN(e)||gN(e)||ON()}function gN(e,t){if(!!e){if(typeof e=="string")return ja(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 ja(e,t)}}function Rb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function ka(e,t){e.parent=t,Rb(e,"parent")}function wb(e,t){e.forEach(function(r){ka(r,t)})}var $b=Symbol("targetKey");function Tb(e){var t;return(t=e[$b])!==null&&t!==void 0?t:e}function Sb(e,t){return wb(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),f=2;f<i;f++)u[f-2]=arguments[f];var a;return o===$b?n:(a=Reflect).get.apply(a,[n,o].concat(Pb(u)))},set:function(n,o,i){for(var u=arguments.length,f=new Array(u>3?u-3:0),a=3;a<u;a++)f[a-3]=arguments[a];var l;if(Se(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(Pb(f)));return ua(i)&&ka(i,t),s}})}function Oe(e,t,r,n){var o=n!=null?n:e,i=Sb(Tb(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=Sb(Tb(f),o)},enumerable:!0})}function Aa(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 mN(e){if(Array.isArray(e))return Aa(e)}function Eb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ib(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function PN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Ib(i,n,o,u,f,"next",a)}function f(a){Ib(i,n,o,u,f,"throw",a)}u(void 0)})}}function RN(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 nt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nt=Reflect.get:nt=function(o,i,u){var f=jN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},nt(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(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&&Ma(e,t)}function TN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function SN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EN(){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 IN(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){wN(e,o,r[o])})}return e}function NN(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 CN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function BN(e,t){return t&&(kN(t)==="object"||typeof t=="function")?t:Eb(e)}function Ma(e,t){return Ma=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ma(e,t)}function jN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function Nb(e){return mN(e)||SN(e)||AN(e)||EN()}var kN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AN(e,t){if(!!e){if(typeof e=="string")return Aa(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 Aa(e,t)}}function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=MN();return function(){var n=ge(e),o;if(t){var i=ge(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BN(this,o)}}var FN=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},LN=1e4,D=function(t){$N(n,t);var r=DN(n);function n(i){RN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=TN(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),Oe(Eb(u),"children",i==null?void 0:i.children),u.excludes=he(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},o.judgeJoinChildren=function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length},o.validate=function(u,f){var a=this,l=this,s=function(){return nt(ge(n.prototype),"validate",a)};return PN(function(){return FN(this,function(y){switch(y.label){case 0:return[4,s().call(l,u,f)];case 1:return y.sent(),[4,Promise.all(l.children.map(function(v){return v.validate(u,f)}))];case 2:return y.sent(),[2,!0]}})})()},o.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=nt(ge(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var v=y.filter(function(p){return!!p});return Nb(l).concat(Nb(v))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=nt(ge(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return CN(IN({},u),{children:f})},n}(j);D.excludes=!1,D.childrenMaxLength=LN;function Cb(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 Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function zN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Da(e,t)}function GN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:Cb(e)}function Da(e,t){return Da=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Da(e,t)}var VN=function(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 YN(e){var t=HN();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GN(this,o)}}var z=function(e){zN(r,e);var t=YN(r);function r(n){xN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new M(n==null?void 0:n.props),Oe(Cb(o),"children",n==null?void 0:n.children),o}return r}(H);function Bb(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 Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function UN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fa(e,t)}function WN(e,t){return t&&(KN(t)==="object"||typeof t=="function")?t:Bb(e)}function Fa(e,t){return Fa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fa(e,t)}var KN=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=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WN(this,o)}}var Lt=function(e){UN(r,e);var t=QN(r);function r(n,o){qN(this,r);var i;return i=t.call(this,o),Oe(Bb(i),"headers",o==null?void 0:o.headers,n),i}return r}(V);function La(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 JN(e){if(Array.isArray(e))return La(e)}function jb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function ZN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){kb(i,n,o,u,f,"next",a)}function f(a){kb(i,n,o,u,f,"throw",a)}u(void 0)})}}function eC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 rt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(o,i,u){var f=cC(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},rt(e,t,r||e)}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},me(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xa(e,t)}function rC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oC(){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 Ab(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){tC(e,o,r[o])})}return e}function iC(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 Mb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iC(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function uC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:jb(e)}function xa(e,t){return xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xa(e,t)}function cC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=me(e),e!==null););return e}function Db(e){return JN(e)||rC(e)||aC(e)||oC()}var fC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aC(e,t){if(!!e){if(typeof e=="string")return La(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 La(e,t)}}function lC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=lC();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uC(this,o)}}var yC=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},er=function(e){nC(r,e);var t=sC(r);function r(o){eC(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Lt(jb(i),o==null?void 0:o.props),i}var n=r.prototype;return n.validate=function(i,u){var f=this,a=this,l=function(){return rt(me(r.prototype),"validate",f)};return ZN(function(){return yC(this,function(s){switch(s.label){case 0:return[4,l().call(a,i)];case 1:return s.sent(),[4,Promise.all(a.props.headers.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var i=rt(me(r.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return Db(a).concat(Db(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=rt(me(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Mb(Ab({},i),{props:Mb(Ab({},this.props),{headers:u})})},r}(j);er.controlFieldType=c.FieldTypes.LIST;function za(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hC(e,t,r){return t&&Fb(e.prototype,t),r&&Fb(e,r),e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&Ga(e,t)}function _C(e,t){return t&&(pC(t)==="object"||typeof t=="function")?t:za(e)}function Ga(e,t){return Ga=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ga(e,t)}var pC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OC(e){var t=bC();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 _C(this,o)}}var Va=function(e){dC(r,e);var t=OC(r);function r(n){vC(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Lt(za(o),n==null?void 0:n.props),Oe(za(o),"children",n==null?void 0:n.children),o}return hC(r,[{key:"length",get:function(){return this.children.length}}]),r}(H);function Lb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(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&&qa(e,t)}function gC(e,t){return t&&(mC(t)==="object"||typeof t=="function")?t:Lb(e)}function qa(e,t){return qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qa(e,t)}var mC=function(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 Ua(e){var t=PC();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 gC(this,o)}}var rr=function(e){Ya(r,e);var t=Ua(r);function r(n){Ha(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(L),F=function(e){Ya(r,e);var t=Ua(r);function r(n){Ha(this,r);var o;o=t.call(this,n);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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.dataBind=new re(n==null?void 0:n.dataBind);var a;return 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,o}return r}(V);F.Rules=rr;var Wa=function(e){Ya(r,e);var t=Ua(r);function r(n){Ha(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:h.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Vn.call(Lb(o),n),o}return r}(rr);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ka(e,t)}function TC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:RC(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}var SC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=EC();return function(){var n=or(e),o;if(t){var i=or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TC(this,o)}}var Y=function(e){$C(r,e);var t=IC(r);function r(n){wC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new F(n==null?void 0:n.props),o}return r}(j);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xa(e,t)}function jC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:NC(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}var kC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MC(e){var t=AC();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jC(this,o)}}var q=function(e){BC(r,e);var t=MC(r);function r(n){CC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new F(n==null?void 0:n.props),o}return r}(H);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function xC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:DC(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qa(e,t)}var zC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=GC();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xC(this,o)}}var cr=function(e){LC(r,e);var t=VC(r);function r(n){FC(this,r);var o;return o=t.call(this,n),o.dataBind=new re(n==null?void 0:n.dataBind),o}return r}(M);function HC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:HC(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var WC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XC(e){var t=KC();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 UC(this,o)}}var xb=function(e){qC(r,e);var t=XC(r);function r(n){YC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new cr(n==null?void 0:n.props),o}return r}(D);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(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&&Za(e,t)}function eB(e,t){return t&&(tB(t)==="object"||typeof t=="function")?t:QC(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}var tB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rB(e){var t=nB();return function(){var n=ar(e),o;if(t){var i=ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eB(this,o)}}var zb=function(e){ZC(r,e);var t=rB(r);function r(n){JC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new cr(n==null?void 0:n.props),o}return r}(z);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function uB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}function cB(e,t){return t&&(fB(t)==="object"||typeof t=="function")?t:oB(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var fB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lB(e){var t=aB();return function(){var n=lr(e),o;if(t){var i=lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cB(this,o)}}var tl=function(e){uB(r,e);var t=lB(r);function r(n){return iB(this,r),t.call(this,n)}return r}(M);function sB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function vB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nl(e,t)}function hB(e,t){return t&&(dB(t)==="object"||typeof t=="function")?t:sB(e)}function nl(e,t){return nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nl(e,t)}var dB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pB(e){var t=_B();return function(){var n=sr(e),o;if(t){var i=sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hB(this,o)}}var bB=function(e){vB(r,e);var t=pB(r);function r(n){yB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new tl(n==null?void 0:n.props),o}return r}(D);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function mB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rl(e,t)}function PB(e,t){return t&&(RB(t)==="object"||typeof t=="function")?t:OB(e)}function rl(e,t){return rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rl(e,t)}var RB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $B(e){var t=wB();return function(){var n=yr(e),o;if(t){var i=yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PB(this,o)}}var TB=function(e){mB(r,e);var t=$B(r);function r(n){gB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new tl(n==null?void 0:n.props),o}return r}(z);function SB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function IB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ol(e,t)}function NB(e,t){return t&&(CB(t)==="object"||typeof t=="function")?t:SB(e)}function ol(e,t){return ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ol(e,t)}var CB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jB(e){var t=BB();return function(){var n=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NB(this,o)}}var il=function(e){IB(r,e);var t=jB(r);function r(n){EB(this,r);var o;o=t.call(this,n);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 f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"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}(V);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MB(e,t,r){return t&&Gb(e.prototype,t),r&&Gb(e,r),e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function DB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ul(e,t)}function FB(e,t){return t&&(LB(t)==="object"||typeof t=="function")?t:kB(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(e,t)}var LB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zB(e){var t=xB();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FB(this,o)}}var Vb=function(e){DB(r,e);var t=zB(r);function r(n){AB(this,r);var o;return o=t.call(this,n),o.props=new il(n==null?void 0:n.props),o}return MB(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(j);Vb.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HB(e,t,r){return t&&Hb(e.prototype,t),r&&Hb(e,r),e}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function YB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cl(e,t)}function qB(e,t){return t&&(UB(t)==="object"||typeof t=="function")?t:GB(e)}function cl(e,t){return cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cl(e,t)}var UB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KB(e){var t=WB();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 qB(this,o)}}var XB=function(e){YB(r,e);var t=KB(r);function r(n){VB(this,r);var o;return o=t.call(this,n),o.props=new il(n==null?void 0:n.props),o}return HB(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(H),Yb={Designer:Vb,Runtime:XB,Property:il};function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function ZB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fl(e,t)}function e1(e,t){return t&&(t1(t)==="object"||typeof t=="function")?t:QB(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fl(e,t)}var t1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r1(e){var t=n1();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 e1(this,o)}}var al=function(e){ZB(r,e);var t=r1(r);function r(n){JB(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:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(V);function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u1(e,t,r){return t&&qb(e.prototype,t),r&&qb(e,r),e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function c1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ll(e,t)}function f1(e,t){return t&&(a1(t)==="object"||typeof t=="function")?t:o1(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var a1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s1(e){var t=l1();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f1(this,o)}}var sl=function(e){c1(r,e);var t=s1(r);function r(n){i1(this,r);var o;return o=t.call(this,n),o.props=new al(n==null?void 0:n.props),o}return u1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(j);sl.controlEventKeys=["on_click"],sl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];function y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h1(e,t,r){return t&&Ub(e.prototype,t),r&&Ub(e,r),e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function d1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yl(e,t)}function _1(e,t){return t&&(p1(t)==="object"||typeof t=="function")?t:y1(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var p1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O1(e){var t=b1();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _1(this,o)}}var g1=function(e){d1(r,e);var t=O1(r);function r(n){v1(this,r);var o;return o=t.call(this,n),o.props=new al(n==null?void 0:n.props),o}return h1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(H),Wb={Designer:sl,Runtime:g1,Property:al};function m1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function R1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vl(e,t)}function w1(e,t){return t&&($1(t)==="object"||typeof t=="function")?t:m1(e)}function vl(e,t){return vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vl(e,t)}var $1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S1(e){var t=T1();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w1(this,o)}}var Q=function(e){R1(r,e);var t=S1(r);function r(n){P1(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:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"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 s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;return o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1,o}return r}(V);function E1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N1(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function C1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hl(e,t)}function B1(e,t){return t&&(j1(t)==="object"||typeof t=="function")?t:E1(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(e,t)}var j1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A1(e){var t=k1();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 B1(this,o)}}var J=function(e){C1(r,e);var t=A1(r);function r(n){I1(this,r);var o;return o=t.call(this,n),o.props=new Q(n==null?void 0:n.props),o}return N1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(j);J.controlEventKeys=["on_click"],J.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F1(e,t,r){return t&&Xb(e.prototype,t),r&&Xb(e,r),e}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function L1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dl(e,t)}function x1(e,t){return t&&(z1(t)==="object"||typeof t=="function")?t:M1(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var z1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V1(e){var t=G1();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x1(this,o)}}var ie=function(e){L1(r,e);var t=V1(r);function r(n){D1(this,r);var o;return o=t.call(this,n),o.props=new Q(n==null?void 0:n.props),o}return F1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(H),Qb={Designer:J,Runtime:ie,Property:Q};function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,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"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Pr=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:ue(8),value:["",""]};de(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Rr=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,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"}(c.LINE_STYLE||(c.LINE_STYLE={}));var _l=function e(t){de(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Ze((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 Ze((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Ze((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Jb=function e(t){de(this,e);var r,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 _l(a)}))!==null&&o!==void 0?o:[new _l];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 f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},pl=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue(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 f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},bl=function e(t){de(this,e);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:""},Zb=function e(t){de(this,e);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 bl(t==null?void 0:t.watermark),this.autoRename=new bl(t==null?void 0:t.autoRename)},eO=480;function xt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var tO=function e(t){de(this,e);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:[]},nO=function e(t){de(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function H1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function q1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ol(e,t)}function U1(e,t){return t&&(W1(t)==="object"||typeof t=="function")?t:H1(e)}function Ol(e,t){return Ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ol(e,t)}var W1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X1(e){var t=K1();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 U1(this,o)}}var gl=function(e){q1(r,e);var t=X1(r);function r(n){Y1(this,r);var o;o=t.call(this,n);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:c.LINE_STYLE.SOLID,o}return r}(V);function Q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z1(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ml(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:Q1(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var nj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=$r(e),o;if(t){var i=$r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tj(this,o)}}var oO=function(e){ej(r,e);var t=oj(r);function r(n){J1(this,r);var o;return o=t.call(this,n),o.props=new gl(n==null?void 0:n.props),o}return Z1(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(j);oO.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t){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 cj(e,t,r){return t&&iO(e.prototype,t),r&&iO(e,r),e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&Pl(e,t)}function aj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:ij(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var lj=function(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 yj(e){var t=sj();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 aj(this,o)}}var vj=function(e){fj(r,e);var t=yj(r);function r(n){uj(this,r);var o;return o=t.call(this,n),o.props=new gl(n==null?void 0:n.props),o}return cj(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(H),uO={Designer:oO,Runtime:vj,Property:gl};function hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Rl(e,t)}function dj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:hj(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(e,t)}var _j=function(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 aO(e){var t=pj();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var bj=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.dataBind={type:"any"},n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),o}return r}(L),Er=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;o=t.call(this,n),o.dataBind=new re(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar];var u,f;return o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ot==null?void 0:ot.controlName)!==null&&f!==void 0?f:"",o}return r}(V);Er.Rules=bj;function Oj(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 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 mj(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function Pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wl(e,t)}function Rj(e,t){return t&&(wj(t)==="object"||typeof t=="function")?t:Oj(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var wj=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 Tj(e){var t=$j();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rj(this,o)}}var ot=function(e){Pj(r,e);var t=Tj(r);function r(n){gj(this,r);var o;return o=t.call(this,n),o.props=new Er(n==null?void 0:n.props),o}return mj(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(j);ot.controlFieldType=c.FieldTypes.AUTO_NUMBER,ot.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];function Sj(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 sO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ij(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&$l(e,t)}function Cj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Sj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var Bj=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 kj(e){var t=jj();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 Cj(this,o)}}var Aj=function(e){Nj(r,e);var t=kj(r);function r(n){Ej(this,r);var o;return o=t.call(this,n),o.props=new Er(n==null?void 0:n.props),o}return Ij(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(H),yO={Designer:ot,Runtime:Aj,Property:Er};function Mj(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 Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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&&Tl(e,t)}function Dj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:Mj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(e,t)}var Fj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dO(e){var t=Lj();return function(){var n=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dj(this,o)}}var xj=function(e){hO(r,e);var t=dO(r);function r(n){vO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")},o}return r}(L),Br=function(e){hO(r,e);var t=dO(r);function r(n){vO(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:zt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:zt.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(Q);Br.Rules=xj;function zj(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 _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 Vj(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(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&&Sl(e,t)}function Yj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:zj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yj(this,o)}}var zt=function(e){Hj(r,e);var t=Wj(r);function r(n){Gj(this,r);var o;return o=t.call(this,n),o.props=new Br(n==null?void 0:n.props),o}return Vj(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}(J);zt.controlEventKeys=["on_click","on_click_finish"],zt.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 Kj(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 pO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qj(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(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&&El(e,t)}function Zj(e,t){return t&&(ek(t)==="object"||typeof t=="function")?t:Kj(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var ek=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nk(e){var t=tk();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zj(this,o)}}var rk=function(e){Jj(r,e);var t=nk(r);function r(n){Xj(this,r);var o;return o=t.call(this,n),o.props=new Br(n==null?void 0:n.props),o}return Qj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ie),bO={Designer:zt,Runtime:rk,Property:Br};function ok(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function gO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function ik(e,t){return t&&(uk(t)==="object"||typeof t=="function")?t:ok(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var uk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ck(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mO(e){var t=ck();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ik(this,o)}}var fk=function(e){gO(r,e);var t=mO(r);function r(n){OO(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}],o}return r}(L),Mr=function(e){gO(r,e);var t=mO(r);function r(n){OO(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Gt.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"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 s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Q);Mr.Rules=fk;function ak(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 PO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sk(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nl(e,t)}function vk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:ak(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(e,t)}var hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _k(e){var t=dk();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 vk(this,o)}}var Gt=function(e){yk(r,e);var t=_k(r);function r(n){lk(this,r);var o;return o=t.call(this,n),o.props=new Mr(n==null?void 0:n.props),o}return sk(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}(J);Gt.controlEventKeys=["on_click","on_click_finish"],Gt.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 pk(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 RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ok(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(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&&Cl(e,t)}function mk(e,t){return t&&(Pk(t)==="object"||typeof t=="function")?t:pk(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(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 wk(e){var t=Rk();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 mk(this,o)}}var $k=function(e){gk(r,e);var t=wk(r);function r(n){bk(this,r);var o;return o=t.call(this,n),o.props=new Mr(n==null?void 0:n.props),o}return Ok(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ie),wO={Designer:Gt,Runtime:$k,Property:Mr};function Tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function Ek(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bl(e,t)}function Ik(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:Tk(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(e,t)}var Nk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ck(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ck();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ik(this,o)}}var jl=function(e){Ek(r,e);var t=Bk(r);function r(n){Sk(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:Vt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Vt.controlIcon,o}return r}(Q);function jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 Ak(e,t,r){return t&&$O(e.prototype,t),r&&$O(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function Mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Dk(e,t){return t&&(Fk(t)==="object"||typeof t=="function")?t:jk(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(e,t)}var Fk=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 xk(e){var t=Lk();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dk(this,o)}}var Vt=function(e){Mk(r,e);var t=xk(r);function r(n){kk(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return Ak(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}(J);Vt.controlEventKeys=["on_click"],Vt.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 zk(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 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 Vk(e,t,r){return t&&TO(e.prototype,t),r&&TO(e,r),e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function Hk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Al(e,t)}function Yk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:zk(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(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=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yk(this,o)}}var Kk=function(e){Hk(r,e);var t=Wk(r);function r(n){Gk(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return Vk(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ie),SO={Designer:Vt,Runtime:Kk,Property:jl};function Xk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function Jk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}function Zk(e,t){return t&&(e3(t)==="object"||typeof t=="function")?t:Xk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var e3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n3(e){var t=t3();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 Zk(this,o)}}var Dl=function(e){Jk(r,e);var t=n3(r);function r(n){Qk(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ht.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Ht.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new pl(l)}))!==null&&a!==void 0?a:[new pl({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Q);function r3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 i3(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function u3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fl(e,t)}function c3(e,t){return t&&(f3(t)==="object"||typeof t=="function")?t:r3(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(e,t)}var f3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=a3();return function(){var n=Vr(e),o;if(t){var i=Vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c3(this,o)}}var Ht=function(e){u3(r,e);var t=l3(r);function r(n){o3(this,r);var o;return o=t.call(this,n),o.props=new Dl(n==null?void 0:n.props),o}return i3(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}(J);Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 s3(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 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 v3(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function h3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ll(e,t)}function d3(e,t){return t&&(_3(t)==="object"||typeof t=="function")?t:s3(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(e,t)}var _3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b3(e){var t=p3();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d3(this,o)}}var O3=function(e){h3(r,e);var t=b3(r);function r(n){y3(this,r);var o;return o=t.call(this,n),o.props=new Dl(n==null?void 0:n.props),o}return v3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ie),NO={Designer:Ht,Runtime:O3,Property:Dl};function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(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&&xl(e,t)}function R3(e,t){return t&&(w3(t)==="object"||typeof t=="function")?t:g3(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var w3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T3(e){var t=$3();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R3(this,o)}}var zl=function(e){P3(r,e);var t=T3(r);function r(n){m3(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:Yt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Yt.controlIcon,o}return r}(Q);function S3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I3(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function N3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gl(e,t)}function C3(e,t){return t&&(B3(t)==="object"||typeof t=="function")?t:S3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var B3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k3(e){var t=j3();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C3(this,o)}}var Yt=function(e){N3(r,e);var t=k3(r);function r(n){E3(this,r);var o;return o=t.call(this,n),o.props=new zl(n==null?void 0:n.props),o}return I3(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}(J);Yt.controlEventKeys=["on_click"],Yt.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 A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D3(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(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&&Vl(e,t)}function L3(e,t){return t&&(x3(t)==="object"||typeof t=="function")?t:A3(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(e,t)}var x3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G3(e){var t=z3();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L3(this,o)}}var V3=function(e){F3(r,e);var t=G3(r);function r(n){M3(this,r);var o;return o=t.call(this,n),o.props=new zl(n==null?void 0:n.props),o}return D3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ie),jO={Designer:Yt,Runtime:V3,Property:zl};function H3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function Y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function q3(e,t){return t&&(U3(t)==="object"||typeof t=="function")?t:H3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var U3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K3(e){var t=W3();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 q3(this,o)}}var X3=function e(t){kO(this,e),this.dataCode=t.dataCode},Yl=function(e){Y3(r,e);var t=K3(r);function r(n){kO(this,r);var o,i;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:qt.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:qt.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new X3(l)}))!==null&&a!==void 0?a:[],o}return r}(Q);function Q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z3(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function eA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function tA(e,t){return t&&(nA(t)==="object"||typeof t=="function")?t:Q3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var nA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oA(e){var t=rA();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tA(this,o)}}var qt=function(e){eA(r,e);var t=oA(r);function r(n){J3(this,r);var o;return o=t.call(this,n),o.props=new Yl(n==null?void 0:n.props),o}return Z3(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}(J);qt.controlEventKeys=["on_click","on_click_finish"],qt.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 iA(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 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 cA(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(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&&Ul(e,t)}function aA(e,t){return t&&(lA(t)==="object"||typeof t=="function")?t:iA(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var lA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yA(e){var t=sA();return function(){var n=Xr(e),o;if(t){var i=Xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aA(this,o)}}var vA=function(e){fA(r,e);var t=yA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),o.props=new Yl(n==null?void 0:n.props),o}return cA(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ie),DO={Designer:qt,Runtime:vA,Property:Yl};function Qr(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function hA(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 dA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function LO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function xO(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){dA(e,o,r[o])})}return e}function _A(e,t){return t&&(pA(t)==="object"||typeof t=="function")?t:hA(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var pA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zO(e){var t=bA();return function(){var n=Jr(e),o;if(t){var i=Jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _A(this,o)}}var OA=function(e){LO(r,e);var t=zO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:xO({},Qr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:xO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Qr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(L),Zr=function(e){LO(r,e);var t=zO(r);function r(n){FO(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:Ut.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ut.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Fn(n==null?void 0:n.fillPayload),o.formBind=new Ap(n==null?void 0:n.formBind),o.fillBack=new da(n==null?void 0:n.fillBack),o}return r}(Q);Zr.Rules=OA;function gA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mA(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 PA(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function RA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function wA(e,t){return t&&($A(t)==="object"||typeof t=="function")?t:gA(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var $A=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SA(e){var t=TA();return function(){var n=eo(e),o;if(t){var i=eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wA(this,o)}}var Ut=function(e){RA(r,e);var t=SA(r);function r(n){mA(this,r);var o;return o=t.call(this,n),o.props=new Zr(n==null?void 0:n.props),o}return PA(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}(J);Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IA(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 NA(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(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&&Xl(e,t)}function BA(e,t){return t&&(jA(t)==="object"||typeof t=="function")?t:EA(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(e,t)}var jA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AA(e){var t=kA();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 BA(this,o)}}var MA=function(e){CA(r,e);var t=AA(r);function r(n){IA(this,r);var o;return o=t.call(this,n),o.props=new Zr(n==null?void 0:n.props),o}return NA(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ie),HO={Designer:Ut,Runtime:MA,Property:Zr};function DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(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&&Ql(e,t)}function UO(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){FA(e,o,r[o])})}return e}function LA(e,t){return t&&(xA(t)==="object"||typeof t=="function")?t:DA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var xA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zA();return function(){var n=no(e),o;if(t){var i=no(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LA(this,o)}}var GA=function(e){qO(r,e);var t=WO(r);function r(n){YO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:UO({},Qr())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:UO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Qr())},o}return r}(L),ro=function(e){qO(r,e);var t=WO(r);function r(n){YO(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:Wt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Wt.controlIcon,o.fillPayload=new Fn(n==null?void 0:n.fillPayload),o.listPageBind=new sa(n==null?void 0:n.listPageBind),o.fillBack=new da(n==null?void 0:n.fillBack),o}return r}(Q);ro.Rules=GA;function VA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HA(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 YA(e,t,r){return t&&KO(e.prototype,t),r&&KO(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function qA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}function UA(e,t){return t&&(WA(t)==="object"||typeof t=="function")?t:VA(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var WA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=KA();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UA(this,o)}}var Wt=function(e){qA(r,e);var t=XA(r);function r(n){HA(this,r);var o;return o=t.call(this,n),o.props=new ro(n==null?void 0:n.props),o}return YA(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}(J);Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function QA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JA(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 ZA(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:QA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var nM=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 oM(e){var t=rM();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 tM(this,o)}}var iM=function(e){eM(r,e);var t=oM(r);function r(n){JA(this,r);var o;return o=t.call(this,n),o.props=new ro(n==null?void 0:n.props),o}return ZA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ie),QO={Designer:Wt,Runtime:iM,Property:ro};function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:uM(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var fM=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 rs(e){var t=aM();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 cM(this,o)}}var lM=function(e){ts(r,e);var t=rs(r);function r(n){return es(this,r),t.call(this,n)}return r}(L),sM=function(e){ts(r,e);var t=rs(r);function r(n){return es(this,r),t.call(this,n)}return r}(pe),Kt=function(e){ts(r,e);var t=rs(r);function r(n){return es(this,r),t.call(this,n)}return r}(V);Kt.Rules=lM,Kt.RuntimeRules=sM;function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vM(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 hM(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(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&&os(e,t)}function _M(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:yM(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var pM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bM();return function(){var n=co(e),o;if(t){var i=co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _M(this,o)}}var ZO=function(e){dM(r,e);var t=OM(r);function r(n){vM(this,r);var o;return o=t.call(this,n),o.props=new Kt(n==null?void 0:n.props),o}return hM(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(j);ZO.setting=[];function gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PM(e,t,r){return t&&eg(e.prototype,t),r&&eg(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function RM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:gM(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var $M=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SM(e){var t=TM();return function(){var n=fo(e),o;if(t){var i=fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wM(this,o)}}var EM=function(e){RM(r,e);var t=SM(r);function r(n){mM(this,r);var o;return o=t.call(this,n),o.props=new Kt(n==null?void 0:n.props),o}return PM(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(H),tg={Designer:ZO,Runtime:EM,Property:Kt};function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&us(e,t)}function NM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:IM(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var CM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=BM();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NM(this,o)}}var jM=function(e){rg(r,e);var t=og(r);function r(n){ng(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),lo=function(e){rg(r,e);var t=og(r);function r(n){ng(this,r);var o;o=t.call(this,n);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 f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(V);lo.Rules=jM;function kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t){for(var r=0;r<t.length;r++){var 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&&ig(e.prototype,t),r&&ig(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(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&&cs(e,t)}function FM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:kM(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var LM=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 zM(e){var t=xM();return function(){var n=so(e),o;if(t){var i=so(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FM(this,o)}}var ug=function(e){DM(r,e);var t=zM(r);function r(n){AM(this,r);var o;return o=t.call(this,n),o.props=new lo(n==null?void 0:n.props),o}return MM(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(j);ug.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HM(e,t,r){return t&&cg(e.prototype,t),r&&cg(e,r),e}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function qM(e,t){return t&&(UM(t)==="object"||typeof t=="function")?t:GM(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var UM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KM(e){var t=WM();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 qM(this,o)}}var XM=function(e){YM(r,e);var t=KM(r);function r(n){VM(this,r);var o;return o=t.call(this,n),o.props=new lo(n==null?void 0:n.props),o}return HM(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(H),fg={Designer:ug,Runtime:XM,Property:lo};function QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function lg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function JM(e,t){return t&&(ZM(t)==="object"||typeof t=="function")?t:QM(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var ZM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sg(e){var t=e2();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 JM(this,o)}}var t2=function(e){lg(r,e);var t=sg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),o.showType={type:"enum",enum:["select","tabs"]},o.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(L),ho=function(e){lg(r,e);var t=sg(r);function r(n){ag(this,r);var o,i;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new eb(a)}))!==null&&f!==void 0?f:[],o}return r}(V);ho.Rules=t2;function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o2(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:n2(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var c2=function(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 a2(e){var t=f2();return function(){var n=_o(e),o;if(t){var i=_o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u2(this,o)}}var vg=function(e){i2(r,e);var t=a2(r);function r(n){r2(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return o2(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}(j);vg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function l2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s2(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 y2(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function v2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h2(e,t){return t&&(d2(t)==="object"||typeof t=="function")?t:l2(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var d2=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 p2(e){var t=_2();return function(){var n=po(e),o;if(t){var i=po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h2(this,o)}}var b2=function(e){v2(r,e);var t=p2(r);function r(n){s2(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return y2(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(H),dg={Designer:vg,Runtime:b2,Property:ho};function O2(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 bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(e)}function pg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function g2(e,t){return t&&(m2(t)==="object"||typeof t=="function")?t:O2(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var m2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bg(e){var t=P2();return function(){var n=bo(e),o;if(t){var i=bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g2(this,o)}}var R2=function(e){pg(r,e);var t=bg(r);function r(n){_g(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),Oo=function(e){pg(r,e);var t=bg(r);function r(n){_g(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:it.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:it.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:it.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(_){return new Z(_)}))!==null&&b!==void 0?b:[],o}return r}(Q);Oo.Rules=R2;function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T2(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(e)}function S2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function E2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:w2(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var I2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C2(e){var t=N2();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 E2(this,o)}}var it=function(e){S2(r,e);var t=C2(r);function r(n){$2(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return T2(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}(J);it.controlEventKeys=["on_click","on_click_finish"],it.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k2(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(e)}function A2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function M2(e,t){return t&&(D2(t)==="object"||typeof t=="function")?t:B2(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var D2=function(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 L2(e){var t=F2();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 M2(this,o)}}var x2=function(e){A2(r,e);var t=L2(r);function r(n){j2(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return k2(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ie),mg={Designer:it,Runtime:x2,Property:Oo};function z2(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 Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(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&&ds(e,t)}function G2(e,t){return t&&(V2(t)==="object"||typeof t=="function")?t:z2(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var V2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wg(e){var t=H2();return function(){var n=Po(e),o;if(t){var i=Po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G2(this,o)}}var Y2=function(e){Rg(r,e);var t=wg(r);function r(n){Pg(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.invoiceCheck={type:"boolean"},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),Ro=function(e){Rg(r,e);var t=wg(r);function r(n){Pg(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ut.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:ut.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:ut.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(_){return new Z(_)}))!==null&&b!==void 0?b:[],o}return r}(Q);Ro.Rules=Y2;function q2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W2(e,t,r){return t&&$g(e.prototype,t),r&&$g(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function K2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:q2(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z2(e){var t=J2();return function(){var n=wo(e),o;if(t){var i=wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X2(this,o)}}var ut=function(e){K2(r,e);var t=Z2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),o.props=new Ro(n==null?void 0:n.props),o}return W2(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}(J);ut.controlEventKeys=["on_click","on_click_finish"],ut.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function eD(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 Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nD(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(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&&ps(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:eD(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var iD=function(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 cD(e){var t=uD();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oD(this,o)}}var fD=function(e){rD(r,e);var t=cD(r);function r(n){tD(this,r);var o;return o=t.call(this,n),o.props=new Ro(n==null?void 0:n.props),o}return nD(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ie),Sg={Designer:ut,Runtime:fD,Property:Ro};function aD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function Ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function lD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:aD(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(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 Ng(e){var t=yD();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 lD(this,o)}}var vD=function(e){Ig(r,e);var t=Ng(r);function r(){Eg(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(L),So=function(e){Ig(r,e);var t=Ng(r);function r(n){Eg(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Xt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Xt.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new tO(s)}))!==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}(Q);So.Rules=vD;function hD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cg(e,t){for(var r=0;r<t.length;r++){var 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&&Cg(e.prototype,t),r&&Cg(e,r),e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(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&&Os(e,t)}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:hD(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var OD=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=Eo(e),o;if(t){var i=Eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bD(this,o)}}var Xt=function(e){pD(r,e);var t=mD(r);function r(n){dD(this,r);var o;return o=t.call(this,n),o.props=new So(n==null?void 0:n.props),o}return _D(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}(J);Xt.controlEventKeys=["on_click","on_click_finish"],Xt.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 PD(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 Bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wD(e,t,r){return t&&Bg(e.prototype,t),r&&Bg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&gs(e,t)}function TD(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:PD(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var SD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ED(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ID(e){var t=ED();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TD(this,o)}}var ND=function(e){$D(r,e);var t=ID(r);function r(n){RD(this,r);var o;return o=t.call(this,n),o.props=new So(n==null?void 0:n.props),o}return wD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ie),jg={Designer:Xt,Runtime:ND,Property:So};function CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function jD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function kD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:CD(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var AD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DD(e){var t=MD();return function(){var n=No(e),o;if(t){var i=No(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kD(this,o)}}var Ps=function(e){jD(r,e);var t=DD(r);function r(n){BD(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:Qt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Qt.controlIcon,o}return r}(Q);function FD(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 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 xD(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function zD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function GD(e,t){return t&&(VD(t)==="object"||typeof t=="function")?t:FD(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var VD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YD(e){var t=HD();return function(){var n=Co(e),o;if(t){var i=Co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GD(this,o)}}var Qt=function(e){zD(r,e);var t=YD(r);function r(n){LD(this,r);var o;return o=t.call(this,n),o.props=new Ps(n==null?void 0:n.props),o}return xD(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}(J);Qt.controlEventKeys=["on_click"],Qt.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 qD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WD(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function XD(e,t){return t&&(QD(t)==="object"||typeof t=="function")?t:qD(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var QD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZD(e){var t=JD();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XD(this,o)}}var eF=function(e){KD(r,e);var t=ZD(r);function r(n){UD(this,r);var o;return o=t.call(this,n),o.props=new Ps(n==null?void 0:n.props),o}return WD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ie),Mg={Designer:Qt,Runtime:eF,Property:Ps},tF=Object.freeze({__proto__:null,Text:Yb,Link:Wb,Button:Qb,Divider:uO,Title:yO,CreateFormListButton:bO,BatchSubmissionListButton:wO,SubmissionRecordListButton:SO,ExportListButton:NO,ExportRecordListButton:jO,ImportRecordListButton:DO,FormSelectButton:HO,ListSelectButton:QO,Pagination:tg,Dashboard:fg,ListViewSelect:dg,TextOcrButton:mg,InvoiceCheckButton:Sg,BatchPrintListButton:jg,BatchPrintRecordListButton:Mg});function nF(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 jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function Ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:nF(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var oF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=iF();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 rF(this,o)}}var uF=function(e){Ts(r,e);var t=Es(r);function r(n){$s(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=xt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(K),cF=function(e){Ts(r,e);var t=Es(r);function r(n){$s(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:xt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(k),ct=function(e){Ts(r,e);var t=Es(r);function r(n){$s(this,r);var o;o=t.call(this,n);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 _a(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ft.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(E);ct.Rules=uF,ct.RuntimeRules=cF;function fF(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 Dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lF(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function sF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:fF(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var vF=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 dF(e){var t=hF();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 yF(this,o)}}var ft=function(e){sF(r,e);var t=dF(r);function r(n){aF(this,r);var o;return o=t.call(this,n),o.props=new ct(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}(N);ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ft.controlFieldType=c.FieldTypes.VARCHAR,ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 _F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bF(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:_F(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var mF=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=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gF(this,o)}}var Lg=function(e){OF(r,e);var t=RF(r);function r(n){pF(this,r);var o;return o=t.call(this,n),o.props=new ct(n==null?void 0:n.props),o}return bF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(C);Lg.controlFieldType=c.FieldTypes.VARCHAR;var xg={Designer:ft,Runtime:Lg,Property:ct};function wF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function Bs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function $F(e,t){return t&&(TF(t)==="object"||typeof t=="function")?t:wF(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var TF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ks(e){var t=SF();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 $F(this,o)}}var EF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")};var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(n.limitMin),o}return r}(Ne),IF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(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}(k),Jt=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(this,r);var o;o=t.call(this,n);var i;o.options=le((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Zt.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal";var O;return o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Z(d))})),o}return r}(E);Jt.Rules=EF,Jt.RuntimeRules=IF;function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(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 BF(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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&&As(e,t)}function kF(e,t){return t&&(AF(t)==="object"||typeof t=="function")?t:NF(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var AF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DF(e){var t=MF();return function(){var n=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kF(this,o)}}var Zt=function(e){jF(r,e);var t=DF(r);function r(n){CF(this,r);var o;return o=t.call(this,n),o.props=new Jt(n==null?void 0:n.props),o}return BF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=c.FieldTypes.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 FF(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 Gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xF(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function zF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function GF(e,t){return t&&(VF(t)==="object"||typeof t=="function")?t:FF(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var VF=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 YF(e){var t=HF();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var Vg=function(e){zF(r,e);var t=YF(r);function r(n){LF(this,r);var o;return o=t.call(this,n),o.props=new Jt(n==null?void 0:n.props),o}return xF(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(C);Vg.controlFieldType=c.FieldTypes.ARRAY;var Hg={Designer:Zt,Runtime:Vg,Property:Jt};function qF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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&&Ds(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:qF(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var WF=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 Ug(e){var t=KF();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 UF(this,o)}}var XF=function(e){qg(r,e);var t=Ug(r);function r(n){return Yg(this,r),t.call(this,n)}return r}(Ne),xo=function(e){qg(r,e);var t=Ug(r);function r(n){Yg(this,r);var o;o=t.call(this,n);var i;o.options=le((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:en.controlName;var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Z(_))})),o}return r}(E);xo.Rules=XF;function QF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZF(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function eL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:QF(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var nL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oL(e){var t=rL();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 tL(this,o)}}var en=function(e){eL(r,e);var t=oL(r);function r(n){JF(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return ZF(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);en.controlEventKeys=["on_change","on_click"],en.controlFieldType=c.FieldTypes.VARCHAR,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];function iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uL(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 cL(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:iL(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var lL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yL(e){var t=sL();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 aL(this,o)}}var Xg=function(e){fL(r,e);var t=yL(r);function r(n){uL(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return cL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(C);Xg.controlFieldType=c.FieldTypes.VARCHAR;var Qg={Designer:en,Runtime:Xg,Property:xo};function vL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(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&&Gs(e,t)}function hL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:vL(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var dL=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 Vs(e){var t=_L();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 hL(this,o)}}var pL=function(e){zs(r,e);var t=Vs(r);function r(n){xs(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=xt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(K),bL=function(e){zs(r,e);var t=Vs(r);function r(n){xs(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:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:xt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(k),tn=function(e){zs(r,e);var t=Vs(r);function r(n){xs(this,r);var o;o=t.call(this,n);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 f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"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 s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s: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 p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:nn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new _a(n==null?void 0:n.regularRules),o}return r}(E);tn.Rules=pL,tn.RuntimeRules=bL;function OL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mL(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function Ho(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ho=Reflect.get:Ho=function(o,i,u){var f=wL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ho(e,t,r||e)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(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&&Hs(e,t)}function RL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:OL(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}function wL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=at(e),e!==null););return e}var $L=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 SL(e){var t=TL();return function(){var n=at(e),o;if(t){var i=at(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RL(this,o)}}var nn=function(e){PL(r,e);var t=SL(r);function r(o){gL(this,r);var i;return i=t.call(this,o),i.props=new tn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ho(at(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},mL(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(N);nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=c.FieldTypes.DECIMAL,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function EL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IL(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 NL(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function CL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function BL(e,t){return t&&(jL(t)==="object"||typeof t=="function")?t:EL(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var jL=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 AL(e){var t=kL();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 BL(this,o)}}var em=function(e){CL(r,e);var t=AL(r);function r(n){IL(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return NL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(C);em.controlFieldType=c.FieldTypes.DECIMAL;var tm={Designer:nn,Runtime:em,Property:tn};function ML(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:ML(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var xL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GL(e){var t=zL();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 LL(this,o)}}var Us=function(e){FL(r,e);var t=GL(r);function r(n){DL(this,r);var o,i;o=t.call(this,n);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Wo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.limitDateList=(y=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Pr(b)}))!==null&&y!==void 0?y:[];var v;o.allowDateRange=(v=n==null?void 0:n.allowDateRange)!==null&&v!==void 0?v:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(E);function VL(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 nm(e,t){for(var r=0;r<t.length;r++){var 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&&nm(e.prototype,t),r&&nm(e,r),e}function Uo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Uo=Reflect.get:Uo=function(o,i,u){var f=WL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Uo(e,t,r||e)}function lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function qL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function UL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:VL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function WL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lt(e),e!==null););return e}var KL=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=lt(e),o;if(t){var i=lt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UL(this,o)}}var Wo=function(e){qL(r,e);var t=QL(r);function r(o){HL(this,r);var i;return i=t.call(this,o),i.props=new Us(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Uo(lt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},YL(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Wo.controlFieldType=c.FieldTypes.TIMESTAMP,Wo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:JL(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var r5=function(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 i5(e){var t=o5();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 n5(this,o)}}var om=function(e){t5(r,e);var t=i5(r);function r(n){ZL(this,r);var o;return o=t.call(this,n),o.props=new Us(n==null?void 0:n.props),o}return e5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(C);om.controlFieldType=c.FieldTypes.TIMESTAMP;var im={Designer:Wo,Runtime:om,Property:Us};function u5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function cm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function c5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:u5(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var f5=function(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 fm(e){var t=a5();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 c5(this,o)}}var l5=function(e){cm(r,e);var t=fm(r);function r(n){um(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}(k),Qo=function(e){cm(r,e);var t=fm(r);function r(n){um(this,r);var o,i;o=t.call(this,n),o.dataBind=new Kp(n==null?void 0:n.dataBind),o.defaultValue=new Xp(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var y;o.placeholderEnd=(y=n==null?void 0:n.placeholderEnd)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Zo.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Pr(b)}))!==null&&p!==void 0?p:[],o}return r}(E);Qo.RuntimeRules=l5;function s5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v5(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function Jo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jo=Reflect.get:Jo=function(o,i,u){var f=_5(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Jo(e,t,r||e)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function h5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:s5(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}function _5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=st(e),e!==null););return e}var p5=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 O5(e){var t=b5();return function(){var n=st(e),o;if(t){var i=st(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d5(this,o)}}var Zo=function(e){h5(r,e);var t=O5(r);function r(o){y5(this,r);var i;return i=t.call(this,o),i.props=new Qo(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Jo(st(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},v5(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(N);Zo.controlFieldType=c.FieldTypes.TIMESCOPE,Zo.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function g5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m5(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 P5(e,t,r){return t&&lm(e.prototype,t),r&&lm(e,r),e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&Js(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:g5(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var $5=function(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 S5(e){var t=T5();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 w5(this,o)}}var sm=function(e){R5(r,e);var t=S5(r);function r(n){m5(this,r);var o;return o=t.call(this,n),o.props=new Qo(n==null?void 0:n.props),o}return P5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(C);sm.controlFieldType=c.FieldTypes.TIMESCOPE;var ym={Designer:Zo,Runtime:sm,Property:Qo};function E5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function ey(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:E5(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var N5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=C5();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 I5(this,o)}}var B5=function(e){ey(r,e);var t=ny(r);function r(n){Zs(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(K),j5=function(e){ey(r,e);var t=ny(r);function r(n){Zs(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(k),rn=function(e){ey(r,e);var t=ny(r);function r(n){Zs(this,r);var o;o=t.call(this,n);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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:on.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(E);rn.Rules=B5,rn.RuntimeRules=j5;function k5(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 vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M5(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function D5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function F5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:k5(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var L5=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 z5(e){var t=x5();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 F5(this,o)}}var on=function(e){D5(r,e);var t=z5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return M5(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(N);on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=c.FieldTypes.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 G5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H5(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(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&&oy(e,t)}function q5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:G5(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var U5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=W5();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 q5(this,o)}}var dm=function(e){Y5(r,e);var t=K5(r);function r(n){V5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return H5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(C);dm.controlFieldType=c.FieldTypes.TEXT;var _m={Designer:on,Runtime:dm,Property:rn};function X5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(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&&cy(e,t)}function Q5(e,t){return t&&(J5(t)==="object"||typeof t=="function")?t:X5(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var J5=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 fy(e){var t=Z5();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 Q5(this,o)}}var e4=function(e){uy(r,e);var t=fy(r);function r(n){iy(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(K),t4=function(e){uy(r,e);var t=fy(r);function r(n){iy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(k),un=function(e){uy(r,e);var t=fy(r);function r(n){iy(this,r);var o;o=t.call(this,n);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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:cn.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(E);un.Rules=e4,un.RuntimeRules=t4;function n4(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 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 o4(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:n4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a4(e){var t=f4();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 u4(this,o)}}var cn=function(e){i4(r,e);var t=a4(r);function r(n){r4(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return o4(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(N);cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=c.FieldTypes.TEXT,cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 l4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s4(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 y4(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&ly(e,t)}function h4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:l4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var d4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=_4();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 h4(this,o)}}var Om=function(e){v4(r,e);var t=p4(r);function r(n){s4(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return y4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(C);Om.controlFieldType=c.FieldTypes.TEXT;var gm={Designer:cn,Runtime:Om,Property:un};function b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&sy(e,t)}function O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:b4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var g4=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 Rm(e){var t=m4();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 O4(this,o)}}var P4=function(e){Pm(r,e);var t=Rm(r);function r(n){return mm(this,r),t.call(this,n)}return r}(Ne),fi=function(e){Pm(r,e);var t=Rm(r);function r(n){mm(this,r);var o;o=t.call(this,n);var i;o.options=le((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:li.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;return o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Z(v))})),o}return r}(E);fi.Rules=P4;function R4(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 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 $4(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function T4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function S4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:R4(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}var E4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N4(e){var t=I4();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 S4(this,o)}}var li=function(e){T4(r,e);var t=N4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),o.props=new fi(n==null?void 0:n.props),o}return $4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);li.controlFieldType=c.FieldTypes.VARCHAR,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function C4(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 $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 j4(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function k4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:C4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var M4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F4(e){var t=D4();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 A4(this,o)}}var Tm=function(e){k4(r,e);var t=F4(r);function r(n){B4(this,r);var o;return o=t.call(this,n),o.props=new fi(n==null?void 0:n.props),o}return j4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(C);Tm.controlFieldType=c.FieldTypes.VARCHAR;var Sm={Designer:li,Runtime:Tm,Property:fi};function L4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&_y(e,t)}function x4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:L4(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var z4=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 py(e){var t=G4();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 x4(this,o)}}var V4=function(e){dy(r,e);var t=py(r);function r(n){return hy(this,r),t.call(this,n)}return r}(Ne),H4=function(e){dy(r,e);var t=py(r);function r(n){hy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),fn=function(e){dy(r,e);var t=py(r);function r(n){hy(this,r);var o;o=t.call(this,n);var i;o.options=le((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:hi.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;return o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Z(y))})),o}return r}(E);fn.Rules=V4,fn.RuntimeRules=H4;function Y4(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 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 U4(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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&&by(e,t)}function K4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:Y4(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var X4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J4(e){var t=Q4();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 K4(this,o)}}var hi=function(e){W4(r,e);var t=J4(r);function r(n){q4(this,r);var o;return o=t.call(this,n),o.props=new fn(n==null?void 0:n.props),o}return U4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);hi.controlFieldType=c.FieldTypes.ARRAY,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function Z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t6(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Z4(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var o6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();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 r6(this,o)}}var Nm=function(e){n6(r,e);var t=u6(r);function r(n){e6(this,r);var o;return o=t.call(this,n),o.props=new fn(n==null?void 0:n.props),o}return t6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(C);Nm.controlFieldType=c.FieldTypes.ARRAY;var Cm={Designer:hi,Runtime:Nm,Property:fn};function c6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:c6(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}var a6=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 km(e){var t=l6();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 f6(this,o)}}var s6=function(e){jm(r,e);var t=km(r);function r(n){Bm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),pi=function(e){jm(r,e);var t=km(r);function r(n){Bm(this,r);var o;o=t.call(this,n);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 f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Oi.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Z(p))})),o}return r}(E);pi.RuntimeRules=s6;function y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h6(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function d6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(p6(t)==="object"||typeof t=="function")?t:y6(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var p6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O6(e){var t=b6();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 _6(this,o)}}var Oi=function(e){d6(r,e);var t=O6(r);function r(n){v6(this,r);var o;return o=t.call(this,n),o.props=new pi(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);Oi.controlFieldType=c.FieldTypes.EMPLOYEES,Oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 g6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m6(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 P6(e,t,r){return t&&Mm(e.prototype,t),r&&Mm(e,r),e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(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&&Py(e,t)}function w6(e,t){return t&&($6(t)==="object"||typeof t=="function")?t:g6(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var $6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S6(e){var t=T6();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 w6(this,o)}}var Dm=function(e){R6(r,e);var t=S6(r);function r(n){m6(this,r);var o;return o=t.call(this,n),o.props=new pi(n==null?void 0:n.props),o}return P6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(C);Dm.controlFieldType=c.FieldTypes.EMPLOYEES;var Fm={Designer:Oi,Runtime:Dm,Property:pi};function E6(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 mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function I6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:E6(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var N6=function(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 Ty(e){var t=C6();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 I6(this,o)}}var B6=10485760,j6=104857600,k6=1048576e3,A6=function(e){wy(r,e);var t=Ty(r);function r(n){Ry(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:k6,message:h.getMessage("attachmentMaxSize")},o}return r}(K),M6=function(e){wy(r,e);var t=Ty(r);function r(n){Ry(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:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(k),yt=function(e){wy(r,e);var t=Ty(r);function r(n){Ry(this,r);var o;o=t.call(this,n);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 f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var s;o.maxSize=(s=n==null?void 0:n.maxSize)!==null&&s!==void 0?s:j6;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:vt.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(E);yt.Rules=A6,yt.RuntimeRules=M6;function D6(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 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 L6(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function z6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:D6(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var G6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=V6();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 z6(this,o)}}var vt=function(e){x6(r,e);var t=H6(r);function r(n){F6(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);vt.controlEventKeys=["on_change"],vt.controlFieldType=c.FieldTypes.FILE,vt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 Y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q6(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 U6(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:Y6(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(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=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K6(this,o)}}var Iy=function(e){W6(r,e);var t=J6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return U6(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(C);Iy.controlFieldType=c.FieldTypes.FILE;var zm={Designer:vt,Runtime:Iy,Property:yt};function Z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t7(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:Z6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var o7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();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 r7(this,o)}}var Cy=function(e){n7(r,e);var t=u7(r);function r(n){e7(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return t7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(vt);Cy.controlFieldType=c.FieldTypes.IMAGE,Cy.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];function c7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a7(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&By(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:c7(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h7(e){var t=v7();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s7(this,o)}}var d7=function(e){l7(r,e);var t=h7(r);function r(n){f7(this,r);var o,i,u,f;o=t.call(this,n),o.props.showType="image";var a;o.props.maxLimit=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&a!==void 0?a:9;var l;o.props.caption=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&l!==void 0?l:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return a7(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Iy);function _7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:_7(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var g7=function(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 P7(e){var t=m7();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 O7(this,o)}}var R7=function(e){b7(r,e);var t=P7(r);function r(n){return p7(this,r),t.call(this,n)}return r}(yt),Hm={Designer:Cy,Runtime:d7,Property:R7};function w7(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 $7(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 Ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function T7(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){$7(e,o,r[o])})}return e}function S7(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 E7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function I7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:w7(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var N7=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 Dy(e){var t=C7();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 I7(this,o)}}var B7=function(e){Ay(r,e);var t=Dy(r);function r(n){ky(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}},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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o}return r}(Ne),j7=function(e){Ay(r,e);var t=Dy(r);function r(n){ky(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:[E7(T7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(k),an=function(e){Ay(r,e);var t=Dy(r);function r(n){ky(this,r);var o;o=t.call(this,n);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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 Up(n==null?void 0:n.dataBind);var s;o.datasourceBind=new G((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Dn({value:"name"})]});var y;o.defaultValue=new Wp((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=le(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:ln.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var _;return o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1,o}return r}(E);an.Rules=B7,an.RuntimeRules=j7;function k7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M7(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function Ei(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(o,i,u){var f=L7(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ei(e,t,r||e)}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function D7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:k7(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function L7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}var x7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G7(e){var t=z7();return function(){var n=ht(e),o;if(t){var i=ht(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F7(this,o)}}var ln=function(e){D7(r,e);var t=G7(r);function r(o){A7(this,r);var i;return i=t.call(this,o),i.props=new an(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ei(ht(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},M7(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(N);ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=c.FieldTypes.MONEY,ln.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];function V7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(e,t){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 Y7(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(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&&Ly(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:V7(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var W7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X7(e){var t=K7();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 U7(this,o)}}var Um=function(e){q7(r,e);var t=X7(r);function r(n){H7(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return Y7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(C);Um.controlFieldType=c.FieldTypes.MONEY;var Wm={Designer:ln,Runtime:Um,Property:an};function Q7(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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&Gy(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:Q7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var Z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vy(e){var t=e8();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 J7(this,o)}}var t8=function(e){zy(r,e);var t=Vy(r);function r(n){xy(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(K),n8=function(e){zy(r,e);var t=Vy(r);function r(n){xy(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:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(k),sn=function(e){zy(r,e);var t=Vy(r);function r(n){xy(this,r);var o,i;o=t.call(this,n);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:c.SCORE_TYPE.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 Rr(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Rr});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:yn.controlName,o}return r}(E);sn.Rules=t8,sn.RuntimeRules=n8;function Hy(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 r8(e){if(Array.isArray(e))return Hy(e)}function o8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(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 u8(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Ci(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ci=Reflect.get:Ci=function(o,i,u){var f=s8(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ci(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function c8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function a8(){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 l8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:o8(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function s8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}function y8(e){return r8(e)||f8(e)||h8(e)||a8()}var v8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h8(e,t){if(!!e){if(typeof e=="string")return Hy(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 Hy(e,t)}}function d8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _8(e){var t=d8();return function(){var n=dt(e),o;if(t){var i=dt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l8(this,o)}}var yn=function(e){c8(r,e);var t=_8(r);function r(o){i8(this,r);var i;return i=t.call(this,o),i.props=new sn(o==null?void 0:o.props),i}var n=r.prototype;return n.postUpdate=function(i,u){if(i==="totalScore"){if(u===this.props.explain.length)return;if(this.props.explain.length>u)this.props.explain=this.props.explain.slice(0,u);else{var f,a=u-this.props.explain.length,l=Array(a).fill(void 0).map(function(){return new Rr});(f=this.props.explain).push.apply(f,y8(l))}}Ci(dt(r.prototype),"postUpdate",this).call(this,i,u)},u8(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(N);yn.controlEventKeys=["on_change","on_click"],yn.controlFieldType=c.FieldTypes.DECIMAL,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 p8(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 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 O8(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:p8(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var P8=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 w8(e){var t=R8();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 m8(this,o)}}var Qm=function(e){g8(r,e);var t=w8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return O8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(C);Qm.controlFieldType=c.FieldTypes.DECIMAL;var Jm={Designer:yn,Runtime:Qm,Property:sn};function $8(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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:$8(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var S8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){var t=E8();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 T8(this,o)}}var I8=function(e){e0(r,e);var t=t0(r);function r(n){Zm(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:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(k),ki=function(e){e0(r,e);var t=t0(r);function r(n){Zm(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mi.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var a;o.defaultValue=new Qp((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}(E);ki.RuntimeRules=I8;function N8(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 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 B8(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function j8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function k8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:N8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var A8=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 D8(e){var t=M8();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 k8(this,o)}}var Mi=function(e){j8(r,e);var t=D8(r);function r(n){C8(this,r);var o;return o=t.call(this,n),o.props=new ki(n==null?void 0:n.props),o}return B8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Mi.controlFieldType=c.FieldTypes.ADDRESS,Mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];function F8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(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 x8(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:F8(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var V8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y8(e){var t=H8();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 G8(this,o)}}var o0=function(e){z8(r,e);var t=Y8(r);function r(n){L8(this,r);var o;return o=t.call(this,n),o.props=new ki(n==null?void 0:n.props),o}return x8(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}(C);o0.controlFieldType=c.FieldTypes.ADDRESS;var i0={Designer:Mi,Runtime:o0,Property:ki};function q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function c0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:q8(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var W8=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 f0(e){var t=K8();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 U8(this,o)}}var X8=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),Li=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o;o=t.call(this,n);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 f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:zi.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Z(_))})),o}return r}(E);Li.RuntimeRules=X8;function Q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(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 Z8(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function xi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xi=Reflect.get:xi=function(o,i,u){var f=nx(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},xi(e,t,r||e)}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_t(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&&Qy(e,t)}function tx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:Q8(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function nx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_t(e),e!==null););return e}var rx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ix(e){var t=ox();return function(){var n=_t(e),o;if(t){var i=_t(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tx(this,o)}}var zi=function(e){ex(r,e);var t=ix(r);function r(o){J8(this,r);var i;return i=t.call(this,o),i.props=new Li(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=xi(_t(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},Z8(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(N);zi.controlFieldType=c.FieldTypes.DEPARTMENTS,zi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cx(e,t){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 fx(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function ax(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function lx(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:ux(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var sx=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 vx(e){var t=yx();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 lx(this,o)}}var s0=function(e){ax(r,e);var t=vx(r);function r(n){cx(this,r);var o;return o=t.call(this,n),o.props=new Li(n==null?void 0:n.props),o}return fx(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(C);s0.controlFieldType=c.FieldTypes.DEPARTMENTS;var y0={Designer:zi,Runtime:s0,Property:Li};function hx(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&Zy(e,t)}function px(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:hx(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var bx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=Ox();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 px(this,o)}}var ev=function(e){_x(r,e);var t=gx(r);function r(n){dx(this,r);var o;o=t.call(this,n);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:vn.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(E);function mx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Px(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 Rx(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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&&tv(e,t)}function $x(e,t){return t&&(Tx(t)==="object"||typeof t=="function")?t:mx(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var Tx=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 Ex(e){var t=Sx();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 $x(this,o)}}var vn=function(e){wx(r,e);var t=Ex(r);function r(n){Px(this,r);var o;return o=t.call(this,n),o.props=new ev(n==null?void 0:n.props),o}return Rx(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(N);vn.controlEventKeys=["on_change"],vn.controlFieldType=c.FieldTypes.AUTO_NUMBER,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function Ix(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 h0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cx(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function jx(e,t){return t&&(kx(t)==="object"||typeof t=="function")?t:Ix(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mx(e){var t=Ax();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 jx(this,o)}}var d0=function(e){Bx(r,e);var t=Mx(r);function r(n){Nx(this,r);var o;return o=t.call(this,n),o.props=new ev(n==null?void 0:n.props),o}return Cx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(C);d0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var _0={Designer:vn,Runtime:d0,Property:ev};function Dx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function ov(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function Fx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Dx(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}var Lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uv(e){var t=xx();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 Fx(this,o)}}var zx=function(e){ov(r,e);var t=uv(r);function r(n){rv(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}(K),Gx=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(k),hn=function(e){ov(r,e);var t=uv(r);function r(n){rv(this,r);var o;o=t.call(this,n);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 f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new Jp(n==null?void 0:n.dataBind),o.defaultValue=new Zp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:dn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(E);hn.Rules=zx,hn.RuntimeRules=Gx;function Vx(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 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 Yx(e,t,r){return t&&p0(e.prototype,t),r&&p0(e,r),e}function Ui(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ui=Reflect.get:Ui=function(o,i,u){var f=Wx(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ui(e,t,r||e)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(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&&cv(e,t)}function Ux(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Vx(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function Wx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}var Kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qx(e){var t=Xx();return function(){var n=pt(e),o;if(t){var i=pt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ux(this,o)}}var dn=function(e){qx(r,e);var t=Qx(r);function r(o){Hx(this,r);var i;return i=t.call(this,o),i.props=new hn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ui(pt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},Yx(r,null,[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(N);dn.controlEventKeys=["on_change"],dn.controlFieldType=c.FieldTypes.CALC,dn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];function Jx(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 b0(e,t){for(var r=0;r<t.length;r++){var 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&&b0(e.prototype,t),r&&b0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(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&&fv(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:Jx(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(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=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n9(this,o)}}var O0=function(e){t9(r,e);var t=i9(r);function r(n){Zx(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return e9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(C);O0.controlFieldType=c.FieldTypes.CALC;var g0={Designer:dn,Runtime:O0,Property:hn};function u9(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 Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function P0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function c9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:u9(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var f9=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 R0(e){var t=a9();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 c9(this,o)}}var l9=function(e){P0(r,e);var t=R0(r);function r(n){m0(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,f){if(n.required){var a=f.every(function(l){return!l});return a?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(k),Xi=function(e){P0(r,e);var t=R0(r);function r(n){m0(this,r);var o;o=t.call(this,n);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 f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";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 s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ji.controlName,o}return r}(E);Xi.RuntimeRules=l9;function s9(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 w0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v9(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&lv(e,t)}function d9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:s9(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var _9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b9(e){var t=p9();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 d9(this,o)}}var Ji=function(e){h9(r,e);var t=b9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),o.props=new Xi(n==null?void 0:n.props),o}return v9(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);Ji.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function O9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 m9(e,t,r){return t&&$0(e.prototype,t),r&&$0(e,r),e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&sv(e,t)}function R9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:O9(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var w9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$9();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 R9(this,o)}}var T0=function(e){P9(r,e);var t=T9(r);function r(n){g9(this,r);var o;return o=t.call(this,n),o.props=new Xi(n==null?void 0:n.props),o}return m9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(C);T0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var S0={Designer:Ji,Runtime:T0,Property:Xi};function S9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function I0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function E9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:S9(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var I9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=N9();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 E9(this,o)}}var C9=function(e){I0(r,e);var t=N0(r);function r(n){E0(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}(k),tu=function(e){I0(r,e);var t=N0(r);function r(n){E0(this,r);var o,i;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u5F00\u59CB\u65E5\u671F";var v;o.placeholderEnd=(v=n==null?void 0:n.placeholderEnd)!==null&&v!==void 0?v:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ru.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new Pr(_)}))!==null&&b!==void 0?b:[],o}return r}(E);tu.RuntimeRules=C9;function B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j9(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 k9(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(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&&vv(e,t)}function M9(e,t){return t&&(D9(t)==="object"||typeof t=="function")?t:B9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var D9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=F9();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 M9(this,o)}}var ru=function(e){A9(r,e);var t=L9(r);function r(n){j9(this,r);var o;return o=t.call(this,n),o.props=new tu(n==null?void 0:n.props),o}return k9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);ru.controlFieldType=c.FieldTypes.ARRAY,ru.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function x9(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 B0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G9(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&hv(e,t)}function H9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:x9(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var Y9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U9(e){var t=q9();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 H9(this,o)}}var j0=function(e){V9(r,e);var t=U9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),o.props=new tu(n==null?void 0:n.props),o}return G9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(C);j0.controlFieldType=c.FieldTypes.ARRAY;var k0={Designer:ru,Runtime:j0,Property:tu};function W9(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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&pv(e,t)}function K9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:W9(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var X9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bv(e){var t=Q9();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 K9(this,o)}}var J9=function(e){_v(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(K),Z9=function(e){_v(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(k),_n=function(e){_v(r,e);var t=bv(r);function r(n){dv(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";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}(E);_n.Rules=J9,_n.RuntimeRules=Z9;function ez(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 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 nz(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(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&&Ov(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:ez(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(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=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oz(this,o)}}var pn=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return nz(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);pn.controlFieldType=c.FieldTypes.ANY,pn.controlEventKeys=[],pn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];function fz(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 M0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&gv(e,t)}function yz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:fz(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var vz=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 dz(e){var t=hz();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 yz(this,o)}}var D0=function(e){sz(r,e);var t=dz(r);function r(n){az(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return lz(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(C);D0.controlFieldType=c.FieldTypes.ANY;var F0={Designer:pn,Runtime:D0,Property:_n};function _z(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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&mv(e,t)}function pz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:_z(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var bz=function(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 z0(e){var t=Oz();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 pz(this,o)}}var gz=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}],o}return r}(Ne),au=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;o=t.call(this,n);var i;o.options=le((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 sa(n==null?void 0:n.listPageBind),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:su.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:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Z(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(E);au.Rules=gz;function mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(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 Rz(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&Pv(e,t)}function $z(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:mz(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var Tz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ez(e){var t=Sz();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $z(this,o)}}var su=function(e){wz(r,e);var t=Ez(r);function r(n){Pz(this,r);var o;return o=t.call(this,n),o.props=new au(n==null?void 0:n.props),o}return Rz(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(N);su.controlFieldType=c.FieldTypes.VARCHAR,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];function Iz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cz(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function Bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function jz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Iz(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var kz=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 Mz(e){var t=Az();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 jz(this,o)}}var H0=function(e){Bz(r,e);var t=Mz(r);function r(n){Nz(this,r);var o;return o=t.call(this,n),o.props=new au(n==null?void 0:n.props),o}return Cz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(C);H0.controlFieldType=c.FieldTypes.VARCHAR;var Y0={Designer:su,Runtime:H0,Property:au};function Dz(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 vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&wv(e,t)}function xz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:Dz(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var zz=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 Vz(e){var t=Gz();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 xz(this,o)}}var $v=function(e){Lz(r,e);var t=Vz(r);function r(n){return Fz(this,r),t.call(this,n)}return r}(ct);function Hz(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 q0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qz(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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&&Tv(e,t)}function Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:Hz(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var Kz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qz(e){var t=Xz();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 Wz(this,o)}}var U0=function(e){Uz(r,e);var t=Qz(r);function r(n){Yz(this,r);var o;return o=t.call(this,n),o.props=new $v(n==null?void 0:n.props),o}return qz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(ft);U0.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}];function Jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eG(e,t,r){return t&&W0(e.prototype,t),r&&W0(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&Sv(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Jz(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(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=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nG(this,o)}}var K0=function(e){tG(r,e);var t=iG(r);function r(n){Zz(this,r);var o;return o=t.call(this,n),o.props=new $v(n==null?void 0:n.props),o}return eG(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(C);K0.controlFieldType=c.FieldTypes.VARCHAR;var X0={Designer:U0,Runtime:K0,Property:$v};function Q0(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&Nv(e,t)}function uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:Q0(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var cG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cv(e){var t=fG();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 uG(this,o)}}var aG=function(e){Iv(r,e);var t=Cv(r);function r(n){Ev(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Hn.call(Q0(o),n,Ce.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(K),lG=function(e){Iv(r,e);var t=Cv(r);function r(n){Ev(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),bn=function(e){Iv(r,e);var t=Cv(r);function r(n){Ev(this,r);var o,i;o=t.call(this,n),o.optionConfig="datasource";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ce.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\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 s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"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 p;o.defaultCollapse=(p=n==null?void 0:n.defaultCollapse)!==null&&p!==void 0?p:"all";var b;o.defaultCollapseLevel=(b=n==null?void 0:n.defaultCollapseLevel)!==null&&b!==void 0?b:1;var _;o.datasourceBind=new Hp((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{attributes:Ce.controlCustomAttributes});var O;o.multistageFilling=(O=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(g){return new Z(g)}))!==null&&O!==void 0?O:[];var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:[],o}return r}(E);bn.Rules=aG,bn.RuntimeRules=lG;function sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vG(e,t,r){return t&&J0(e.prototype,t),r&&J0(e,r),e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(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&&Bv(e,t)}function dG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:sG(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var _G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=pG();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 dG(this,o)}}var Ce=function(e){hG(r,e);var t=bG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),o.props=new bn(n==null?void 0:n.props),o}return vG(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(N);Ce.controlEventKeys=["on_change","on_click"],Ce.controlFieldType=c.FieldTypes.ARRAY,Ce.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.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 OG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function RG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:OG(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var wG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=$G();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 RG(this,o)}}var eP=function(e){PG(r,e);var t=TG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),o.props=new bn(n==null?void 0:n.props),o}return mG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(C);eP.controlFieldType=c.FieldTypes.ARRAY;var tP={Designer:Ce,Runtime:eP,Property:bn};function nP(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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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&&Mv(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:nP(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}var EG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=IG();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 SG(this,o)}}var NG=function(e){Av(r,e);var t=Dv(r);function r(n){kv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.externalScope={type:"any"},Hn.call(nP(o),n,bt.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(K),CG=function(e){Av(r,e);var t=Dv(r);function r(n){kv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),On=function(e){Av(r,e);var t=Dv(r);function r(n){kv(this,r);var o;o=t.call(this,n);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 f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:bt.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 p;o.datasourceBind=new kt((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:bt.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c.OrganizeType.INTERNAL;var _;o.insideType=(_=n==null?void 0:n.insideType)!==null&&_!==void 0?_:c.InternalType.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:c.AssignType.ALL;var d;return o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Z(g))})),o}return r}(E);On.Rules=NG,On.RuntimeRules=CG;function BG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(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 kG(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(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&&Fv(e,t)}function MG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:BG(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var DG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LG(e){var t=FG();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 MG(this,o)}}var bt=function(e){AG(r,e);var t=LG(r);function r(n){jG(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return kG(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);bt.controlFieldType=c.FieldTypes.EMPLOYEES,bt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 xG(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 oP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GG(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function HG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:xG(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var YG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UG(e){var t=qG();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 HG(this,o)}}var iP=function(e){VG(r,e);var t=UG(r);function r(n){zG(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return GG(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(C);iP.controlFieldType=c.FieldTypes.EMPLOYEES;var uP={Designer:bt,Runtime:iP,Property:On};function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&xv(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:WG(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var XG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aP(e){var t=QG();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 KG(this,o)}}var JG=function(e){fP(r,e);var t=aP(r);function r(n){cP(this,r);var o;return o=t.call(this,n),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,f){return i[f]={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,s,y){if(u.type==="public"&&Se(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,s,y){if(u.type==="public"&&u.signatureType.includes("company")&&Se(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(K),Ru=function(e){fP(r,e);var t=aP(r);function r(n){cP(this,r);var o;o=t.call(this,n),o.command="",o.isLoading=!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gn.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"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 s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new Jb(n==null?void 0:n.signatureConfig),o}return r}(E);Ru.Rules=JG;function ZG(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 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 tV(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function nV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:ZG(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(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 uV(e){var t=iV();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 rV(this,o)}}var gn=function(e){nV(r,e);var t=uV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),o.props=new Ru(n==null?void 0:n.props),o}return tV(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);gn.controlEventKeys=["on_click","on_click_finish"],gn.controlFieldType=c.FieldTypes.VARCHAR,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 cV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aV(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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&&Gv(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:cV(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var yV=function(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 hV(e){var t=vV();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 sV(this,o)}}var yP=function(e){lV(r,e);var t=hV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),o.props=new Ru(n==null?void 0:n.props),o}return aV(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(C);yP.controlFieldType=c.FieldTypes.VARCHAR;var vP={Designer:gn,Runtime:yP,Property:Ru};function dV(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Hv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function _V(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:dV(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var pV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qv(e){var t=bV();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 _V(this,o)}}var OV=function(e){Hv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(h.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(h.getMessage("pleaseEnterFileName"));return}a()}}}},o.canAdd={type:"boolean",validator:function(u,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(h.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(K),gV=function(e){Hv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),mn=function(e){Hv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pn.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!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 s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!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 p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:B6;var _;o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o.wpsSetting=new Zb(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return r}(E);mn.Rules=OV,mn.RuntimeRules=gV;function mV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RV(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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&&Uv(e,t)}function $V(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:mV(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var TV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();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 $V(this,o)}}var Pn=function(e){wV(r,e);var t=EV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return RV(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);Pn.controlEventKeys=["on_change","on_wps_open"],Pn.controlFieldType=c.FieldTypes.FILE,Pn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 IV(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 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 CV(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function BV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:IV(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var kV=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 MV(e){var t=AV();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 jV(this,o)}}var _P=function(e){BV(r,e);var t=MV(r);function r(n){NV(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return CV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(C);_P.controlFieldType=c.FieldTypes.FILE;var pP={Designer:Pn,Runtime:_P,Property:mn};function bP(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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function Xv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function DV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:bP(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(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 Jv(e){var t=LV();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 DV(this,o)}}var xV=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.businessScope={type:"any"},Hn.call(bP(o),n,gt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(K),zV=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),Rn=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;o=t.call(this,n);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 f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:gt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var _;o.datasourceBind=new kt((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{attributes:gt.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.DepartmentType.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var g;return o.businessType=(g=n==null?void 0:n.businessType)!==null&&g!==void 0?g:c.AssignType.ALL,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Z(w))})),o}return r}(E);Rn.Rules=xV,Rn.RuntimeRules=zV;function GV(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 OP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HV(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function Nu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(o,i,u){var f=UV(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Nu(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function YV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:GV(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function UV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var WV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XV(e){var t=KV();return function(){var n=Ot(e),o;if(t){var i=Ot(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var gt=function(e){YV(r,e);var t=XV(r);function r(o){VV(this,r);var i;return i=t.call(this,o),i.props=new Rn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Nu(Ot(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},HV(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);gt.controlFieldType=c.FieldTypes.DEPARTMENTS,gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 QV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JV(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 ZV(e,t,r){return t&&gP(e.prototype,t),r&&gP(e,r),e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&eh(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:QV(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(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 oH(e){var t=rH();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 tH(this,o)}}var mP=function(e){eH(r,e);var t=oH(r);function r(n){JV(this,r);var o;return o=t.call(this,n),o.props=new Rn(n==null?void 0:n.props),o}return ZV(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(C);mP.controlFieldType=c.FieldTypes.DEPARTMENTS;var PP={Designer:gt,Runtime:mP,Property:Rn},iH=Object.freeze({__proto__:null,Input:xg,Checkbox:Hg,Radio:Qg,Number:tm,DatePicker:im,DateRange:ym,Textarea:_m,RichText:gm,Select:Sm,SelectMultiple:Cm,Employee:Fm,Image:Hm,Attachment:zm,Amount:Wm,Score:Jm,Address:i0,Department:y0,AutoNumber:_0,Calc:g0,SearchNumberRange:S0,SearchDateRange:k0,VueFormItem:F0,SelectRelation:Y0,SearchInput:X0,Tree:tP,Employee2:uP,ElectronicSignature:vP,WPS:pP,Department2:PP});function uH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fH(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:uH(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}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 vH(e){var t=yH();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 lH(this,o)}}var wP=function(e){aH(r,e);var t=vH(r);function r(n){return cH(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}(D);wP.excludes=[c.CONTROL_TYPE.GRID];function hH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 _H(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function pH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:hH(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var OH=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=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bH(this,o)}}var PH=function(e){pH(r,e);var t=mH(r);function r(n){return dH(this,r),t.call(this,n)}return _H(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(z),TP={Designer:wP,Runtime:PH,Property:M};function RH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&rh(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:RH(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var SH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=EH();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 TH(this,o)}}var NH=24,Be=function(e){$H(r,e);var t=IH(r);function r(n){wH(this,r);var o;o=t.call(this,n);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:NH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(M);function CH(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 SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jH(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&oh(e,t)}function AH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:CH(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var MH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FH(e){var t=DH();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 AH(this,o)}}var wn=function(e){kH(r,e);var t=FH(r);function r(n){BH(this,r);var o;return o=t.call(this,n),o.props=new Be(n==null?void 0:n.props),o}return jH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(D);wn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],wn.childrenMaxLength=1;function LH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zH(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function GH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function VH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:LH(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var HH=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 qH(e){var t=YH();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 VH(this,o)}}var uh=function(e){GH(r,e);var t=qH(r);function r(n){xH(this,r);var o;return o=t.call(this,n),o.props=new Be(n==null?void 0:n.props),o}return zH(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(z),Du={Designer:wn,Runtime:uh,Property:Be};function UH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&ch(e,t)}function XH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:UH(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var QH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZH(e){var t=JH();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 XH(this,o)}}var Lu=function(e){KH(r,e);var t=ZH(r);function r(n){WH(this,r);var o;o=t.call(this,n);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}(M);function eY(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 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 nY(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&fh(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:eY(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var iY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();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 oY(this,o)}}var zu=function(e){rY(r,e);var t=cY(r);function r(n){tY(this,r);var o;return o=t.call(this,n),o.props=new Lu(n==null?void 0:n.props),o}return nY(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(D);zu.excludes=[c.CONTROL_TYPE.ROW],zu.setting=[{key:"col-setting",visible:!0}];function fY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aY(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 lY(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&ah(e,t)}function yY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:fY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var vY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dY(e){var t=hY();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 yY(this,o)}}var CP=function(e){sY(r,e);var t=dY(r);function r(n){aY(this,r);var o;return o=t.call(this,n),o.props=new Lu(n==null?void 0:n.props),o}return lY(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(z),BP={Designer:zu,Runtime:CP,Property:Lu};function _Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bY(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&lh(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:_Y(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var mY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();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 gY(this,o)}}var wY=4,Hu=function(e){OY(r,e);var t=RY(r);function r(n){return pY(this,r),t.call(this,n)}return bY(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}(zu);Hu.excludes=[c.CONTROL_TYPE.GRID_ROW],Hu.setting=[],Hu.childrenMaxLength=wY;function $Y(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 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 SY(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:$Y(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var NY=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 BY(e){var t=CY();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 IY(this,o)}}var jY=function(e){EY(r,e);var t=BY(r);function r(n){return TY(this,r),t.call(this,n)}return SY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(CP);function kY(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function DY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:kY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var FY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=LY();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 DY(this,o)}}var zY=function(e){MY(r,e);var t=xY(r);function r(n){return AY(this,r),t.call(this,n)}return r}(Lu),vh={Designer:Hu,Runtime:jY,Property:zY};function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&hh(e,t)}function VY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:GY(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var HY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DP(e){var t=YY();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 VY(this,o)}}var qY=function(e){MP(r,e);var t=DP(r);function r(){AP(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},n}return r}(M.Rules),Wu=function(e){MP(r,e);var t=DP(r);function r(n){AP(this,r);var o;o=t.call(this,n);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}(M);Wu.Rules=qY;function UY(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 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 KY(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&dh(e,t)}function QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:UY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var JY=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 eq(e){var t=ZY();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 QY(this,o)}}var _h=function(e){XY(r,e);var t=eq(r);function r(n){WY(this,r);var o;return o=t.call(this,n),o.props=new Wu(n==null?void 0:n.props),o}return KY(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(D);_h.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],_h.excludes=[c.CONTROL_TYPE.CARD_GROUP];function tq(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 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 rq(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:tq(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var uq=function(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 fq(e){var t=cq();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 iq(this,o)}}var aq=function(e){oq(r,e);var t=fq(r);function r(n){nq(this,r);var o;return o=t.call(this,n),o.props=new Wu(n==null?void 0:n.props),o}return rq(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(z),xP={Designer:_h,Runtime:aq,Property:Wu};function lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(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&&bh(e,t)}function sq(e,t){return t&&(yq(t)==="object"||typeof t=="function")?t:lq(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var yq=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 VP(e){var t=vq();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 sq(this,o)}}var hq=function(e){GP(r,e);var t=VP(r);function r(n){zP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},o.width.required=n.widthType==="px",n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),Ju=function(e){GP(r,e);var t=VP(r);function r(n){zP(this,r);var o;o=t.call(this,n);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240,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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!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 s;return o.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,o}return r}(M);Ju.Rules=hq;function dq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Oh(e,t)}function bq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:dq(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var Oq=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=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bq(this,o)}}var ce=function(e){pq(r,e);var t=mq(r);function r(n){_q(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return r}(D);ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],ce.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];function Pq(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&gh(e,t)}function $q(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:Pq(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var Tq=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=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $q(this,o)}}var HP=function(e){wq(r,e);var t=Eq(r);function r(n){Rq(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return r}(z);HP.controlType="subtable-column";var mh={Designer:ce,Runtime:HP,Property:Ju};function Iq(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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Cq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:Iq(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var jq=function(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 Aq(e){var t=kq();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 Bq(this,o)}}var Rh=function(e){Cq(r,e);var t=Aq(r);function r(n){return Nq(this,r),t.call(this,n)}return r}(M);function Mq(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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&wh(e,t)}function Lq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Mq(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var xq=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 Gq(e){var t=zq();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 Lq(this,o)}}var je=function(e){Fq(r,e);var t=Gq(r);function r(n){Dq(this,r);var o;return o=t.call(this,n),o.props=new Rh(n==null?void 0:n.props),o}return r}(D);je.controlName="\u660E\u7EC6\u5B50\u8868\u884C",je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],je.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function Vq(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 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 Yq(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&$h(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Vq(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var Wq=function(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 Xq(e){var t=Kq();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 Uq(this,o)}}var Qq=function(e){qq(r,e);var t=Xq(r);function r(n){Hq(this,r);var o;return o=t.call(this,n),o.props=new Rh(n==null?void 0:n.props),o}return Yq(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(z),qP={Designer:je,Runtime:Qq,Property:Rh};function Jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Jq(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var nU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();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 tU(this,o)}}var Sh=function(e){eU(r,e);var t=oU(r);function r(n){Zq(this,r);var o;o=t.call(this,n);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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!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:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new G(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 p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:c.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return r}(M);function iU(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 ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function cU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:iU(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var aU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=lU();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 fU(this,o)}}var ke=function(e){cU(r,e);var t=sU(r);function r(n){uU(this,r);var o;return o=t.call(this,n),o.props=new Sh(n==null?void 0:n.props),o}return r}(D);ke.controlName="\u5217\u8868\u5355\u5143\u683C",ke.controlType="gridtable-column",ke.controlIcon="gridtable-column",ke.childrenMaxLength=1,ke.excludes=[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],ke.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];function yU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function hU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:yU(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var _U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bU(e){var t=pU();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 dU(this,o)}}var UP=function(e){hU(r,e);var t=bU(r);function r(n){vU(this,r);var o;return o=t.call(this,n),o.props=new Sh(n==null?void 0:n.props),o}return r}(z);UP.controlType="gridtable-column";var WP={Designer:ke,Runtime:UP,Property:Sh};function OU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&Nh(e,t)}function PU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:OU(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}var RU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();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 PU(this,o)}}var Ch=function(e){mU(r,e);var t=$U(r);function r(n){return gU(this,r),t.call(this,n)}return r}(M);function TU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:TU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var EU=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 QP(e){var t=IU();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 SU(this,o)}}var NU=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o}return r}(L),ac=function(e){XP(r,e);var t=QP(r);function r(n){KP(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:vc.controlName,o}return r}(M);ac.Rules=NU;function CU(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 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 jU(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&jh(e,t)}function AU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:CU(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var MU=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 FU(e){var t=DU();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 AU(this,o)}}var $n=function(e){kU(r,e);var t=FU(r);function r(n){BU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return jU(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}(D);$n.excludes=[c.CONTROL_TYPE.TAB],$n.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function LU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xU(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 zU(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function GU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function VU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:LU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var HU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qU(e){var t=YU();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 VU(this,o)}}var UU=function(e){GU(r,e);var t=qU(r);function r(n){xU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return zU(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(z),eR={Designer:$n,Runtime:UU,Property:ac};function WU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KU(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 XU(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function QU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function JU(e,t){return t&&(ZU(t)==="object"||typeof t=="function")?t:WU(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var ZU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tW(e){var t=eW();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 JU(this,o)}}var vc=function(e){QU(r,e);var t=tW(r);function r(n){KU(this,r);var o;o=t.call(this,n),o.props=new Ch(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new $n,new $n],o}return XU(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(D);vc.excludes=[c.CONTROL_TYPE.TAB],vc.setting=[{key:"super-setting",visible:!0}];function nW(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 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 oW(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:nW(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var cW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fW();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 uW(this,o)}}var lW=function(e){iW(r,e);var t=aW(r);function r(n){rW(this,r);var o;return o=t.call(this,n),o.props=new Ch(n==null?void 0:n.props),o}return oW(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(z),rR={Designer:vc,Runtime:lW,Property:Ch};function sW(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Dh(e,t)}function hW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:sW(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var dW=function(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 pW(e){var t=_W();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 hW(this,o)}}var oR=function(e){vW(r,e);var t=pW(r);function r(n){return yW(this,r),t.call(this,n)}return r}(M);function bW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gW(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function PW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:bW(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var RW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wW();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 PW(this,o)}}var uR=function(e){mW(r,e);var t=$W(r);function r(n){OW(this,r);var o;return o=t.call(this,n),o.props=new oR({}),o.children=(n==null?void 0:n.children)||[new wn({props:new Be({span:12})}),new wn({props:new Be({span:12})})],o}return gW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(D);uR.excludes=[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX];function TW(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 cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EW(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function IW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:TW(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var CW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=BW();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 NW(this,o)}}var kW=function(e){IW(r,e);var t=jW(r);function r(n){SW(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new uh({props:new Be({span:12})}),new uh({props:new Be({span:12})})],o}return EW(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(z),fR={Designer:uR,Runtime:kW,Property:oR};function aR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function zh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function AW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:aR(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var MW=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 Vh(e){var t=DW();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 AW(this,o)}}var Oc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Oc||(Oc={}));var FW=function(e){zh(r,e);var t=Vh(r);function r(n){xh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),LW=function(e){zh(r,e);var t=Vh(r);function r(n){xh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Oc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),Vn.call(aR(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}(L),Tn=function(e){zh(r,e);var t=Vh(r);function r(n){xh(this,r);var o;o=t.call(this,n),o.datasourceBind=new G(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 f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:Oc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new Lp(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var s;o.showFullScreen=(s=n==null?void 0:n.showFullScreen)!==null&&s!==void 0?s:!1;var y;o.isFixedHeader=(y=n==null?void 0:n.isFixedHeader)!==null&&y!==void 0?y:!1;var v;return o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o}return r}(M);Tn.Rules=LW,Tn.RuntimeRules=FW;function xW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(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 GW(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&Hh(e,t)}function HW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:xW(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var YW=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=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HW(this,o)}}var mc=function(e){VW(r,e);var t=UW(r);function r(n){zW(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return GW(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}(D);mc.excludes=[c.CONTROL_TYPE.ROW],mc.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],mc.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function WW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XW(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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 JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:WW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var ZW=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=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var nK=function(e){QW(r,e);var t=tK(r);function r(n){KW(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return XW(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(z),qh={Designer:mc,Runtime:nK,Property:Tn};function rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function vR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:rK(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}var iK=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 hR(e){var t=uK();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 oK(this,o)}}var cK=function(e){vR(r,e);var t=hR(r);function r(n){yR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),wc=function(e){vR(r,e);var t=hR(r);function r(n){yR(this,r);var o;o=t.call(this,n);var i;o.buttons=((i=n==null?void 0:n.buttons)!==null&&i!==void 0?i:[]).map(function(f){return new et(f)});var u;return o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return r}(M);wc.RuntimeRules=cK;function fK(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 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 lK(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&Wh(e,t)}function yK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:fK(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var vK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dK(e){var t=hK();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 yK(this,o)}}var _R=function(e){sK(r,e);var t=dK(r);function r(n){aK(this,r);var o;return o=t.call(this,n),o.props=new wc(n==null?void 0:n.props),o}return lK(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);_R.excludes=[];function _K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bK(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&Kh(e,t)}function gK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:_K(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var mK=function(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 RK(e){var t=PK();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 gK(this,o)}}var wK=function(e){OK(r,e);var t=RK(r);function r(n){pK(this,r);var o;return o=t.call(this,n),o.props=new wc(n==null?void 0:n.props),o}return bK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(z),Xh={Designer:_R,Runtime:wK,Property:wc};function $K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SK(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function EK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function IK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:$K(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var NK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CK();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 IK(this,o)}}var jK=function(e){EK(r,e);var t=BK(r);function r(n){return TK(this,r),t.call(this,n)}return SK(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(D);function kK(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 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 MK(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&Jh(e,t)}function FK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:kK(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var LK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zK(e){var t=xK();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 FK(this,o)}}var GK=function(e){DK(r,e);var t=zK(r);function r(n){return AK(this,r),t.call(this,n)}return MK(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(z);function VK(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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:VK(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var UK=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 KK(e){var t=WK();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 qK(this,o)}}var XK=function(e){YK(r,e);var t=KK(r);function r(n){HK(this,r);var o;o=t.call(this,n),o.background="#fff",o.minWidth="",o.maxWidth="",o.heightConfig="auto";var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(M),gR={Designer:jK,Runtime:GK,Property:XK};function QK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZK(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&ed(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:QK(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(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=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tX(this,o)}}var iX=function(e){eX(r,e);var t=oX(r);function r(n){return JK(this,r),t.call(this,n)}return ZK(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(D);function uX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t){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 fX(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function aX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function lX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:uX(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var sX=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 vX(e){var t=yX();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 lX(this,o)}}var hX=function(e){aX(r,e);var t=vX(r);function r(n){return cX(this,r),t.call(this,n)}return fX(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(z);function dX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:dX(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var OX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mX(e){var t=gX();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bX(this,o)}}var PX=function(e){pX(r,e);var t=mX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new nO(n==null?void 0:n.flexConfig),o}return r}(M),RR={Designer:iX,Runtime:hX,Property:PX};function RX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(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 $X(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&rd(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:RX(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var EX=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 NX(e){var t=IX();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 SX(this,o)}}var CX=function(e){TX(r,e);var t=NX(r);function r(n){return wX(this,r),t.call(this,n)}return $X(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(D);function BX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jX(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 kX(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function AX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function MX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:BX(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var DX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LX(e){var t=FX();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MX(this,o)}}var xX=function(e){AX(r,e);var t=LX(r);function r(n){return jX(this,r),t.call(this,n)}return kX(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(z);function zX(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&id(e,t)}function HX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:zX(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var YX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HX(this,o)}}var WX=function(e){VX(r,e);var t=UX(r);function r(n){return GX(this,r),t.call(this,n)}return r}(M),TR={Designer:CX,Runtime:xX,Property:WX};function KX(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 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 QX(e,t,r){return t&&SR(e.prototype,t),r&&SR(e,r),e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(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&&ud(e,t)}function ZX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:KX(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var eQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tQ();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 ZX(this,o)}}var rQ=function(e){JX(r,e);var t=nQ(r);function r(n){return XX(this,r),t.call(this,n)}return QX(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(D);function oQ(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 ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uQ(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function cQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fQ(e,t){return t&&(aQ(t)==="object"||typeof t=="function")?t:oQ(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var aQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sQ(e){var t=lQ();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 fQ(this,o)}}var yQ=function(e){cQ(r,e);var t=sQ(r);function r(n){return iQ(this,r),t.call(this,n)}return uQ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(z);function vQ(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 Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(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&&fd(e,t)}function _Q(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:vQ(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var pQ=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 OQ(e){var t=bQ();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 _Q(this,o)}}var gQ=function(e){dQ(r,e);var t=OQ(r);function r(n){hQ(this,r);var o;o=t.call(this,n);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(M),IR={Designer:rQ,Runtime:yQ,Property:gQ},mQ=Object.freeze({__proto__:null,Grid:TP,Col:Du,Row:BP,GridRow:vh,CardGroup:xP,SubTableColumn:mh,SubTableRow:qP,GridTableColumn:WP,Tab:rR,TabPane:eR,Toolbox:fR,ListView:qh,DataView:Xh,Page:gR,AdvancedContainer:RR,PositioningContainer:TR,Position:IR});function PQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:PQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var wQ=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 yd(e){var t=$Q();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 RQ(this,o)}}var TQ=function(e){ld(r,e);var t=yd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:h.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(L),SQ=function(e){ld(r,e);var t=yd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,f,a){f.length<n.limitRows&&a(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(pe),Sn=function(e){ld(r,e);var t=yd(r);function r(n,o){ad(this,r);var i;i=t.call(this,n,o);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:zc.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!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 s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"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 p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:eO;var b;i.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var _;i.limitRows=(_=o==null?void 0:o.limitRows)!==null&&_!==void 0?_:1;var O;i.defaultRows=(O=o==null?void 0:o.defaultRows)!==null&&O!==void 0?O:1,i.datasourceBind=new G(o==null?void 0:o.datasourceBind);var d;i.canAdd=(d=o==null?void 0:o.canAdd)!==null&&d!==void 0?d:!0;var g;i.canDelete=(g=o==null?void 0:o.canDelete)!==null&&g!==void 0?g:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var m;i.canEdit=(m=o==null?void 0:o.canEdit)!==null&&m!==void 0?m:!1;var S;i.canImport=(S=o==null?void 0:o.canImport)!==null&&S!==void 0?S:!1;var P;i.canExport=(P=o==null?void 0:o.canExport)!==null&&P!==void 0?P:!1;var $;i.canClear=($=o==null?void 0:o.canClear)!==null&&$!==void 0?$:!0;var B;i.serverPagination=(B=o==null?void 0:o.serverPagination)!==null&&B!==void 0?B:!1;var ee;i.isShowCaptionTip=(ee=o==null?void 0:o.isShowCaptionTip)!==null&&ee!==void 0?ee:!1;var U;return i.captionTip=(U=o==null?void 0:o.captionTip)!==null&&U!==void 0?U:"",i}return r}(Lt);Sn.Rules=TQ,Sn.RuntimeRules=SQ;function NR(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 CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IQ(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function NQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function CQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:NR(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var BQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kQ(e){var t=jQ();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 CQ(this,o)}}var zc=function(e){NQ(r,e);var t=kQ(r);function r(o){EQ(this,r);var i,u;return i=t.call(this,o),i.props=new Sn(NR(i),o==null?void 0:o.props),(o==null||(u=o.props)===null||u===void 0?void 0:u.headers)===void 0&&(i.props.headers=[new ce,new ce,new ce]),i}var n=r.prototype;return n.addColumn=function(i,u){var f=i!==void 0&&typeof i!="number"?i:new ce,a=typeof i=="number"?i:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f},IQ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(er);zc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],zc.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 MQ(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&hd(e,t)}function FQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:BR(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var LQ=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 zQ(e){var t=xQ();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 FQ(this,o)}}var GQ=function(e){DQ(r,e);var t=zQ(r);function r(o){AQ(this,r);var i;return i=t.call(this,o),i.props=new Sn(BR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){_e("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},MQ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(Va),kR={Designer:zc,Runtime:GQ,Property:Sn};function VQ(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function YQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:VQ(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var UQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KQ(e){var t=WQ();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var _d=function(e){YQ(r,e);var t=KQ(r);function r(n,o){HQ(this,r);var i;i=t.call(this,n,o);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 f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!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}(Lt);function XQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function MR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:XQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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 DR(e){var t=ZQ();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 QQ(this,o)}}var eJ=function(e){MR(r,e);var t=DR(r);function r(n){AR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(rr),Yc=function(e){MR(r,e);var t=DR(r);function r(n){AR(this,r);var o;o=t.call(this,n);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"left";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ae.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:50;var a;return o.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"px",o}return r}(F);Yc.Rules=eJ;function tJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:tJ(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}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=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var Ae=function(e){rJ(r,e);var t=cJ(r);function r(n){nJ(this,r);var o;return o=t.call(this,n),o.props=new Yc(n==null?void 0:n.props),o}return r}(Y);Ae.controlType="order-column",Ae.controlName="\u5E8F\u53F7",Ae.controlIcon="order-column",Ae.setting=[{key:"column-fixed",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 aJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&Od(e,t)}function sJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:fJ(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var yJ=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 hJ(e){var t=vJ();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 sJ(this,o)}}var gd=function(e){lJ(r,e);var t=hJ(r);function r(n){aJ(this,r);var o;return o=t.call(this,n),o.props=new Yc(n==null?void 0:n.props),o}return r}(q);gd.controlType="order-column",gd.controlFieldType=c.FieldTypes.DECIMAL;var FR={Designer:Ae,Runtime:gd,Property:Yc};function dJ(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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:dJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var OJ=function(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 mJ(e){var t=gJ();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 bJ(this,o)}}var Pd=function(e){pJ(r,e);var t=mJ(r);function r(n){_J(this,r);var o;o=t.call(this,n);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right";var u;o.buttons=((u=n==null?void 0:n.buttons)!==null&&u!==void 0?u:[]).map(function(a){return new et(a)});var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Me.controlName,o}return r}(F);function PJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kc=Reflect.get:Kc=function(o,i,u){var f=TJ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Kc(e,t,r||e)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(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&&Rd(e,t)}function $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:PJ(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function TJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var SJ=function(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 IJ(e){var t=EJ();return function(){var n=mt(e),o;if(t){var i=mt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var Me=function(e){wJ(r,e);var t=IJ(r);function r(o){RJ(this,r);var i;return i=t.call(this,o),i.props=new Pd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(){var i=Kc(mt(r.prototype),"toDataBindModel",this).call(this);return this.props.buttons.map(function(u){i.props[u.type]=u}),i},r}(Y);Me.controlType="operation-column",Me.controlName="\u64CD\u4F5C",Me.controlIcon="operation-column",Me.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.COMMON_SETTING_TYPE.CAN_CHECK,c.COMMON_SETTING_TYPE.CAN_EDIT,c.COMMON_SETTING_TYPE.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];function NJ(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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function jJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:NJ(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var kJ=function(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 MJ(e){var t=AJ();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 jJ(this,o)}}var $d=function(e){BJ(r,e);var t=MJ(r);function r(n){CJ(this,r);var o;return o=t.call(this,n),o.props=new Pd(n==null?void 0:n.props),o}return r}(q);$d.controlType="operation-column",$d.controlFieldType=c.FieldTypes.FILE;var LR={Designer:Me,Runtime:$d,Property:Pd};function Td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xR(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function DJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){xR(i,n,o,u,f,"next",a)}function f(a){xR(i,n,o,u,f,"throw",a)}u(void 0)})}}function FJ(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 LJ(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}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 En(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?En=Reflect.get:En=function(o,i,u){var f=qJ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},En(e,t,r||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(e)}function zJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GJ(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){xJ(e,o,r[o])})}return e}function VJ(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 HJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):VJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function YJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:Td(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function qJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}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=De(e),o;if(t){var i=De(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var XJ=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},GR=function(e){zJ(r,e);var t=KJ(r);function r(o){FJ(this,r);var i;return i=t.call(this,o),i.props=new _d(Td(i),o==null?void 0:o.props),Oe(Td(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new Ae,new Me]),i}var n=r.prototype;return n.toSchema=function(){var i=En(De(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return HJ(GJ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return En(De(r.prototype),"validate",f)};return DJ(function(){return XJ(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},LJ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(er);GR.setting=[{key:"list-fixed-header",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 QJ(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 JJ(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:VR(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var tZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();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 eZ(this,o)}}var oZ=function(e){ZJ(r,e);var t=rZ(r);function r(o){QJ(this,r);var i;return i=t.call(this,o),i.props=new _d(VR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){_e("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},n.getCheckboxProps=function(i){return{}},JJ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(Va),YR={Designer:GR,Runtime:oZ,Property:_d},iZ=Object.freeze({__proto__:null,SubTable:kR,GridTable:YR});function uZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Id(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:uZ(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var fZ=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 WR(e){var t=aZ();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 cZ(this,o)}}var lZ=function(e){UR(r,e);var t=WR(r);function r(n){return qR(this,r),t.call(this,n)}return r}(Wa),Zc=function(e){UR(r,e);var t=WR(r);function r(n){qR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fe.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var f;o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(F);Zc.Rules=lZ;function sZ(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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&Nd(e,t)}function hZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:sZ(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var dZ=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 pZ(e){var t=_Z();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 hZ(this,o)}}var Fe=function(e){vZ(r,e);var t=pZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),o.props=new Zc(n==null?void 0:n.props),o}return r}(Y);Fe.controlType="varchar-column",Fe.controlName="\u77ED\u6587\u672C",Fe.controlIcon="varchar-column",Fe.controlFieldType=c.FieldTypes.VARCHAR,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",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 bZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function mZ(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:bZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var PZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wZ(e){var t=RZ();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 mZ(this,o)}}var Bd=function(e){gZ(r,e);var t=wZ(r);function r(n){OZ(this,r);var o;return o=t.call(this,n),o.props=new Zc(n==null?void 0:n.props),o}return r}(q);Bd.controlType="varchar-column",Bd.controlFieldType=c.FieldTypes.VARCHAR;var KR={Designer:Fe,Runtime:Bd,Property:Zc};function $Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(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&&jd(e,t)}function EZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:$Z(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var IZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CZ(e){var t=NZ();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 EZ(this,o)}}var kd=function(e){SZ(r,e);var t=CZ(r);function r(n){TZ(this,r);var o;o=t.call(this,n);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:Le.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(F);function BZ(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?rf=Reflect.get:rf=function(o,i,u){var f=MZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},rf(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(e)}function kZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function AZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:BZ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function MZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var DZ=function(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=Pt(e),o;if(t){var i=Pt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AZ(this,o)}}var Le=function(e){kZ(r,e);var t=LZ(r);function r(o){jZ(this,r);var i;return i=t.call(this,o),i.props=new kd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=rf(Pt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(Y);Le.controlType="text-column",Le.controlName="\u957F\u6587\u672C",Le.controlIcon="text-column",Le.controlFieldType=c.FieldTypes.TEXT,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",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 xZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function GZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function VZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:xZ(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var HZ=function(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 qZ(e){var t=YZ();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 VZ(this,o)}}var Dd=function(e){GZ(r,e);var t=qZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),o.props=new kd(n==null?void 0:n.props),o}return r}(q);Dd.controlType="text-column",Dd.controlFieldType=c.FieldTypes.TEXT;var XR={Designer:Le,Runtime:Dd,Property:kd};function UZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function KZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function XZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:UZ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var QZ=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 ZZ(e){var t=JZ();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 XZ(this,o)}}var Ld=function(e){KZ(r,e);var t=ZZ(r);function r(n){WZ(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xe.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!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 G(n==null?void 0:n.datasourceBind);var s;return o.options=le((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(F);function eee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var f=oee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},cf(e,t,r||e)}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(e)}function nee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function ree(e,t){return t&&(iee(t)==="object"||typeof t=="function")?t:eee(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function oee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cee(e){var t=uee();return function(){var n=Rt(e),o;if(t){var i=Rt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ree(this,o)}}var xe=function(e){nee(r,e);var t=cee(r);function r(o){tee(this,r);var i;return i=t.call(this,o),i.props=new Ld(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=cf(Rt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},r}(Y);xe.controlType="decimal-column",xe.controlName="\u6570\u503C",xe.controlIcon="decimal-column",xe.controlFieldType=c.FieldTypes.DECIMAL,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];function fee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 see(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:fee(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var yee=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 hee(e){var t=vee();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 see(this,o)}}var Gd=function(e){lee(r,e);var t=hee(r);function r(n){aee(this,r);var o;return o=t.call(this,n),o.props=new Ld(n==null?void 0:n.props),o}return r}(q);Gd.controlType="decimal-column",Gd.controlFieldType=c.FieldTypes.DECIMAL;var QR={Designer:xe,Runtime:Gd,Property:Ld};function dee(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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function pee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bee(e,t){return t&&(Oee(t)==="object"||typeof t=="function")?t:dee(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}var Oee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();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 bee(this,o)}}var Hd=function(e){pee(r,e);var t=mee(r);function r(n){_ee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ze.controlName,o}return r}(F);function Pee(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 lf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lf=Reflect.get:lf=function(o,i,u){var f=Tee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},lf(e,t,r||e)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wt(e)}function wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ee(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:Pee(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function Tee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wt(e),e!==null););return e}var See=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Eee();return function(){var n=wt(e),o;if(t){var i=wt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ee(this,o)}}var ze=function(e){wee(r,e);var t=Iee(r);function r(o){Ree(this,r);var i;return i=t.call(this,o),i.props=new Hd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=lf(wt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(Y);ze.controlType="timescope-column",ze.controlName="\u65E5\u671F\u533A\u95F4",ze.controlIcon="timescope-column",ze.controlFieldType=c.FieldTypes.TIMESCOPE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function jee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:Nee(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Aee();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 jee(this,o)}}var Ud=function(e){Bee(r,e);var t=Mee(r);function r(n){Cee(this,r);var o;return o=t.call(this,n),o.props=new Hd(n==null?void 0:n.props),o}return r}(q);Ud.controlType="timescope-column",Ud.controlFieldType=c.FieldTypes.TIMESCOPE;var JR={Designer:ze,Runtime:Ud,Property:Hd};function Dee(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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function xee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:Dee(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gee();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 xee(this,o)}}var Kd=function(e){Lee(r,e);var t=Vee(r);function r(n){Fee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ge.controlName,o}return r}(F);function Hee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vf=Reflect.get:vf=function(o,i,u){var f=Wee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},vf(e,t,r||e)}function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(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&&Xd(e,t)}function Uee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:Hee(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function Wee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$t(e),e!==null););return e}var Kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qee(e){var t=Xee();return function(){var n=$t(e),o;if(t){var i=$t(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var Ge=function(e){qee(r,e);var t=Qee(r);function r(o){Yee(this,r);var i;return i=t.call(this,o),i.props=new Kd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=vf($t(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(Y);Ge.controlType="timestamp-column",Ge.controlName="\u65E5\u671F",Ge.controlIcon="timestamp-column",Ge.controlFieldType=c.FieldTypes.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Jee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:Jee(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();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 tte(this,o)}}var Jd=function(e){ete(r,e);var t=ote(r);function r(n){Zee(this,r);var o;return o=t.call(this,n),o.props=new Kd(n==null?void 0:n.props),o}return r}(q);Jd.controlType="timestamp-column",Jd.controlFieldType=c.FieldTypes.TIMESTAMP;var ZR={Designer:Ge,Runtime:Jd,Property:Kd};function ite(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function tw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:ite(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var cte=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 nw(e){var t=fte();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 ute(this,o)}}var ate=function(e){tw(r,e);var t=nw(r);function r(n){return ew(this,r),t.call(this,n)}return r}(Wa),_f=function(e){tw(r,e);var t=nw(r);function r(n){ew(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ve.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var f;return o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(F);_f.Rules=ate;function lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:lte(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _te(e){var t=dte();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 vte(this,o)}}var Ve=function(e){yte(r,e);var t=_te(r);function r(n){ste(this,r);var o;return o=t.call(this,n),o.props=new _f(n==null?void 0:n.props),o}return r}(Y);Ve.controlType="array-column",Ve.controlName="\u6570\u7EC4",Ve.controlIcon="array-column",Ve.controlFieldType=c.FieldTypes.ARRAY,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function pte(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function Ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:pte(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rte(e){var t=Pte();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 gte(this,o)}}var n_=function(e){Ote(r,e);var t=Rte(r);function r(n){bte(this,r);var o;return o=t.call(this,n),o.props=new _f(n==null?void 0:n.props),o}return r}(q);n_.controlType="array-column",n_.controlFieldType=c.FieldTypes.ARRAY;var rw={Designer:Ve,Runtime:n_,Property:_f};function wte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Tte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:wte(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var Ete=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 Nte(e){var t=Ite();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 Ste(this,o)}}var o_=function(e){Tte(r,e);var t=Nte(r);function r(n){$te(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:He.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(F);function Cte(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 gf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gf=Reflect.get:gf=function(o,i,u){var f=Ate(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},gf(e,t,r||e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(e)}function jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kte(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:Cte(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}function Ate(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}var Mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fte(e){var t=Dte();return function(){var n=Tt(e),o;if(t){var i=Tt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kte(this,o)}}var He=function(e){jte(r,e);var t=Fte(r);function r(o){Bte(this,r);var i;return i=t.call(this,o),i.props=new o_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=gf(Tt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(Y);He.controlType="department-column",He.controlName="\u90E8\u95E8",He.controlIcon="department-column",He.controlFieldType=c.FieldTypes.DEPARTMENTS,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function Lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:Lte(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var Vte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=Hte();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 Gte(this,o)}}var c_=function(e){zte(r,e);var t=Yte(r);function r(n){xte(this,r);var o;return o=t.call(this,n),o.props=new o_(n==null?void 0:n.props),o}return r}(q);c_.controlType="department-column",c_.controlFieldType=c.FieldTypes.DEPARTMENTS;var ow={Designer:He,Runtime:c_,Property:o_};function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:qte(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var Xte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jte(e){var t=Qte();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 Kte(this,o)}}var a_=function(e){Wte(r,e);var t=Jte(r);function r(n){Ute(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:Ye.controlName,o}return r}(F);function Zte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ene(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 tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nne(e,t){return t&&(rne(t)==="object"||typeof t=="function")?t:Zte(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function one(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ine(e){var t=one();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 nne(this,o)}}var Ye=function(e){tne(r,e);var t=ine(r);function r(n){ene(this,r);var o;return o=t.call(this,n),o.props=new a_(n==null?void 0:n.props),o}return r}(Y);Ye.controlType="auto-number-column",Ye.controlName="\u81EA\u52A8\u7F16\u53F7",Ye.controlIcon="auto-number-column",Ye.controlFieldType=c.FieldTypes.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function une(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ane(e,t){return t&&(lne(t)==="object"||typeof t=="function")?t:une(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var lne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=sne();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ane(this,o)}}var y_=function(e){fne(r,e);var t=yne(r);function r(n){cne(this,r);var o;return o=t.call(this,n),o.props=new a_(n==null?void 0:n.props),o}return r}(q);y_.controlType="auto-number-column",y_.controlFieldType=c.FieldTypes.AUTO_NUMBER;var iw={Designer:Ye,Runtime:y_,Property:a_};function vne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:vne(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var pne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=bne();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 _ne(this,o)}}var h_=function(e){dne(r,e);var t=One(r);function r(n){hne(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:qe.controlName,o}return r}(F);function gne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rne(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:gne(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var wne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tne(e){var t=$ne();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 Rne(this,o)}}var qe=function(e){Pne(r,e);var t=Tne(r);function r(n){mne(this,r);var o;return o=t.call(this,n),o.props=new h_(n==null?void 0:n.props),o}return r}(Y);qe.controlType="file-column",qe.controlName="\u9644\u4EF6",qe.controlIcon="file-column",qe.controlFieldType=c.FieldTypes.FILE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Sne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:Sne(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var Cne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jne(e){var t=Bne();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 Nne(this,o)}}var p_=function(e){Ine(r,e);var t=jne(r);function r(n){Ene(this,r);var o;return o=t.call(this,n),o.props=new h_(n==null?void 0:n.props),o}return r}(q);p_.controlType="file-column",p_.controlFieldType=c.FieldTypes.FILE;var uw={Designer:qe,Runtime:p_,Property:h_};function kne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(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 Mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:kne(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var Fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xne(e){var t=Lne();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 Dne(this,o)}}var O_=function(e){Mne(r,e);var t=xne(r);function r(n){Ane(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:Ue.controlName,o}return r}(F);function zne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function Vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hne(e,t){return t&&(Yne(t)==="object"||typeof t=="function")?t:zne(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var Yne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();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 Hne(this,o)}}var Ue=function(e){Vne(r,e);var t=Une(r);function r(n){Gne(this,r);var o;return o=t.call(this,n),o.props=new O_(n==null?void 0:n.props),o}return r}(Y);Ue.controlType="image-column",Ue.controlName="\u56FE\u7247",Ue.controlIcon="image-column",Ue.controlFieldType=c.FieldTypes.IMAGE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Wne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function Xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qne(e,t){return t&&(Jne(t)==="object"||typeof t=="function")?t:Wne(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var Jne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ere(e){var t=Zne();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 Qne(this,o)}}var P_=function(e){Xne(r,e);var t=ere(r);function r(n){Kne(this,r);var o;return o=t.call(this,n),o.props=new O_(n==null?void 0:n.props),o}return r}(q);P_.controlType="image-column",P_.controlFieldType=c.FieldTypes.IMAGE;var cw={Designer:Ue,Runtime:P_,Property:O_};function tre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function rre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ore(e,t){return t&&(ire(t)==="object"||typeof t=="function")?t:tre(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var ire=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cre(e){var t=ure();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 ore(this,o)}}var w_=function(e){rre(r,e);var t=cre(r);function r(n){nre(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:We.controlName,o}return r}(F);function fre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function are(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 lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sre(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:fre(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var yre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hre(e){var t=vre();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 sre(this,o)}}var We=function(e){lre(r,e);var t=hre(r);function r(n){are(this,r);var o;return o=t.call(this,n),o.props=new w_(n==null?void 0:n.props),o}return r}(Y);We.controlType="people-column",We.controlName="\u4EBA\u5458",We.controlIcon="people-column",We.controlFieldType=c.FieldTypes.EMPLOYEES,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function dre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bre(e,t){return t&&(Ore(t)==="object"||typeof t=="function")?t:dre(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var Ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();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 bre(this,o)}}var S_=function(e){pre(r,e);var t=mre(r);function r(n){_re(this,r);var o;return o=t.call(this,n),o.props=new w_(n==null?void 0:n.props),o}return r}(q);S_.controlType="people-column",S_.controlFieldType=c.FieldTypes.EMPLOYEES;var fw={Designer:We,Runtime:S_,Property:w_};function Pre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rre(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 wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $re(e,t){return t&&(Tre(t)==="object"||typeof t=="function")?t:Pre(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var Tre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ere(e){var t=Sre();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 $re(this,o)}}var I_=function(e){wre(r,e);var t=Ere(r);function r(n){Rre(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:Ke.controlName,o}return r}(F);function Ire(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:Ire(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var jre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Are(e){var t=kre();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 Bre(this,o)}}var Ke=function(e){Cre(r,e);var t=Are(r);function r(n){Nre(this,r);var o;return o=t.call(this,n),o.props=new I_(n==null?void 0:n.props),o}return r}(Y);Ke.controlType="location-column",Ke.controlName="\u5730\u5740",Ke.controlIcon="location-column",Ke.controlFieldType=c.FieldTypes.ADDRESS,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Mre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:Mre(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var xre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gre(e){var t=zre();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 Lre(this,o)}}var B_=function(e){Fre(r,e);var t=Gre(r);function r(n){Dre(this,r);var o;return o=t.call(this,n),o.props=new I_(n==null?void 0:n.props),o}return r}(q);B_.controlType="location-column",B_.controlFieldType=c.FieldTypes.ADDRESS;var aw={Designer:Ke,Runtime:B_,Property:I_};function Vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Yre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qre(e,t){return t&&(Ure(t)==="object"||typeof t=="function")?t:Vre(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var Ure=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kre(e){var t=Wre();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 qre(this,o)}}var k_=function(e){Yre(r,e);var t=Kre(r);function r(n){Hre(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pe.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(F);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function In(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?In=Reflect.get:In=function(o,i,u){var f=ooe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},In(e,t,r||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Jre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zre(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function eoe(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){Qre(e,o,r[o])})}return e}function toe(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 noe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):toe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function roe(e,t){return t&&(ioe(t)==="object"||typeof t=="function")?t:lw(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function ooe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}var ioe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function coe(e){var t=uoe();return function(){var n=Xe(e),o;if(t){var i=Xe(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return roe(this,o)}}var foe=1,Pe=function(t){Jre(n,t);var r=coe(n);function n(i){Xre(this,n);var u;u=r.call(this,i);var f=Zre(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new k_(i==null?void 0:i.props),Oe(lw(u),"children",i==null?void 0:i.children),u.excludes=he(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeJoinChildren=function(u){var f=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u);return f&&this.childrenMaxLength>this.children.length},o.toDataBindModel=function(u){var f=In(Xe(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f},o.toSchema=function(){var u=In(Xe(n.prototype),"toSchema",this).call(this);return noe(eoe({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(Y);Pe.controlType="custom-column",Pe.controlName="\u81EA\u5B9A\u4E49",Pe.controlIcon="custom-column",Pe.excludes=[],Pe.childrenMaxLength=foe,Pe.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 aoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function loe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 soe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:sw(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var yoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hoe(e){var t=voe();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 soe(this,o)}}var yw=function(e){loe(r,e);var t=hoe(r);function r(n){aoe(this,r);var o;return o=t.call(this,n),o.props=new k_(n==null?void 0:n.props),Oe(sw(o),"children",n==null?void 0:n.children),o}return r}(q);yw.controlType="custom-column";var vw={Designer:Pe,Runtime:yw,Property:k_};function doe(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function poe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 boe(e,t){return t&&(Ooe(t)==="object"||typeof t=="function")?t:doe(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var Ooe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function moe(e){var t=goe();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 boe(this,o)}}var F_=function(e){poe(r,e);var t=moe(r);function r(n){_oe(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Re.controlName;var u;return o.datasourceBind=new kt((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Re.controlCustomAttributes}),o}return r}(F);function Poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(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 woe(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function $oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:Poe(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var Soe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ioe(e){var t=Eoe();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 Toe(this,o)}}var Re=function(e){$oe(r,e);var t=Ioe(r);function r(n){Roe(this,r);var o;return o=t.call(this,n),o.props=new F_(n==null?void 0:n.props),o}return woe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(Y);Re.controlType="employee-column",Re.controlName="\u4EBA\u5458",Re.controlIcon="employee-column",Re.controlFieldType=c.FieldTypes.EMPLOYEES,Re.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Noe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 joe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:Noe(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Moe(e){var t=Aoe();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 joe(this,o)}}var z_=function(e){Boe(r,e);var t=Moe(r);function r(n){Coe(this,r);var o;return o=t.call(this,n),o.props=new F_(n==null?void 0:n.props),o}return r}(q);z_.controlType="employee-column",z_.controlFieldType=c.FieldTypes.EMPLOYEES;var dw={Designer:Re,Runtime:z_,Property:F_},Doe=Object.freeze({__proto__:null,VarcharColumn:KR,TextColumn:XR,DecimalColumn:QR,TimescopeColumn:JR,TimestampColumn:ZR,ArrayColumn:rw,DepartmentColumn:ow,AutoNumberColumn:iw,FileColumn:uw,ImageColumn:cw,PeopleColumn:fw,LocationColumn:aw,CustomColumn:vw,OrderColumn:FR,OperationColumn:LR,EmployeeColumn:dw});function Foe(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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Loe(e,t){return t&&(xoe(t)==="object"||typeof t=="function")?t:Foe(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var xoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bw(e){var t=zoe();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 Loe(this,o)}}var Goe=function(e){pw(r,e);var t=bw(r);function r(n){_w(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),Vf=function(e){pw(r,e);var t=bw(r);function r(n){_w(this,r);var o;o=t.call(this,n);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var f;o.search=new et((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new et((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var s;o.custom=((s=n==null?void 0:n.custom)!==null&&s!==void 0?s:[]).map(function(v){return new et(v)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(cr);Vf.RuntimeRules=Goe;function Voe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function Yoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:Voe(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Uoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Woe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Koe(e){var t=Woe();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 qoe(this,o)}}var H_=function(e){Yoe(r,e);var t=Koe(r);function r(n){Hoe(this,r);var o;return o=t.call(this,n),o.props=new Vf(n==null?void 0:n.props),o}return r}(xb);H_.controlType="simple-search",H_.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}];function Xoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function Joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zoe(e,t){return t&&(eie(t)==="object"||typeof t=="function")?t:Xoe(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var eie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nie(e){var t=tie();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 Zoe(this,o)}}var Ow=function(e){Joe(r,e);var t=nie(r);function r(n){Qoe(this,r);var o;o=t.call(this,n),o.props=new Vf(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}(zb);Ow.controlType="simple-search";var gw={Designer:H_,Runtime:Ow,Property:Vf},rie=Object.freeze({__proto__:null,SimpleSearch:gw});function q_(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 oie(e){if(Array.isArray(e))return e}function iie(e){if(Array.isArray(e))return q_(e)}function uie(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cie(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,f;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(a){i=!0,f=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function fie(){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 aie(){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 lie(e,t){return oie(e)||cie(e,t)||Pw(e,t)||fie()}function mw(e){return iie(e)||uie(e)||Pw(e)||aie()}function Pw(e,t){if(!!e){if(typeof e=="string")return q_(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 q_(e,t)}}var sie=function(e,t){var r=Array.isArray(e),n=r?e:[e];Rie(t==null?void 0:t.events),pie(n),bie(n);var o=_ie(n),i=Oie(o,t),u=Ie(ne(i,function(f){return die(f,t)}));return r?u:u[0]},yie=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],vie=["subtable","grid-table"],hie=["simple-search"];function die(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":yie.includes(i.type)?i.controlType="base":i.controlType="form",vie.includes(i.type)&&(i.controlType="list"),hie.includes(i.type)&&(i.controlType="search-view")),delete i.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),W(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),W(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),W(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(W(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(W(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(P,$){var B=new mh.Designer;B.props.widthType=P.header_width_config==="1"?"auto":"px",B.props.width=P.header_width===""?200:Number(P.header_width),B.props.caption=W(P.field_name)?P.field_name.zh:P.field_name;var ee=B.toSchema();ee.id=P.header_id;var U=i.children[0].children[$].children[0];return U&&(ee.children=[U]),ee}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(P){P.label=W(P.text)?P.text.zh:P.text,P.id=P.id||P.opt_id||P.optId||P.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(P){var $=new Du.Designer;$.props.span=y;var B=$.toSchema();return B.children.push(P),B})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],b={};v&&(Rw(i,t),b.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),p&&(b.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=b,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var _=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1],d={},g={};_&&(Rw(i,t),i.id=_.id,d.amount=_.props.data_bind,i.props.range_min=Ee(_.props.range_min),i.props.range_max=Ee(_.props.range_max),g.amount=Ee(_.props.value),i.props.required=_.props.required,i.props.is_hide=_.props.is_hide,i.props.default_state=_.props.default_state,i.props.caption=W(_.props.caption)?_.props.caption.zh:_.props.caption,i.props.is_hide_caption=_.props.is_hide_caption,i.props.showUpperCase=_.props.is_show_chn),O&&(d.currency=O.props.data_bind,g.currency=O.props.value,i.props.datasourceBind=O.props.datasource_bind,i.props.options=O.props.options.map(function(P){return{label:P.text,value:P.value}})),i.props.dataBind=d,i.props.defaultValue=g,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=W(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=W(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};w&&(S.min=w.props.data_bind),m&&(S.max=m.props.data_bind),i.props.dataBind=S,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=W(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Ee(e.props.range_min),i.props.range_max=Ee(e.props.range_max),i.props.defaultValue=Ee(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),wie(i,t==null?void 0:t.control_events),i}function Rw(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;n.forEach(function(a){a.id===u&&(a.id=f);var l=a.show_controls.findIndex(function(y){return y===u}),s=a.hide_controls.findIndex(function(y){return y===u});l>-1&&a.show_controls.splice(l,1,f),s>-1&&a.hide_controls.splice(s,1,f)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=f)})}}function _ie(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Xh.Designer,n=r.toSchema();return n.children=e,[n]}function pie(e){e.forEach(function(t){t.children&&Pie(t.children)})}function bie(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function Oie(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var a=f.props,l=f.children,s=lie(l,3),y=s[0],v=s[1],p=s[2];gie(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,mie(p,v);var b,_=(b=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&b!==void 0?b:t==null?void 0:t.dataCode,O,d=((O=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&O!==void 0?O:_)?"".concat(_,"_selectMore"):void 0,g,w=(g=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&g!==void 0?g:[],m=new qh.Designer;m.props.datasourceBind=new G({dataCode:_,svcCode:d,orders:Ep(w)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(P){P.title=W(P.title)?P.title.zh:P.title}),m.props.sublistPage=a.sublist_page;var S=m.toSchema();return S.children.push(y,p),[S]}function gie(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=W(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function mie(e,t){e.children=t.children.filter(function(r){return 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(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:W(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=W(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;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new G({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 Pie(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function Rie(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function wie(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,mw(e.props.events[i].map(function(f){return f.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,mw(t[e.id].on_blur))}}}var $ie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ie(ne(n,function(i){return Tie(i)}));return r?o:o[0]};function Tie(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new re({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Sie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ie(ne(n,function(i){return Eie(i)}));return r?o:o[0]};function Eie(e,t){return[c.CONTROL_TYPE.BUTTON,c.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_LIST_BUTTON,c.CONTROL_TYPE.FORM_SELECT_BUTTON,c.CONTROL_TYPE.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===c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var Iie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ie(ne(n,function(i){return Nie(i)}));return r?o:o[0]};function Nie(e,t){if(e.props.icon){var 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}var Cie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ie(ne(n,function(i){return jie(i)}));return r?o:o[0]},Bie=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function jie(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Bie.includes(r.type))return r;var n=new vh.Designer,o=new Du.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var kie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ie(ne(n,function(i){return Aie(i)}));return r?o:o[0]};function Aie(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Mie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ne(n,function(i){return Die(i)});return r?o:o[0]};function Die(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ne(n,function(i){return Lie(i)});return r?o:o[0]};function we(e,t){e.field_code&&(e.field_type=t)}function Lie(e,t){var r,n=(r={},A(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),A(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),A(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),A(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),A(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),A(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&we(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(we(e.props.data_bind.amount,c.FieldTypes.DECIMAL),we(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(we(e.props.data_bind.result,c.FieldTypes.DECIMAL),we(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(we(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),we(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;we(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var xie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ne(n,function(i){return zie(i)});return r?o:o[0]};function zie(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var Gie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ne(n,function(i){return Vie(i)});return r?o:o[0]};function Vie(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Hie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ne(n,function(i){return Yie(i)});return r?o:o[0]};function Yie(e,t){if(e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(I){if(I.type===c.CONTROL_TYPE.OPERATION_COLUMN){var Et,Qe,ye;if(I.props.buttons=[],delete I.props.custom,((Et=I.props)===null||Et===void 0?void 0:Et.check)!==void 0){var Q_,J_,Z_,ep,tp,np,rp;I.props.buttons.push({id:(Q_=I.props)===null||Q_===void 0?void 0:Q_.check.id,type:"check",content:(J_=I.props)===null||J_===void 0?void 0:J_.check.content,is_show:(Z_=I.props)===null||Z_===void 0?void 0:Z_.check.is_show,priority_process:(ep=I.props)===null||ep===void 0?void 0:ep.check.priority_process,open_type:(tp=I.props)===null||tp===void 0?void 0:tp.check.open_type,form_key:(np=I.props)===null||np===void 0?void 0:np.check.form_key}),(rp=I.props)===null||rp===void 0||delete rp.check}if(((Qe=I.props)===null||Qe===void 0?void 0:Qe.edit)!==void 0){var op,ip,up,cp,fp,ap,lp;I.props.buttons.push({id:(op=I.props)===null||op===void 0?void 0:op.edit.id,type:"edit",content:(ip=I.props)===null||ip===void 0?void 0:ip.edit.content,is_show:(up=I.props)===null||up===void 0?void 0:up.edit.is_show,priority_process:(cp=I.props)===null||cp===void 0?void 0:cp.edit.priority_process,open_type:(fp=I.props)===null||fp===void 0?void 0:fp.edit.open_type,form_key:(ap=I.props)===null||ap===void 0?void 0:ap.edit.form_key}),(lp=I.props)===null||lp===void 0||delete lp.edit}if(((ye=I.props)===null||ye===void 0?void 0:ye.delete)!==void 0){var sp,yp,vp,hp,dp,_p;I.props.buttons.push({id:(sp=I.props)===null||sp===void 0?void 0:sp.delete.id,type:"delete",content:(yp=I.props)===null||yp===void 0?void 0:yp.delete.content,is_show:(vp=I.props)===null||vp===void 0?void 0:vp.delete.is_show,open_type:(hp=I.props)===null||hp===void 0?void 0:hp.delete.open_type,form_key:(dp=I.props)===null||dp===void 0?void 0:dp.delete.form_key}),(_p=I.props)===null||_p===void 0||delete _p.delete}}}),e.type===c.CONTROL_TYPE.DATA_VIEW){var r;if(e.props.buttons=[],delete e.props.custom,((r=e.props)===null||r===void 0?void 0:r.save)!==void 0){var n,o,i,u,f,a;e.props.buttons.push({id:(n=e.props)===null||n===void 0?void 0:n.save.id,type:"save",content:(o=e.props)===null||o===void 0?void 0:o.save.content,is_show:(i=e.props)===null||i===void 0?void 0:i.save.is_show,open_type:(u=e.props)===null||u===void 0?void 0:u.save.open_type,form_key:(f=e.props)===null||f===void 0?void 0:f.save.form_key}),(a=e.props)===null||a===void 0||delete a.save}if(e.props.cancel!==void 0){var l,s,y,v,p,b;e.props.buttons.push({id:(l=e.props)===null||l===void 0?void 0:l.cancel.id,type:"cancel",content:(s=e.props)===null||s===void 0?void 0:s.cancel.content,is_show:(y=e.props)===null||y===void 0?void 0:y.cancel.is_show,open_type:(v=e.props)===null||v===void 0?void 0:v.cancel.open_type,form_key:(p=e.props)===null||p===void 0?void 0:p.cancel.form_key}),(b=e.props)===null||b===void 0||delete b.cancel}if(e.props.save_as!==void 0){var _,O,d,g,w,m;e.props.buttons.push({id:(_=e.props)===null||_===void 0?void 0:_.save_as.id,type:"save_as",content:(O=e.props)===null||O===void 0?void 0:O.save_as.content,is_show:(d=e.props)===null||d===void 0?void 0:d.save_as.is_show,open_type:(g=e.props)===null||g===void 0?void 0:g.save_as.open_type,form_key:(w=e.props)===null||w===void 0?void 0:w.save_as.form_key}),(m=e.props)===null||m===void 0||delete m.save_as}if(e.props.print!==void 0){var S,P,$,B,ee,U;e.props.buttons.push({id:(S=e.props)===null||S===void 0?void 0:S.print.id,type:"print",content:(P=e.props)===null||P===void 0?void 0:P.print.content,is_show:($=e.props)===null||$===void 0?void 0:$.print.is_show,open_type:(B=e.props)===null||B===void 0?void 0:B.print.open_type,form_key:(ee=e.props)===null||ee===void 0?void 0:ee.print.form_key}),(U=e.props)===null||U===void 0||delete U.print}}return e}var ww={"v1.0":sie,"v2.0":$ie,"v2.1":Sie,"v2.2":Iie,"v2.3":Cie,"v2.4":kie,"v2.5":Mie,"v2.6":Fie,"v2.7":xie,"v2.8":Gie,"v2.9":Hie,"v2.10":function(){}};function qie(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 Uie(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function qf(e){return e.replace(/^v/,"")}function Uf(e){return Number(qf(e))}var St=Object.keys(ww).map(function(e){return qf(e)}).sort(function(e,t){return Number(e)-Number(t)}),Nn=St[St.length-1],Wie=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Nn;qie(this,e),this.schemaVersion=r,this.toVersion=n,Uf(n)>Uf(Nn)?_e("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(Nn)):(!St.includes(qf(n))||!St.includes(qf(r)))&&_e("Version Builder: Please give me a valid version number, The valid version is: ".concat(St.join(","),", But give me a ").concat(r))}var t=e.prototype;return t.dataCleaner=function(n,o){var i=this;if(this._version===this._schemaVersion)return n;var u=this.callDataCleanerKeys.reduce(function(f,a,l,s){var y,v=(y=s[l+1])!==null&&y!==void 0?y:i.toVersion;jt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var p=ww[a],b=f;if(typeof p=="function"){var _=p(f,o);_&&(b=_)}return b},n);return jt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},Uie(e,[{key:"runDataCleanerKeys",get:function(){var n=this;return St.filter(function(o){return Number(o)>=n._schemaVersion&&Number(o)<n._version})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"_version",get:function(){return Uf(this.toVersion)}},{key:"_schemaVersion",get:function(){return Uf(this.schemaVersion)}},{key:"version",get:function(){return Nn}}],[{key:"version",get:function(){return Nn}}]),e}();const Wf=[],U_={exports:{}};let W_=!1;const Kie=window.module,Xie=window.exports,Qie=window.require;function Jie(e){return W_||(window.module=U_,window.exports=U_.exports,window.require=function(t){return e[t]},W_=!0),function(){window.module=Kie,window.exports=Xie,window.require=Qie,W_=!1}}function Zie(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Jie(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=Wf.findIndex(l=>l===r);Wf.splice(a,1),Wf.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(U_.exports),f()},document.head.appendChild(i)});return Wf.push(r),r}function K_(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function Tw(e,t,r={fetch:K_}){return new Promise((n,o)=>{const i=e.replace(/^(https?:)?\/\/.*?\/component/,"/component");r.fetch(i).then(u=>{const f={exports:{}};new Function("module","exports","require",u)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(u=>{o(u)})})}function Kf(e,t){return Tw(e,t)}function eue(e,t){return Cn(this,null,function*(){return yield Promise.all(e.map(r=>Kf(r,t)))})}function X_(e,t,r){let n;t==="runtime"?n=class extends H{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends j{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends V{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="iconfont iconshibaimian" style="margin-right:4px"></i>${r}</di>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{template:i}},upgrade:f=>f}}function tue(e,t,r){return Cn(this,null,function*(){const n=new Map;return e.length===0||(yield Promise.all(e.map(o=>Cn(this,null,function*(){let i=!0,u;try{i=!0;let f="";r.type==="runtime"?f=o.runtime:f=o.designer,f+="?v="+o.version,u=yield Kf(f,t)}catch(f){i=!1,Te("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+o.id,f),u=X_(o.id,r.type,r.tipMessage)}if(i){let f="";if(r.type==="runtime"&&o.runtimecss!==void 0){const a=new RegExp(o.id+"-runtime-.*?$");f=o.runtime.replace(a,o.runtimecss)}else if(r.type==="designer"&&o.designercss!==void 0){const a=new RegExp(o.id+"-designer-.*?$");f=o.designer.replace(a,o.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}r.type==="runtime"?(n.has(u.Runtime.controlType)&&Te(`repeat register ${u.Runtime.controlType}`),n.set(u.Runtime.controlType,{props:o,version:o.version,isLoaded:i,control:u})):(n.has(u.Designer.controlType)&&Te(`repeat register ${u.Designer.controlType}`),n.set(u.Designer.controlType,{props:o,version:o.version,isLoaded:i,control:u}))})))),n})}function nue(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[f,a]=u.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function rue(e,t){return Cn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield K_(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Kf(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let a=u.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=X_(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return n})}c.Address=i0,c.AddressValue=Qp,c.AdvancedContainer=RR,c.Amount=Wm,c.AmountDataBind=Up,c.AmountValue=Wp,c.ArrayColumn=rw,c.Attachment=zm,c.AutoNumber=_0,c.AutoNumberColumn=iw,c.BaseControlProperty=E,c.BaseControlPropertyRules=K,c.BaseControlPropertyRuntimeRules=k,c.BaseStyle=tb,c.BatchPrintListButton=jg,c.BatchPrintRecordListButton=Mg,c.BatchSubmissionListButton=wO,c.Button=Qb,c.Calc=g0,c.CalcDataBind=Jp,c.CalcScriptEchoItem=rE,c.CalcValue=Zp,c.CardGroup=xP,c.Checkbox=Hg,c.Col=Du,c.ColumnControlProperty=F,c.ColumnControlPropertyRules=rr,c.ColumnOptionAndDataSourcePropertyRules=Wa,c.CreateFormListButton=bO,c.CustomAttributeItem=Vp,c.CustomColumn=vw,c.CustomPermissionItem=QE,c.DEFAULT_LOCALE=pp,c.Dashboard=fg,c.DataBind=re,c.DataSourceBind=G,c.DataSourceDataSetValue=Gp,c.DataSourceOrderItem=va,c.DataSourceParamItem=WE,c.DataView=Xh,c.DatePicker=im,c.DateRange=ym,c.DecimalColumn=QR,c.Department=y0,c.Department2=PP,c.DepartmentColumn=ow,c.DepartmentEntity=Je,c.DesignerColumnControl=Y,c.DesignerControl=j,c.DesignerFormControl=N,c.DesignerLayoutControl=D,c.DesignerListControl=er,c.DesignerSearchControl=xb,c.DesignerWrapControl=bB,c.DisplayBoListItem=Dn,c.Divider=uO,c.ElectronicSignature=vP,c.ElectronicSignatureConfig=Jb,c.Employee=Fm,c.Employee2=uP,c.EmployeeColumn=dw,c.EventLogic=Cp,c.Explain=Rr,c.ExportListButton=NO,c.ExportRecordListButton=jO,c.ExportTemplate=pl,c.FieldBindItem=Dp,c.FieldFilterCondition=ya,c.FieldFilterConditions=zp,c.FieldTypeToColumnType=iE,c.FileColumn=uw,c.FillBackBind=da,c.FillPayloadBind=Fn,c.FlexStyleConfig=nO,c.FormBind=Mn,c.FormSelectBind=Ap,c.FormSelectButton=HO,c.Grid=TP,c.GridRow=vh,c.GridTable=YR,c.GridTableColumn=WP,c.Image=Hm,c.ImageColumn=cw,c.ImageOptionSetting=qp,c.ImportRecordListButton=DO,c.Input=xg,c.InvoiceCheckButton=Sg,c.JSONCopy=he,c.Language=KE,c.LayoutControlProperty=M,c.LeftVariable=xp,c.LimitDate=Pr,c.Link=Wb,c.ListBind=sa,c.ListControlProperty=Lt,c.ListSelectButton=QO,c.ListView=qh,c.ListViewSelect=dg,c.LocationColumn=aw,c.MultistageFillingItem=Z,c.Number=tm,c.ObjectDataBind=Ln,c.OperationColumn=LR,c.OperationItem=et,c.OptionAndDataSourcePropertyRules=Ne,c.OptionSetting=pa,c.OrderColumn=FR,c.Page=gR,c.Pagination=tg,c.PeopleColumn=fw,c.Position=IR,c.PositioningContainer=TR,c.PrintTemplate=tO,c.Property=V,c.PropertyRules=L,c.PropertyRuntimeRules=pe,c.Radio=Qg,c.RangeDataBind=Kp,c.RangeDateValue=Xp,c.RegisterControls=kn,c.RegularRules=_a,c.RichText=gm,c.RightVariable=Ze,c.Row=BP,c.RulesMessage=h,c.RuntimeColumnControl=q,c.RuntimeControl=H,c.RuntimeFormControl=C,c.RuntimeLayoutControl=z,c.RuntimeListControl=Va,c.RuntimeSearchControl=zb,c.RuntimeWrapControl=TB,c.SUBTABLE_DEFAULT_MAX_HEIGHT=eO,c.Score=Jm,c.SearchControlProperty=cr,c.SearchDateRange=k0,c.SearchInput=X0,c.SearchNumberRange=S0,c.Select=Sm,c.SelectMultiple=Cm,c.SelectRelation=Y0,c.SimpleSearch=gw,c.SubListItem=Fp,c.SubListPageConfig=Lp,c.SubTable=kR,c.SubTableColumn=mh,c.SubTableRow=qP,c.SubmissionRecordListButton=SO,c.SuperDataSourceBind=kt,c.Tab=rR,c.TabPane=eR,c.Text=Yb,c.TextColumn=XR,c.TextOcrButton=mg,c.Textarea=_m,c.TimescopeColumn=JR,c.TimestampColumn=ZR,c.Title=yO,c.Toolbox=fR,c.Tree=tP,c.TreeDataSourceBind=Hp,c.UndersignedPerson=_l,c.UserEntity=Bn,c.VarcharColumn=KR,c.VersionBuilder=Wie,c.ViewOperationItem=eb,c.VueFormItem=F0,c.WPS=pP,c.WPSSetting=Zb,c.Watcher=Np,c.WpsOperationItem=bl,c.WrapControlProperty=tl,c.baseControls=tF,c.camelizeKeys=Ep,c.columnControls=Doe,c.controlHooksEmitter=ab,c.createValidator=fb,c.debounce=BE,c.decamelizeKeys=Ie,c.defineArrayParent=wb,c.defineControlArrayToProperty=Oe,c.defineParent=ka,c.error=_e,c.formControls=iH,c.genNonDuplicateId=ue,c.getHackerControl=X_,c.getNotRepeatItems=Sp,c.initExpression=xt,c.initImageOptions=XE,c.initOptionAndDataSourceRules=Vn,c.initOptions=le,c.initSuperDataSourceRules=Hn,c.isArray=Se,c.isBuiltInControls=kE,c.isFunction=TE,c.isJSONArray=NE,c.isJSONObject=CE,c.isLanguageObject=W,c.isNumber=ca,c.isNumberAndEmptyStringArray=IE,c.isNumberArray=EE,c.isObject=$E,c.isPlainObject=ua,c.isString=Tp,c.isStringArray=SE,c.layoutControls=mQ,c.listControls=iZ,c.loadRemoteControl=Kf,c.loadRemoteControls=eue,c.loadScriptFromFetch=Tw,c.loadScriptFromTag=Zie,c.log=jt,c.logerror=Rp,c.loop=ne,c.loopFormSchema=oa,c.nativeFetch=K_,c.noop=oE,c.referenceError=ra,c.registerByteluckControls=rue,c.registerCustomControls=tue,c.searchControls=rie,c.setPropertyDontEnum=Rb,c.toNumberOrEmpty=Ee,c.updateValueFromKeys=$p,c.upgradeCustomControlSchema=nue,c.wait=jE,c.warn=Te,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var En=(c,we,Xe)=>new Promise((Uf,In)=>{var Wf=ye=>{try{Tt(Xe.next(ye))}catch(St){In(St)}},Kf=ye=>{try{Tt(Xe.throw(ye))}catch(St){In(St)}},Tt=ye=>ye.done?Uf(ye.value):Promise.resolve(ye.value).then(Wf,Kf);Tt((Xe=Xe.apply(c,we)).next())});(function(c,we){typeof exports=="object"&&typeof module!="undefined"?we(exports):typeof define=="function"&&define.amd?define(["exports"],we):(c=typeof globalThis!="undefined"?globalThis:c||self,we(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Xe=function e(){we(this,e)};function Uf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var In=function e(){Uf(this,e)},Wf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Kf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ye="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",St="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",uw="{caption}\u5FC5\u586B",cw="\u8BF7\u8F93\u5165\u6807\u9898",fw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",aw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",lw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",sw="\u8BF7\u7ED1\u5B9A\u8868\u5355",yw="\u8BF7\u7ED1\u5B9A\u5217\u8868",vw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",hw="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_w="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",dw="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",pw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ow="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",mw="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Pw="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Rw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ww="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$w="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Tw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Sw="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ew="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Iw="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Nw="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Bw="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",jw="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",kw="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Aw="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Mw="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dw="\u8BF7\u9009\u62E9\u7701",Fw="\u8BF7\u9009\u62E9\u5E02",Lw="\u8BF7\u9009\u62E9\u533A",xw="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",zw="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Gw="\u8BF7\u8F93\u5165\u5217\u5BBD",Vw="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Hw="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Yw="\u8BF7\u9009\u62E9\u63A7\u4EF6",qw="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Uw="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ww="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Kw="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xw="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qw="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Jw="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zw="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",e$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",t$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",n$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",r$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",o$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",i$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",u$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",c$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",f$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",a$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",l$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",s$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",y$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",v$={isNotNumber:Wf,isNotString:Kf,isNotObject:Tt,isNotArray:ye,isNotBoolean:St,runtimeRequired:uw,pleaseEnterCaption:cw,pleaseEnterCaptionTip:fw,pleaseEnterPlaceholder:aw,pleaseEnterFieldCode:lw,pleaseEnterForm:sw,pleaseEnterList:yw,pleaseEnterProcess:vw,pleaseEnterLabel:hw,pleaseEnterValue:_w,bizKeyNotBindFiled:dw,pleaseEnterNumberRange:pw,pleaseEnterAValueGreaterThanMin:bw,pleaseEnterAValueLessThanMax:Ow,numberRangeSetError:gw,stringRangeError:mw,attachmentMaxSize:Pw,pleaseEnterTotalScoreSetting:Rw,theTotalScoreMustNotBeLessThan1:ww,scoreDefaultValueRange:$w,attachmentLimitError:Tw,PleaseReselectTheOptionalQuantity:Sw,TheMaximumLengthIsGreaterThanTheMinimumLength:Ew,TheMinimumLengthIsGreaterThanTheMaximumLength:Iw,PleaseSelectTheCorrectOptionSettings:Nw,optionIdIsRepeat:Cw,optionIsRequired:Bw,pleaseEnterDataCode:jw,pleaseEnterValueFieldCode:kw,pleaseEnterSvcCode:Aw,pleaseBindAtLeastOneDisplayValue:Mw,pleaseSelectProvince:Dw,pleaseSelectCity:Fw,pleaseSelectDistrict:Lw,limitRowsCannotBeLessThan0:xw,TheNumberOfRowsCannotBeLessThanMinRows:zw,pleaseEnterColumnWidth:Gw,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Vw,pleaseCompleteAllRulesAndConditions:Hw,pleaseSelectControl:Yw,pleaseSelectAtLeastOneColumn:qw,pleaseSelectFillBackMode:Uw,pleaseSelectDashboard:Ww,rootNodeIsRequired:Kw,theViewNameCannotBeEmpty:Xw,pleaseSelectOcrType:Qw,pleaseSelectAtLeastOneFieldToFillIn:Jw,pleaseChooseAtLeastOne:Zw,pleaseEnterButtonContent:e$,pleaseEnterDataCodeInDataSetting:t$,pleaseEnterValueFieldCodeInDataSetting:n$,pleaseEnterSvcCodeInDataSetting:r$,pleaseBindAtLeastOneDisplayValueInDataSetting:o$,rootNodeIsRequiredInDataSetting:i$,pleaseEnterMaxHeight:u$,pleaseEnter:c$,pleaseEnterWatermark:f$,pleaseEnterFileName:a$,pleaseUploadAtLeastOnePrintTemplate:l$,pleaseAssignBusiness:s$,pleaseAssignExternal:y$},h$="Please enter a number",_$="Please enter a string",d$="Please enter an object",p$="Please enter an array",b$="Please enter a boolean",O$="{caption} Required",g$="Please enter the title",m$="Please enter the bubble prompt",P$="Please enter the prompt text",R$="Please bind data items",w$="Please bind the form",$$="Please bind the list",T$="Please bind the process",S$="Please enter the displayed value",E$="Please enter the stored value",I$="The document number is not bound to the data item",N$="Please enter a value greater than or equal to {min} and less than or equal to {max}",C$="Please enter a value greater than or equal to {min}",B$="Please enter a value less than or equal to {max}",j$="The value range is set incorrectly",k$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",A$="The attachment size must be between 0MB and 1000MB",M$="Please fill in the total score setting",D$="The total score cannot be less than 1",F$="The default value must be between {min} and {max}",L$="The number of attachments uploaded must be between {min} and {max}",x$="Please re-select the optional quantity",z$="The maximum length of the control must be greater than the minimum length",G$="The minimum length of the control must be less than the maximum length",V$="Please select the correct option setting",H$="Option ID cannot be repeated",Y$="Please enter at least one option",q$="Please bind the data source",U$="Please bind the stored value",W$="Please bind the service",K$="At least one display value must be bound",X$="Please select a province",Q$="Please select a city",J$="Please select a district",Z$="The minimum number of lines to fill in cannot be less than 0",eT="The number of rows cannot be less than {min} rows",tT="Please enter the column width",nT="Please set the logical relationship of all rule conditions",rT="Please complete all rules and conditions",oT="please select control",iT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",uT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",aT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",vT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",hT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_T="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",dT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",bT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",OT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",mT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",PT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",RT={isNotNumber:h$,isNotString:_$,isNotObject:d$,isNotArray:p$,isNotBoolean:b$,runtimeRequired:O$,pleaseEnterCaption:g$,pleaseEnterCaptionTip:m$,pleaseEnterPlaceholder:P$,pleaseEnterFieldCode:R$,pleaseEnterForm:w$,pleaseEnterList:$$,pleaseEnterProcess:T$,pleaseEnterLabel:S$,pleaseEnterValue:E$,bizKeyNotBindFiled:I$,pleaseEnterNumberRange:N$,pleaseEnterAValueGreaterThanMin:C$,pleaseEnterAValueLessThanMax:B$,numberRangeSetError:j$,stringRangeError:k$,attachmentMaxSize:A$,pleaseEnterTotalScoreSetting:M$,theTotalScoreMustNotBeLessThan1:D$,scoreDefaultValueRange:F$,attachmentLimitError:L$,PleaseReselectTheOptionalQuantity:x$,TheMaximumLengthIsGreaterThanTheMinimumLength:z$,TheMinimumLengthIsGreaterThanTheMaximumLength:G$,PleaseSelectTheCorrectOptionSettings:V$,optionIdIsRepeat:H$,optionIsRequired:Y$,pleaseEnterDataCode:q$,pleaseEnterValueFieldCode:U$,pleaseEnterSvcCode:W$,pleaseBindAtLeastOneDisplayValue:K$,pleaseSelectProvince:X$,pleaseSelectCity:Q$,pleaseSelectDistrict:J$,limitRowsCannotBeLessThan0:Z$,TheNumberOfRowsCannotBeLessThanMinRows:eT,pleaseEnterColumnWidth:tT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nT,pleaseCompleteAllRulesAndConditions:rT,pleaseSelectControl:oT,pleaseSelectDashboard:iT,theViewNameCannotBeEmpty:uT,pleaseSelectOcrType:cT,pleaseSelectAtLeastOneFieldToFillIn:fT,pleaseChooseAtLeastOne:aT,pleaseEnterButtonContent:lT,pleaseEnterDataCodeInDataSetting:sT,pleaseEnterValueFieldCodeInDataSetting:yT,pleaseEnterSvcCodeInDataSetting:vT,pleaseBindAtLeastOneDisplayValueInDataSetting:hT,rootNodeIsRequiredInDataSetting:_T,pleaseEnterMaxHeight:dT,pleaseEnter:pT,pleaseEnterWatermark:bT,pleaseEnterFileName:OT,pleaseUploadAtLeastOnePrintTemplate:gT,pleaseAssignBusiness:mT,pleaseAssignExternal:PT},wT="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$T="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ST="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ET="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",IT="{caption}\u5FC5\u9808",NT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jT="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kT="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AT="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MT="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",DT="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FT="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LT="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",xT="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zT="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GT="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VT="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",HT="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",UT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",WT="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",KT="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",XT="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",QT="\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",JT="\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",ZT="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",tS="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",sS="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yS="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",hS="please select control",_S="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",dS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",bS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",OS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",mS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",PS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",RS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$S="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",TS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",SS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ES="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",IS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",NS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",CS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",BS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jS={isNotNumber:wT,isNotString:$T,isNotObject:TT,isNotArray:ST,isNotBoolean:ET,runtimeRequired:IT,pleaseEnterCaption:NT,pleaseEnterCaptionTip:CT,pleaseEnterPlaceholder:BT,pleaseEnterFieldCode:jT,pleaseEnterForm:kT,pleaseEnterList:AT,pleaseEnterProcess:MT,pleaseEnterLabel:DT,pleaseEnterValue:FT,bizKeyNotBindFiled:LT,pleaseEnterNumberRange:xT,pleaseEnterAValueGreaterThanMin:zT,pleaseEnterAValueLessThanMax:GT,numberRangeSetError:VT,stringRangeError:HT,attachmentMaxSize:YT,pleaseEnterTotalScoreSetting:qT,theTotalScoreMustNotBeLessThan1:UT,scoreDefaultValueRange:WT,attachmentLimitError:KT,PleaseReselectTheOptionalQuantity:XT,TheMaximumLengthIsGreaterThanTheMinimumLength:QT,TheMinimumLengthIsGreaterThanTheMaximumLength:JT,PleaseSelectTheCorrectOptionSettings:ZT,optionIdIsRepeat:eS,optionIsRequired:tS,pleaseEnterDataCode:nS,pleaseEnterValueFieldCode:rS,pleaseEnterSvcCode:oS,pleaseBindAtLeastOneDisplayValue:iS,pleaseSelectProvince:uS,pleaseSelectCity:cS,pleaseSelectDistrict:fS,limitRowsCannotBeLessThan0:aS,TheNumberOfRowsCannotBeLessThanMinRows:lS,pleaseEnterColumnWidth:sS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yS,pleaseCompleteAllRulesAndConditions:vS,pleaseSelectControl:hS,pleaseSelectDashboard:_S,theViewNameCannotBeEmpty:dS,pleaseSelectOcrType:pS,pleaseSelectAtLeastOneFieldToFillIn:bS,pleaseChooseAtLeastOne:OS,pleaseEnterButtonContent:gS,pleaseEnterDataCodeInDataSetting:mS,pleaseEnterValueFieldCodeInDataSetting:PS,pleaseEnterSvcCodeInDataSetting:RS,pleaseBindAtLeastOneDisplayValueInDataSetting:wS,rootNodeIsRequiredInDataSetting:$S,pleaseEnterMaxHeight:TS,pleaseEnter:SS,pleaseEnterWatermark:ES,pleaseEnterFileName:IS,pleaseUploadAtLeastOnePrintTemplate:NS,pleaseAssignBusiness:CS,pleaseAssignExternal:BS},kS={zhCN:v$,enUS:RT,jaJP:jS};function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var MS=function e(t){AS(this,e);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:c.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},Kd="zh-CN",DS=function(){};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}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,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"}(c.FieldTypes||(c.FieldTypes={}));var W,FS=(W={},J(W,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),J(W,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),J(W,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),J(W,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),J(W,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),J(W,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),J(W,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),J(W,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),J(W,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),J(W,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),J(W,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),J(W,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),J(W,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),W);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Xd="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",LS=Xd+"0123456789";function oe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Xd:LS,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Xf(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 xS(e){if(Array.isArray(e))return Xf(e)}function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(){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 Nn(e,t,r){return GS()?Nn=Reflect.construct:Nn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&It(l,u.prototype),l},Nn.apply(null,arguments)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function Jd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}function VS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function HS(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YS(){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 qS(e,t){return t&&(US(t)==="object"||typeof t=="function")?t:zS(e)}function It(e,t){return It=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},It(e,t)}function Zd(e){return xS(e)||HS(e)||WS(e)||YS()}var US=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WS(e,t){if(!!e){if(typeof e=="string")return Xf(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 Xf(e,t)}}function Qf(e){var t=typeof Map=="function"?new Map:void 0;return Qf=function(n){if(n===null||!VS(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 Nn(n,arguments,Et(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),It(o,n)},Qf(e)}function KS(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ep(e){var t=KS();return function(){var n=Et(e),o;if(t){var i=Et(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qS(this,o)}}var Jf=console;function $e(){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=Jf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Zd(o)))}function Nt(){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=Jf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Zd(o)))}function XS(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Zf=function(e){Jd(r,e);var t=ep(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?XS(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Qf(Error)),QS=function(e){Jd(r,e);var t=ep(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Zf);function _e(e){throw new Zf(e)}function ea(e){throw new QS(e)}function tp(e){Jf.error(new Zf(e))}function ta(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":ta(r==null?void 0:r.children,t);break;case"search":ta(r==null?void 0:r.children,t);break;case"form":t(r)}})}var JS=Object.prototype.toString;function np(e,t){return JS.call(e)==="[object "+t+"]"}function ZS(e){return np(e,"String")}function eE(e){return np(e,"Promise")}var tE=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();eE(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,f){if(o!==void 0){var a=o[i];if(!(u===f.length-1&&!ZS(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 nE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(){nE(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kd;return new tE({locale:r,messages:kS})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();h.$i18n=h.resetI18n();function rp(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){$e("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 f===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var rE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},na={exports:{}};(function(e){(function(t){var r=function(_,g,w){if(!l(g)||y(g)||v(g)||p(g)||a(g))return g;var m,T=0,P=0;if(s(g))for(m=[],P=g.length;T<P;T++)m.push(r(_,g[T],w));else{m={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(m[_(S,w)]=r(_,g[S],w))}return m},n=function(_,g){g=g||{};var w=g.separator||"_",m=g.split||/(?=[A-Z])/;return _.split(m).join(w)},o=function(_){return b(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(g,w){return w?w.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var g=o(_);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(_,g){return n(_,g).toLowerCase()},f=Object.prototype.toString,a=function(_){return typeof _=="function"},l=function(_){return _===Object(_)},s=function(_){return f.call(_)=="[object Array]"},y=function(_){return f.call(_)=="[object Date]"},v=function(_){return f.call(_)=="[object RegExp]"},p=function(_){return f.call(_)=="[object Boolean]"},b=function(_){return _=_-0,_===_},d=function(_,g){var w=g&&"process"in g?g.process:g;return typeof w!="function"?_:function(m,T){return w(m,_,T)}},O={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(_,g){return r(d(o,g),_)},decamelizeKeys:function(_,g){return r(d(u,g),_,g)},pascalizeKeys:function(_,g){return r(d(i,g),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(rE)})(na);function ve(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function q(e){return ra(e)&&"zh"in e}function ra(e){return Object.prototype.toString.call(e)==="[object Object]"}function oE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Te(e){return Array.isArray(e)}function op(e){return typeof e=="string"}function oa(e){return typeof e=="number"}function iE(e){return typeof e=="function"}function uE(e){return Te(e)&&e.every(function(t){return op(t)})}function cE(e){return Te(e)&&e.every(function(t){return oa(t)})}function fE(e){return Te(e)&&e.every(function(t){return oa(t)||t===""})}function aE(e){return/^\[.*?]$/.test(e)}function lE(e){return/^{.*?}$/.test(e)}function Se(e){return isNaN(parseFloat(e))?"":Number(e)}function ip(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function sE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function yE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Z(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=Z(n.children,t)),t(o)})),r}function up(e){return na.exports.camelizeKeys(e)}function Ee(e){return na.exports.decamelizeKeys(e)}function vE(e){return Object.values(c.CONTROL_TYPE).includes(e)}function ia(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 hE(e){if(Array.isArray(e))return ia(e)}function cp(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function _E(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){cp(i,n,o,u,f,"next",a)}function f(a){cp(i,n,o,u,f,"throw",a)}u(void 0)})}}function dE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bE(){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 ua(e){return hE(e)||pE(e)||OE(e)||bE()}function OE(e,t){if(!!e){if(typeof e=="string")return ia(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 ia(e,t)}}var gE=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},fp=function(){function e(){dE(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];var f=this;return _E(function(){var a,l,s,y,v,p,b,d,O,_,g,w;return gE(this,function(m){switch(m.label){case 0:if(a=f._events.get(n),l=[],!a)return[3,10];s=a.slice(),y=!0,v=!1,p=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),b=s[Symbol.iterator](),m.label=2;case 2:if(y=(d=b.next()).done)return[3,7];if(O=d.value,!a.includes(O))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(ua(i))),[4,O.apply(null,ua(i))];case 4:return _=m.sent(),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ua(i),[_])),l.push(_),_===!1?[3,7]:[3,6];case 5:return g=m.sent(),tp(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return w=m.sent(),v=!0,p=w,[3,10];case 9:try{!y&&b.return!=null&&b.return()}finally{if(v)throw p}return[7];case 10:return[2,l]}})})()},t.on=function(n,o){if(this._events.has(n)){var i;(i=this._events.get(n))===null||i===void 0||i.push(o)}else this._events.set(n,[o])},t.off=function(n,o){if(this._events.has(n)){var i=this._events.get(n),u=i==null?void 0:i.indexOf(o);i==null||i.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}();function mE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var PE=[{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_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"}],ap=function(){function e(){mE(this,e)}var t=e.prototype;return t.getEventsFromKeys=function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(i){return o.includes(i.key)})},e}();ap.events=PE;function RE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var lp=[],Cn=function(){function e(r){RE(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=r,this._initControls(r)}var t=e.prototype;return t.registerControlConfig=function(n,o){return this.controlConfigMap.set(n,o),this},t.getControlConfig=function(n){return this.controlConfigMap.get(n)},t.getControls=function(){return this._controls},t.register=function(n){n.__is_control__||_e("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(i){return i.controlType===n.controlType});return o>-1&&($e("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this},t.isLayoutControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.LAYOUT},t.isFormControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.FORM},t.isListControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.LIST},t.isColumnControl=function(n){return n.controlType===c.CONTROL_BASE_TYPE.COLUMN},t.createControl=function(n,o){var i=this;if(Array.isArray(n))return n.map(function(s){return i.createControl(s,o)});n.children&&(n.children=n.children.map(function(s){return i.createControl(s,o)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(s){return i.createControl(s,o)}));var u=this.getControlFormType(n.type);if(u){var f=n;if(typeof o=="function"){var a=o(f);a&&(f=a)}var l=new u(f);return l}else _e("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))},t.createControlInstance=function(n,o){var i=this.getControlFormType(n);if(i)return new i(o)},t.getControlFormType=function(n){return this._controls.find(function(o){return o.controlType===n})},t._initControls=function(n){var o=this;this.constructor.staticControls.forEach(function(i){o.register(i[n])})},e.register=function(n){var o=n.Designer,i=n.Runtime;(!o||!i||!o.__is_control__||!i.__is_control__)&&_e("".concat(n," is can't register as a Control"));var u=this.staticControls.findIndex(function(f){return f.Designer.controlType===o.controlType});return u>-1&&($e("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(u,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),this},e}();Cn.staticControls=lp,Cn.staticRegisteredTypes=new Set(lp.map(function(e){return e.Designer.controlType})),Cn.staticRegisteredConfigs=new Map;function sp(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 Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bn(e)}function ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ca(e,t)}function yp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function wE(e,t){return t&&($E(t)==="object"||typeof t=="function")?t:sp(e)}function ca(e,t){return ca=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ca(e,t)}var $E=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 ce(e){var t=TE();return function(){var n=Bn(e),o;if(t){var i=Bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wE(this,o)}}var ee=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},jn=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},vp=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(jn),hp=function e(t){R(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},fa=function e(t){R(this,e);var r,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 hp(u)}))!==null&&i!==void 0?i:[]},_p=function e(t){R(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},dp=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;o=t.call(this,n);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 f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(jn),pp=function e(t){R(this,e);var r,n;this.type="sublist-page",this.formBind=new jn(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 _p(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 dp(u)}))!==null&&i!==void 0?i:[]},bp=function e(t){R(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Qe=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Op=function e(t){var r=this;R(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:oe();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(f){if(f.children!==void 0){var a,l=new e(f);(a=r.children)===null||a===void 0||a.push(l)}else{var s,y=new aa(f);(s=r.children)===null||s===void 0||s.push(y)}}))},aa=function e(t){R(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe();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 bp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qe(t==null?void 0:t.rightVariableBo)},Q=function e(t){R(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},kn=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},la=function e(t){R(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},gp=function e(t){R(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},SE=function e(t){R(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new la(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(l){return new gp(l)}))!==null&&a!==void 0?a:[]};function sa(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(i){return i.children!==void 0?new Op(i):new aa(i)}))!==null&&r!==void 0?r:[],yp(this,z)||yp(this,An)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new la(i)}))!==null&&o!==void 0?o:[]}}var z=function e(t){var r=this;R(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var l;(l=r.displayBoList)===null||l===void 0||l.push(new kn(a))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",sa.call(this,t)},mp=function e(t){R(this,e);var r,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 kn(u)}))!==null&&i!==void 0?i:[]},Ct=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o,i;o=t.call(this,n);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new mp(f)}))!==null&&u!==void 0?u:[],o}return r}(z),Pp=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;return o=t.call(this,n),o.rootNode=new Qe(n==null?void 0:n.rootNode),o}return r}(Ct),Rp=function e(t){R(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Q(u)}))!==null&&i!==void 0?i:[]},An=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;return o=t.call(this,n),sa.call(sp(o),n),o}return r}(Rp),ya=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;o=t.call(this,n);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}(Rp),EE=function e(t){R(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},va=function e(t){R(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},ha=function e(t){R(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe(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},wp=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(ha);function fe(e){var t;return(t=e==null?void 0:e.map(function(r){return new ha(r)}))!==null&&t!==void 0?t:[]}function IE(e){var t;return(t=e==null?void 0:e.map(function(r){return new wp(r)}))!==null&&t!==void 0?t:[]}var Mn=function e(){R(this,e)},$p=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;return o=t.call(this),o.amount=new ee(n==null?void 0:n.amount),o.currency=new ee(n==null?void 0:n.currency),o}return r}(Mn),Tp=function e(t){R(this,e);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:c.AMOUNT_TYPE.CNY},Sp=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;return o=t.call(this),o.min=new ee(n==null?void 0:n.min),o.max=new ee(n==null?void 0:n.max),o}return r}(Mn),Ep=function e(t){R(this,e);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:""},Ip=function e(t){R(this,e);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 f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},Np=function(e){ue(r,e);var t=ce(r);function r(n){R(this,r);var o;return o=t.call(this),o.result=new ee(n==null?void 0:n.result),o.unit=new ee(n==null?void 0:n.unit),o}return r}(Mn),Cp=function e(t){R(this,e);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:""};c.AMOUNT_TYPE=void 0,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"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var ae=function e(t){R(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe(10),this.code=t==null?void 0:t.code;var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var o;this.isShow=(o=t==null?void 0:t.isShow)!==null&&o!==void 0?o:!0;var i;this.content=(i=t==null?void 0:t.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"",this.icon=t==null?void 0:t.icon;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal",this.priorityProcess=t==null?void 0:t.priorityProcess,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage,this.options=t==null?void 0:t.options},Bp=function e(t){R(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:oe(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 hp(u)}))!==null&&i!==void 0?i:[],sa.call(this,t)},NE=function e(t){R(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:oe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},jp=function e(t){R(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function CE(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 BE(){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 Dn(e,t,r){return BE()?Dn=Reflect.construct:Dn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&jt(l,u.prototype),l},Dn.apply(null,arguments)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(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&&jt(e,t)}function kE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function AE(e,t){return t&&(ME(t)==="object"||typeof t=="function")?t:CE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}var ME=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function da(e){var t=typeof Map=="function"?new Map:void 0;return da=function(n){if(n===null||!kE(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 Dn(n,arguments,Bt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),jt(o,n)},da(e)}function DE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FE(e){var t=DE();return function(){var n=Bt(e),o;if(t){var i=Bt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AE(this,o)}}var F=function e(t){_a(this,e),this.isHide={type:"boolean"}},de=function(e){jE(r,e);var t=FE(r);function r(n){return _a(this,r),t.call(this)}return r}(da(Array)),G=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";_a(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new jp(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};G.Rules=F,G.RuntimeRules=de;function le(){return le=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},le.apply(this,arguments)}function LE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fn(e,t)}function xE(){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 Ln(e,t,r){return xE()?Ln=Reflect.construct:Ln=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Fn(l,u.prototype),l},Ln.apply(null,arguments)}function zE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ba(e){var t=typeof Map=="function"?new Map:void 0;return ba=function(n){if(n===null||!zE(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 Ln(n,arguments,pa(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Fn(o,n)},ba(e)}var GE=/%[sdj%]/g,kp=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(kp=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Oa(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 te(){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(GE,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){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 f}});return u}return o}function VE(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function L(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||VE(t)&&typeof e=="string"&&!e)}function HE(e,t,r){var n=[],o=0,i=e.length;function u(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,u)})}function Ap(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function YE(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Mp=function(e){LE(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}(ba(Error));function qE(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var p=function(O){return n(O),O.length?v(new Mp(O,Oa(O))):y()},b=YE(e);Ap(b,r,p)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(y,v){var p=function(d){if(l.push.apply(l,d),a++,a===f)return n(l),l.length?v(new Mp(l,Oa(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var d=e[b];i.indexOf(b)!==-1?Ap(d,r,p):HE(d,r,p)})});return s.catch(function(y){return y}),s}function Dp(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 Fp(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]=le(le({},e[r]),n):e[r]=n}}return e}function Lp(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||L(t,i||e.type))&&n.push(te(o.messages.required,e.fullField))}function UE(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(te(o.messages.whitespace,e.fullField))}var ga={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},kt={integer:function(t){return kt.number(t)&&parseInt(t,10)===t},float:function(t){return kt.number(t)&&!kt.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"&&!kt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(ga.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ga.url)},hex:function(t){return typeof t=="string"&&!!t.match(ga.hex)}};function WE(e,t,r,n,o){if(e.required&&t===void 0){Lp(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?kt[u](t)||n.push(te(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(te(o.messages.types[u],e.fullField,e.type))}function KE(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,y=typeof t=="number",v=typeof t=="string",p=Array.isArray(t);if(y?s="number":v?s="string":p&&(s="array"),!s)return!1;p&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(te(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(te(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(te(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(te(o.messages[s].range,e.fullField,e.min,e.max))}var Je="enum";function XE(e,t,r,n,o){e[Je]=Array.isArray(e[Je])?e[Je]:[],e[Je].indexOf(t)===-1&&n.push(te(o.messages[Je],e.fullField,e[Je].join(", ")))}function QE(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(te(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(te(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var $={required:Lp,whitespace:UE,type:WE,range:KE,enum:XE,pattern:QE};function JE(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t,"string")&&!e.required)return r();$.required(e,t,n,i,o,"string"),L(t,"string")||($.type(e,t,n,i,o),$.range(e,t,n,i,o),$.pattern(e,t,n,i,o),e.whitespace===!0&&$.whitespace(e,t,n,i,o))}r(i)}function ZE(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&$.type(e,t,n,i,o)}r(i)}function eI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&($.type(e,t,n,i,o),$.range(e,t,n,i,o))}r(i)}function tI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&$.type(e,t,n,i,o)}r(i)}function nI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),L(t)||$.type(e,t,n,i,o)}r(i)}function rI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&($.type(e,t,n,i,o),$.range(e,t,n,i,o))}r(i)}function oI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&($.type(e,t,n,i,o),$.range(e,t,n,i,o))}r(i)}function iI(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();$.required(e,t,n,i,o,"array"),t!=null&&($.type(e,t,n,i,o),$.range(e,t,n,i,o))}r(i)}function uI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&$.type(e,t,n,i,o)}r(i)}var cI="enum";function fI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o),t!==void 0&&$[cI](e,t,n,i,o)}r(i)}function aI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t,"string")&&!e.required)return r();$.required(e,t,n,i,o),L(t,"string")||$.pattern(e,t,n,i,o)}r(i)}function lI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t,"date")&&!e.required)return r();if($.required(e,t,n,i,o),!L(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),$.type(e,f,n,i,o),f&&$.range(e,f.getTime(),n,i,o)}}r(i)}function sI(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;$.required(e,t,n,i,o,u),r(i)}function ma(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(L(t,i)&&!e.required)return r();$.required(e,t,n,u,o,i),L(t,i)||$.type(e,t,n,u,o)}r(u)}function yI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();$.required(e,t,n,i,o)}r(i)}var At={string:JE,method:ZE,number:eI,boolean:tI,regexp:nI,integer:rI,float:oI,array:iI,object:uI,enum:fI,pattern:aI,date:lI,url:ma,hex:ma,email:ma,required:sI,any:yI};function Pa(){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 Ra=Pa();function pe(e){this.rules=null,this._messages=Ra,this.define(e)}pe.prototype={messages:function(t){return t&&(this._messages=Fp(Pa(),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,f=n;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(d){var O,_=[],g={};function w(m){if(Array.isArray(m)){var T;_=(T=_).concat.apply(T,m)}else _.push(m)}for(O=0;O<d.length;O++)w(d[O]);_.length?g=Oa(_):(_=null,g=null),f(_,g)}if(u.messages){var l=this.messages();l===Ra&&(l=Pa()),Fp(l,u.messages),u.messages=l}else u.messages=this.messages();var s,y,v={},p=u.keys||Object.keys(this.rules);p.forEach(function(d){s=o.rules[d],y=i[d],s.forEach(function(O){var _=O;typeof _.transform=="function"&&(i===t&&(i=le({},i)),y=i[d]=_.transform(y)),typeof _=="function"?_={validator:_}:_=le({},_),_.validator=o.getValidationMethod(_),_.field=d,_.fullField=_.fullField||d,_.type=o.getType(_),_.validator&&(v[d]=v[d]||[],v[d].push({rule:_,value:y,source:i,field:d}))})});var b={};return qE(v,u,function(d,O){var _=d.rule,g=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");g=g&&(_.required||!_.required&&d.value),_.field=d.field;function w(P,S){return le(le({},S),{},{fullField:_.fullField+"."+P})}function m(P){P===void 0&&(P=[]);var S=P;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&pe.warning("async-validator:",S),S.length&&_.message!==void 0&&(S=[].concat(_.message)),S=S.map(Dp(_)),u.first&&S.length)return b[_.field]=1,O(S);if(!g)O(S);else{if(_.required&&!d.value)return _.message!==void 0?S=[].concat(_.message).map(Dp(_)):u.error&&(S=[u.error(_,te(u.messages.required,_.field))]),O(S);var A={};if(_.defaultField)for(var se in d.value)d.value.hasOwnProperty(se)&&(A[se]=_.defaultField);A=le(le({},A),d.rule.fields);for(var re in A)if(A.hasOwnProperty(re)){var Die=Array.isArray(A[re])?A[re]:[A[re]];A[re]=Die.map(w.bind(null,re))}var iw=new pe(A);iw.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),iw.validate(d.value,d.rule.options||u,function(Wd){var $t=[];S&&S.length&&$t.push.apply($t,S),Wd&&Wd.length&&$t.push.apply($t,Wd),O($t.length?$t:null)})}}var T;_.asyncValidator?T=_.asyncValidator(_,d.value,m,d.source,u):_.validator&&(T=_.validator(_,d.value,m,d.source,u),T===!0?m():T===!1?m(_.message||_.field+" fails"):T instanceof Array?m(T):T instanceof Error&&m(T.message)),T&&T.then&&T.then(function(){return m()},function(P){return m(P)})},function(d){a(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!At.hasOwnProperty(t.type))throw new Error(te("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"?At.required:At[this.getType(t)]||!1}},pe.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");At[t]=r},pe.warning=kp,pe.messages=Ra,pe.validators=At;var vI={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 xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new pe(e);return r.messages(Object.assign(vI,t)),r}var zp=new fp;function wa(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 hI(e){if(Array.isArray(e))return e}function _I(e){if(Array.isArray(e))return wa(e)}function Gp(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Vp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Gp(i,n,o,u,f,"next",a)}function f(a){Gp(i,n,o,u,f,"throw",a)}u(void 0)})}}function dI(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 pI(e,t,r){return t&&Hp(e.prototype,t),r&&Hp(e,r),e}function bI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function qp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OI(){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 gI(){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 Up(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){bI(e,o,r[o])})}return e}function mI(e){return hI(e)||qp(e)||Wp(e)||OI()}function $a(e){return _I(e)||qp(e)||Wp(e)||gI()}function Wp(e,t){if(!!e){if(typeof e=="string")return wa(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 wa(e,t)}}var Kp=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},C=function(){function t(n){var o=this;dI(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Qp,this.removeSetting=Xp,this._callControlHooks("preInstance",n);var i=Yp(this,t)?this.constructor:void 0,u=i.controlName,f=i.controlIcon,a=i.controlType,l=i.controlFieldType,s=i.controlEventKeys,y=i.controlCustomEvents,v=i.name,p=i.setting;u&&f&&a||ea("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:oe(10),this.name=u,this.icon=f;var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new G(n==null?void 0:n.props,(Yp(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=ve(p);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:l,this.eventKeys=ve(s),this.customEvents=ve(y),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];var f,a=mI(i),l=a[0],s=a.slice(1);return(f=zp).emit.apply(f,[l,this].concat($a(s)))},r.preUpdate=function(o,i){this._callControlHooks("preUpdateProps",o,i)},r.postUpdate=function(o,i){this._callControlHooks("postUpdateProps",o,i)},r.updateProps=function(o,i){this.preUpdate(o,i),rp(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Vp(function(){var i,u,f;return Kp(this,function(a){switch(a.label){case 0:return i=Up({},o.rules),[4,o._callControlHooks("preValidate",i)];case 1:return u=a.sent(),f=u[u.length-1],[2,f===!1?void 0:f]}})})()},r.validate=function(o,i){var u=this;return Vp(function(){var f,a,l,s;return Kp(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:Up({},u.rules),Array.isArray(i)&&i.forEach(function(v){a.hasOwnProperty(v)&&delete a[v]}),l=xp(a,o),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,l.validate(u.props)];case 3:return y.sent(),[2,!0];case 4:throw s=y.sent(),s.control||(s.control=u),s;case 5:return[2]}})})()},r.toDataBindModel=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,v=a.caption,p=a.required,b=a.maxLength,d=a.options,O=a.encrypted,_=a.encryptedMode;if(!(!i&&!l&&!s)){var g={parentId:o,fieldType:i,controlId:u,caption:v,type:f,props:{}};switch(l&&(g.dataBind=l),y){case"datasource":case void 0:s&&(g.datasourceBind=s);break;case"custom":g.props.options=d;break}return p!==void 0&&(g.required=p),b!==void 0&&(g.maxLength=b),O!==void 0&&(g.encrypted=O),_!==void 0&&(g.encryptedMode=_),g}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(o,i){if(o==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,$a(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},pI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();C.controlName="\u63A7\u4EF6",C.controlIcon="icon",C.controlType="control",C.controlEventKeys=[],C.controlCustomEvents=[],C.setting=[],C.__is_control__=!0,C.removeSettingItem=Xp,C.updateSettingItem=Qp;function Xp(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,f;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((f=t.setting[i].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(i,1)}})}function Qp(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,$a(t.showItems))}}}})}function PI(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 RI(e,t,r){return t&&Jp(e.prototype,t),r&&Jp(e,r),e}function wI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var V=function(){function t(r){PI(this,t),this.customEvents=[],this.parent=null;var n=wI(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ea("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:oe(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new G(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"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:c.PAGE_STATUS.UNKNOWN}return RI(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}();V.controlType="control",V.__is_control__=!0,V.controlCustomEvents=[];function xn(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:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),u=ip(i);i.length!==u.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function zn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function Hn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ta(e,t)}function $I(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function TI(e,t){return t&&(SI(t)==="object"||typeof t=="function")?t:Zp(e)}function Ta(e,t){return Ta=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ta(e,t)}var SI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yn(e){var t=EI();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 TI(this,o)}}var U=function(e){Hn(r,e);var t=Yn(r);function r(n){Gn(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.defaultState={type:"enum",enum:["default","readonly"]},o.required={type:"boolean"},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")};var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if($I(n.dataBind,ee))o.dataBind={type:"object",required:!0,fields:ve(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:ve(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),B=function(e){Hn(r,e);var t=Yn(r);function r(n){Gn(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:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(de),E=function(e){Hn(r,e);var t=Yn(r);function r(n){Gn(this,r);var o;o=t.call(this,n);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 f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"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 p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new ee(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return r}(G);E.Rules=U,E.RuntimeRules=B;var Ie=function(e){Hn(r,e);var t=Yn(r);function r(n){Gn(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:h.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],xn.call(Zp(o),n),o}return r}(U);function II(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function CI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sa(e,t)}function BI(e,t){return t&&(jI(t)==="object"||typeof t=="function")?t:II(e)}function Sa(e,t){return Sa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sa(e,t)}var jI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AI(e){var t=kI();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 BI(this,o)}}var I=function(e){CI(r,e);var t=AI(r);function r(n){NI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(C);I.controlEventKeys=["on_change","on_focus","on_blur"];function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function FI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}function LI(e,t){return t&&(xI(t)==="object"||typeof t=="function")?t:MI(e)}function Ea(e,t){return Ea=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ea(e,t)}var xI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GI(e){var t=zI();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 LI(this,o)}}var N=function(e){FI(r,e);var t=GI(r);function r(n){DI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(V);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function YI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ia(e,t)}function qI(e,t){return t&&(UI(t)==="object"||typeof t=="function")?t:VI(e)}function Ia(e,t){return Ia=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ia(e,t)}var UI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KI(e){var t=WI();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 qI(this,o)}}var k=function(e){YI(r,e);var t=KI(r);function r(n){return HI(this,r),t.call(this,n)}return r}(G);function Na(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 XI(e){if(Array.isArray(e))return Na(e)}function QI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JI(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eb(e){return XI(e)||QI(e)||ZI(e)||JI()}function ZI(e,t){if(!!e){if(typeof e=="string")return Na(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 Na(e,t)}}function tb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ca(e,t){e.parent=t,tb(e,"parent")}function nb(e,t){e.forEach(function(r){Ca(r,t)})}var rb=Symbol("targetKey");function ob(e){var t;return(t=e[rb])!==null&&t!==void 0?t:e}function ib(e,t){return nb(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),f=2;f<i;f++)u[f-2]=arguments[f];var a;return o===rb?n:(a=Reflect).get.apply(a,[n,o].concat(eb(u)))},set:function(n,o,i){for(var u=arguments.length,f=new Array(u>3?u-3:0),a=3;a<u;a++)f[a-3]=arguments[a];var l;if(Te(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(eb(f)));return ra(i)&&Ca(i,t),s}})}function be(e,t,r,n){var o=n!=null?n:e,i=ib(ob(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=ib(ob(f),o)},enumerable:!0})}function Ba(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 eN(e){if(Array.isArray(e))return Ba(e)}function ub(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function tN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){cb(i,n,o,u,f,"next",a)}function f(a){cb(i,n,o,u,f,"throw",a)}u(void 0)})}}function nN(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 Ze(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ze=Reflect.get:Ze=function(o,i,u){var f=yN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ze(e,t,r||e)}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ja(e,t)}function iN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function uN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cN(){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 fN(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){rN(e,o,r[o])})}return e}function aN(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 lN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):aN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function sN(e,t){return t&&(vN(t)==="object"||typeof t=="function")?t:ub(e)}function ja(e,t){return ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ja(e,t)}function yN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Oe(e),e!==null););return e}function fb(e){return eN(e)||uN(e)||hN(e)||cN()}var vN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hN(e,t){if(!!e){if(typeof e=="string")return Ba(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 Ba(e,t)}}function _N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_N();return function(){var n=Oe(e),o;if(t){var i=Oe(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sN(this,o)}}var pN=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},bN=1e4,M=function(t){oN(n,t);var r=dN(n);function n(i){nN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=iN(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new k(i==null?void 0:i.props),be(ub(u),"children",i==null?void 0:i.children),u.excludes=ve(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},o.judgeJoinChildren=function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length},o.validate=function(u,f){var a=this,l=this,s=function(){return Ze(Oe(n.prototype),"validate",a)};return tN(function(){return pN(this,function(y){switch(y.label){case 0:return[4,s().call(l,u,f)];case 1:return y.sent(),[4,Promise.all(l.children.map(function(v){return v.validate(u,f)}))];case 2:return y.sent(),[2,!0]}})})()},o.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=Ze(Oe(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var v=y.filter(function(p){return!!p});return fb(l).concat(fb(v))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=Ze(Oe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return lN(fN({},u),{children:f})},n}(C);M.excludes=!1,M.childrenMaxLength=bN;function ab(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ON(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function gN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ka(e,t)}function mN(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:ab(e)}function ka(e,t){return ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ka(e,t)}var PN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wN(e){var t=RN();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mN(this,o)}}var x=function(e){gN(r,e);var t=wN(r);function r(n){ON(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new k(n==null?void 0:n.props),be(ab(o),"children",n==null?void 0:n.children),o}return r}(V);function lb(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 Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Aa(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:lb(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Aa(e,t)}var EN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NN(e){var t=IN();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SN(this,o)}}var Mt=function(e){TN(r,e);var t=NN(r);function r(n,o){$N(this,r);var i;return i=t.call(this,o),be(lb(i),"headers",o==null?void 0:o.headers,n),i}return r}(G);function Ma(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 CN(e){if(Array.isArray(e))return Ma(e)}function sb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function BN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){yb(i,n,o,u,f,"next",a)}function f(a){yb(i,n,o,u,f,"throw",a)}u(void 0)})}}function jN(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 et(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(o,i,u){var f=xN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},et(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(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&&Da(e,t)}function MN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DN(){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 vb(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){kN(e,o,r[o])})}return e}function FN(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 hb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function LN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:sb(e)}function Da(e,t){return Da=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Da(e,t)}function xN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function _b(e){return CN(e)||MN(e)||GN(e)||DN()}var zN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GN(e,t){if(!!e){if(typeof e=="string")return Ma(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 Ma(e,t)}}function VN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=VN();return function(){var n=ge(e),o;if(t){var i=ge(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LN(this,o)}}var YN=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Qn=function(e){AN(r,e);var t=HN(r);function r(o){jN(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Mt(sb(i),o==null?void 0:o.props),i}var n=r.prototype;return n.validate=function(i,u){var f=this,a=this,l=function(){return et(ge(r.prototype),"validate",f)};return BN(function(){return YN(this,function(s){switch(s.label){case 0:return[4,l().call(a,i)];case 1:return s.sent(),[4,Promise.all(a.props.headers.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var i=et(ge(r.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return _b(a).concat(_b(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=et(ge(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return hb(vb({},i),{props:hb(vb({},this.props),{headers:u})})},r}(C);Qn.controlFieldType=c.FieldTypes.LIST;function Fa(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 db(e,t){for(var r=0;r<t.length;r++){var 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&&db(e.prototype,t),r&&db(e,r),e}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(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&&La(e,t)}function KN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Fa(e)}function La(e,t){return La=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},La(e,t)}var XN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JN(e){var t=QN();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KN(this,o)}}var xa=function(e){WN(r,e);var t=JN(r);function r(n){qN(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Mt(Fa(o),n==null?void 0:n.props),be(Fa(o),"children",n==null?void 0:n.children),o}return UN(r,[{key:"length",get:function(){return this.children.length}}]),r}(V);function pb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function Ga(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Va(e,t)}function ZN(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:pb(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Va(e,t)}var eC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ha(e){var t=tC();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 ZN(this,o)}}var er=function(e){Ga(r,e);var t=Ha(r);function r(n){za(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(F),D=function(e){Ga(r,e);var t=Ha(r);function r(n){za(this,r);var o;o=t.call(this,n);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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.dataBind=new ee(n==null?void 0:n.dataBind);var a;return 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,o}return r}(G);D.Rules=er;var Ya=function(e){Ga(r,e);var t=Ha(r);function r(n){za(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:h.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],xn.call(pb(o),n),o}return r}(er);function nC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&qa(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:nC(e)}function qa(e,t){return qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qa(e,t)}var uC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fC(e){var t=cC();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 iC(this,o)}}var H=function(e){oC(r,e);var t=fC(r);function r(n){rC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(C);function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ua(e,t)}function yC(e,t){return t&&(vC(t)==="object"||typeof t=="function")?t:aC(e)}function Ua(e,t){return Ua=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ua(e,t)}var vC=function(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 _C(e){var t=hC();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 yC(this,o)}}var Y=function(e){sC(r,e);var t=_C(r);function r(n){lC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(V);function dC(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 rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function bC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wa(e,t)}function OC(e,t){return t&&(gC(t)==="object"||typeof t=="function")?t:dC(e)}function Wa(e,t){return Wa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wa(e,t)}var gC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=mC();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 OC(this,o)}}var or=function(e){bC(r,e);var t=PC(r);function r(n){pC(this,r);var o;return o=t.call(this,n),o.dataBind=new ee(n==null?void 0:n.dataBind),o}return r}(k);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ka(e,t)}function TC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:RC(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}var SC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=EC();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TC(this,o)}}var bb=function(e){$C(r,e);var t=IC(r);function r(n){wC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new or(n==null?void 0:n.props),o}return r}(M);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xa(e,t)}function jC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:NC(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}var kC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MC(e){var t=AC();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jC(this,o)}}var Ob=function(e){BC(r,e);var t=MC(r);function r(n){CC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new or(n==null?void 0:n.props),o}return r}(x);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function xC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:DC(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qa(e,t)}var zC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=GC();return function(){var n=cr(e),o;if(t){var i=cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xC(this,o)}}var Ja=function(e){LC(r,e);var t=VC(r);function r(n){return FC(this,r),t.call(this,n)}return r}(k);function HC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Za(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:HC(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}var WC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XC(e){var t=KC();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 UC(this,o)}}var QC=function(e){qC(r,e);var t=XC(r);function r(n){YC(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Ja(n==null?void 0:n.props),o}return r}(M);function JC(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 ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function e1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}function t1(e,t){return t&&(n1(t)==="object"||typeof t=="function")?t:JC(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var n1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o1(e){var t=r1();return function(){var n=ar(e),o;if(t){var i=ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t1(this,o)}}var i1=function(e){e1(r,e);var t=o1(r);function r(n){ZC(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Ja(n==null?void 0:n.props),o}return r}(x);function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function f1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tl(e,t)}function a1(e,t){return t&&(l1(t)==="object"||typeof t=="function")?t:u1(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(e,t)}var l1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y1(e){var t=s1();return function(){var n=lr(e),o;if(t){var i=lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a1(this,o)}}var nl=function(e){f1(r,e);var t=y1(r);function r(n){c1(this,r);var o;o=t.call(this,n);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 f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"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}(G);function v1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t){for(var r=0;r<t.length;r++){var 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&&gb(e.prototype,t),r&&gb(e,r),e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function d1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rl(e,t)}function p1(e,t){return t&&(b1(t)==="object"||typeof t=="function")?t:v1(e)}function rl(e,t){return rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rl(e,t)}var b1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g1(e){var t=O1();return function(){var n=sr(e),o;if(t){var i=sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p1(this,o)}}var mb=function(e){d1(r,e);var t=g1(r);function r(n){h1(this,r);var o;return o=t.call(this,n),o.props=new nl(n==null?void 0:n.props),o}return _1(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);mb.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];function m1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R1(e,t,r){return t&&Pb(e.prototype,t),r&&Pb(e,r),e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function w1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ol(e,t)}function $1(e,t){return t&&(T1(t)==="object"||typeof t=="function")?t:m1(e)}function ol(e,t){return ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ol(e,t)}var T1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=S1();return function(){var n=yr(e),o;if(t){var i=yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $1(this,o)}}var I1=function(e){w1(r,e);var t=E1(r);function r(n){P1(this,r);var o;return o=t.call(this,n),o.props=new nl(n==null?void 0:n.props),o}return R1(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(V),Rb={Designer:mb,Runtime:I1,Property:nl};function N1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function B1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&il(e,t)}function j1(e,t){return t&&(k1(t)==="object"||typeof t=="function")?t:N1(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(e,t)}var k1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M1(e){var t=A1();return function(){var n=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j1(this,o)}}var ul=function(e){B1(r,e);var t=M1(r);function r(n){C1(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:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(G);function D1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L1(e,t,r){return t&&wb(e.prototype,t),r&&wb(e,r),e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function x1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cl(e,t)}function z1(e,t){return t&&(G1(t)==="object"||typeof t=="function")?t:D1(e)}function cl(e,t){return cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cl(e,t)}var G1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H1(e){var t=V1();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z1(this,o)}}var fl=function(e){x1(r,e);var t=H1(r);function r(n){F1(this,r);var o;return o=t.call(this,n),o.props=new ul(n==null?void 0:n.props),o}return L1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);fl.controlEventKeys=["on_click"],fl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];function Y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q1(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 U1(e,t,r){return t&&$b(e.prototype,t),r&&$b(e,r),e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function W1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&al(e,t)}function K1(e,t){return t&&(X1(t)==="object"||typeof t=="function")?t:Y1(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var X1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J1(e){var t=Q1();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 K1(this,o)}}var Z1=function(e){W1(r,e);var t=J1(r);function r(n){q1(this,r);var o;return o=t.call(this,n),o.props=new ul(n==null?void 0:n.props),o}return U1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(V),Tb={Designer:fl,Runtime:Z1,Property:ul};function eB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function nB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ll(e,t)}function rB(e,t){return t&&(oB(t)==="object"||typeof t=="function")?t:eB(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var oB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uB(e){var t=iB();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 rB(this,o)}}var K=function(e){nB(r,e);var t=uB(r);function r(n){tB(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:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"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 s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;return o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1,o}return r}(G);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aB(e,t,r){return t&&Sb(e.prototype,t),r&&Sb(e,r),e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function lB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sl(e,t)}function sB(e,t){return t&&(yB(t)==="object"||typeof t=="function")?t:cB(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(e,t)}var yB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hB(e){var t=vB();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sB(this,o)}}var X=function(e){lB(r,e);var t=hB(r);function r(n){fB(this,r);var o;return o=t.call(this,n),o.props=new K(n==null?void 0:n.props),o}return aB(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);X.controlEventKeys=["on_click"],X.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{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 dB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pB(e,t,r){return t&&Eb(e.prototype,t),r&&Eb(e,r),e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function bB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yl(e,t)}function OB(e,t){return t&&(gB(t)==="object"||typeof t=="function")?t:_B(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var gB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PB(e){var t=mB();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OB(this,o)}}var ne=function(e){bB(r,e);var t=PB(r);function r(n){dB(this,r);var o;return o=t.call(this,n),o.props=new K(n==null?void 0:n.props),o}return pB(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(V),Ib={Designer:X,Runtime:ne,Property:K};function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,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"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Or=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:oe(8),value:["",""]};he(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var gr=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,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"}(c.LINE_STYLE||(c.LINE_STYLE={}));var vl=function e(t){he(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Qe((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 Qe((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Qe((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Nb=function e(t){he(this,e);var r,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 vl(a)}))!==null&&o!==void 0?o:[new vl];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 f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},hl=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe(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 f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},_l=function e(t){he(this,e);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:""},Cb=function e(t){he(this,e);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 _l(t==null?void 0:t.watermark),this.autoRename=new _l(t==null?void 0:t.autoRename)},Bb=480;function Dt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var jb=function e(t){he(this,e);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:[]},kb=function e(t){he(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function RB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(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&&dl(e,t)}function TB(e,t){return t&&(SB(t)==="object"||typeof t=="function")?t:RB(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var SB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IB(e){var t=EB();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TB(this,o)}}var pl=function(e){$B(r,e);var t=IB(r);function r(n){wB(this,r);var o;o=t.call(this,n);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:c.LINE_STYLE.SOLID,o}return r}(G);function NB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BB(e,t,r){return t&&Ab(e.prototype,t),r&&Ab(e,r),e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function jB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bl(e,t)}function kB(e,t){return t&&(AB(t)==="object"||typeof t=="function")?t:NB(e)}function bl(e,t){return bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bl(e,t)}var AB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DB(e){var t=MB();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kB(this,o)}}var Mb=function(e){jB(r,e);var t=DB(r);function r(n){CB(this,r);var o;return o=t.call(this,n),o.props=new pl(n==null?void 0:n.props),o}return BB(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);Mb.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function FB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Db(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xB(e,t,r){return t&&Db(e.prototype,t),r&&Db(e,r),e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function zB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ol(e,t)}function GB(e,t){return t&&(VB(t)==="object"||typeof t=="function")?t:FB(e)}function Ol(e,t){return Ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ol(e,t)}var VB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YB(e){var t=HB();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 GB(this,o)}}var qB=function(e){zB(r,e);var t=YB(r);function r(n){LB(this,r);var o;return o=t.call(this,n),o.props=new pl(n==null?void 0:n.props),o}return xB(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(V),Fb={Designer:Mb,Runtime:qB,Property:pl};function UB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function xb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gl(e,t)}function WB(e,t){return t&&(KB(t)==="object"||typeof t=="function")?t:UB(e)}function gl(e,t){return gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gl(e,t)}var KB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zb(e){var t=XB();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 WB(this,o)}}var QB=function(e){xb(r,e);var t=zb(r);function r(n){Lb(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.dataBind={type:"any"},n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),o}return r}(F),$r=function(e){xb(r,e);var t=zb(r);function r(n){Lb(this,r);var o;o=t.call(this,n),o.dataBind=new ee(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar];var u,f;return o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:tt==null?void 0:tt.controlName)!==null&&f!==void 0?f:"",o}return r}(G);$r.Rules=QB;function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ej(e,t,r){return t&&Gb(e.prototype,t),r&&Gb(e,r),e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ml(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:JB(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ij(e){var t=oj();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 nj(this,o)}}var tt=function(e){tj(r,e);var t=ij(r);function r(n){ZB(this,r);var o;return o=t.call(this,n),o.props=new $r(n==null?void 0:n.props),o}return ej(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);tt.controlFieldType=c.FieldTypes.AUTO_NUMBER,tt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];function uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t){for(var r=0;r<t.length;r++){var 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&&Vb(e.prototype,t),r&&Vb(e,r),e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Pl(e,t)}function lj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:uj(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(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 vj(e){var t=yj();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lj(this,o)}}var hj=function(e){aj(r,e);var t=vj(r);function r(n){cj(this,r);var o;return o=t.call(this,n),o.props=new $r(n==null?void 0:n.props),o}return fj(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(V),Hb={Designer:tt,Runtime:hj,Property:$r};function _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function qb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}function dj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:_j(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(e,t)}var pj=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 Ub(e){var t=bj();return function(){var n=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var Oj=function(e){qb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")},o}return r}(F),Ir=function(e){qb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ft.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ft.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(K);Ir.Rules=Oj;function gj(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 Wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pj(e,t,r){return t&&Wb(e.prototype,t),r&&Wb(e,r),e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function Rj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wl(e,t)}function wj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:gj(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var $j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tj();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 wj(this,o)}}var Ft=function(e){Rj(r,e);var t=Sj(r);function r(n){mj(this,r);var o;return o=t.call(this,n),o.props=new Ir(n==null?void 0:n.props),o}return Pj(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}(X);Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 Ej(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 Kb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nj(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function Cj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$l(e,t)}function Bj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:Ej(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var jj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aj(e){var t=kj();return function(){var n=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bj(this,o)}}var Mj=function(e){Cj(r,e);var t=Aj(r);function r(n){Ij(this,r);var o;return o=t.call(this,n),o.props=new Ir(n==null?void 0:n.props),o}return Nj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ne),Xb={Designer:Ft,Runtime:Mj,Property:Ir};function Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function Jb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tl(e,t)}function Fj(e,t){return t&&(Lj(t)==="object"||typeof t=="function")?t:Dj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(e,t)}var Lj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zb(e){var t=xj();return function(){var n=Br(e),o;if(t){var i=Br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fj(this,o)}}var zj=function(e){Jb(r,e);var t=Zb(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}],o}return r}(F),jr=function(e){Jb(r,e);var t=Zb(r);function r(n){Qb(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Lt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Lt.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"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 s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(K);jr.Rules=zj;function Gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Hj(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function Yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sl(e,t)}function qj(e,t){return t&&(Uj(t)==="object"||typeof t=="function")?t:Gj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(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=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qj(this,o)}}var Lt=function(e){Yj(r,e);var t=Kj(r);function r(n){Vj(this,r);var o;return o=t.call(this,n),o.props=new jr(n==null?void 0:n.props),o}return Hj(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}(X);Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 Xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qj(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 Jj(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function Zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function ek(e,t){return t&&(tk(t)==="object"||typeof t=="function")?t:Xj(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(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=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ek(this,o)}}var ok=function(e){Zj(r,e);var t=rk(r);function r(n){Qj(this,r);var o;return o=t.call(this,n),o.props=new jr(n==null?void 0:n.props),o}return Jj(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ne),nO={Designer:Lt,Runtime:ok,Property:jr};function ik(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function ck(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function fk(e,t){return t&&(ak(t)==="object"||typeof t=="function")?t:ik(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var ak=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 sk(e){var t=lk();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fk(this,o)}}var Nl=function(e){ck(r,e);var t=sk(r);function r(n){uk(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:xt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xt.controlIcon,o}return r}(K);function yk(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 rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hk(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function _k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cl(e,t)}function dk(e,t){return t&&(pk(t)==="object"||typeof t=="function")?t:yk(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(e,t)}var pk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=bk();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 dk(this,o)}}var xt=function(e){_k(r,e);var t=Ok(r);function r(n){vk(this,r);var o;return o=t.call(this,n),o.props=new Nl(n==null?void 0:n.props),o}return hk(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}(X);xt.controlEventKeys=["on_click"],xt.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 gk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mk(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 Pk(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function Rk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bl(e,t)}function wk(e,t){return t&&($k(t)==="object"||typeof t=="function")?t:gk(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(e,t)}var $k=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sk(e){var t=Tk();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 wk(this,o)}}var Ek=function(e){Rk(r,e);var t=Sk(r);function r(n){mk(this,r);var o;return o=t.call(this,n),o.props=new Nl(n==null?void 0:n.props),o}return Pk(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ne),iO={Designer:xt,Runtime:Ek,Property:Nl};function Ik(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 Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function Ck(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jl(e,t)}function Bk(e,t){return t&&(jk(t)==="object"||typeof t=="function")?t:Ik(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var jk=function(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 Ak(e){var t=kk();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bk(this,o)}}var kl=function(e){Ck(r,e);var t=Ak(r);function r(n){Nk(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:zt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:zt.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new hl(l)}))!==null&&a!==void 0?a:[new hl({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(K);function Mk(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 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 Fk(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(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&&Al(e,t)}function xk(e,t){return t&&(zk(t)==="object"||typeof t=="function")?t:Mk(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(e,t)}var zk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vk(e){var t=Gk();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xk(this,o)}}var zt=function(e){Lk(r,e);var t=Vk(r);function r(n){Dk(this,r);var o;return o=t.call(this,n),o.props=new kl(n==null?void 0:n.props),o}return Fk(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}(X);zt.controlEventKeys=["on_click","on_click_finish"],zt.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 Hk(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 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 qk(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(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&&Ml(e,t)}function Wk(e,t){return t&&(Kk(t)==="object"||typeof t=="function")?t:Hk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var Kk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qk(e){var t=Xk();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wk(this,o)}}var Jk=function(e){Uk(r,e);var t=Qk(r);function r(n){Yk(this,r);var o;return o=t.call(this,n),o.props=new kl(n==null?void 0:n.props),o}return qk(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ne),fO={Designer:zt,Runtime:Jk,Property:kl};function Zk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function t3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dl(e,t)}function n3(e,t){return t&&(r3(t)==="object"||typeof t=="function")?t:Zk(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var r3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i3(e){var t=o3();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 n3(this,o)}}var Fl=function(e){t3(r,e);var t=i3(r);function r(n){e3(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:Gt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Gt.controlIcon,o}return r}(K);function u3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f3(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function a3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ll(e,t)}function l3(e,t){return t&&(s3(t)==="object"||typeof t=="function")?t:u3(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(e,t)}var s3=function(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 v3(e){var t=y3();return function(){var n=Vr(e),o;if(t){var i=Vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l3(this,o)}}var Gt=function(e){a3(r,e);var t=v3(r);function r(n){c3(this,r);var o;return o=t.call(this,n),o.props=new Fl(n==null?void 0:n.props),o}return f3(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}(X);Gt.controlEventKeys=["on_click"],Gt.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 h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 d3(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(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&&xl(e,t)}function b3(e,t){return t&&(O3(t)==="object"||typeof t=="function")?t:h3(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var O3=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=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b3(this,o)}}var P3=function(e){p3(r,e);var t=m3(r);function r(n){_3(this,r);var o;return o=t.call(this,n),o.props=new Fl(n==null?void 0:n.props),o}return d3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ne),sO={Designer:Gt,Runtime:P3,Property:Fl};function R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function w3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zl(e,t)}function $3(e,t){return t&&(T3(t)==="object"||typeof t=="function")?t:R3(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var T3=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=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $3(this,o)}}var I3=function e(t){yO(this,e),this.dataCode=t.dataCode},Gl=function(e){w3(r,e);var t=E3(r);function r(n){yO(this,r);var o,i;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Vt.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Vt.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new I3(l)}))!==null&&a!==void 0?a:[],o}return r}(K);function N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C3(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 B3(e,t,r){return t&&vO(e.prototype,t),r&&vO(e,r),e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function j3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vl(e,t)}function k3(e,t){return t&&(A3(t)==="object"||typeof t=="function")?t:N3(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(e,t)}var A3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D3(e){var t=M3();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k3(this,o)}}var Vt=function(e){j3(r,e);var t=D3(r);function r(n){C3(this,r);var o;return o=t.call(this,n),o.props=new Gl(n==null?void 0:n.props),o}return B3(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}(X);Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 F3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x3(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function z3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function G3(e,t){return t&&(V3(t)==="object"||typeof t=="function")?t:F3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var V3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y3(e){var t=H3();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G3(this,o)}}var q3=function(e){z3(r,e);var t=Y3(r);function r(n){L3(this,r);var o;return o=t.call(this,n),o.props=new Gl(n==null?void 0:n.props),o}return x3(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ne),_O={Designer:Vt,Runtime:q3,Property:Gl};function Wr(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function U3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function bO(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){W3(e,o,r[o])})}return e}function K3(e,t){return t&&(X3(t)==="object"||typeof t=="function")?t:U3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var X3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=Q3();return function(){var n=Kr(e),o;if(t){var i=Kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K3(this,o)}}var J3=function(e){pO(r,e);var t=OO(r);function r(n){dO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:bO({},Wr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:bO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Wr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(F),Xr=function(e){pO(r,e);var t=OO(r);function r(n){dO(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:Ht.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ht.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new An(n==null?void 0:n.fillPayload),o.formBind=new vp(n==null?void 0:n.formBind),o.fillBack=new ya(n==null?void 0:n.fillBack),o}return r}(K);Xr.Rules=J3;function Z3(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 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 tA(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function nA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function rA(e,t){return t&&(oA(t)==="object"||typeof t=="function")?t:Z3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var oA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uA(e){var t=iA();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rA(this,o)}}var Ht=function(e){nA(r,e);var t=uA(r);function r(n){eA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return tA(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}(X);Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function cA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fA(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 aA(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function lA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}function sA(e,t){return t&&(yA(t)==="object"||typeof t=="function")?t:cA(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var yA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 hA(e){var t=vA();return function(){var n=Jr(e),o;if(t){var i=Jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sA(this,o)}}var _A=function(e){lA(r,e);var t=hA(r);function r(n){fA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return aA(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ne),PO={Designer:Ht,Runtime:_A,Property:Xr};function dA(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 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 Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function wO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function $O(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){pA(e,o,r[o])})}return e}function bA(e,t){return t&&(OA(t)==="object"||typeof t=="function")?t:dA(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var OA=function(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 TO(e){var t=gA();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 bA(this,o)}}var mA=function(e){wO(r,e);var t=TO(r);function r(n){RO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:$O({},Wr())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:$O({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Wr())},o}return r}(F),eo=function(e){wO(r,e);var t=TO(r);function r(n){RO(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:Yt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Yt.controlIcon,o.fillPayload=new An(n==null?void 0:n.fillPayload),o.listPageBind=new fa(n==null?void 0:n.listPageBind),o.fillBack=new ya(n==null?void 0:n.fillBack),o}return r}(K);eo.Rules=mA;function PA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wA(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function $A(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function TA(e,t){return t&&(SA(t)==="object"||typeof t=="function")?t:PA(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var SA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=EA();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 TA(this,o)}}var Yt=function(e){$A(r,e);var t=IA(r);function r(n){RA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return wA(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}(X);Yt.controlEventKeys=["on_click","on_click_finish"],Yt.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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function NA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CA(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 BA(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function jA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xl(e,t)}function kA(e,t){return t&&(AA(t)==="object"||typeof t=="function")?t:NA(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(e,t)}var AA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DA(e){var t=MA();return function(){var n=no(e),o;if(t){var i=no(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kA(this,o)}}var FA=function(e){jA(r,e);var t=DA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return BA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ne),IO={Designer:Yt,Runtime:FA,Property:eo};function LA(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 ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function Jl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function xA(e,t){return t&&(zA(t)==="object"||typeof t=="function")?t:LA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var zA=function(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 es(e){var t=GA();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 xA(this,o)}}var VA=function(e){Jl(r,e);var t=es(r);function r(n){return Ql(this,r),t.call(this,n)}return r}(F),HA=function(e){Jl(r,e);var t=es(r);function r(n){return Ql(this,r),t.call(this,n)}return r}(de),qt=function(e){Jl(r,e);var t=es(r);function r(n){return Ql(this,r),t.call(this,n)}return r}(G);qt.Rules=VA,qt.RuntimeRules=HA;function YA(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 NO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UA(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function WA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KA(e,t){return t&&(XA(t)==="object"||typeof t=="function")?t:YA(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var XA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JA(e){var t=QA();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KA(this,o)}}var CO=function(e){WA(r,e);var t=JA(r);function r(n){qA(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return UA(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);CO.setting=[];function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t2(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(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&&ns(e,t)}function r2(e,t){return t&&(o2(t)==="object"||typeof t=="function")?t:ZA(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(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=io(e),o;if(t){var i=io(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){e2(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return t2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(V),jO={Designer:CO,Runtime:c2,Property:qt};function f2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(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&&rs(e,t)}function a2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:f2(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MO(e){var t=s2();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 a2(this,o)}}var y2=function(e){AO(r,e);var t=MO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),co=function(e){AO(r,e);var t=MO(r);function r(n){kO(this,r);var o;o=t.call(this,n);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 f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(G);co.Rules=y2;function v2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h2(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 _2(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function d2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function p2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:v2(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var b2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g2(e){var t=O2();return function(){var n=fo(e),o;if(t){var i=fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p2(this,o)}}var FO=function(e){d2(r,e);var t=g2(r);function r(n){h2(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return _2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);FO.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function m2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P2(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 R2(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&is(e,t)}function $2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:m2(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var T2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=S2();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $2(this,o)}}var I2=function(e){w2(r,e);var t=E2(r);function r(n){P2(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return R2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(V),xO={Designer:FO,Runtime:I2,Property:co};function N2(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 lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function GO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:N2(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var B2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VO(e){var t=j2();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 C2(this,o)}}var k2=function(e){GO(r,e);var t=VO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),o.showType={type:"enum",enum:["select","tabs"]},o.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(F),so=function(e){GO(r,e);var t=VO(r);function r(n){zO(this,r);var o,i;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new Bp(a)}))!==null&&f!==void 0?f:[],o}return r}(G);so.Rules=k2;function A2(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 HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D2(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(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&&cs(e,t)}function L2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:A2(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var x2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=z2();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 L2(this,o)}}var YO=function(e){F2(r,e);var t=G2(r);function r(n){M2(this,r);var o;return o=t.call(this,n),o.props=new so(n==null?void 0:n.props),o}return D2(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}(C);YO.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function V2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y2(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(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&&fs(e,t)}function U2(e,t){return t&&(W2(t)==="object"||typeof t=="function")?t:V2(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(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 X2(e){var t=K2();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 U2(this,o)}}var Q2=function(e){q2(r,e);var t=X2(r);function r(n){H2(this,r);var o;return o=t.call(this,n),o.props=new so(n==null?void 0:n.props),o}return Y2(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(V),UO={Designer:YO,Runtime:Q2,Property:so};function J2(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 ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function KO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function Z2(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:J2(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var eM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XO(e){var t=tM();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var nM=function(e){KO(r,e);var t=XO(r);function r(n){WO(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),_o=function(e){KO(r,e);var t=XO(r);function r(n){WO(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:nt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:nt.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:nt.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);_o.Rules=nM;function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iM(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(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&&ls(e,t)}function cM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:rM(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var fM=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 lM(e){var t=aM();return function(){var n=po(e),o;if(t){var i=po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cM(this,o)}}var nt=function(e){uM(r,e);var t=lM(r);function r(n){oM(this,r);var o;return o=t.call(this,n),o.props=new _o(n==null?void 0:n.props),o}return iM(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}(X);nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(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 vM(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(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&&ss(e,t)}function _M(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:sM(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var dM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pM();return function(){var n=bo(e),o;if(t){var i=bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _M(this,o)}}var OM=function(e){hM(r,e);var t=bM(r);function r(n){yM(this,r);var o;return o=t.call(this,n),o.props=new _o(n==null?void 0:n.props),o}return vM(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ne),ZO={Designer:nt,Runtime:OM,Property:_o};function gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(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&&ys(e,t)}function mM(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:gM(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(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 ng(e){var t=RM();return function(){var n=Oo(e),o;if(t){var i=Oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mM(this,o)}}var wM=function(e){tg(r,e);var t=ng(r);function r(n){eg(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.invoiceCheck={type:"boolean"},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),go=function(e){tg(r,e);var t=ng(r);function r(n){eg(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!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 s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:rt.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:rt.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);go.Rules=wM;function $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SM(e,t,r){return t&&rg(e.prototype,t),r&&rg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(e)}function EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function IM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:$M(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var NM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CM();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 IM(this,o)}}var rt=function(e){EM(r,e);var t=BM(r);function r(n){TM(this,r);var o;return o=t.call(this,n),o.props=new go(n==null?void 0:n.props),o}return SM(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}(X);rt.controlEventKeys=["on_click","on_click_finish"],rt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function jM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function og(e,t){for(var r=0;r<t.length;r++){var 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&&og(e.prototype,t),r&&og(e,r),e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function DM(e,t){return t&&(FM(t)==="object"||typeof t=="function")?t:jM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var FM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xM(e){var t=LM();return function(){var n=Po(e),o;if(t){var i=Po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DM(this,o)}}var zM=function(e){MM(r,e);var t=xM(r);function r(n){kM(this,r);var o;return o=t.call(this,n),o.props=new go(n==null?void 0:n.props),o}return AM(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ne),ig={Designer:rt,Runtime:zM,Property:go};function GM(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 Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function cg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function VM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:GM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var HM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YM();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 VM(this,o)}}var qM=function(e){cg(r,e);var t=fg(r);function r(){ug(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(F),wo=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ut.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Ut.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new jb(s)}))!==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}(K);wo.Rules=qM;function UM(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 ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KM(e,t,r){return t&&ag(e.prototype,t),r&&ag(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(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&&ds(e,t)}function QM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:UM(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var JM=function(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 eD(e){var t=ZM();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QM(this,o)}}var Ut=function(e){XM(r,e);var t=eD(r);function r(n){WM(this,r);var o;return o=t.call(this,n),o.props=new wo(n==null?void 0:n.props),o}return KM(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}(X);Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 tD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nD(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 rD(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function oD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function iD(e,t){return t&&(uD(t)==="object"||typeof t=="function")?t:tD(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var uD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fD(e){var t=cD();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 iD(this,o)}}var aD=function(e){oD(r,e);var t=fD(r);function r(n){nD(this,r);var o;return o=t.call(this,n),o.props=new wo(n==null?void 0:n.props),o}return rD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ne),sg={Designer:Ut,Runtime:aD,Property:wo};function lD(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 So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(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&&bs(e,t)}function vD(e,t){return t&&(hD(t)==="object"||typeof t=="function")?t:lD(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var hD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dD(e){var t=_D();return function(){var n=So(e),o;if(t){var i=So(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vD(this,o)}}var Os=function(e){yD(r,e);var t=dD(r);function r(n){sD(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:Wt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Wt.controlIcon,o}return r}(K);function pD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OD(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function gD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mD(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:pD(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(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 wD(e){var t=RD();return function(){var n=Eo(e),o;if(t){var i=Eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mD(this,o)}}var Wt=function(e){gD(r,e);var t=wD(r);function r(n){bD(this,r);var o;return o=t.call(this,n),o.props=new Os(n==null?void 0:n.props),o}return OD(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}(X);Wt.controlEventKeys=["on_click"],Wt.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 $D(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 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 SD(e,t,r){return t&&vg(e.prototype,t),r&&vg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&ms(e,t)}function ID(e,t){return t&&(ND(t)==="object"||typeof t=="function")?t:$D(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var ND=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BD(e){var t=CD();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ID(this,o)}}var jD=function(e){ED(r,e);var t=BD(r);function r(n){TD(this,r);var o;return o=t.call(this,n),o.props=new Os(n==null?void 0:n.props),o}return SD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ne),hg={Designer:Wt,Runtime:jD,Property:Os},kD=Object.freeze({__proto__:null,Text:Rb,Link:Tb,Button:Ib,Divider:Fb,Title:Hb,CreateFormListButton:Xb,BatchSubmissionListButton:nO,SubmissionRecordListButton:iO,ExportListButton:fO,ExportRecordListButton:sO,ImportRecordListButton:_O,FormSelectButton:PO,ListSelectButton:IO,Pagination:jO,Dashboard:xO,ListViewSelect:UO,TextOcrButton:ZO,InvoiceCheckButton:ig,BatchPrintListButton:sg,BatchPrintRecordListButton:hg});function AD(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 No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(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&&ws(e,t)}function MD(e,t){return t&&(DD(t)==="object"||typeof t=="function")?t:AD(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var DD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $s(e){var t=FD();return function(){var n=No(e),o;if(t){var i=No(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MD(this,o)}}var LD=function(e){Rs(r,e);var t=$s(r);function r(n){Ps(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Dt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),xD=function(e){Rs(r,e);var t=$s(r);function r(n){Ps(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Dt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),ot=function(e){Rs(r,e);var t=$s(r);function r(n){Ps(this,r);var o;o=t.call(this,n);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 va(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:it.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(E);ot.Rules=LD,ot.RuntimeRules=xD;function zD(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 _g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VD(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function HD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function YD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:zD(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var qD=function(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=Co(e),o;if(t){var i=Co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YD(this,o)}}var it=function(e){HD(r,e);var t=WD(r);function r(n){GD(this,r);var o;return o=t.call(this,n),o.props=new ot(n==null?void 0:n.props),o}return VD(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}(I);it.controlEventKeys=["on_change","on_input","on_focus","on_blur"],it.controlFieldType=c.FieldTypes.VARCHAR,it.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 KD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QD(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function JD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function ZD(e,t){return t&&(eF(t)==="object"||typeof t=="function")?t:KD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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 nF(e){var t=tF();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZD(this,o)}}var pg=function(e){JD(r,e);var t=nF(r);function r(n){XD(this,r);var o;return o=t.call(this,n),o.props=new ot(n==null?void 0:n.props),o}return QD(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);pg.controlFieldType=c.FieldTypes.VARCHAR;var bg={Designer:it,Runtime:pg,Property:ot};function rF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Es(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 Is(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:rF(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var iF=function(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 Cs(e){var t=uF();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 oF(this,o)}}var cF=function(e){Is(r,e);var t=Cs(r);function r(n){Es(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")};var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(n.limitMin),o}return r}(Ie),fF=function(e){Is(r,e);var t=Cs(r);function r(n){Es(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}(B),Kt=function(e){Is(r,e);var t=Cs(r);function r(n){Es(this,r);var o;o=t.call(this,n);var i;o.options=fe((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Xt.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var d;o.optionsFormat=(d=n==null?void 0:n.optionsFormat)!==null&&d!==void 0?d:"horizontal";var O;return o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Q(_))})),o}return r}(E);Kt.Rules=cF,Kt.RuntimeRules=fF;function aF(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 Og(e,t){for(var r=0;r<t.length;r++){var 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&&Og(e.prototype,t),r&&Og(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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&&Bs(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:aF(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var hF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dF(e){var t=_F();return function(){var n=ko(e),o;if(t){var i=ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var Xt=function(e){yF(r,e);var t=dF(r);function r(n){lF(this,r);var o;return o=t.call(this,n),o.props=new Kt(n==null?void 0:n.props),o}return sF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(I);Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=c.FieldTypes.ARRAY,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 pF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OF(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function gF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function mF(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:pF(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var PF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wF(e){var t=RF();return function(){var n=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mF(this,o)}}var mg=function(e){gF(r,e);var t=wF(r);function r(n){bF(this,r);var o;return o=t.call(this,n),o.props=new Kt(n==null?void 0:n.props),o}return OF(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);mg.controlFieldType=c.FieldTypes.ARRAY;var Pg={Designer:Xt,Runtime:mg,Property:Kt};function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rg(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 wg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function TF(e,t){return t&&(SF(t)==="object"||typeof t=="function")?t:$F(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var SF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=EF();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 TF(this,o)}}var IF=function(e){wg(r,e);var t=$g(r);function r(n){return Rg(this,r),t.call(this,n)}return r}(Ie),Do=function(e){wg(r,e);var t=$g(r);function r(n){Rg(this,r);var o;o=t.call(this,n);var i;o.options=fe((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Qt.controlName;var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(E);Do.Rules=IF;function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BF(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(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&&As(e,t)}function kF(e,t){return t&&(AF(t)==="object"||typeof t=="function")?t:NF(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var AF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DF(e){var t=MF();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kF(this,o)}}var Qt=function(e){jF(r,e);var t=DF(r);function r(n){CF(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return BF(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(I);Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=c.FieldTypes.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];function FF(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 Sg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function zF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function GF(e,t){return t&&(VF(t)==="object"||typeof t=="function")?t:FF(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var VF=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 YF(e){var t=HF();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 GF(this,o)}}var Eg=function(e){zF(r,e);var t=YF(r);function r(n){LF(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return xF(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);Eg.controlFieldType=c.FieldTypes.VARCHAR;var Ig={Designer:Qt,Runtime:Eg,Property:Do};function qF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(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&&Ls(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:qF(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var WF=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 xs(e){var t=KF();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 UF(this,o)}}var XF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Dt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),QF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(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:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Dt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),Jt=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(this,r);var o;o=t.call(this,n);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 f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"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 s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s: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 p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Zt.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new va(n==null?void 0:n.regularRules),o}return r}(E);Jt.Rules=XF,Jt.RuntimeRules=QF;function JF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ng(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eL(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function zo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zo=Reflect.get:zo=function(o,i,u){var f=rL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},zo(e,t,r||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function tL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function nL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:JF(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}function rL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ut(e),e!==null););return e}var oL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=iL();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 nL(this,o)}}var Zt=function(e){tL(r,e);var t=uL(r);function r(o){ZF(this,r);var i;return i=t.call(this,o),i.props=new Jt(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=zo(ut(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},eL(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(I);Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=c.FieldTypes.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function cL(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 Cg(e,t){for(var r=0;r<t.length;r++){var 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&&Cg(e.prototype,t),r&&Cg(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function lL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sL(e,t){return t&&(yL(t)==="object"||typeof t=="function")?t:cL(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var yL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=vL();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sL(this,o)}}var Bg=function(e){lL(r,e);var t=hL(r);function r(n){fL(this,r);var o;return o=t.call(this,n),o.props=new Jt(n==null?void 0:n.props),o}return aL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Bg.controlFieldType=c.FieldTypes.DECIMAL;var jg={Designer:Zt,Runtime:Bg,Property:Jt};function _L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(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&&Vs(e,t)}function bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:_L(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var OL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mL(e){var t=gL();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 bL(this,o)}}var Hs=function(e){pL(r,e);var t=mL(r);function r(n){dL(this,r);var o,i;o=t.call(this,n);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Yo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.limitDateList=(y=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Or(b)}))!==null&&y!==void 0?y:[];var v;o.allowDateRange=(v=n==null?void 0:n.allowDateRange)!==null&&v!==void 0?v:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(E);function PL(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 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 wL(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function Ho(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ho=Reflect.get:Ho=function(o,i,u){var f=SL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ho(e,t,r||e)}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(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&&Ys(e,t)}function TL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:PL(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}function SL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ct(e),e!==null););return e}var EL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NL(e){var t=IL();return function(){var n=ct(e),o;if(t){var i=ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TL(this,o)}}var Yo=function(e){$L(r,e);var t=NL(r);function r(o){RL(this,r);var i;return i=t.call(this,o),i.props=new Hs(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ho(ct(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},wL(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);Yo.controlFieldType=c.FieldTypes.TIMESTAMP,Yo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function CL(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 Ag(e,t){for(var r=0;r<t.length;r++){var 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&&Ag(e.prototype,t),r&&Ag(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function AL(e,t){return t&&(ML(t)==="object"||typeof t=="function")?t:CL(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var ML=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=DL();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 AL(this,o)}}var Mg=function(e){kL(r,e);var t=FL(r);function r(n){BL(this,r);var o;return o=t.call(this,n),o.props=new Hs(n==null?void 0:n.props),o}return jL(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Mg.controlFieldType=c.FieldTypes.TIMESTAMP;var Dg={Designer:Yo,Runtime:Mg,Property:Hs};function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function Lg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:LL(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xg(e){var t=GL();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 xL(this,o)}}var VL=function(e){Lg(r,e);var t=xg(r);function r(n){Fg(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}(B),Wo=function(e){Lg(r,e);var t=xg(r);function r(n){Fg(this,r);var o,i;o=t.call(this,n),o.dataBind=new Sp(n==null?void 0:n.dataBind),o.defaultValue=new Ep(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var y;o.placeholderEnd=(y=n==null?void 0:n.placeholderEnd)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Xo.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Or(b)}))!==null&&p!==void 0?p:[],o}return r}(E);Wo.RuntimeRules=VL;function HL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YL(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 qL(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function Ko(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(o,i,u){var f=KL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ko(e,t,r||e)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(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&&Ws(e,t)}function WL(e,t){return t&&(XL(t)==="object"||typeof t=="function")?t:HL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function KL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ft(e),e!==null););return e}var XL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QL();return function(){var n=ft(e),o;if(t){var i=ft(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var Xo=function(e){UL(r,e);var t=JL(r);function r(o){YL(this,r);var i;return i=t.call(this,o),i.props=new Wo(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ko(ft(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},qL(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(I);Xo.controlFieldType=c.FieldTypes.TIMESCOPE,Xo.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function ZL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t5(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function n5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:ZL(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var o5=function(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 u5(e){var t=i5();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 r5(this,o)}}var Vg=function(e){n5(r,e);var t=u5(r);function r(n){e5(this,r);var o;return o=t.call(this,n),o.props=new Wo(n==null?void 0:n.props),o}return t5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);Vg.controlFieldType=c.FieldTypes.TIMESCOPE;var Hg={Designer:Xo,Runtime:Vg,Property:Wo};function c5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xs(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 Qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function f5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:c5(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var a5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zs(e){var t=l5();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 f5(this,o)}}var s5=function(e){Qs(r,e);var t=Zs(r);function r(n){Xs(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),y5=function(e){Qs(r,e);var t=Zs(r);function r(n){Xs(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(B),en=function(e){Qs(r,e);var t=Zs(r);function r(n){Xs(this,r);var o;o=t.call(this,n);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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:tn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(E);en.Rules=s5,en.RuntimeRules=y5;function v5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _5(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function d5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function p5(e,t){return t&&(b5(t)==="object"||typeof t=="function")?t:v5(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var b5=function(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 g5(e){var t=O5();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 p5(this,o)}}var tn=function(e){d5(r,e);var t=g5(r);function r(n){h5(this,r);var o;return o=t.call(this,n),o.props=new en(n==null?void 0:n.props),o}return _5(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}(I);tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=c.FieldTypes.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 m5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R5(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&ty(e,t)}function $5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:m5(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var T5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();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 $5(this,o)}}var Ug=function(e){w5(r,e);var t=E5(r);function r(n){P5(this,r);var o;return o=t.call(this,n),o.props=new en(n==null?void 0:n.props),o}return R5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);Ug.controlFieldType=c.FieldTypes.TEXT;var Wg={Designer:tn,Runtime:Ug,Property:en};function I5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ny(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&oy(e,t)}function N5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:I5(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var C5=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 iy(e){var t=B5();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 N5(this,o)}}var j5=function(e){ry(r,e);var t=iy(r);function r(n){ny(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),k5=function(e){ry(r,e);var t=iy(r);function r(n){ny(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(B),nn=function(e){ry(r,e);var t=iy(r);function r(n){ny(this,r);var o;o=t.call(this,n);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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:rn.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(E);nn.Rules=j5,nn.RuntimeRules=k5;function A5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M5(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 D5(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function F5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L5(e,t){return t&&(x5(t)==="object"||typeof t=="function")?t:A5(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var x5=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 G5(e){var t=z5();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 L5(this,o)}}var rn=function(e){F5(r,e);var t=G5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),o.props=new nn(n==null?void 0:n.props),o}return D5(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}(I);rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=c.FieldTypes.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 V5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:V5(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var W5=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 X5(e){var t=K5();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 U5(this,o)}}var Qg=function(e){q5(r,e);var t=X5(r);function r(n){H5(this,r);var o;return o=t.call(this,n),o.props=new nn(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);Qg.controlFieldType=c.FieldTypes.TEXT;var Jg={Designer:rn,Runtime:Qg,Property:nn};function Q5(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 oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function em(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function J5(e,t){return t&&(Z5(t)==="object"||typeof t=="function")?t:Q5(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var Z5=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 tm(e){var t=e4();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 J5(this,o)}}var t4=function(e){em(r,e);var t=tm(r);function r(n){return Zg(this,r),t.call(this,n)}return r}(Ie),ii=function(e){em(r,e);var t=tm(r);function r(n){Zg(this,r);var o;o=t.call(this,n);var i;o.options=fe((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ci.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;return o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Q(v))})),o}return r}(E);ii.Rules=t4;function n4(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 nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o4(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:n4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a4(e){var t=f4();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 u4(this,o)}}var ci=function(e){i4(r,e);var t=a4(r);function r(n){r4(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return o4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(I);ci.controlFieldType=c.FieldTypes.VARCHAR,ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function l4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y4(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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&&ly(e,t)}function h4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:l4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var _4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=d4();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 h4(this,o)}}var om=function(e){v4(r,e);var t=p4(r);function r(n){s4(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return y4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);om.controlFieldType=c.FieldTypes.VARCHAR;var im={Designer:ci,Runtime:om,Property:ii};function b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function yy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:b4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var g4=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 hy(e){var t=m4();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 O4(this,o)}}var P4=function(e){yy(r,e);var t=hy(r);function r(n){return sy(this,r),t.call(this,n)}return r}(Ie),R4=function(e){yy(r,e);var t=hy(r);function r(n){sy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),on=function(e){yy(r,e);var t=hy(r);function r(n){sy(this,r);var o;o=t.call(this,n);var i;o.options=fe((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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:si.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;return o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Q(y))})),o}return r}(E);on.Rules=P4,on.RuntimeRules=R4;function w4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T4(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&_y(e,t)}function E4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:w4(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var I4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=N4();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 E4(this,o)}}var si=function(e){S4(r,e);var t=C4(r);function r(n){$4(this,r);var o;return o=t.call(this,n),o.props=new on(n==null?void 0:n.props),o}return T4(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}(I);si.controlFieldType=c.FieldTypes.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function B4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j4(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 k4(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&dy(e,t)}function M4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:B4(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var D4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=F4();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 M4(this,o)}}var fm=function(e){A4(r,e);var t=L4(r);function r(n){j4(this,r);var o;return o=t.call(this,n),o.props=new on(n==null?void 0:n.props),o}return k4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);fm.controlFieldType=c.FieldTypes.ARRAY;var am={Designer:si,Runtime:fm,Property:on};function x4(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 vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function sm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function z4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:x4(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var G4=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 ym(e){var t=V4();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 z4(this,o)}}var H4=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),hi=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o;o=t.call(this,n);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 f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:di.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Q(p))})),o}return r}(E);hi.RuntimeRules=H4;function Y4(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 vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U4(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&by(e,t)}function K4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:Y4(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var X4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J4(e){var t=Q4();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 K4(this,o)}}var di=function(e){W4(r,e);var t=J4(r);function r(n){q4(this,r);var o;return o=t.call(this,n),o.props=new hi(n==null?void 0:n.props),o}return U4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);di.controlFieldType=c.FieldTypes.EMPLOYEES,di.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 Z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t6(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Z4(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var o6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();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 r6(this,o)}}var _m=function(e){n6(r,e);var t=u6(r);function r(n){e6(this,r);var o;return o=t.call(this,n),o.props=new hi(n==null?void 0:n.props),o}return t6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);_m.controlFieldType=c.FieldTypes.EMPLOYEES;var dm={Designer:di,Runtime:_m,Property:hi};function c6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function my(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function f6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:c6(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var a6=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 Ry(e){var t=l6();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 f6(this,o)}}var s6=10485760,y6=104857600,v6=1048576e3,h6=function(e){my(r,e);var t=Ry(r);function r(n){gy(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:v6,message:h.getMessage("attachmentMaxSize")},o}return r}(U),_6=function(e){my(r,e);var t=Ry(r);function r(n){gy(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:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(B),at=function(e){my(r,e);var t=Ry(r);function r(n){gy(this,r);var o;o=t.call(this,n);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 f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var s;o.maxSize=(s=n==null?void 0:n.maxSize)!==null&&s!==void 0?s:y6;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:lt.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(E);at.Rules=h6,at.RuntimeRules=_6;function d6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p6(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 b6(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:d6(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var m6=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 R6(e){var t=P6();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 g6(this,o)}}var lt=function(e){O6(r,e);var t=R6(r);function r(n){p6(this,r);var o;return o=t.call(this,n),o.props=new at(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);lt.controlEventKeys=["on_change"],lt.controlFieldType=c.FieldTypes.FILE,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 w6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T6(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function S6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E6(e,t){return t&&(I6(t)==="object"||typeof t=="function")?t:w6(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var I6=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 C6(e){var t=N6();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 E6(this,o)}}var Ty=function(e){S6(r,e);var t=C6(r);function r(n){$6(this,r);var o;return o=t.call(this,n),o.props=new at(n==null?void 0:n.props),o}return T6(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ty.controlFieldType=c.FieldTypes.FILE;var Om={Designer:lt,Runtime:Ty,Property:at};function B6(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 gm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k6(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(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&&Sy(e,t)}function M6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:B6(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var D6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L6(e){var t=F6();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 M6(this,o)}}var Ey=function(e){A6(r,e);var t=L6(r);function r(n){j6(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f: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 k6(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(lt);Ey.controlFieldType=c.FieldTypes.IMAGE,Ey.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];function x6(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 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 G6(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function V6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:x6(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var Y6=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 U6(e){var t=q6();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 H6(this,o)}}var W6=function(e){V6(r,e);var t=U6(r);function r(n){z6(this,r);var o,i,u,f;o=t.call(this,n),o.props.showType="image";var a;o.props.maxLimit=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&a!==void 0?a:9;var l;o.props.caption=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&l!==void 0?l:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return G6(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ty);function K6(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 Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function Q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function J6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:K6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var Z6=function(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=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J6(this,o)}}var n7=function(e){Q6(r,e);var t=t7(r);function r(n){return X6(this,r),t.call(this,n)}return r}(at),Pm={Designer:Ey,Runtime:W6,Property:n7};function r7(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 o7(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 By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function i7(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){o7(e,o,r[o])})}return e}function u7(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 c7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function f7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:r7(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var a7=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 ky(e){var t=l7();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 f7(this,o)}}var s7=function(e){By(r,e);var t=ky(r);function r(n){Cy(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}},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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o}return r}(Ie),y7=function(e){By(r,e);var t=ky(r);function r(n){Cy(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:[c7(i7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(B),un=function(e){By(r,e);var t=ky(r);function r(n){Cy(this,r);var o;o=t.call(this,n);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 f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"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 $p(n==null?void 0:n.dataBind);var s;o.datasourceBind=new z((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new kn({value:"name"})]});var y;o.defaultValue=new Tp((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=fe(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:cn.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var d;return o.showUpperCase=(d=n==null?void 0:n.showUpperCase)!==null&&d!==void 0?d:!1,o}return r}(E);un.Rules=s7,un.RuntimeRules=y7;function v7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var r=0;r<t.length;r++){var 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&&Rm(e.prototype,t),r&&Rm(e,r),e}function $i(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(o,i,u){var f=b7(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},$i(e,t,r||e)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function d7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:v7(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function b7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=st(e),e!==null););return e}var O7=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=st(e),o;if(t){var i=st(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p7(this,o)}}var cn=function(e){d7(r,e);var t=m7(r);function r(o){h7(this,r);var i;return i=t.call(this,o),i.props=new un(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=$i(st(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},_7(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=c.FieldTypes.MONEY,cn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 w7(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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&&My(e,t)}function T7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:P7(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var S7=function(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 I7(e){var t=E7();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 T7(this,o)}}var $m=function(e){$7(r,e);var t=I7(r);function r(n){R7(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return w7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);$m.controlFieldType=c.FieldTypes.MONEY;var Tm={Designer:cn,Runtime:$m,Property:un};function N7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(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&&Ly(e,t)}function C7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:N7(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var B7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=j7();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 C7(this,o)}}var k7=function(e){Fy(r,e);var t=xy(r);function r(n){Dy(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(U),A7=function(e){Fy(r,e);var t=xy(r);function r(n){Dy(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:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(B),fn=function(e){Fy(r,e);var t=xy(r);function r(n){Dy(this,r);var o,i;o=t.call(this,n);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:c.SCORE_TYPE.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 gr(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new gr});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:an.controlName,o}return r}(E);fn.Rules=k7,fn.RuntimeRules=A7;function zy(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 M7(e){if(Array.isArray(e))return zy(e)}function D7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L7(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function Ei(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(o,i,u){var f=H7(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ei(e,t,r||e)}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function x7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function G7(){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 V7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:D7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function H7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yt(e),e!==null););return e}function Y7(e){return M7(e)||z7(e)||U7(e)||G7()}var q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U7(e,t){if(!!e){if(typeof e=="string")return zy(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 zy(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=yt(e),o;if(t){var i=yt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var an=function(e){x7(r,e);var t=K7(r);function r(o){F7(this,r);var i;return i=t.call(this,o),i.props=new fn(o==null?void 0:o.props),i}var n=r.prototype;return n.postUpdate=function(i,u){if(i==="totalScore"){if(u===this.props.explain.length)return;if(this.props.explain.length>u)this.props.explain=this.props.explain.slice(0,u);else{var f,a=u-this.props.explain.length,l=Array(a).fill(void 0).map(function(){return new gr});(f=this.props.explain).push.apply(f,Y7(l))}}Ei(yt(r.prototype),"postUpdate",this).call(this,i,u)},L7(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(I);an.controlEventKeys=["on_change","on_click"],an.controlFieldType=c.FieldTypes.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 X7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 J7(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function Z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function e8(e,t){return t&&(t8(t)==="object"||typeof t=="function")?t:X7(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var t8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=n8();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 e8(this,o)}}var Im=function(e){Z7(r,e);var t=r8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),o.props=new fn(n==null?void 0:n.props),o}return J7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);Im.controlFieldType=c.FieldTypes.DECIMAL;var Nm={Designer:an,Runtime:Im,Property:fn};function o8(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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:o8(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var u8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jm(e){var t=c8();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 i8(this,o)}}var f8=function(e){Bm(r,e);var t=jm(r);function r(n){Cm(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:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(B),Ci=function(e){Bm(r,e);var t=jm(r);function r(n){Cm(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ji.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var a;o.defaultValue=new Ip((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}(E);Ci.RuntimeRules=f8;function a8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l8(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 s8(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v8(e,t){return t&&(h8(t)==="object"||typeof t=="function")?t:a8(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var h8=function(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 d8(e){var t=_8();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 v8(this,o)}}var ji=function(e){y8(r,e);var t=d8(r);function r(n){l8(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return s8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);ji.controlFieldType=c.FieldTypes.ADDRESS,ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];function p8(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 Am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O8(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:p8(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var P8=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 w8(e){var t=R8();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 m8(this,o)}}var Mm=function(e){g8(r,e);var t=w8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return O8(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}(N);Mm.controlFieldType=c.FieldTypes.ADDRESS;var Dm={Designer:ji,Runtime:Mm,Property:Ci};function $8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function Lm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function T8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:$8(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var S8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xm(e){var t=E8();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 T8(this,o)}}var I8=function(e){Lm(r,e);var t=xm(r);function r(n){Fm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),Mi=function(e){Lm(r,e);var t=xm(r);function r(n){Fm(this,r);var o;o=t.call(this,n);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 f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Fi.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(E);Mi.RuntimeRules=I8;function N8(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 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 B8(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function Di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(o,i,u){var f=A8(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Di(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function j8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function k8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:N8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function A8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}var M8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F8(e){var t=D8();return function(){var n=vt(e),o;if(t){var i=vt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k8(this,o)}}var Fi=function(e){j8(r,e);var t=F8(r);function r(o){C8(this,r);var i;return i=t.call(this,o),i.props=new Mi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Di(vt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},B8(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);Fi.controlFieldType=c.FieldTypes.DEPARTMENTS,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 L8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z8(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:L8(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var H8=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 q8(e){var t=Y8();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 V8(this,o)}}var Vm=function(e){G8(r,e);var t=q8(r);function r(n){x8(this,r);var o;return o=t.call(this,n),o.props=new Mi(n==null?void 0:n.props),o}return z8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);Vm.controlFieldType=c.FieldTypes.DEPARTMENTS;var Hm={Designer:Fi,Runtime:Vm,Property:Mi};function U8(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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:U8(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var Q8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z8(e){var t=J8();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 X8(this,o)}}var Qy=function(e){K8(r,e);var t=Z8(r);function r(n){W8(this,r);var o;o=t.call(this,n);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:ln.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(E);function ex(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 Ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nx(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ox(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:ex(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var ix=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ux();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 ox(this,o)}}var ln=function(e){rx(r,e);var t=cx(r);function r(n){tx(this,r);var o;return o=t.call(this,n),o.props=new Qy(n==null?void 0:n.props),o}return nx(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}(I);ln.controlEventKeys=["on_change"],ln.controlFieldType=c.FieldTypes.AUTO_NUMBER,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function fx(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 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 lx(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(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&&Zy(e,t)}function yx(e,t){return t&&(vx(t)==="object"||typeof t=="function")?t:fx(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var vx=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 _x(e){var t=hx();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 yx(this,o)}}var Um=function(e){sx(r,e);var t=_x(r);function r(n){ax(this,r);var o;return o=t.call(this,n),o.props=new Qy(n==null?void 0:n.props),o}return lx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);Um.controlFieldType=c.FieldTypes.AUTO_NUMBER;var Wm={Designer:ln,Runtime:Um,Property:Qy};function dx(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&nv(e,t)}function px(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:dx(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var bx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rv(e){var t=Ox();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 px(this,o)}}var gx=function(e){tv(r,e);var t=rv(r);function r(n){ev(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}(U),mx=function(e){tv(r,e);var t=rv(r);function r(n){ev(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(B),sn=function(e){tv(r,e);var t=rv(r);function r(n){ev(this,r);var o;o=t.call(this,n);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 f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new Np(n==null?void 0:n.dataBind),o.defaultValue=new Cp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:yn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(E);sn.Rules=gx,sn.RuntimeRules=mx;function Px(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 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 wx(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Hi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hi=Reflect.get:Hi=function(o,i,u){var f=Sx(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Hi(e,t,r||e)}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(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&&ov(e,t)}function Tx(e,t){return t&&(Ex(t)==="object"||typeof t=="function")?t:Px(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function Sx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}var Ex=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 Nx(e){var t=Ix();return function(){var n=ht(e),o;if(t){var i=ht(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tx(this,o)}}var yn=function(e){$x(r,e);var t=Nx(r);function r(o){Rx(this,r);var i;return i=t.call(this,o),i.props=new sn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Hi(ht(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},wx(r,null,[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(I);yn.controlEventKeys=["on_change"],yn.controlFieldType=c.FieldTypes.CALC,yn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];function Cx(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 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 jx(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function kx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function Ax(e,t){return t&&(Mx(t)==="object"||typeof t=="function")?t:Cx(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}var Mx=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 Fx(e){var t=Dx();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 Ax(this,o)}}var Qm=function(e){kx(r,e);var t=Fx(r);function r(n){Bx(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return jx(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);Qm.controlFieldType=c.FieldTypes.CALC;var Jm={Designer:yn,Runtime:Qm,Property:sn};function Lx(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 qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:Lx(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var zx=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 t0(e){var t=Gx();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 xx(this,o)}}var Vx=function(e){e0(r,e);var t=t0(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,f){if(n.required){var a=f.every(function(l){return!l});return a?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(B),Ui=function(e){e0(r,e);var t=t0(r);function r(n){Zm(this,r);var o;o=t.call(this,n);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 f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";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 s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ki.controlName,o}return r}(E);Ui.RuntimeRules=Vx;function Hx(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 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 qx(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Hx(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var Kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qx(e){var t=Xx();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 Wx(this,o)}}var Ki=function(e){Ux(r,e);var t=Qx(r);function r(n){Yx(this,r);var o;return o=t.call(this,n),o.props=new Ui(n==null?void 0:n.props),o}return qx(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}(I);Ki.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function Jx(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 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 e9(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&fv(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:Jx(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(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=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n9(this,o)}}var o0=function(e){t9(r,e);var t=i9(r);function r(n){Zx(this,r);var o;return o=t.call(this,n),o.props=new Ui(n==null?void 0:n.props),o}return e9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);o0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var i0={Designer:Ki,Runtime:o0,Property:Ui};function u9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function c0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function c9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:u9(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var f9=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 f0(e){var t=a9();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 c9(this,o)}}var l9=function(e){c0(r,e);var t=f0(r);function r(n){u0(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}(B),Ji=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o,i;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u5F00\u59CB\u65E5\u671F";var v;o.placeholderEnd=(v=n==null?void 0:n.placeholderEnd)!==null&&v!==void 0?v:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:eu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new Or(d)}))!==null&&b!==void 0?b:[],o}return r}(E);Ji.RuntimeRules=l9;function s9(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 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 v9(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&lv(e,t)}function _9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:s9(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var d9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b9(e){var t=p9();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 _9(this,o)}}var eu=function(e){h9(r,e);var t=b9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),o.props=new Ji(n==null?void 0:n.props),o}return v9(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}(I);eu.controlFieldType=c.FieldTypes.ARRAY,eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function O9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m9(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(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&&sv(e,t)}function R9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:O9(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var w9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$9();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 R9(this,o)}}var s0=function(e){P9(r,e);var t=T9(r);function r(n){g9(this,r);var o;return o=t.call(this,n),o.props=new Ji(n==null?void 0:n.props),o}return m9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);s0.controlFieldType=c.FieldTypes.ARRAY;var y0={Designer:eu,Runtime:s0,Property:Ji};function S9(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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(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 E9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:S9(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var I9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=N9();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 E9(this,o)}}var C9=function(e){vv(r,e);var t=_v(r);function r(n){yv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(U),B9=function(e){vv(r,e);var t=_v(r);function r(n){yv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(B),vn=function(e){vv(r,e);var t=_v(r);function r(n){yv(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";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}(E);vn.Rules=C9,vn.RuntimeRules=B9;function j9(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 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 A9(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function M9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:j9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var F9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x9(e){var t=L9();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 D9(this,o)}}var hn=function(e){M9(r,e);var t=x9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return A9(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}(I);hn.controlFieldType=c.FieldTypes.ANY,hn.controlEventKeys=[],hn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];function z9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V9(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&pv(e,t)}function Y9(e,t){return t&&(q9(t)==="object"||typeof t=="function")?t:z9(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var q9=function(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 W9(e){var t=U9();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 Y9(this,o)}}var _0=function(e){H9(r,e);var t=W9(r);function r(n){G9(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return V9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);_0.controlFieldType=c.FieldTypes.ANY;var d0={Designer:hn,Runtime:_0,Property:vn};function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function b0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function X9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:K9(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}var Q9=function(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 O0(e){var t=J9();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 X9(this,o)}}var Z9=function(e){b0(r,e);var t=O0(r);function r(n){p0(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}],o}return r}(Ie),uu=function(e){b0(r,e);var t=O0(r);function r(n){p0(this,r);var o;o=t.call(this,n);var i;o.options=fe((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 fa(n==null?void 0:n.listPageBind),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:fu.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:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Q(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(E);uu.Rules=Z9;function ez(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 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 nz(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&Ov(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:ez(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oz(this,o)}}var fu=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return nz(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}(I);fu.controlFieldType=c.FieldTypes.VARCHAR,fu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];function fz(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 m0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&gv(e,t)}function yz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:fz(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var vz=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 _z(e){var t=hz();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 yz(this,o)}}var P0=function(e){sz(r,e);var t=_z(r);function r(n){az(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return lz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);P0.controlFieldType=c.FieldTypes.VARCHAR;var R0={Designer:fu,Runtime:P0,Property:uu};function dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function Oz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:dz(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pz(e){var t=mz();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 Oz(this,o)}}var Pv=function(e){bz(r,e);var t=Pz(r);function r(n){return pz(this,r),t.call(this,n)}return r}(ot);function Rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $z(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Rv(e,t)}function Sz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:Rz(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var Ez=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 Nz(e){var t=Iz();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 Sz(this,o)}}var $0=function(e){Tz(r,e);var t=Nz(r);function r(n){wz(this,r);var o;return o=t.call(this,n),o.props=new Pv(n==null?void 0:n.props),o}return $z(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(it);$0.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}];function Cz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jz(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Az(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:Cz(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var Mz=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 Fz(e){var t=Dz();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 Az(this,o)}}var S0=function(e){kz(r,e);var t=Fz(r);function r(n){Bz(this,r);var o;return o=t.call(this,n),o.props=new Pv(n==null?void 0:n.props),o}return jz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);S0.controlFieldType=c.FieldTypes.VARCHAR;var E0={Designer:$0,Runtime:S0,Property:Pv};function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Sv(e,t)}function Lz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:I0(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var xz=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 Ev(e){var t=zz();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 Lz(this,o)}}var Gz=function(e){Tv(r,e);var t=Ev(r);function r(n){$v(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],zn.call(I0(o),n,Ne.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(U),Vz=function(e){Tv(r,e);var t=Ev(r);function r(n){$v(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),_n=function(e){Tv(r,e);var t=Ev(r);function r(n){$v(this,r);var o,i;o=t.call(this,n),o.optionConfig="datasource";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ne.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\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 s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"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 p;o.defaultCollapse=(p=n==null?void 0:n.defaultCollapse)!==null&&p!==void 0?p:"all";var b;o.defaultCollapseLevel=(b=n==null?void 0:n.defaultCollapseLevel)!==null&&b!==void 0?b:1;var d;o.datasourceBind=new Pp((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Ne.controlCustomAttributes});var O;o.multistageFilling=(O=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(g){return new Q(g)}))!==null&&O!==void 0?O:[];var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o}return r}(E);_n.Rules=Gz,_n.RuntimeRules=Vz;function Hz(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 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 qz(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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&&Iv(e,t)}function Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:Hz(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var Kz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qz(e){var t=Xz();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 Wz(this,o)}}var Ne=function(e){Uz(r,e);var t=Qz(r);function r(n){Yz(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return qz(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}(I);Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=c.FieldTypes.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.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 Jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eG(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&Nv(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Jz(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(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=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nG(this,o)}}var B0=function(e){tG(r,e);var t=iG(r);function r(n){Zz(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return eG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);B0.controlFieldType=c.FieldTypes.ARRAY;var j0={Designer:Ne,Runtime:B0,Property:_n};function k0(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function Bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:k0(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var cG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kv(e){var t=fG();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 uG(this,o)}}var aG=function(e){Bv(r,e);var t=kv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.externalScope={type:"any"},zn.call(k0(o),n,_t.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(U),lG=function(e){Bv(r,e);var t=kv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),dn=function(e){Bv(r,e);var t=kv(r);function r(n){Cv(this,r);var o;o=t.call(this,n);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 f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_t.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 p;o.datasourceBind=new Ct((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:_t.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c.OrganizeType.INTERNAL;var d;o.insideType=(d=n==null?void 0:n.insideType)!==null&&d!==void 0?d:c.InternalType.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:c.AssignType.ALL;var _;return o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Q(g))})),o}return r}(E);dn.Rules=aG,dn.RuntimeRules=lG;function sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vG(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(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&&Av(e,t)}function _G(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:sG(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var dG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=pG();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 _G(this,o)}}var _t=function(e){hG(r,e);var t=bG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return vG(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}(I);_t.controlFieldType=c.FieldTypes.EMPLOYEES,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 OG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function RG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:OG(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}var wG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=$G();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 RG(this,o)}}var D0=function(e){PG(r,e);var t=TG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return mG(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);D0.controlFieldType=c.FieldTypes.EMPLOYEES;var F0={Designer:_t,Runtime:D0,Property:dn};function SG(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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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&&Dv(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:SG(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var IG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z0(e){var t=NG();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 EG(this,o)}}var CG=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),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,f){return i[f]={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,s,y){if(u.type==="public"&&Te(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,s,y){if(u.type==="public"&&u.signatureType.includes("company")&&Te(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(U),gu=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;o=t.call(this,n),o.command="",o.isLoading=!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"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 s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new Nb(n==null?void 0:n.signatureConfig),o}return r}(E);gu.Rules=CG;function BG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(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 kG(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&Fv(e,t)}function MG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:BG(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var DG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LG(e){var t=FG();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 MG(this,o)}}var pn=function(e){AG(r,e);var t=LG(r);function r(n){jG(this,r);var o;return o=t.call(this,n),o.props=new gu(n==null?void 0:n.props),o}return kG(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}(I);pn.controlEventKeys=["on_click","on_click_finish"],pn.controlFieldType=c.FieldTypes.VARCHAR,pn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 xG(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 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 GG(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function HG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:xG(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var YG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UG(e){var t=qG();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 HG(this,o)}}var H0=function(e){VG(r,e);var t=UG(r);function r(n){zG(this,r);var o;return o=t.call(this,n),o.props=new gu(n==null?void 0:n.props),o}return GG(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);H0.controlFieldType=c.FieldTypes.VARCHAR;var Y0={Designer:pn,Runtime:H0,Property:gu};function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:WG(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var XG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vv(e){var t=QG();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 KG(this,o)}}var JG=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(h.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(h.getMessage("pleaseEnterFileName"));return}a()}}}},o.canAdd={type:"boolean",validator:function(u,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(h.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(U),ZG=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),bn=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:On.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!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 s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!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 p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:s6;var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:[],o.wpsSetting=new Cb(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return r}(E);bn.Rules=JG,bn.RuntimeRules=ZG;function eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nV(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:eV(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var iV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=uV();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 oV(this,o)}}var On=function(e){rV(r,e);var t=cV(r);function r(n){tV(this,r);var o;return o=t.call(this,n),o.props=new bn(n==null?void 0:n.props),o}return nV(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(I);On.controlEventKeys=["on_change","on_wps_open"],On.controlFieldType=c.FieldTypes.FILE,On.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 fV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lV(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function sV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function yV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:fV(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var vV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _V(e){var t=hV();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var W0=function(e){sV(r,e);var t=_V(r);function r(n){aV(this,r);var o;return o=t.call(this,n),o.props=new bn(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);W0.controlFieldType=c.FieldTypes.FILE;var K0={Designer:On,Runtime:W0,Property:bn};function X0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function Uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function dV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:X0(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var pV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kv(e){var t=bV();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 dV(this,o)}}var OV=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.businessScope={type:"any"},zn.call(X0(o),n,pt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(U),gV=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),gn=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n);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 f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"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 s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:pt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var d;o.datasourceBind=new Ct((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:pt.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var g;return o.businessType=(g=n==null?void 0:n.businessType)!==null&&g!==void 0?g:c.AssignType.ALL,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Q(w))})),o}return r}(E);gn.Rules=OV,gn.RuntimeRules=gV;function mV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RV(e,t,r){return t&&Q0(e.prototype,t),r&&Q0(e,r),e}function Su(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Su=Reflect.get:Su=function(o,i,u){var f=TV(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Su(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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&&Xv(e,t)}function $V(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:mV(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function TV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var SV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IV(e){var t=EV();return function(){var n=dt(e),o;if(t){var i=dt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $V(this,o)}}var pt=function(e){wV(r,e);var t=IV(r);function r(o){PV(this,r);var i;return i=t.call(this,o),i.props=new gn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Su(dt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},RV(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{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}(I);pt.controlFieldType=c.FieldTypes.DEPARTMENTS,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 NV(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 J0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BV(e,t,r){return t&&J0(e.prototype,t),r&&J0(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function jV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function kV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:NV(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var AV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DV(e){var t=MV();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 kV(this,o)}}var Z0=function(e){jV(r,e);var t=DV(r);function r(n){CV(this,r);var o;return o=t.call(this,n),o.props=new gn(n==null?void 0:n.props),o}return BV(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);Z0.controlFieldType=c.FieldTypes.DEPARTMENTS;var eP={Designer:pt,Runtime:Z0,Property:gn},FV=Object.freeze({__proto__:null,Input:bg,Checkbox:Pg,Radio:Ig,Number:jg,DatePicker:Dg,DateRange:Hg,Textarea:Wg,RichText:Jg,Select:im,SelectMultiple:am,Employee:dm,Image:Pm,Attachment:Om,Amount:Tm,Score:Nm,Address:Dm,Department:Hm,AutoNumber:Wm,Calc:Jm,SearchNumberRange:i0,SearchDateRange:y0,VueFormItem:d0,SelectRelation:R0,SearchInput:E0,Tree:j0,Employee2:F0,ElectronicSignature:Y0,WPS:K0,Department2:eP});function LV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xV(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 zV(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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&&Jv(e,t)}function VV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:LV(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var HV=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 qV(e){var t=YV();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 VV(this,o)}}var nP=function(e){GV(r,e);var t=qV(r);function r(n){return xV(this,r),t.call(this,n)}return zV(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(M);nP.excludes=[c.CONTROL_TYPE.GRID];function UV(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 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 KV(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function XV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:UV(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var JV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eH(e){var t=ZV();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 QV(this,o)}}var tH=function(e){XV(r,e);var t=eH(r);function r(n){return WV(this,r),t.call(this,n)}return KV(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(x),oP={Designer:nP,Runtime:tH,Property:k};function nH(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&eh(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:nH(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var uH=function(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 fH(e){var t=cH();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 iH(this,o)}}var aH=24,Ce=function(e){oH(r,e);var t=fH(r);function r(n){rH(this,r);var o;o=t.call(this,n);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:aH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(k);function lH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yH(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function vH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function hH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:lH(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var _H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dH();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 hH(this,o)}}var mn=function(e){vH(r,e);var t=pH(r);function r(n){sH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.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}(M);mn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],mn.childrenMaxLength=1;function bH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gH(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&nh(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:bH(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var RH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $H(e){var t=wH();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 PH(this,o)}}var rh=function(e){mH(r,e);var t=$H(r);function r(n){OH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return gH(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(x),ku={Designer:mn,Runtime:rh,Property:Ce};function TH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&oh(e,t)}function IH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:TH(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var NH=function(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 BH(e){var t=CH();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 IH(this,o)}}var Mu=function(e){EH(r,e);var t=BH(r);function r(n){SH(this,r);var o;o=t.call(this,n);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}(k);function jH(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 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 AH(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&ih(e,t)}function DH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:jH(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xH(e){var t=LH();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 DH(this,o)}}var Fu=function(e){MH(r,e);var t=xH(r);function r(n){kH(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return AH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(M);Fu.excludes=[c.CONTROL_TYPE.ROW],Fu.setting=[{key:"col-setting",visible:!0}];function zH(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 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 VH(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&uh(e,t)}function YH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:zH(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var qH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WH(e){var t=UH();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 YH(this,o)}}var aP=function(e){HH(r,e);var t=WH(r);function r(n){GH(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return VH(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(x),lP={Designer:Fu,Runtime:aP,Property:Mu};function KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QH(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&ch(e,t)}function ZH(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:KH(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(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=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var rY=4,zu=function(e){JH(r,e);var t=nY(r);function r(n){return XH(this,r),t.call(this,n)}return QH(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}(Fu);zu.excludes=[c.CONTROL_TYPE.GRID_ROW],zu.setting=[],zu.childrenMaxLength=rY;function oY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uY(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&fh(e,t)}function fY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:oY(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var aY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sY(e){var t=lY();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 fY(this,o)}}var yY=function(e){cY(r,e);var t=sY(r);function r(n){return iY(this,r),t.call(this,n)}return uY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(aP);function vY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&ah(e,t)}function dY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:vY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var pY=function(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 OY(e){var t=bY();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 dY(this,o)}}var gY=function(e){_Y(r,e);var t=OY(r);function r(n){return hY(this,r),t.call(this,n)}return r}(Mu),lh={Designer:zu,Runtime:yY,Property:gY};function mY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function hP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PY(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:mY(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var RY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wY();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 PY(this,o)}}var $Y=function(e){hP(r,e);var t=_P(r);function r(){vP(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},n}return r}(k.Rules),Yu=function(e){hP(r,e);var t=_P(r);function r(n){vP(this,r);var o;o=t.call(this,n);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}(k);Yu.Rules=$Y;function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EY(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&yh(e,t)}function NY(e,t){return t&&(CY(t)==="object"||typeof t=="function")?t:TY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var CY=function(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 jY(e){var t=BY();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 NY(this,o)}}var vh=function(e){IY(r,e);var t=jY(r);function r(n){SY(this,r);var o;return o=t.call(this,n),o.props=new Yu(n==null?void 0:n.props),o}return EY(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(M);vh.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],vh.excludes=[c.CONTROL_TYPE.CARD_GROUP];function kY(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 pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MY(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&hh(e,t)}function FY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:kY(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var LY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zY(e){var t=xY();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 FY(this,o)}}var GY=function(e){DY(r,e);var t=zY(r);function r(n){AY(this,r);var o;return o=t.call(this,n),o.props=new Yu(n==null?void 0:n.props),o}return MY(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(x),bP={Designer:vh,Runtime:GY,Property:Yu};function VY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&_h(e,t)}function HY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:VY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var YY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=qY();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 HY(this,o)}}var UY=function(e){gP(r,e);var t=mP(r);function r(n){OP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},o.width.required=n.widthType==="px",n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),Ku=function(e){gP(r,e);var t=mP(r);function r(n){OP(this,r);var o;o=t.call(this,n);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240,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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!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 s;return o.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,o}return r}(k);Ku.Rules=UY;function WY(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 Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&dh(e,t)}function QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:WY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var JY=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 eq(e){var t=ZY();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 QY(this,o)}}var ie=function(e){XY(r,e);var t=eq(r);function r(n){KY(this,r);var o;return o=t.call(this,n),o.props=new Ku(n==null?void 0:n.props),o}return r}(M);ie.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ie.controlType="subtable-column",ie.controlIcon="subtable-column",ie.childrenMaxLength=1,ie.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],ie.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];function tq(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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(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&&ph(e,t)}function oq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:tq(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(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=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oq(this,o)}}var PP=function(e){rq(r,e);var t=cq(r);function r(n){nq(this,r);var o;return o=t.call(this,n),o.props=new Ku(n==null?void 0:n.props),o}return r}(x);PP.controlType="subtable-column";var bh={Designer:ie,Runtime:PP,Property:Ku};function fq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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&&Oh(e,t)}function sq(e,t){return t&&(yq(t)==="object"||typeof t=="function")?t:fq(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var yq=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 hq(e){var t=vq();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 sq(this,o)}}var gh=function(e){lq(r,e);var t=hq(r);function r(n){return aq(this,r),t.call(this,n)}return r}(k);function _q(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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&mh(e,t)}function bq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:_q(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var Oq=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=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bq(this,o)}}var Be=function(e){pq(r,e);var t=mq(r);function r(n){dq(this,r);var o;return o=t.call(this,n),o.props=new gh(n==null?void 0:n.props),o}return r}(M);Be.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Be.controlType="subtable-row",Be.controlIcon="subtable-row",Be.childrenMaxLength=1,Be.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],Be.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function Pq(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 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 wq(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&Ph(e,t)}function Tq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:Pq(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var Sq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iq(e){var t=Eq();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 Tq(this,o)}}var Nq=function(e){$q(r,e);var t=Iq(r);function r(n){Rq(this,r);var o;return o=t.call(this,n),o.props=new gh(n==null?void 0:n.props),o}return wq(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(x),wP={Designer:Be,Runtime:Nq,Property:gh};function Cq(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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function jq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:Cq(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var Aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dq(e){var t=Mq();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 kq(this,o)}}var wh=function(e){jq(r,e);var t=Dq(r);function r(n){Bq(this,r);var o;o=t.call(this,n);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 f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!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:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new z(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 p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:c.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return r}(k);function Fq(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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function xq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zq(e,t){return t&&(Gq(t)==="object"||typeof t=="function")?t:Fq(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var Gq=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 Hq(e){var t=Vq();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 zq(this,o)}}var je=function(e){xq(r,e);var t=Hq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),o.props=new wh(n==null?void 0:n.props),o}return r}(M);je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],je.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];function Yq(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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&Th(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:Yq(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var Kq=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 Qq(e){var t=Xq();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 Wq(this,o)}}var $P=function(e){Uq(r,e);var t=Qq(r);function r(n){qq(this,r);var o;return o=t.call(this,n),o.props=new wh(n==null?void 0:n.props),o}return r}(x);$P.controlType="gridtable-column";var TP={Designer:je,Runtime:$P,Property:wh};function Jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Jq(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var nU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();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 tU(this,o)}}var Eh=function(e){eU(r,e);var t=oU(r);function r(n){return Zq(this,r),t.call(this,n)}return r}(k);function iU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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&&Ih(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:iU(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var cU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IP(e){var t=fU();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 uU(this,o)}}var aU=function(e){EP(r,e);var t=IP(r);function r(n){SP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o}return r}(F),uc=function(e){EP(r,e);var t=IP(r);function r(n){SP(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:lc.controlName,o}return r}(k);uc.Rules=aU;function lU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sU(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 yU(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function hU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:lU(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}var _U=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 pU(e){var t=dU();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 hU(this,o)}}var Pn=function(e){vU(r,e);var t=pU(r);function r(n){sU(this,r);var o;return o=t.call(this,n),o.props=new uc(n==null?void 0:n.props),o}return yU(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}(M);Pn.excludes=[c.CONTROL_TYPE.TAB],Pn.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function bU(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 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 gU(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(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&&Ch(e,t)}function PU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:bU(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var RU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();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 PU(this,o)}}var TU=function(e){mU(r,e);var t=$U(r);function r(n){OU(this,r);var o;return o=t.call(this,n),o.props=new uc(n==null?void 0:n.props),o}return gU(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(x),BP={Designer:Pn,Runtime:TU,Property:uc};function SU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IU(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(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&&Bh(e,t)}function CU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:SU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var BU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kU(e){var t=jU();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 CU(this,o)}}var lc=function(e){NU(r,e);var t=kU(r);function r(n){EU(this,r);var o;o=t.call(this,n),o.props=new Eh(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Pn,new Pn],o}return IU(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(M);lc.excludes=[c.CONTROL_TYPE.TAB],lc.setting=[{key:"super-setting",visible:!0}];function AU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DU(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&jh(e,t)}function LU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:AU(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var xU=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 GU(e){var t=zU();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 LU(this,o)}}var VU=function(e){FU(r,e);var t=GU(r);function r(n){MU(this,r);var o;return o=t.call(this,n),o.props=new Eh(n==null?void 0:n.props),o}return DU(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(x),AP={Designer:lc,Runtime:VU,Property:Eh};function HU(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 yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function qU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function UU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:HU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var WU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=KU();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 UU(this,o)}}var MP=function(e){qU(r,e);var t=XU(r);function r(n){return YU(this,r),t.call(this,n)}return r}(k);function QU(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 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 ZU(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(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&&Ah(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:QU(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(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=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tW(this,o)}}var FP=function(e){eW(r,e);var t=oW(r);function r(n){JU(this,r);var o;return o=t.call(this,n),o.props=new MP({}),o.children=(n==null?void 0:n.children)||[new mn({props:new Ce({span:12})}),new mn({props:new Ce({span:12})})],o}return ZU(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(M);FP.excludes=[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX];function iW(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 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 cW(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(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&&Mh(e,t)}function aW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:iW(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var lW=function(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 yW(e){var t=sW();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 aW(this,o)}}var vW=function(e){fW(r,e);var t=yW(r);function r(n){uW(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new rh({props:new Ce({span:12})}),new rh({props:new Ce({span:12})})],o}return cW(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(x),xP={Designer:FP,Runtime:vW,Property:MP};function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function Fh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function hW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:zP(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var _W=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 xh(e){var t=dW();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 hW(this,o)}}var dc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(dc||(dc={}));var pW=function(e){Fh(r,e);var t=xh(r);function r(n){Dh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),bW=function(e){Fh(r,e);var t=xh(r);function r(n){Dh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===dc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),xn.call(zP(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}(F),Rn=function(e){Fh(r,e);var t=xh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:dc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new pp(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var s;o.showFullScreen=(s=n==null?void 0:n.showFullScreen)!==null&&s!==void 0?s:!1;var y;o.isFixedHeader=(y=n==null?void 0:n.isFixedHeader)!==null&&y!==void 0?y:!1;var v;return o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o}return r}(k);Rn.Rules=bW,Rn.RuntimeRules=pW;function OW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mW(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function PW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:OW(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var wW=function(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 TW(e){var t=$W();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 RW(this,o)}}var bc=function(e){PW(r,e);var t=TW(r);function r(n){gW(this,r);var o;return o=t.call(this,n),o.props=new Rn(n==null?void 0:n.props),o}return mW(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}(M);bc.excludes=[c.CONTROL_TYPE.ROW],bc.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"],bc.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function SW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(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 IW(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function NW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:SW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var BW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jW();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 CW(this,o)}}var AW=function(e){NW(r,e);var t=kW(r);function r(n){EW(this,r);var o;return o=t.call(this,n),o.props=new Rn(n==null?void 0:n.props),o}return IW(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(x),Vh={Designer:bc,Runtime:AW,Property:Rn};function MW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function YP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function DW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:MW(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var FW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qP(e){var t=LW();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 DW(this,o)}}var xW=function(e){YP(r,e);var t=qP(r);function r(n){HP(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),mc=function(e){YP(r,e);var t=qP(r);function r(n){HP(this,r);var o;o=t.call(this,n);var i;o.save=new ae((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new ae((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new ae((f=n==null?void 0:n.saveAs)!==null&&f!==void 0?f:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new ae((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 ae(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new z(n==null?void 0:n.datasourceBind),o}return r}(k);mc.RuntimeRules=xW;function zW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VW(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function HW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function YW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:zW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var qW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=UW();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 YW(this,o)}}var WP=function(e){HW(r,e);var t=WW(r);function r(n){GW(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return VW(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(M);WP.excludes=[];function KW(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 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 QW(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function JW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function ZW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:KW(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var eK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nK(e){var t=tK();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZW(this,o)}}var rK=function(e){JW(r,e);var t=nK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return QW(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(x),Uh={Designer:WP,Runtime:rK,Property:mc};function oK(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 XP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uK(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function fK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:oK(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var aK=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 sK(e){var t=lK();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 fK(this,o)}}var yK=function(e){cK(r,e);var t=sK(r);function r(n){return iK(this,r),t.call(this,n)}return uK(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(M);function vK(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 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 _K(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&Kh(e,t)}function pK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:vK(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var bK=function(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 gK(e){var t=OK();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 pK(this,o)}}var mK=function(e){dK(r,e);var t=gK(r);function r(n){return hK(this,r),t.call(this,n)}return _K(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(x);function PK(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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function wK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function $K(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:PK(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EK(e){var t=SK();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var IK=function(e){wK(r,e);var t=EK(r);function r(n){RK(this,r);var o;o=t.call(this,n),o.background="#fff",o.minWidth="",o.maxWidth="",o.heightConfig="auto";var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(k),JP={Designer:yK,Runtime:mK,Property:IK};function NK(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 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 BK(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function jK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function kK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:NK(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var AK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=MK();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 kK(this,o)}}var FK=function(e){jK(r,e);var t=DK(r);function r(n){return CK(this,r),t.call(this,n)}return BK(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(M);function LK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zK(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&Jh(e,t)}function VK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:LK(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var HK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=YK();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 VK(this,o)}}var UK=function(e){GK(r,e);var t=qK(r);function r(n){return xK(this,r),t.call(this,n)}return zK(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(x);function WK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&Zh(e,t)}function QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:WK(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var JK=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 eX(e){var t=ZK();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 QK(this,o)}}var tX=function(e){XK(r,e);var t=eX(r);function r(n){KK(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new kb(n==null?void 0:n.flexConfig),o}return r}(k),tR={Designer:FK,Runtime:UK,Property:tX};function nX(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 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 oX(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:nX(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var cX=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 aX(e){var t=fX();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 uX(this,o)}}var lX=function(e){iX(r,e);var t=aX(r);function r(n){return rX(this,r),t.call(this,n)}return oX(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(M);function sX(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 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 vX(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function _X(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:sX(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var dX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pX();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 _X(this,o)}}var OX=function(e){hX(r,e);var t=bX(r);function r(n){return yX(this,r),t.call(this,n)}return vX(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(x);function gX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function PX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:gX(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var wX=function(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 TX(e){var t=$X();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 RX(this,o)}}var SX=function(e){PX(r,e);var t=TX(r);function r(n){return mX(this,r),t.call(this,n)}return r}(k),oR={Designer:lX,Runtime:OX,Property:SX};function EX(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 iR(e,t){for(var r=0;r<t.length;r++){var 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&&iR(e.prototype,t),r&&iR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&r_(e,t)}function BX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:EX(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var jX=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 AX(e){var t=kX();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 BX(this,o)}}var MX=function(e){CX(r,e);var t=AX(r);function r(n){return IX(this,r),t.call(this,n)}return NX(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(M);function DX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FX(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 LX(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&o_(e,t)}function zX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:DX(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var GX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HX(e){var t=VX();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 zX(this,o)}}var YX=function(e){xX(r,e);var t=HX(r);function r(n){return FX(this,r),t.call(this,n)}return LX(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(x);function qX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&i_(e,t)}function KX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:qX(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var XX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=QX();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 KX(this,o)}}var ZX=function(e){WX(r,e);var t=JX(r);function r(n){UX(this,r);var o;o=t.call(this,n);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(k),cR={Designer:MX,Runtime:YX,Property:ZX},eQ=Object.freeze({__proto__:null,Grid:oP,Col:ku,Row:lP,GridRow:lh,CardGroup:bP,SubTableColumn:bh,SubTableRow:wP,GridTableColumn:TP,Tab:AP,TabPane:BP,Toolbox:xP,ListView:Vh,DataView:Uh,Page:JP,AdvancedContainer:tR,PositioningContainer:oR,Position:cR});function tQ(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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function c_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function nQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:tQ(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var rQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a_(e){var t=oQ();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 nQ(this,o)}}var iQ=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:h.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),uQ=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,f,a){f.length<n.limitRows&&a(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(de),wn=function(e){c_(r,e);var t=a_(r);function r(n,o){u_(this,r);var i;i=t.call(this,n,o);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Fc.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!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 s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"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 p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:Bb;var b;i.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var d;i.limitRows=(d=o==null?void 0:o.limitRows)!==null&&d!==void 0?d:1;var O;i.defaultRows=(O=o==null?void 0:o.defaultRows)!==null&&O!==void 0?O:1,i.datasourceBind=new z(o==null?void 0:o.datasourceBind);var _;i.canAdd=(_=o==null?void 0:o.canAdd)!==null&&_!==void 0?_:!0;var g;i.canDelete=(g=o==null?void 0:o.canDelete)!==null&&g!==void 0?g:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var m;i.canEdit=(m=o==null?void 0:o.canEdit)!==null&&m!==void 0?m:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var P;i.canExport=(P=o==null?void 0:o.canExport)!==null&&P!==void 0?P:!1;var S;i.canClear=(S=o==null?void 0:o.canClear)!==null&&S!==void 0?S:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var se;i.isShowCaptionTip=(se=o==null?void 0:o.isShowCaptionTip)!==null&&se!==void 0?se:!1;var re;return i.captionTip=(re=o==null?void 0:o.captionTip)!==null&&re!==void 0?re:"",i}return r}(Mt);wn.Rules=iQ,wn.RuntimeRules=uQ;function fR(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 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 fQ(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&l_(e,t)}function lQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:fR(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(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 vQ(e){var t=yQ();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 lQ(this,o)}}var Fc=function(e){aQ(r,e);var t=vQ(r);function r(o){cQ(this,r);var i,u;return i=t.call(this,o),i.props=new wn(fR(i),o==null?void 0:o.props),(o==null||(u=o.props)===null||u===void 0?void 0:u.headers)===void 0&&(i.props.headers=[new ie,new ie,new ie]),i}var n=r.prototype;return n.addColumn=function(i,u){var f=i!==void 0&&typeof i!="number"?i:new ie,a=typeof i=="number"?i:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f},fQ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Qn);Fc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Fc.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(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 _Q(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(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&&s_(e,t)}function pQ(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:lR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var bQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gQ(e){var t=OQ();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 pQ(this,o)}}var mQ=function(e){dQ(r,e);var t=gQ(r);function r(o){hQ(this,r);var i;return i=t.call(this,o),i.props=new wn(lR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){_e("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},_Q(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(xa),yR={Designer:Fc,Runtime:mQ,Property:wn};function PQ(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&y_(e,t)}function $Q(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:PQ(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var TQ=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=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Q(this,o)}}var v_=function(e){wQ(r,e);var t=EQ(r);function r(n,o){RQ(this,r);var i;i=t.call(this,n,o);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 f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!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}(Mt);function IQ(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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function hR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NQ(e,t){return t&&(CQ(t)==="object"||typeof t=="function")?t:IQ(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var CQ=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 _R(e){var t=BQ();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 NQ(this,o)}}var jQ=function(e){hR(r,e);var t=_R(r);function r(n){vR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(er),Gc=function(e){hR(r,e);var t=_R(r);function r(n){vR(this,r);var o;o=t.call(this,n);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"left";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ke.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:50;var a;return o.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"px",o}return r}(D);Gc.Rules=jQ;function kQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&__(e,t)}function DQ(e,t){return t&&(FQ(t)==="object"||typeof t=="function")?t:kQ(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var FQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xQ(e){var t=LQ();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DQ(this,o)}}var ke=function(e){MQ(r,e);var t=xQ(r);function r(n){AQ(this,r);var o;return o=t.call(this,n),o.props=new Gc(n==null?void 0:n.props),o}return r}(H);ke.controlType="order-column",ke.controlName="\u5E8F\u53F7",ke.controlIcon="order-column",ke.setting=[{key:"column-fixed",visible:!0}];function zQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function VQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function HQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:zQ(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var YQ=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 UQ(e){var t=qQ();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 HQ(this,o)}}var p_=function(e){VQ(r,e);var t=UQ(r);function r(n){GQ(this,r);var o;return o=t.call(this,n),o.props=new Gc(n==null?void 0:n.props),o}return r}(Y);p_.controlType="order-column",p_.controlFieldType=c.FieldTypes.DECIMAL;var dR={Designer:ke,Runtime:p_,Property:Gc};function WQ(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function XQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:WQ(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(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 eJ(e){var t=ZQ();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 QQ(this,o)}}var O_=function(e){XQ(r,e);var t=eJ(r);function r(n){KQ(this,r);var o;o=t.call(this,n);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right";var u;o.buttons=((u=n==null?void 0:n.buttons)!==null&&u!==void 0?u:[]).map(function(l){return new ae(l)});var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ae.controlName,o.showType=n==null?void 0:n.showType;var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return r}(D);function tJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var f=iJ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},qc(e,t,r||e)}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:tJ(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function iJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bt(e),e!==null););return e}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 fJ(e){var t=cJ();return function(){var n=bt(e),o;if(t){var i=bt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var Ae=function(e){rJ(r,e);var t=fJ(r);function r(o){nJ(this,r);var i;return i=t.call(this,o),i.props=new O_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(){var i=qc(bt(r.prototype),"toDataBindModel",this).call(this);return this.props.buttons.map(function(u){i.props[u.type]=u}),i},r}(H);Ae.controlType="operation-column",Ae.controlName="\u64CD\u4F5C",Ae.controlIcon="operation-column",Ae.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.COMMON_SETTING_TYPE.CAN_CHECK,c.COMMON_SETTING_TYPE.CAN_EDIT,c.COMMON_SETTING_TYPE.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];function aJ(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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&m_(e,t)}function yJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:aJ(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var vJ=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 _J(e){var t=hJ();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 yJ(this,o)}}var P_=function(e){sJ(r,e);var t=_J(r);function r(n){lJ(this,r);var o;return o=t.call(this,n),o.props=new O_(n==null?void 0:n.props),o}return r}(Y);P_.controlType="operation-column",P_.controlFieldType=c.FieldTypes.FILE;var pR={Designer:Ae,Runtime:P_,Property:O_};function R_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bR(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function dJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){bR(i,n,o,u,f,"next",a)}function f(a){bR(i,n,o,u,f,"throw",a)}u(void 0)})}}function pJ(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 bJ(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function OJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $n(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$n=Reflect.get:$n=function(o,i,u){var f=$J(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},$n(e,t,r||e)}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(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&&w_(e,t)}function mJ(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){OJ(e,o,r[o])})}return e}function PJ(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 RJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):PJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function wJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:R_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function $J(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Me(e),e!==null););return e}var TJ=function(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 EJ(e){var t=SJ();return function(){var n=Me(e),o;if(t){var i=Me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wJ(this,o)}}var IJ=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:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}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(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},gR=function(e){gJ(r,e);var t=EJ(r);function r(o){pJ(this,r);var i;return i=t.call(this,o),i.props=new v_(R_(i),o==null?void 0:o.props),be(R_(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ke,new Ae]),i}var n=r.prototype;return n.toSchema=function(){var i=$n(Me(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return RJ(mJ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return $n(Me(r.prototype),"validate",f)};return dJ(function(){return IJ(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},bJ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Qn);gR.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 NJ(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 CJ(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function jJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:mR(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var kJ=function(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 MJ(e){var t=AJ();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 jJ(this,o)}}var DJ=function(e){BJ(r,e);var t=MJ(r);function r(o){NJ(this,r);var i;return i=t.call(this,o),i.props=new v_(mR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){_e("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},n.getCheckboxProps=function(i){return{}},CJ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(xa),RR={Designer:gR,Runtime:DJ,Property:v_},FJ=Object.freeze({__proto__:null,SubTable:yR,GridTable:RR});function LJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&T_(e,t)}function xJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:LJ(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var zJ=function(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 TR(e){var t=GJ();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 xJ(this,o)}}var VJ=function(e){$R(r,e);var t=TR(r);function r(n){return wR(this,r),t.call(this,n)}return r}(Ya),Xc=function(e){$R(r,e);var t=TR(r);function r(n){wR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:De.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.options=fe((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(D);Xc.Rules=VJ;function HJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&S_(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:HJ(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var WJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=KJ();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 UJ(this,o)}}var De=function(e){qJ(r,e);var t=XJ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return r}(H);De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=c.FieldTypes.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",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 QJ(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:QJ(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var tZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();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 eZ(this,o)}}var I_=function(e){ZJ(r,e);var t=rZ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return r}(Y);I_.controlType="varchar-column",I_.controlFieldType=c.FieldTypes.VARCHAR;var SR={Designer:De,Runtime:I_,Property:Xc};function oZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&N_(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:oZ(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var fZ=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 lZ(e){var t=aZ();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 cZ(this,o)}}var C_=function(e){uZ(r,e);var t=lZ(r);function r(n){iZ(this,r);var o;o=t.call(this,n);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:Fe.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(D);function sZ(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 ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ef=Reflect.get:ef=function(o,i,u){var f=_Z(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ef(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(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&&B_(e,t)}function hZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:sZ(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function _Z(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var dZ=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 bZ(e){var t=pZ();return function(){var n=Ot(e),o;if(t){var i=Ot(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hZ(this,o)}}var Fe=function(e){vZ(r,e);var t=bZ(r);function r(o){yZ(this,r);var i;return i=t.call(this,o),i.props=new C_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ef(Ot(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(H);Fe.controlType="text-column",Fe.controlName="\u957F\u6587\u672C",Fe.controlIcon="text-column",Fe.controlFieldType=c.FieldTypes.TEXT,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",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 OZ(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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&j_(e,t)}function PZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:OZ(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var RZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Z(e){var t=wZ();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 PZ(this,o)}}var k_=function(e){mZ(r,e);var t=$Z(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),o.props=new C_(n==null?void 0:n.props),o}return r}(Y);k_.controlType="text-column",k_.controlFieldType=c.FieldTypes.TEXT;var ER={Designer:Fe,Runtime:k_,Property:C_};function TZ(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 nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(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&&A_(e,t)}function IZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:TZ(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var NZ=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 BZ(e){var t=CZ();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 IZ(this,o)}}var M_=function(e){EZ(r,e);var t=BZ(r);function r(n){SZ(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Le.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var s;return o.options=fe((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(D);function jZ(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 rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rf=Reflect.get:rf=function(o,i,u){var f=DZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},rf(e,t,r||e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(e)}function AZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function MZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:jZ(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function DZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var FZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=LZ();return function(){var n=gt(e),o;if(t){var i=gt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var Le=function(e){AZ(r,e);var t=xZ(r);function r(o){kZ(this,r);var i;return i=t.call(this,o),i.props=new M_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=rf(gt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},r}(H);Le.controlType="decimal-column",Le.controlName="\u6570\u503C",Le.controlIcon="decimal-column",Le.controlFieldType=c.FieldTypes.DECIMAL,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];function zZ(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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(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&&F_(e,t)}function HZ(e,t){return t&&(YZ(t)==="object"||typeof t=="function")?t:zZ(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var YZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UZ(e){var t=qZ();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 HZ(this,o)}}var L_=function(e){VZ(r,e);var t=UZ(r);function r(n){GZ(this,r);var o;return o=t.call(this,n),o.props=new M_(n==null?void 0:n.props),o}return r}(Y);L_.controlType="decimal-column",L_.controlFieldType=c.FieldTypes.DECIMAL;var IR={Designer:Le,Runtime:L_,Property:M_};function WZ(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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&x_(e,t)}function QZ(e,t){return t&&(JZ(t)==="object"||typeof t=="function")?t:WZ(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(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 eee(e){var t=ZZ();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 QZ(this,o)}}var z_=function(e){XZ(r,e);var t=eee(r);function r(n){KZ(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:xe.controlName,o}return r}(D);function tee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var f=iee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},cf(e,t,r||e)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(e)}function ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:tee(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function iee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var uee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fee(e){var t=cee();return function(){var n=mt(e),o;if(t){var i=mt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oee(this,o)}}var xe=function(e){ree(r,e);var t=fee(r);function r(o){nee(this,r);var i;return i=t.call(this,o),i.props=new z_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=cf(mt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);xe.controlType="timescope-column",xe.controlName="\u65E5\u671F\u533A\u95F4",xe.controlIcon="timescope-column",xe.controlFieldType=c.FieldTypes.TIMESCOPE,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function 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&&V_(e,t)}function yee(e,t){return t&&(vee(t)==="object"||typeof t=="function")?t:aee(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var vee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ee(e){var t=hee();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yee(this,o)}}var H_=function(e){see(r,e);var t=_ee(r);function r(n){lee(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return r}(Y);H_.controlType="timescope-column",H_.controlFieldType=c.FieldTypes.TIMESCOPE;var NR={Designer:xe,Runtime:H_,Property:z_};function dee(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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function Oee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:dee(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(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 Pee(e){var t=mee();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 Oee(this,o)}}var q_=function(e){bee(r,e);var t=Pee(r);function r(n){pee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ze.controlName,o}return r}(D);function Ree(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lf=Reflect.get:lf=function(o,i,u){var f=See(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},lf(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(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&&U_(e,t)}function Tee(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:Ree(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function See(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var Eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=Iee();return function(){var n=Pt(e),o;if(t){var i=Pt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tee(this,o)}}var ze=function(e){$ee(r,e);var t=Nee(r);function r(o){wee(this,r);var i;return i=t.call(this,o),i.props=new q_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=lf(Pt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);ze.controlType="timestamp-column",ze.controlName="\u65E5\u671F",ze.controlIcon="timestamp-column",ze.controlFieldType=c.FieldTypes.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Cee(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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kee(e,t){return t&&(Aee(t)==="object"||typeof t=="function")?t:Cee(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var Aee=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 Dee(e){var t=Mee();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 kee(this,o)}}var K_=function(e){jee(r,e);var t=Dee(r);function r(n){Bee(this,r);var o;return o=t.call(this,n),o.props=new q_(n==null?void 0:n.props),o}return r}(Y);K_.controlType="timestamp-column",K_.controlFieldType=c.FieldTypes.TIMESTAMP;var CR={Designer:ze,Runtime:K_,Property:q_};function Fee(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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function jR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function Lee(e,t){return t&&(xee(t)==="object"||typeof t=="function")?t:Fee(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var xee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kR(e){var t=zee();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 Lee(this,o)}}var Gee=function(e){jR(r,e);var t=kR(r);function r(n){return BR(this,r),t.call(this,n)}return r}(Ya),vf=function(e){jR(r,e);var t=kR(r);function r(n){BR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ge.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;return o.options=fe((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(D);vf.Rules=Gee;function Vee(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function Yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function qee(e,t){return t&&(Uee(t)==="object"||typeof t=="function")?t:Vee(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var Uee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kee(e){var t=Wee();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 qee(this,o)}}var Ge=function(e){Yee(r,e);var t=Kee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),o.props=new vf(n==null?void 0:n.props),o}return r}(H);Ge.controlType="array-column",Ge.controlName="\u6570\u7EC4",Ge.controlIcon="array-column",Ge.controlFieldType=c.FieldTypes.ARRAY,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function Xee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function Jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:Xee(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var ete=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zee(this,o)}}var Z_=function(e){Jee(r,e);var t=nte(r);function r(n){Qee(this,r);var o;return o=t.call(this,n),o.props=new vf(n==null?void 0:n.props),o}return r}(Y);Z_.controlType="array-column",Z_.controlFieldType=c.FieldTypes.ARRAY;var AR={Designer:Ge,Runtime:Z_,Property:vf};function rte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:rte(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var cte=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 ate(e){var t=fte();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 ute(this,o)}}var td=function(e){ite(r,e);var t=ate(r);function r(n){ote(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ve.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(D);function lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,u){var f=hte(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},pf(e,t,r||e)}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(e)}function yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vte(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:lte(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function hte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var _te=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dte();return function(){var n=Rt(e),o;if(t){var i=Rt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vte(this,o)}}var Ve=function(e){yte(r,e);var t=pte(r);function r(o){ste(this,r);var i;return i=t.call(this,o),i.props=new td(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=pf(Rt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(H);Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=c.FieldTypes.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ote(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 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&&rd(e,t)}function mte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:bte(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var Pte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wte(e){var t=Rte();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 mte(this,o)}}var od=function(e){gte(r,e);var t=wte(r);function r(n){Ote(this,r);var o;return o=t.call(this,n),o.props=new td(n==null?void 0:n.props),o}return r}(Y);od.controlType="department-column",od.controlFieldType=c.FieldTypes.DEPARTMENTS;var MR={Designer:Ve,Runtime:od,Property:td};function $te(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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:$te(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var Ite=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Nte();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 Ete(this,o)}}var ud=function(e){Ste(r,e);var t=Cte(r);function r(n){Tte(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:He.controlName,o}return r}(D);function Bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ate(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:Bte(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var Mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fte(e){var t=Dte();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 Ate(this,o)}}var He=function(e){kte(r,e);var t=Fte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),o.props=new ud(n==null?void 0:n.props),o}return r}(H);He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=c.FieldTypes.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function Gte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:Lte(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var Vte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=Hte();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 Gte(this,o)}}var ad=function(e){zte(r,e);var t=Yte(r);function r(n){xte(this,r);var o;return o=t.call(this,n),o.props=new ud(n==null?void 0:n.props),o}return r}(Y);ad.controlType="auto-number-column",ad.controlFieldType=c.FieldTypes.AUTO_NUMBER;var DR={Designer:He,Runtime:ad,Property:ud};function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:qte(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var Xte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jte(e){var t=Qte();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 Kte(this,o)}}var sd=function(e){Wte(r,e);var t=Jte(r);function r(n){Ute(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:Ye.controlName,o}return r}(D);function Zte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ene(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 tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nne(e,t){return t&&(rne(t)==="object"||typeof t=="function")?t:Zte(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function one(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ine(e){var t=one();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 nne(this,o)}}var Ye=function(e){tne(r,e);var t=ine(r);function r(n){ene(this,r);var o;return o=t.call(this,n),o.props=new sd(n==null?void 0:n.props),o}return r}(H);Ye.controlType="file-column",Ye.controlName="\u9644\u4EF6",Ye.controlIcon="file-column",Ye.controlFieldType=c.FieldTypes.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function une(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ane(e,t){return t&&(lne(t)==="object"||typeof t=="function")?t:une(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var lne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=sne();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ane(this,o)}}var hd=function(e){fne(r,e);var t=yne(r);function r(n){cne(this,r);var o;return o=t.call(this,n),o.props=new sd(n==null?void 0:n.props),o}return r}(Y);hd.controlType="file-column",hd.controlFieldType=c.FieldTypes.FILE;var FR={Designer:Ye,Runtime:hd,Property:sd};function vne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function _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&&_d(e,t)}function dne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:vne(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var pne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=bne();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 dne(this,o)}}var dd=function(e){_ne(r,e);var t=One(r);function r(n){hne(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:qe.controlName,o}return r}(D);function gne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rne(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:gne(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var wne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tne(e){var t=$ne();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 Rne(this,o)}}var qe=function(e){Pne(r,e);var t=Tne(r);function r(n){mne(this,r);var o;return o=t.call(this,n),o.props=new dd(n==null?void 0:n.props),o}return r}(H);qe.controlType="image-column",qe.controlName="\u56FE\u7247",qe.controlIcon="image-column",qe.controlFieldType=c.FieldTypes.IMAGE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Sne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:Sne(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var Cne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jne(e){var t=Bne();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 Nne(this,o)}}var Od=function(e){Ine(r,e);var t=jne(r);function r(n){Ene(this,r);var o;return o=t.call(this,n),o.props=new dd(n==null?void 0:n.props),o}return r}(Y);Od.controlType="image-column",Od.controlFieldType=c.FieldTypes.IMAGE;var LR={Designer:qe,Runtime:Od,Property:dd};function kne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(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 Mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:kne(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var Fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xne(e){var t=Lne();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 Dne(this,o)}}var md=function(e){Mne(r,e);var t=xne(r);function r(n){Ane(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:Ue.controlName,o}return r}(D);function zne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function Vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hne(e,t){return t&&(Yne(t)==="object"||typeof t=="function")?t:zne(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var Yne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();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 Hne(this,o)}}var Ue=function(e){Vne(r,e);var t=Une(r);function r(n){Gne(this,r);var o;return o=t.call(this,n),o.props=new md(n==null?void 0:n.props),o}return r}(H);Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=c.FieldTypes.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Wne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function Xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qne(e,t){return t&&(Jne(t)==="object"||typeof t=="function")?t:Wne(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var Jne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ere(e){var t=Zne();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 Qne(this,o)}}var wd=function(e){Xne(r,e);var t=ere(r);function r(n){Kne(this,r);var o;return o=t.call(this,n),o.props=new md(n==null?void 0:n.props),o}return r}(Y);wd.controlType="people-column",wd.controlFieldType=c.FieldTypes.EMPLOYEES;var xR={Designer:Ue,Runtime:wd,Property:md};function tre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function rre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ore(e,t){return t&&(ire(t)==="object"||typeof t=="function")?t:tre(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var ire=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cre(e){var t=ure();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 ore(this,o)}}var Td=function(e){rre(r,e);var t=cre(r);function r(n){nre(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:We.controlName,o}return r}(D);function fre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function are(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 lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sre(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:fre(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var yre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hre(e){var t=vre();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 sre(this,o)}}var We=function(e){lre(r,e);var t=hre(r);function r(n){are(this,r);var o;return o=t.call(this,n),o.props=new Td(n==null?void 0:n.props),o}return r}(H);We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=c.FieldTypes.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",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 dre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bre(e,t){return t&&(Ore(t)==="object"||typeof t=="function")?t:_re(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var Ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();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 bre(this,o)}}var Id=function(e){pre(r,e);var t=mre(r);function r(n){dre(this,r);var o;return o=t.call(this,n),o.props=new Td(n==null?void 0:n.props),o}return r}(Y);Id.controlType="location-column",Id.controlFieldType=c.FieldTypes.ADDRESS;var zR={Designer:We,Runtime:Id,Property:Td};function Pre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rre(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 wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $re(e,t){return t&&(Tre(t)==="object"||typeof t=="function")?t:Pre(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var Tre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ere(e){var t=Sre();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 $re(this,o)}}var Cd=function(e){wre(r,e);var t=Ere(r);function r(n){Rre(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:me.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(D);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tn=Reflect.get:Tn=function(o,i,u){var f=Dre(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Tn(e,t,r||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function Cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bre(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function jre(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){Nre(e,o,r[o])})}return e}function kre(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 Are(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kre(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Mre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:GR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function Dre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}var Fre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xre(e){var t=Lre();return function(){var n=Ke(e),o;if(t){var i=Ke(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mre(this,o)}}var zre=1,me=function(t){Cre(n,t);var r=xre(n);function n(i){Ire(this,n);var u;u=r.call(this,i);var f=Bre(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new Cd(i==null?void 0:i.props),be(GR(u),"children",i==null?void 0:i.children),u.excludes=ve(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeJoinChildren=function(u){var f=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u);return f&&this.childrenMaxLength>this.children.length},o.toDataBindModel=function(u){var f=Tn(Ke(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f},o.toSchema=function(){var u=Tn(Ke(n.prototype),"toSchema",this).call(this);return Are(jre({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(H);me.controlType="custom-column",me.controlName="\u81EA\u5B9A\u4E49",me.controlIcon="custom-column",me.excludes=[],me.childrenMaxLength=zre,me.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 Gre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Vre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:VR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var Yre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ure(e){var t=qre();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 Hre(this,o)}}var HR=function(e){Vre(r,e);var t=Ure(r);function r(n){Gre(this,r);var o;return o=t.call(this,n),o.props=new Cd(n==null?void 0:n.props),be(VR(o),"children",n==null?void 0:n.children),o}return r}(Y);HR.controlType="custom-column";var YR={Designer:me,Runtime:HR,Property:Cd};function Wre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Xre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qre(e,t){return t&&(Jre(t)==="object"||typeof t=="function")?t:Wre(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var Jre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eoe(e){var t=Zre();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 Qre(this,o)}}var Ad=function(e){Xre(r,e);var t=eoe(r);function r(n){Kre(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pe.controlName;var u;return o.datasourceBind=new Ct((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Pe.controlCustomAttributes}),o}return r}(D);function toe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function noe(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 roe(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:toe(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var uoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=coe();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 ioe(this,o)}}var Pe=function(e){ooe(r,e);var t=foe(r);function r(n){noe(this,r);var o;return o=t.call(this,n),o.props=new Ad(n==null?void 0:n.props),o}return roe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=c.FieldTypes.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function aoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function yoe(e,t){return t&&(voe(t)==="object"||typeof t=="function")?t:aoe(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var voe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _oe(e){var t=hoe();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 yoe(this,o)}}var Fd=function(e){soe(r,e);var t=_oe(r);function r(n){loe(this,r);var o;return o=t.call(this,n),o.props=new Ad(n==null?void 0:n.props),o}return r}(Y);Fd.controlType="employee-column",Fd.controlFieldType=c.FieldTypes.EMPLOYEES;var UR={Designer:Pe,Runtime:Fd,Property:Ad},doe=Object.freeze({__proto__:null,VarcharColumn:SR,TextColumn:ER,DecimalColumn:IR,TimescopeColumn:NR,TimestampColumn:CR,ArrayColumn:AR,DepartmentColumn:MR,AutoNumberColumn:DR,FileColumn:FR,ImageColumn:LR,PeopleColumn:xR,LocationColumn:zR,CustomColumn:YR,OrderColumn:dR,OperationColumn:pR,EmployeeColumn:UR});function poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function KR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 boe(e,t){return t&&(Ooe(t)==="object"||typeof t=="function")?t:poe(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var Ooe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XR(e){var t=goe();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 boe(this,o)}}var moe=function(e){KR(r,e);var t=XR(r);function r(n){WR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),xf=function(e){KR(r,e);var t=XR(r);function r(n){WR(this,r);var o;o=t.call(this,n);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var f;o.search=new ae((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ae((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var s;o.custom=((s=n==null?void 0:n.custom)!==null&&s!==void 0?s:[]).map(function(v){return new ae(v)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(or);xf.RuntimeRules=moe;function Poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $oe(e,t){return t&&(Toe(t)==="object"||typeof t=="function")?t:Poe(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var Toe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eoe(e){var t=Soe();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 $oe(this,o)}}var zd=function(e){woe(r,e);var t=Eoe(r);function r(n){Roe(this,r);var o;return o=t.call(this,n),o.props=new xf(n==null?void 0:n.props),o}return r}(bb);zd.controlType="simple-search",zd.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}];function Ioe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Boe(e,t){return t&&(joe(t)==="object"||typeof t=="function")?t:Ioe(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var joe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aoe(e){var t=koe();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 Boe(this,o)}}var QR=function(e){Coe(r,e);var t=Aoe(r);function r(n){Noe(this,r);var o;o=t.call(this,n),o.props=new xf(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}(Ob);QR.controlType="simple-search";var JR={Designer:zd,Runtime:QR,Property:xf},Moe=Object.freeze({__proto__:null,SimpleSearch:JR});function Vd(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 Doe(e){if(Array.isArray(e))return e}function Foe(e){if(Array.isArray(e))return Vd(e)}function Loe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xoe(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,f;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(a){i=!0,f=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function zoe(){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 Goe(){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 Voe(e,t){return Doe(e)||xoe(e,t)||ew(e,t)||zoe()}function ZR(e){return Foe(e)||Loe(e)||ew(e)||Goe()}function ew(e,t){if(!!e){if(typeof e=="string")return Vd(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 Vd(e,t)}}var Hoe=function(e,t){var r=Array.isArray(e),n=r?e:[e];nie(t==null?void 0:t.events),Xoe(n),Qoe(n);var o=Koe(n),i=Joe(o,t),u=Ee(Z(i,function(f){return Woe(f,t)}));return r?u:u[0]},Yoe=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],qoe=["subtable","grid-table"],Uoe=["simple-search"];function Woe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Yoe.includes(i.type)?i.controlType="base":i.controlType="form",qoe.includes(i.type)&&(i.controlType="list"),Uoe.includes(i.type)&&(i.controlType="search-view")),delete i.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),q(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),q(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),q(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(q(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(q(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(P,S){var A=new bh.Designer;A.props.widthType=P.header_width_config==="1"?"auto":"px",A.props.width=P.header_width===""?200:Number(P.header_width),A.props.caption=q(P.field_name)?P.field_name.zh:P.field_name;var se=A.toSchema();se.id=P.header_id;var re=i.children[0].children[S].children[0];return re&&(se.children=[re]),se}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(P){P.label=q(P.text)?P.text.zh:P.text,P.id=P.id||P.opt_id||P.optId||P.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(P){var S=new ku.Designer;S.props.span=y;var A=S.toSchema();return A.children.push(P),A})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],b={};v&&(tw(i,t),b.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),p&&(b.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=b,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var d=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1],_={},g={};d&&(tw(i,t),i.id=d.id,_.amount=d.props.data_bind,i.props.range_min=Se(d.props.range_min),i.props.range_max=Se(d.props.range_max),g.amount=Se(d.props.value),i.props.required=d.props.required,i.props.is_hide=d.props.is_hide,i.props.default_state=d.props.default_state,i.props.caption=q(d.props.caption)?d.props.caption.zh:d.props.caption,i.props.is_hide_caption=d.props.is_hide_caption,i.props.showUpperCase=d.props.is_show_chn),O&&(_.currency=O.props.data_bind,g.currency=O.props.value,i.props.datasourceBind=O.props.datasource_bind,i.props.options=O.props.options.map(function(P){return{label:P.text,value:P.value}})),i.props.dataBind=_,i.props.defaultValue=g,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=q(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=q(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};w&&(T.min=w.props.data_bind),m&&(T.max=m.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=q(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Se(e.props.range_min),i.props.range_max=Se(e.props.range_max),i.props.defaultValue=Se(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),rie(i,t==null?void 0:t.control_events),i}function tw(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;n.forEach(function(a){a.id===u&&(a.id=f);var l=a.show_controls.findIndex(function(y){return y===u}),s=a.hide_controls.findIndex(function(y){return y===u});l>-1&&a.show_controls.splice(l,1,f),s>-1&&a.hide_controls.splice(s,1,f)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=f)})}}function Koe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Uh.Designer,n=r.toSchema();return n.children=e,[n]}function Xoe(e){e.forEach(function(t){t.children&&tie(t.children)})}function Qoe(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function Joe(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var a=f.props,l=f.children,s=Voe(l,3),y=s[0],v=s[1],p=s[2];Zoe(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,eie(p,v);var b,d=(b=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&b!==void 0?b:t==null?void 0:t.dataCode,O,_=((O=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&O!==void 0?O:d)?"".concat(d,"_selectMore"):void 0,g,w=(g=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&g!==void 0?g:[],m=new Vh.Designer;m.props.datasourceBind=new z({dataCode:d,svcCode:_,orders:up(w)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(P){P.title=q(P.title)?P.title.zh:P.title}),m.props.sublistPage=a.sublist_page;var T=m.toSchema();return T.children.push(y,p),[T]}function Zoe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=q(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function eie(e,t){e.children=t.children.filter(function(r){return 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(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:q(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=q(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;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function tie(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function nie(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function rie(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,ZR(e.props.events[i].map(function(f){return f.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,ZR(t[e.id].on_blur))}}}var oie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(Z(n,function(i){return iie(i)}));return r?o:o[0]};function iie(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ee({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var uie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(Z(n,function(i){return cie(i)}));return r?o:o[0]};function cie(e,t){return[c.CONTROL_TYPE.BUTTON,c.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_LIST_BUTTON,c.CONTROL_TYPE.FORM_SELECT_BUTTON,c.CONTROL_TYPE.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===c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var fie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(Z(n,function(i){return aie(i)}));return r?o:o[0]};function aie(e,t){if(e.props.icon){var 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}var lie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(Z(n,function(i){return yie(i)}));return r?o:o[0]},sie=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function yie(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(sie.includes(r.type))return r;var n=new lh.Designer,o=new ku.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var vie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(Z(n,function(i){return hie(i)}));return r?o:o[0]};function hie(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var _ie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(i){return die(i)});return r?o:o[0]};function die(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),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}var pie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(i){return bie(i)});return r?o:o[0]};function Re(e,t){e.field_code&&(e.field_type=t)}function bie(e,t){var r,n=(r={},j(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),j(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),j(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),j(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),j(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),j(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Re(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Re(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Re(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Re(e.props.data_bind.result,c.FieldTypes.DECIMAL),Re(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Re(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Re(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Re(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Oie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(i){return gie(i)});return r?o:o[0]};function gie(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var mie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(i){return Pie(i)});return r?o:o[0]};function Pie(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Rie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(i){return wie(i)});return r?o:o[0]};function wie(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;if(r.props.buttons=[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var u,f,a,l,s,y;r.props.buttons.push({code:"check",type:"check",content:(u=r.props)===null||u===void 0?void 0:u.check.content,is_show:(f=r.props)===null||f===void 0?void 0:f.check.is_show,priority_process:(a=r.props)===null||a===void 0?void 0:a.check.priority_process,open_type:(l=r.props)===null||l===void 0?void 0:l.check.open_type,form_key:(s=r.props)===null||s===void 0?void 0:s.check.form_key}),(y=r.props)===null||y===void 0||delete y.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var v,p,b,d,O,_;r.props.buttons.push({code:"edit",type:"edit",content:(v=r.props)===null||v===void 0?void 0:v.edit.content,is_show:(p=r.props)===null||p===void 0?void 0:p.edit.is_show,priority_process:(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,open_type:(d=r.props)===null||d===void 0?void 0:d.edit.open_type,form_key:(O=r.props)===null||O===void 0?void 0:O.edit.form_key}),(_=r.props)===null||_===void 0||delete _.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var g,w,m,T,P;r.props.buttons.push({code:"delete",type:"delete",content:(g=r.props)===null||g===void 0?void 0:g.delete.content,is_show:(w=r.props)===null||w===void 0?void 0:w.delete.is_show,open_type:(m=r.props)===null||m===void 0?void 0:m.delete.open_type,form_key:(T=r.props)===null||T===void 0?void 0:T.delete.form_key}),(P=r.props)===null||P===void 0||delete P.delete}}}),e}var nw={"v1.0":Hoe,"v2.0":oie,"v2.1":uie,"v2.2":fie,"v2.3":lie,"v2.4":vie,"v2.5":_ie,"v2.6":pie,"v2.7":Oie,"v2.8":mie,"v2.9":Rie,"v2.10":function(){}};function $ie(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 Tie(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function Vf(e){return e.replace(/^v/,"")}function Hf(e){return Number(Vf(e))}var wt=Object.keys(nw).map(function(e){return Vf(e)}).sort(function(e,t){return Number(e)-Number(t)}),Sn=wt[wt.length-1],Sie=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn;$ie(this,e),this.schemaVersion=r,this.toVersion=n,Hf(n)>Hf(Sn)?_e("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(Sn)):(!wt.includes(Vf(n))||!wt.includes(Vf(r)))&&_e("Version Builder: Please give me a valid version number, The valid version is: ".concat(wt.join(","),", But give me a ").concat(r))}var t=e.prototype;return t.dataCleaner=function(n,o){var i=this;if(this._version===this._schemaVersion)return n;var u=this.callDataCleanerKeys.reduce(function(f,a,l,s){var y,v=(y=s[l+1])!==null&&y!==void 0?y:i.toVersion;Nt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var p=nw[a],b=f;if(typeof p=="function"){var d=p(f,o);d&&(b=d)}return b},n);return Nt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},Tie(e,[{key:"runDataCleanerKeys",get:function(){var n=this;return wt.filter(function(o){return Number(o)>=n._schemaVersion&&Number(o)<n._version})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"_version",get:function(){return Hf(this.toVersion)}},{key:"_schemaVersion",get:function(){return Hf(this.schemaVersion)}},{key:"version",get:function(){return Sn}}],[{key:"version",get:function(){return Sn}}]),e}();const Yf=[],Hd={exports:{}};let Yd=!1;const Eie=window.module,Iie=window.exports,Nie=window.require;function Cie(e){return Yd||(window.module=Hd,window.exports=Hd.exports,window.require=function(t){return e[t]},Yd=!0),function(){window.module=Eie,window.exports=Iie,window.require=Nie,Yd=!1}}function Bie(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Cie(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=Yf.findIndex(l=>l===r);Yf.splice(a,1),Yf.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(Hd.exports),f()},document.head.appendChild(i)});return Yf.push(r),r}function qd(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function ow(e,t,r={fetch:qd}){return new Promise((n,o)=>{const i=e.replace(/^(https?:)?\/\/.*?\/component/,"/component");r.fetch(i).then(u=>{const f={exports:{}};new Function("module","exports","require",u)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(u=>{o(u)})})}function qf(e,t){return ow(e,t)}function jie(e,t){return En(this,null,function*(){return yield Promise.all(e.map(r=>qf(r,t)))})}function Ud(e,t,r){let n;t==="runtime"?n=class extends V{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends C{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends G{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="iconfont iconshibaimian" style="margin-right:4px"></i>${r}</di>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{template:i}},upgrade:f=>f}}function kie(e,t,r){return En(this,null,function*(){const n=new Map;return e.length===0||(yield Promise.all(e.map(o=>En(this,null,function*(){let i=!0,u;try{i=!0;let f="";r.type==="runtime"?f=o.runtime:f=o.designer,f+="?v="+o.version,u=yield qf(f,t)}catch(f){i=!1,$e("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+o.id,f),u=Ud(o.id,r.type,r.tipMessage)}if(i){let f="";if(r.type==="runtime"&&o.runtimecss!==void 0){const a=new RegExp(o.id+"-runtime-.*?$");f=o.runtime.replace(a,o.runtimecss)}else if(r.type==="designer"&&o.designercss!==void 0){const a=new RegExp(o.id+"-designer-.*?$");f=o.designer.replace(a,o.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}r.type==="runtime"?(n.has(u.Runtime.controlType)&&$e(`repeat register ${u.Runtime.controlType}`),n.set(u.Runtime.controlType,{props:o,version:o.version,isLoaded:i,control:u})):(n.has(u.Designer.controlType)&&$e(`repeat register ${u.Designer.controlType}`),n.set(u.Designer.controlType,{props:o,version:o.version,isLoaded:i,control:u}))})))),n})}function Aie(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[f,a]=u.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function Mie(e,t){return En(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield qd(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield qf(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let a=u.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=Ud(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return n})}c.Address=Dm,c.AddressValue=Ip,c.AdvancedContainer=tR,c.Amount=Tm,c.AmountDataBind=$p,c.AmountValue=Tp,c.ArrayColumn=AR,c.Attachment=Om,c.AutoNumber=Wm,c.AutoNumberColumn=DR,c.BaseControlProperty=E,c.BaseControlPropertyRules=U,c.BaseControlPropertyRuntimeRules=B,c.BaseStyle=jp,c.BatchPrintListButton=sg,c.BatchPrintRecordListButton=hg,c.BatchSubmissionListButton=nO,c.Button=Ib,c.Calc=Jm,c.CalcDataBind=Np,c.CalcScriptEchoItem=MS,c.CalcValue=Cp,c.CardGroup=bP,c.Checkbox=Pg,c.Col=ku,c.ColumnControlProperty=D,c.ColumnControlPropertyRules=er,c.ColumnOptionAndDataSourcePropertyRules=Ya,c.CreateFormListButton=Xb,c.CustomAttributeItem=mp,c.CustomColumn=YR,c.CustomPermissionItem=NE,c.DEFAULT_LOCALE=Kd,c.Dashboard=xO,c.DataBind=ee,c.DataSourceBind=z,c.DataSourceDataSetValue=gp,c.DataSourceOrderItem=la,c.DataSourceParamItem=SE,c.DataView=Uh,c.DatePicker=Dg,c.DateRange=Hg,c.DecimalColumn=IR,c.Department=Hm,c.Department2=eP,c.DepartmentColumn=MR,c.DepartmentEntity=Xe,c.DesignerColumnControl=H,c.DesignerControl=C,c.DesignerFormControl=I,c.DesignerLayoutControl=M,c.DesignerListControl=Qn,c.DesignerSearchControl=bb,c.DesignerWrapControl=QC,c.DisplayBoListItem=kn,c.Divider=Fb,c.ElectronicSignature=Y0,c.ElectronicSignatureConfig=Nb,c.Employee=dm,c.Employee2=F0,c.EmployeeColumn=UR,c.EventLogic=ap,c.Explain=gr,c.ExportListButton=fO,c.ExportRecordListButton=sO,c.ExportTemplate=hl,c.FieldBindItem=_p,c.FieldFilterCondition=aa,c.FieldFilterConditions=Op,c.FieldTypeToColumnType=FS,c.FileColumn=FR,c.FillBackBind=ya,c.FillPayloadBind=An,c.FlexStyleConfig=kb,c.FormBind=jn,c.FormSelectBind=vp,c.FormSelectButton=PO,c.Grid=oP,c.GridRow=lh,c.GridTable=RR,c.GridTableColumn=TP,c.Image=Pm,c.ImageColumn=LR,c.ImageOptionSetting=wp,c.ImportRecordListButton=_O,c.Input=bg,c.InvoiceCheckButton=ig,c.JSONCopy=ve,c.Language=EE,c.LayoutControlProperty=k,c.LeftVariable=bp,c.LimitDate=Or,c.Link=Tb,c.ListBind=fa,c.ListControlProperty=Mt,c.ListSelectButton=IO,c.ListView=Vh,c.ListViewSelect=UO,c.LocationColumn=zR,c.MultistageFillingItem=Q,c.Number=jg,c.ObjectDataBind=Mn,c.OperationColumn=pR,c.OperationItem=ae,c.OptionAndDataSourcePropertyRules=Ie,c.OptionSetting=ha,c.OrderColumn=dR,c.Page=JP,c.Pagination=jO,c.PeopleColumn=xR,c.Position=cR,c.PositioningContainer=oR,c.PrintTemplate=jb,c.Property=G,c.PropertyRules=F,c.PropertyRuntimeRules=de,c.Radio=Ig,c.RangeDataBind=Sp,c.RangeDateValue=Ep,c.RegisterControls=Cn,c.RegularRules=va,c.RichText=Jg,c.RightVariable=Qe,c.Row=lP,c.RulesMessage=h,c.RuntimeColumnControl=Y,c.RuntimeControl=V,c.RuntimeFormControl=N,c.RuntimeLayoutControl=x,c.RuntimeListControl=xa,c.RuntimeSearchControl=Ob,c.RuntimeWrapControl=i1,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Bb,c.Score=Nm,c.SearchControlProperty=or,c.SearchDateRange=y0,c.SearchInput=E0,c.SearchNumberRange=i0,c.Select=im,c.SelectMultiple=am,c.SelectRelation=R0,c.SimpleSearch=JR,c.SubListItem=dp,c.SubListPageConfig=pp,c.SubTable=yR,c.SubTableColumn=bh,c.SubTableRow=wP,c.SubmissionRecordListButton=iO,c.SuperDataSourceBind=Ct,c.Tab=AP,c.TabPane=BP,c.Text=Rb,c.TextColumn=ER,c.TextOcrButton=ZO,c.Textarea=Wg,c.TimescopeColumn=NR,c.TimestampColumn=CR,c.Title=Hb,c.Toolbox=xP,c.Tree=j0,c.TreeDataSourceBind=Pp,c.UndersignedPerson=vl,c.UserEntity=In,c.VarcharColumn=SR,c.VersionBuilder=Sie,c.ViewOperationItem=Bp,c.VueFormItem=d0,c.WPS=K0,c.WPSSetting=Cb,c.Watcher=fp,c.WpsOperationItem=_l,c.WrapControlProperty=Ja,c.baseControls=kD,c.camelizeKeys=up,c.columnControls=doe,c.controlHooksEmitter=zp,c.createValidator=xp,c.debounce=sE,c.decamelizeKeys=Ee,c.defineArrayParent=nb,c.defineControlArrayToProperty=be,c.defineParent=Ca,c.error=_e,c.formControls=FV,c.genNonDuplicateId=oe,c.getHackerControl=Ud,c.getNotRepeatItems=ip,c.initExpression=Dt,c.initImageOptions=IE,c.initOptionAndDataSourceRules=xn,c.initOptions=fe,c.initSuperDataSourceRules=zn,c.isArray=Te,c.isBuiltInControls=vE,c.isFunction=iE,c.isJSONArray=aE,c.isJSONObject=lE,c.isLanguageObject=q,c.isNumber=oa,c.isNumberAndEmptyStringArray=fE,c.isNumberArray=cE,c.isObject=oE,c.isPlainObject=ra,c.isString=op,c.isStringArray=uE,c.layoutControls=eQ,c.listControls=FJ,c.loadRemoteControl=qf,c.loadRemoteControls=jie,c.loadScriptFromFetch=ow,c.loadScriptFromTag=Bie,c.log=Nt,c.logerror=tp,c.loop=Z,c.loopFormSchema=ta,c.nativeFetch=qd,c.noop=DS,c.referenceError=ea,c.registerByteluckControls=Mie,c.registerCustomControls=kie,c.searchControls=Moe,c.setPropertyDontEnum=tb,c.toNumberOrEmpty=Se,c.updateValueFromKeys=rp,c.upgradeCustomControlSchema=Aie,c.wait=yE,c.warn=$e,Object.defineProperty(c,"__esModule",{value:!0})});