@byteluck-fe/model-driven-core-all 1.8.0-beta.5 → 1.8.0-beta.6

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 Nn=(c,we,Qe)=>new Promise((Jf,Cn)=>{var Zf=ye=>{try{Tt(Qe.next(ye))}catch(St){Cn(St)}},ea=ye=>{try{Tt(Qe.throw(ye))}catch(St){Cn(St)}},Tt=ye=>ye.done?Jf(ye.value):Promise.resolve(ye.value).then(Zf,ea);Tt((Qe=Qe.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 Qe=function e(){we(this,e)};function Jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Cn=function e(){Jf(this,e)},Zf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ea="\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",Ow="{caption}\u5FC5\u586B",gw="\u8BF7\u8F93\u5165\u6807\u9898",mw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Pw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Rw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ww="\u8BF7\u7ED1\u5B9A\u8868\u5355",$w="\u8BF7\u7ED1\u5B9A\u5217\u8868",Tw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Sw="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ew="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Iw="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Nw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bw="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",kw="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Aw="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Mw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Dw="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fw="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Lw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xw="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",zw="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Gw="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vw="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Hw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Yw="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qw="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uw="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ww="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Kw="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Xw="\u8BF7\u9009\u62E9\u7701",Qw="\u8BF7\u9009\u62E9\u5E02",Jw="\u8BF7\u9009\u62E9\u533A",Zw="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",e$="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",t$="\u8BF7\u8F93\u5165\u5217\u5BBD",n$="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",r$="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",o$="\u8BF7\u9009\u62E9\u63A7\u4EF6",i$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",u$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",c$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",f$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",a$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",l$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",s$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",y$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",v$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",h$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",d$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",p$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",b$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",O$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",g$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",m$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",P$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",R$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",w$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",T$={isNotNumber:Zf,isNotString:ea,isNotObject:Tt,isNotArray:ye,isNotBoolean:St,runtimeRequired:Ow,pleaseEnterCaption:gw,pleaseEnterCaptionTip:mw,pleaseEnterPlaceholder:Pw,pleaseEnterFieldCode:Rw,pleaseEnterForm:ww,pleaseEnterList:$w,pleaseEnterProcess:Tw,pleaseEnterLabel:Sw,pleaseEnterValue:Ew,bizKeyNotBindFiled:Iw,pleaseEnterNumberRange:Nw,pleaseEnterAValueGreaterThanMin:Cw,pleaseEnterAValueLessThanMax:Bw,numberRangeSetError:jw,stringRangeError:kw,attachmentMaxSize:Aw,pleaseEnterTotalScoreSetting:Mw,theTotalScoreMustNotBeLessThan1:Dw,scoreDefaultValueRange:Fw,attachmentLimitError:Lw,PleaseReselectTheOptionalQuantity:xw,TheMaximumLengthIsGreaterThanTheMinimumLength:zw,TheMinimumLengthIsGreaterThanTheMaximumLength:Gw,PleaseSelectTheCorrectOptionSettings:Vw,optionIdIsRepeat:Hw,optionIsRequired:Yw,pleaseEnterDataCode:qw,pleaseEnterValueFieldCode:Uw,pleaseEnterSvcCode:Ww,pleaseBindAtLeastOneDisplayValue:Kw,pleaseSelectProvince:Xw,pleaseSelectCity:Qw,pleaseSelectDistrict:Jw,limitRowsCannotBeLessThan0:Zw,TheNumberOfRowsCannotBeLessThanMinRows:e$,pleaseEnterColumnWidth:t$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:n$,pleaseCompleteAllRulesAndConditions:r$,pleaseSelectControl:o$,pleaseSelectAtLeastOneColumn:i$,pleaseSelectFillBackMode:u$,pleaseSelectDashboard:c$,rootNodeIsRequired:f$,theViewNameCannotBeEmpty:a$,pleaseSelectOcrType:l$,pleaseSelectAtLeastOneFieldToFillIn:s$,pleaseChooseAtLeastOne:y$,pleaseEnterButtonContent:v$,pleaseEnterDataCodeInDataSetting:h$,pleaseEnterValueFieldCodeInDataSetting:d$,pleaseEnterSvcCodeInDataSetting:_$,pleaseBindAtLeastOneDisplayValueInDataSetting:p$,rootNodeIsRequiredInDataSetting:b$,pleaseEnterMaxHeight:O$,pleaseEnter:g$,pleaseEnterWatermark:m$,pleaseEnterFileName:P$,pleaseUploadAtLeastOnePrintTemplate:R$,pleaseAssignBusiness:w$,pleaseAssignExternal:$$},S$="Please enter a number",E$="Please enter a string",I$="Please enter an object",N$="Please enter an array",C$="Please enter a boolean",B$="{caption} Required",j$="Please enter the title",k$="Please enter the bubble prompt",A$="Please enter the prompt text",M$="Please bind data items",D$="Please bind the form",F$="Please bind the list",L$="Please bind the process",x$="Please enter the displayed value",z$="Please enter the stored value",G$="The document number is not bound to the data item",V$="Please enter a value greater than or equal to {min} and less than or equal to {max}",H$="Please enter a value greater than or equal to {min}",Y$="Please enter a value less than or equal to {max}",q$="The value range is set incorrectly",U$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",W$="The attachment size must be between 0MB and 1000MB",K$="Please fill in the total score setting",X$="The total score cannot be less than 1",Q$="The default value must be between {min} and {max}",J$="The number of attachments uploaded must be between {min} and {max}",Z$="Please re-select the optional quantity",eT="The maximum length of the control must be greater than the minimum length",tT="The minimum length of the control must be less than the maximum length",nT="Please select the correct option setting",rT="Option ID cannot be repeated",oT="Please enter at least one option",iT="Please bind the data source",uT="Please bind the stored value",cT="Please bind the service",fT="At least one display value must be bound",aT="Please select a province",lT="Please select a city",sT="Please select a district",yT="The minimum number of lines to fill in cannot be less than 0",vT="The number of rows cannot be less than {min} rows",hT="Please enter the column width",dT="Please set the logical relationship of all rule conditions",_T="Please complete all rules and conditions",pT="please select control",bT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",OT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",mT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",PT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",RT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$T="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",TT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ST="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ET="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",IT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",NT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",CT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",BT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",AT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",MT={isNotNumber:S$,isNotString:E$,isNotObject:I$,isNotArray:N$,isNotBoolean:C$,runtimeRequired:B$,pleaseEnterCaption:j$,pleaseEnterCaptionTip:k$,pleaseEnterPlaceholder:A$,pleaseEnterFieldCode:M$,pleaseEnterForm:D$,pleaseEnterList:F$,pleaseEnterProcess:L$,pleaseEnterLabel:x$,pleaseEnterValue:z$,bizKeyNotBindFiled:G$,pleaseEnterNumberRange:V$,pleaseEnterAValueGreaterThanMin:H$,pleaseEnterAValueLessThanMax:Y$,numberRangeSetError:q$,stringRangeError:U$,attachmentMaxSize:W$,pleaseEnterTotalScoreSetting:K$,theTotalScoreMustNotBeLessThan1:X$,scoreDefaultValueRange:Q$,attachmentLimitError:J$,PleaseReselectTheOptionalQuantity:Z$,TheMaximumLengthIsGreaterThanTheMinimumLength:eT,TheMinimumLengthIsGreaterThanTheMaximumLength:tT,PleaseSelectTheCorrectOptionSettings:nT,optionIdIsRepeat:rT,optionIsRequired:oT,pleaseEnterDataCode:iT,pleaseEnterValueFieldCode:uT,pleaseEnterSvcCode:cT,pleaseBindAtLeastOneDisplayValue:fT,pleaseSelectProvince:aT,pleaseSelectCity:lT,pleaseSelectDistrict:sT,limitRowsCannotBeLessThan0:yT,TheNumberOfRowsCannotBeLessThanMinRows:vT,pleaseEnterColumnWidth:hT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:dT,pleaseCompleteAllRulesAndConditions:_T,pleaseSelectControl:pT,pleaseSelectDashboard:bT,theViewNameCannotBeEmpty:OT,pleaseSelectOcrType:gT,pleaseSelectAtLeastOneFieldToFillIn:mT,pleaseChooseAtLeastOne:PT,pleaseEnterButtonContent:RT,pleaseEnterDataCodeInDataSetting:wT,pleaseEnterValueFieldCodeInDataSetting:$T,pleaseEnterSvcCodeInDataSetting:TT,pleaseBindAtLeastOneDisplayValueInDataSetting:ST,rootNodeIsRequiredInDataSetting:ET,pleaseEnterMaxHeight:IT,pleaseEnter:NT,pleaseEnterWatermark:CT,pleaseEnterFileName:BT,pleaseUploadAtLeastOnePrintTemplate:jT,pleaseAssignBusiness:kT,pleaseAssignExternal:AT},DT="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FT="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xT="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zT="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GT="{caption}\u5FC5\u9808",VT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qT="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UT="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WT="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KT="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XT="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QT="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JT="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ZT="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",rS="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oS="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",uS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cS="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fS="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",aS="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lS="\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",sS="\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",yS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hS="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",dS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_S="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",OS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",RS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wS="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$S="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",TS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",SS="please select control",ES="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",IS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",NS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",CS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",BS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",AS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",MS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",DS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",FS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",LS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",GS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",VS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",HS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",YS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",qS={isNotNumber:DT,isNotString:FT,isNotObject:LT,isNotArray:xT,isNotBoolean:zT,runtimeRequired:GT,pleaseEnterCaption:VT,pleaseEnterCaptionTip:HT,pleaseEnterPlaceholder:YT,pleaseEnterFieldCode:qT,pleaseEnterForm:UT,pleaseEnterList:WT,pleaseEnterProcess:KT,pleaseEnterLabel:XT,pleaseEnterValue:QT,bizKeyNotBindFiled:JT,pleaseEnterNumberRange:ZT,pleaseEnterAValueGreaterThanMin:eS,pleaseEnterAValueLessThanMax:tS,numberRangeSetError:nS,stringRangeError:rS,attachmentMaxSize:oS,pleaseEnterTotalScoreSetting:iS,theTotalScoreMustNotBeLessThan1:uS,scoreDefaultValueRange:cS,attachmentLimitError:fS,PleaseReselectTheOptionalQuantity:aS,TheMaximumLengthIsGreaterThanTheMinimumLength:lS,TheMinimumLengthIsGreaterThanTheMaximumLength:sS,PleaseSelectTheCorrectOptionSettings:yS,optionIdIsRepeat:vS,optionIsRequired:hS,pleaseEnterDataCode:dS,pleaseEnterValueFieldCode:_S,pleaseEnterSvcCode:pS,pleaseBindAtLeastOneDisplayValue:bS,pleaseSelectProvince:OS,pleaseSelectCity:gS,pleaseSelectDistrict:mS,limitRowsCannotBeLessThan0:PS,TheNumberOfRowsCannotBeLessThanMinRows:RS,pleaseEnterColumnWidth:wS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$S,pleaseCompleteAllRulesAndConditions:TS,pleaseSelectControl:SS,pleaseSelectDashboard:ES,theViewNameCannotBeEmpty:IS,pleaseSelectOcrType:NS,pleaseSelectAtLeastOneFieldToFillIn:CS,pleaseChooseAtLeastOne:BS,pleaseEnterButtonContent:jS,pleaseEnterDataCodeInDataSetting:kS,pleaseEnterValueFieldCodeInDataSetting:AS,pleaseEnterSvcCodeInDataSetting:MS,pleaseBindAtLeastOneDisplayValueInDataSetting:DS,rootNodeIsRequiredInDataSetting:FS,pleaseEnterMaxHeight:LS,pleaseEnter:xS,pleaseEnterWatermark:zS,pleaseEnterFileName:GS,pleaseUploadAtLeastOnePrintTemplate:VS,pleaseAssignBusiness:HS,pleaseAssignExternal:YS},US={zhCN:T$,enUS:MT,jaJP:qS};function WS(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 KS=function e(t){WS(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},op="zh-CN",XS=function(){};function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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 K,QS=(K={},ee(K,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),ee(K,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),ee(K,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),ee(K,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),ee(K,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),ee(K,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),ee(K,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),ee(K,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),ee(K,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),ee(K,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),ee(K,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),ee(K,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),ee(K,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),K);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var ip="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",JS=ip+"0123456789";function ie(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ip:JS,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function ta(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 ZS(e){if(Array.isArray(e))return ta(e)}function eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(){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 Bn(e,t,r){return tE()?Bn=Reflect.construct:Bn=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},Bn.apply(null,arguments)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}function nE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oE(){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 iE(e,t){return t&&(uE(t)==="object"||typeof t=="function")?t:eE(e)}function It(e,t){return It=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},It(e,t)}function fp(e){return ZS(e)||rE(e)||cE(e)||oE()}var uE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cE(e,t){if(!!e){if(typeof e=="string")return ta(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 ta(e,t)}}function na(e){var t=typeof Map=="function"?new Map:void 0;return na=function(n){if(n===null||!nE(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 Bn(n,arguments,Et(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),It(o,n)},na(e)}function fE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fE();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 iE(this,o)}}var ra=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=ra).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(fp(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=ra).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(fp(o)))}function aE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var oa=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?aE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(na(Error)),lE=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(oa);function _e(e){throw new oa(e)}function ia(e){throw new lE(e)}function lp(e){ra.error(new oa(e))}function ua(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":ua(r==null?void 0:r.children,t);break;case"search":ua(r==null?void 0:r.children,t);break;case"form":t(r)}})}var sE=Object.prototype.toString;function sp(e,t){return sE.call(e)==="[object "+t+"]"}function yE(e){return sp(e,"String")}function vE(e){return sp(e,"Promise")}var hE=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();vE(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&&!yE(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 dE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(){dE(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]:op;return new hE({locale:r,messages:US})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();h.$i18n=h.resetI18n();function yp(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 _E=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ca={exports:{}};(function(e){(function(t){var r=function(d,g,R){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],R));else{m={};for(var $ in g)Object.prototype.hasOwnProperty.call(g,$)&&(m[d($,R)]=r(d,g[$],R))}return m},n=function(d,g){g=g||{};var R=g.separator||"_",m=g.split||/(?=[A-Z])/;return d.split(m).join(R)},o=function(d){return b(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,R){return R?R.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 R=g&&"process"in g?g.process:g;return typeof R!="function"?d:function(m,S){return R(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})(_E)})(ca);function ve(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function U(e){return fa(e)&&"zh"in e}function fa(e){return Object.prototype.toString.call(e)==="[object Object]"}function pE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Te(e){return Array.isArray(e)}function vp(e){return typeof e=="string"}function aa(e){return typeof e=="number"}function bE(e){return typeof e=="function"}function OE(e){return Te(e)&&e.every(function(t){return vp(t)})}function gE(e){return Te(e)&&e.every(function(t){return aa(t)})}function mE(e){return Te(e)&&e.every(function(t){return aa(t)||t===""})}function PE(e){return/^\[.*?]$/.test(e)}function RE(e){return/^{.*?}$/.test(e)}function Se(e){return isNaN(parseFloat(e))?"":Number(e)}function hp(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function wE(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 $E(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function te(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=te(n.children,t)),t(o)})),r}function dp(e){return ca.exports.camelizeKeys(e)}function Ee(e){return ca.exports.decamelizeKeys(e)}function TE(e){return Object.values(c.CONTROL_TYPE).includes(e)}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 SE(e){if(Array.isArray(e))return la(e)}function _p(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 EE(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_p(i,n,o,u,f,"next",a)}function f(a){_p(i,n,o,u,f,"throw",a)}u(void 0)})}}function IE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CE(){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 sa(e){return SE(e)||NE(e)||BE(e)||CE()}function BE(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)}}var jE=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}}},pp=function(){function e(){IE(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 EE(function(){var a,l,s,y,v,p,b,_,O,d,g,R;return jE(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&&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(sa(i))),[4,O.apply(null,sa(i))];case 4:return d=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(sa(i),[d])),l.push(d),d===!1?[3,7]:[3,6];case 5:return g=m.sent(),lp(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return R=m.sent(),v=!0,p=R,[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 kE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var AE=[{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"}],bp=function(){function e(){kE(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}();bp.events=AE;function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Op=[],jn=function(){function e(r){ME(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}();jn.staticControls=Op,jn.staticRegisteredTypes=new Set(Op.map(function(e){return e.Designer.controlType})),jn.staticRegisteredConfigs=new Map;function gp(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 kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function ce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ya(e,t)}function mp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function DE(e,t){return t&&(FE(t)==="object"||typeof t=="function")?t:gp(e)}function ya(e,t){return ya=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ya(e,t)}var FE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=LE();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 DE(this,o)}}var ne=function e(t){w(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:""},An=function e(t){w(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:""},Pp=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(An),Rp=function e(t){w(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},va=function e(t){w(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 Rp(u)}))!==null&&i!==void 0?i:[]},wp=function e(t){w(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},$p=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(An),Tp=function e(t){w(this,e);var r,n;this.type="sublist-page",this.formBind=new An(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new wp(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 $p(u)}))!==null&&i!==void 0?i:[]},Sp=function e(t){w(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Je=function e(t){w(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:[]},Ep=function e(t){var r=this;w(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ie();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 ha(f);(s=r.children)===null||s===void 0||s.push(y)}}))},ha=function e(t){w(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie();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 Sp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Je(t==null?void 0:t.rightVariableBo)},J=function e(t){w(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:""},Mn=function e(t){w(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},da=function e(t){w(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},Ip=function e(t){w(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},xE=function e(t){w(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 da(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 Ip(l)}))!==null&&a!==void 0?a:[]};function _a(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 Ep(i):new ha(i)}))!==null&&r!==void 0?r:[],mp(this,V)||mp(this,Dn)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new da(i)}))!==null&&o!==void 0?o:[]}}var V=function e(t){var r=this;w(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 Mn(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:"",_a.call(this,t)},Np=function e(t){w(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 Mn(u)}))!==null&&i!==void 0?i:[]},Ct=function(e){ce(r,e);var t=fe(r);function r(n){w(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 Np(f)}))!==null&&u!==void 0?u:[],o}return r}(V),Cp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this,n),o.rootNode=new Je(n==null?void 0:n.rootNode),o}return r}(Ct),Bp=function e(t){w(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 J(u)}))!==null&&i!==void 0?i:[]},Dn=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this,n),_a.call(gp(o),n),o}return r}(Bp),pa=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(Bp),zE=function e(t){w(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:""},ba=function e(t){w(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:""},Oa=function e(t){w(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie(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},jp=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(Oa);function ae(e){var t;return(t=e==null?void 0:e.map(function(r){return new Oa(r)}))!==null&&t!==void 0?t:[]}function GE(e){var t;return(t=e==null?void 0:e.map(function(r){return new jp(r)}))!==null&&t!==void 0?t:[]}var Fn=function e(){w(this,e)},kp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.amount=new ne(n==null?void 0:n.amount),o.currency=new ne(n==null?void 0:n.currency),o}return r}(Fn),Ap=function e(t){w(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},Mp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.min=new ne(n==null?void 0:n.min),o.max=new ne(n==null?void 0:n.max),o}return r}(Fn),Dp=function e(t){w(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:""},Fp=function e(t){w(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:""},Lp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.result=new ne(n==null?void 0:n.result),o.unit=new ne(n==null?void 0:n.unit),o}return r}(Fn),xp=function e(t){w(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 he=function e(t){w(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},zp=function e(t){w(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ie(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 Rp(u)}))!==null&&i!==void 0?i:[],_a.call(this,t)},VE=function e(t){w(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:ie(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},Gp=function e(t){w(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 HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ga(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YE(){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 YE()?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&&jt(l,u.prototype),l},Ln.apply(null,arguments)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function qE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function UE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function WE(e,t){return t&&(KE(t)==="object"||typeof t=="function")?t:HE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}var KE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ma(e){var t=typeof Map=="function"?new Map:void 0;return ma=function(n){if(n===null||!UE(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,Bt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),jt(o,n)},ma(e)}function XE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QE(e){var t=XE();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 WE(this,o)}}var L=function e(t){ga(this,e),this.isHide={type:"boolean"}},pe=function(e){qE(r,e);var t=QE(r);function r(n){return ga(this,r),t.call(this)}return r}(ma(Array)),x=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ga(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Gp(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};x.Rules=L,x.RuntimeRules=pe;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 JE(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 xn(e,t){return xn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xn(e,t)}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 zn(e,t,r){return ZE()?zn=Reflect.construct:zn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&xn(l,u.prototype),l},zn.apply(null,arguments)}function eI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ra(e){var t=typeof Map=="function"?new Map:void 0;return Ra=function(n){if(n===null||!eI(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 zn(n,arguments,Pa(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),xn(o,n)},Ra(e)}var tI=/%[sdj%]/g,Vp=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Vp=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function wa(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 re(){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(tI,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 nI(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function z(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||nI(t)&&typeof e=="string"&&!e)}function rI(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 Hp(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 oI(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Yp=function(e){JE(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}(Ra(Error));function iI(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 Yp(O,wa(O))):y()},b=oI(e);Hp(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 Yp(l,wa(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var _=e[b];i.indexOf(b)!==-1?Hp(_,r,p):rI(_,r,p)})});return s.catch(function(y){return y}),s}function qp(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 Up(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 Wp(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||z(t,i||e.type))&&n.push(re(o.messages.required,e.fullField))}function uI(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(re(o.messages.whitespace,e.fullField))}var $a={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($a.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match($a.url)},hex:function(t){return typeof t=="string"&&!!t.match($a.hex)}};function cI(e,t,r,n,o){if(e.required&&t===void 0){Wp(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(re(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(re(o.messages.types[u],e.fullField,e.type))}function fI(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(re(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(re(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(re(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(re(o.messages[s].range,e.fullField,e.min,e.max))}var Ze="enum";function aI(e,t,r,n,o){e[Ze]=Array.isArray(e[Ze])?e[Ze]:[],e[Ze].indexOf(t)===-1&&n.push(re(o.messages[Ze],e.fullField,e[Ze].join(", ")))}function lI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(re(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(re(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var T={required:Wp,whitespace:uI,type:cI,range:fI,enum:aI,pattern:lI};function sI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t,"string")&&!e.required)return r();T.required(e,t,n,i,o,"string"),z(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 yI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}function vI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),z(t)&&!e.required)return r();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 hI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}function dI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),z(t)||T.type(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(z(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(z(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 bI(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 OI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}var gI="enum";function mI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T[gI](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(z(t,"string")&&!e.required)return r();T.required(e,t,n,i,o),z(t,"string")||T.pattern(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(z(t,"date")&&!e.required)return r();if(T.required(e,t,n,i,o),!z(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 wI(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 Ta(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(z(t,i)&&!e.required)return r();T.required(e,t,n,u,o,i),z(t,i)||T.type(e,t,n,u,o)}r(u)}function $I(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o)}r(i)}var At={string:sI,method:yI,number:vI,boolean:hI,regexp:dI,integer:_I,float:pI,array:bI,object:OI,enum:mI,pattern:PI,date:RI,url:Ta,hex:Ta,email:Ta,required:wI,any:$I};function Sa(){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 Ea=Sa();function be(e){this.rules=null,this._messages=Ea,this.define(e)}be.prototype={messages:function(t){return t&&(this._messages=Up(Sa(),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 R(m){if(Array.isArray(m)){var S;d=(S=d).concat.apply(S,m)}else d.push(m)}for(O=0;O<_.length;O++)R(_[O]);d.length?g=wa(d):(d=null,g=null),f(d,g)}if(u.messages){var l=this.messages();l===Ea&&(l=Sa()),Up(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=le({},i)),y=i[_]=d.transform(y)),typeof d=="function"?d={validator:d}:d=le({},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 iI(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 R(P,$){return le(le({},$),{},{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(qp(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(qp(d)):u.error&&($=[u.error(d,re(u.messages.required,d.field))]),O($);var C={};if(d.defaultField)for(var Z in _.value)_.value.hasOwnProperty(Z)&&(C[Z]=d.defaultField);C=le(le({},C),_.rule.fields);for(var A in C)if(C.hasOwnProperty(A)){var Rue=Array.isArray(C[A])?C[A]:[C[A]];C[A]=Rue.map(R.bind(null,A))}var bw=new be(C);bw.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),bw.validate(_.value,_.rule.options||u,function(rp){var $t=[];$&&$.length&&$t.push.apply($t,$),rp&&rp.length&&$t.push.apply($t,rp),O($t.length?$t: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&&!At.hasOwnProperty(t.type))throw new Error(re("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}},be.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},be.warning=Vp,be.messages=Ea,be.validators=At;var TI={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 Kp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new be(e);return r.messages(Object.assign(TI,t)),r}var Xp=new pp;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 SI(e){if(Array.isArray(e))return e}function EI(e){if(Array.isArray(e))return Ia(e)}function Qp(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 Jp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Qp(i,n,o,u,f,"next",a)}function f(a){Qp(i,n,o,u,f,"throw",a)}u(void 0)})}}function II(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 NI(e,t,r){return t&&Zp(e.prototype,t),r&&Zp(e,r),e}function CI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function BI(){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 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 nb(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){CI(e,o,r[o])})}return e}function kI(e){return SI(e)||tb(e)||rb(e)||BI()}function Na(e){return EI(e)||tb(e)||rb(e)||jI()}function rb(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 ob=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}}},B=function(){function t(n){var o=this;II(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=ub,this.removeSetting=ib,this._callControlHooks("preInstance",n);var i=eb(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||ia("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:ie(10),this.name=u,this.icon=f;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:a,this.props=new x(n==null?void 0:n.props,(eb(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 d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d: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=kI(i),l=a[0],s=a.slice(1);return(f=Xp).emit.apply(f,[l,this].concat(Na(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),yp(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Jp(function(){var i,u,f;return ob(this,function(a){switch(a.label){case 0:return i=nb({},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 Jp(function(){var f,a,l,s;return ob(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:nb({},u.rules),Array.isArray(i)&&i.forEach(function(v){a.hasOwnProperty(v)&&delete a[v]}),l=Kp(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: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,Na(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},NI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();B.controlName="\u63A7\u4EF6",B.controlIcon="icon",B.controlType="control",B.controlEventKeys=[],B.controlCustomEvents=[],B.setting=[],B.__is_control__=!0,B.removeSettingItem=ib,B.updateSettingItem=ub;function ib(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 ub(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,Na(t.showItems))}}}})}function AI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MI(e,t,r){return t&&cb(e.prototype,t),r&&cb(e,r),e}function DI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var H=function(){function t(r){AI(this,t),this.customEvents=[],this.parent=null;var n=DI(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ia("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ie(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new x(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 MI(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 Gn(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=hp(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 Vn(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 fb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function qn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ca(e,t)}function FI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function LI(e,t){return t&&(xI(t)==="object"||typeof t=="function")?t:fb(e)}function Ca(e,t){return Ca=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ca(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 Un(e){var t=zI();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LI(this,o)}}var W=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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(FI(n.dataBind,ne))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}(L),j=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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){qn(r,e);var t=Un(r);function r(n){Hn(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 ne(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}(x);E.Rules=W,E.RuntimeRules=j;var Ie=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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")}],Gn.call(fb(o),n),o}return r}(W);function GI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VI(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 HI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YI(e,t){return t&&(qI(t)==="object"||typeof t=="function")?t:GI(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ba(e,t)}var qI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WI(e){var t=UI();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 YI(this,o)}}var I=function(e){HI(r,e);var t=WI(r);function r(n){VI(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}(B);I.controlEventKeys=["on_change","on_focus","on_blur"];function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XI(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 QI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JI(e,t){return t&&(ZI(t)==="object"||typeof t=="function")?t:KI(e)}function ja(e,t){return ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ja(e,t)}var ZI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();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 JI(this,o)}}var N=function(e){QI(r,e);var t=tN(r);function r(n){XI(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 nN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(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&&ka(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:nN(e)}function ka(e,t){return ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ka(e,t)}var uN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fN(e){var t=cN();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 iN(this,o)}}var M=function(e){oN(r,e);var t=fN(r);function r(n){return rN(this,r),t.call(this,n)}return r}(x);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 aN(e){if(Array.isArray(e))return Aa(e)}function lN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sN(){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){return aN(e)||lN(e)||yN(e)||sN()}function yN(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 lb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ma(e,t){e.parent=t,lb(e,"parent")}function sb(e,t){e.forEach(function(r){Ma(r,t)})}var yb=Symbol("targetKey");function vb(e){var t;return(t=e[yb])!==null&&t!==void 0?t:e}function hb(e,t){return sb(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===yb?n:(a=Reflect).get.apply(a,[n,o].concat(ab(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(ab(f)));return fa(i)&&Ma(i,t),s}})}function se(e,t,r,n){var o=n!=null?n:e,i=hb(vb(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=hb(vb(f),o)},enumerable:!0})}function Da(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 vN(e){if(Array.isArray(e))return Da(e)}function db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _b(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 hN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_b(i,n,o,u,f,"next",a)}function f(a){_b(i,n,o,u,f,"throw",a)}u(void 0)})}}function dN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function et(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(o,i,u){var f=$N(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 Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function pN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fa(e,t)}function bN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ON(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gN(){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 mN(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){_N(e,o,r[o])})}return e}function PN(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 RN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):PN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function wN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:db(e)}function Fa(e,t){return Fa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fa(e,t)}function $N(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Oe(e),e!==null););return e}function pb(e){return vN(e)||ON(e)||SN(e)||gN()}var TN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SN(e,t){if(!!e){if(typeof e=="string")return Da(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 Da(e,t)}}function EN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IN(e){var t=EN();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 wN(this,o)}}var NN=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}}},CN=1e4,D=function(t){pN(n,t);var r=IN(n);function n(i){dN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=bN(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),se(db(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 et(Oe(n.prototype),"validate",a)};return hN(function(){return NN(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=et(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 pb(l).concat(pb(v))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=et(Oe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return RN(mN({},u),{children:f})},n}(B);D.excludes=!1,D.childrenMaxLength=CN;function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BN(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 jN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&La(e,t)}function kN(e,t){return t&&(AN(t)==="object"||typeof t=="function")?t:bb(e)}function La(e,t){return La=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},La(e,t)}var AN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=MN();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 kN(this,o)}}var G=function(e){jN(r,e);var t=DN(r);function r(n){BN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new M(n==null?void 0:n.props),se(bb(o),"children",n==null?void 0:n.children),o}return r}(H);function Ob(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xa(e,t)}function xN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:Ob(e)}function xa(e,t){return xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xa(e,t)}var zN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VN(e){var t=GN();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 xN(this,o)}}var Mt=function(e){LN(r,e);var t=VN(r);function r(n,o){FN(this,r);var i;return i=t.call(this,o),se(Ob(i),"headers",o==null?void 0:o.headers,n),i}return r}(x);function za(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 HN(e){if(Array.isArray(e))return za(e)}function gb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mb(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 YN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){mb(i,n,o,u,f,"next",a)}function f(a){mb(i,n,o,u,f,"throw",a)}u(void 0)})}}function qN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(o,i,u){var f=ZN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},tt(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(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&&Ga(e,t)}function KN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function XN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pb(e){for(var t=1;t<arguments.length;t++){var 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){UN(e,o,r[o])})}return e}function QN(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 Rb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):QN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function JN(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:gb(e)}function Ga(e,t){return Ga=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ga(e,t)}function ZN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function wb(e){return HN(e)||KN(e)||tC(e)||XN()}var eC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tC(e,t){if(!!e){if(typeof e=="string")return za(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 za(e,t)}}function nC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=nC();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 JN(this,o)}}var oC=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}}},Zn=function(e){WN(r,e);var t=rC(r);function r(o){qN(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Mt(gb(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 tt(ge(r.prototype),"validate",f)};return YN(function(){return oC(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=tt(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 wb(a).concat(wb(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=tt(ge(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Rb(Pb({},i),{props:Rb(Pb({},this.props),{headers:u})})},r}(B);Zn.controlFieldType=c.FieldTypes.LIST;function Va(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iC(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 uC(e,t,r){return t&&$b(e.prototype,t),r&&$b(e,r),e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(e)}function cC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ha(e,t)}function fC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:Va(e)}function Ha(e,t){return Ha=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ha(e,t)}var aC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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=er(e),o;if(t){var i=er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fC(this,o)}}var Ya=function(e){cC(r,e);var t=sC(r);function r(n){iC(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Mt(Va(o),n==null?void 0:n.props),se(Va(o),"children",n==null?void 0:n.children),o}return uC(r,[{key:"length",get:function(){return this.children.length}}]),r}(H);function Tb(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 tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(e)}function Ua(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wa(e,t)}function yC(e,t){return t&&(vC(t)==="object"||typeof t=="function")?t:Tb(e)}function Wa(e,t){return Wa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wa(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 Ka(e){var t=hC();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 yC(this,o)}}var nr=function(e){Ua(r,e);var t=Ka(r);function r(n){qa(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){Ua(r,e);var t=Ka(r);function r(n){qa(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 ne(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}(x);F.Rules=nr;var Xa=function(e){Ua(r,e);var t=Ka(r);function r(n){qa(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")}],Gn.call(Tb(o),n),o}return r}(nr);function dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function pC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bC(e,t){return t&&(OC(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 OC=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 mC(e){var t=gC();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 bC(this,o)}}var Y=function(e){pC(r,e);var t=mC(r);function r(n){_C(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}(B);function PC(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 or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function $C(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:PC(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var TC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EC(e){var t=SC();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 $C(this,o)}}var q=function(e){wC(r,e);var t=EC(r);function r(n){RC(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 IC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(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 CC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:IC(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}var jC=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 AC(e){var t=kC();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 BC(this,o)}}var ur=function(e){CC(r,e);var t=AC(r);function r(n){NC(this,r);var o;return o=t.call(this,n),o.dataBind=new ne(n==null?void 0:n.dataBind),o}return r}(M);function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(e)}function FC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:MC(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var xC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=zC();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 LC(this,o)}}var Sb=function(e){FC(r,e);var t=GC(r);function r(n){DC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ur(n==null?void 0:n.props),o}return r}(D);function VC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HC(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 YC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tl(e,t)}function qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:VC(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(e,t)}var UC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KC(e){var t=WC();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 qC(this,o)}}var Eb=function(e){YC(r,e);var t=KC(r);function r(n){HC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ur(n==null?void 0:n.props),o}return r}(G);function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){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 JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nl(e,t)}function ZC(e,t){return t&&(eB(t)==="object"||typeof t=="function")?t:XC(e)}function nl(e,t){return nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nl(e,t)}var eB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nB(e){var t=tB();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 ZC(this,o)}}var rl=function(e){JC(r,e);var t=nB(r);function r(n){return QC(this,r),t.call(this,n)}return r}(M);function rB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oB(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 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 uB(e,t){return t&&(cB(t)==="object"||typeof t=="function")?t:rB(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 fB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aB(e){var t=fB();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 uB(this,o)}}var lB=function(e){iB(r,e);var t=aB(r);function r(n){oB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new rl(n==null?void 0:n.props),o}return r}(D);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&&il(e,t)}function hB(e,t){return t&&(dB(t)==="object"||typeof t=="function")?t:sB(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(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 rl(n==null?void 0:n.props),o}return r}(G);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&&ul(e,t)}function PB(e,t){return t&&(RB(t)==="object"||typeof t=="function")?t:OB(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(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 cl=function(e){mB(r,e);var t=$B(r);function r(n){gB(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}(x);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EB(e,t,r){return t&&Ib(e.prototype,t),r&&Ib(e,r),e}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&&fl(e,t)}function NB(e,t){return t&&(CB(t)==="object"||typeof t=="function")?t:TB(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fl(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 Nb=function(e){IB(r,e);var t=jB(r);function r(n){SB(this,r);var o;return o=t.call(this,n),o.props=new cl(n==null?void 0:n.props),o}return EB(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(B);Nb.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 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 Cb(e,t){for(var r=0;r<t.length;r++){var 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&&Cb(e.prototype,t),r&&Cb(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&&al(e,t)}function FB(e,t){return t&&(LB(t)==="object"||typeof t=="function")?t:kB(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(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 GB=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 cl(n==null?void 0:n.props),o}return MB(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(H),Bb={Designer:Nb,Runtime:GB,Property:cl};function VB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HB(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 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&&ll(e,t)}function qB(e,t){return t&&(UB(t)==="object"||typeof t=="function")?t:VB(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(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 sl=function(e){YB(r,e);var t=KB(r);function r(n){HB(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}(x);function XB(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 jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JB(e,t,r){return t&&jb(e.prototype,t),r&&jb(e,r),e}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&&yl(e,t)}function e1(e,t){return t&&(t1(t)==="object"||typeof t=="function")?t:XB(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(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 vl=function(e){ZB(r,e);var t=r1(r);function r(n){QB(this,r);var o;return o=t.call(this,n),o.props=new sl(n==null?void 0:n.props),o}return JB(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(B);vl.controlEventKeys=["on_click"],vl.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 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 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 u1(e,t,r){return t&&kb(e.prototype,t),r&&kb(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&&hl(e,t)}function f1(e,t){return t&&(a1(t)==="object"||typeof t=="function")?t:o1(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(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 y1=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 sl(n==null?void 0:n.props),o}return u1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(H),Ab={Designer:vl,Runtime:y1,Property:sl};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 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&&dl(e,t)}function _1(e,t){return t&&(p1(t)==="object"||typeof t=="function")?t:v1(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(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 X=function(e){d1(r,e);var t=O1(r);function r(n){h1(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}(x);function g1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P1(e,t,r){return t&&Mb(e.prototype,t),r&&Mb(e,r),e}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&&_l(e,t)}function w1(e,t){return t&&($1(t)==="object"||typeof t=="function")?t:g1(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(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){m1(this,r);var o;return o=t.call(this,n),o.props=new X(n==null?void 0:n.props),o}return P1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(B);Q.controlEventKeys=["on_click"],Q.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 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 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 N1(e,t,r){return t&&Db(e.prototype,t),r&&Db(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&&pl(e,t)}function B1(e,t){return t&&(j1(t)==="object"||typeof t=="function")?t:E1(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(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 oe=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 X(n==null?void 0:n.props),o}return N1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(H),Fb={Designer:Q,Runtime:oe,Property:X};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 mr=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:ie(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 Pr=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie();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 bl=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 Je((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 Je((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 Je((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:""},Lb=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 bl(a)}))!==null&&o!==void 0?o:[new bl];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:""},Ol=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie(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},gl=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:""},xb=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 gl(t==null?void 0:t.watermark),this.autoRename=new gl(t==null?void 0:t.autoRename)},zb=480;function Dt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Gb=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:[]},Vb=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 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 Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&ml(e,t)}function L1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:M1(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var x1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=z1();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 L1(this,o)}}var Pl=function(e){F1(r,e);var t=G1(r);function r(n){D1(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}(x);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 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 Y1(e,t,r){return t&&Hb(e.prototype,t),r&&Hb(e,r),e}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&&Rl(e,t)}function U1(e,t){return t&&(W1(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 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 Yb=function(e){q1(r,e);var t=X1(r);function r(n){H1(this,r);var o;return o=t.call(this,n),o.props=new Pl(n==null?void 0:n.props),o}return Y1(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(B);Yb.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];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 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 Z1(e,t,r){return t&&qb(e.prototype,t),r&&qb(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&&wl(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:Q1(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(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 ij=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 Pl(n==null?void 0:n.props),o}return Z1(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(H),Ub={Designer:Yb,Runtime:ij,Property:Pl};function uj(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 Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function Kb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(fj(t)==="object"||typeof t=="function")?t:uj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var fj=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 Xb(e){var t=aj();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 cj(this,o)}}var lj=function(e){Kb(r,e);var t=Xb(r);function r(n){Wb(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),Sr=function(e){Kb(r,e);var t=Xb(r);function r(n){Wb(this,r);var o;o=t.call(this,n),o.dataBind=new ne(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:nt==null?void 0:nt.controlName)!==null&&f!==void 0?f:"",o}return r}(x);Sr.Rules=lj;function sj(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 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 vj(e,t,r){return t&&Qb(e.prototype,t),r&&Qb(e,r),e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&Tl(e,t)}function dj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:sj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(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 bj(e){var t=pj();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 nt=function(e){hj(r,e);var t=bj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),o.props=new Sr(n==null?void 0:n.props),o}return vj(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(B);nt.controlFieldType=c.FieldTypes.AUTO_NUMBER,nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];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 Jb(e,t){for(var r=0;r<t.length;r++){var 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&&Jb(e.prototype,t),r&&Jb(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&&Sl(e,t)}function Rj(e,t){return t&&(wj(t)==="object"||typeof t=="function")?t:Oj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(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 Sj=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 Sr(n==null?void 0:n.props),o}return mj(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(H),Zb={Designer:nt,Runtime:Sj,Property:Sr};function Ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function tO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function Ij(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:Ej(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var Nj=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 nO(e){var t=Cj();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 Ij(this,o)}}var Bj=function(e){tO(r,e);var t=nO(r);function r(n){eO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")},o}return r}(L),Cr=function(e){tO(r,e);var t=nO(r);function r(n){eO(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}(X);Cr.Rules=Bj;function jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aj(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function Mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function Dj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:jj(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(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 xj(e){var t=Lj();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 Dj(this,o)}}var Ft=function(e){Mj(r,e);var t=xj(r);function r(n){kj(this,r);var o;return o=t.call(this,n),o.props=new Cr(n==null?void 0:n.props),o}return Aj(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}(Q);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 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 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 Vj(e,t,r){return t&&oO(e.prototype,t),r&&oO(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&&Nl(e,t)}function Yj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:zj(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(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 Kj=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 Cr(n==null?void 0:n.props),o}return Vj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(oe),iO={Designer:Ft,Runtime:Kj,Property:Cr};function Xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cl(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:Xj(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(e,t)}var Jj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fO(e){var t=Zj();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 ek=function(e){cO(r,e);var t=fO(r);function r(n){uO(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),Ar=function(e){cO(r,e);var t=fO(r);function r(n){uO(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}(X);Ar.Rules=ek;function tk(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 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 rk(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(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&&Bl(e,t)}function ik(e,t){return t&&(uk(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 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 fk(e){var t=ck();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 ik(this,o)}}var Lt=function(e){ok(r,e);var t=fk(r);function r(n){nk(this,r);var o;return o=t.call(this,n),o.props=new Ar(n==null?void 0:n.props),o}return rk(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}(Q);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 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 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 sk(e,t,r){return t&&lO(e.prototype,t),r&&lO(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&&jl(e,t)}function vk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:ak(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(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 pk=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 Ar(n==null?void 0:n.props),o}return sk(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(oe),sO={Designer:Lt,Runtime:pk,Property:Ar};function bk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ok(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&kl(e,t)}function mk(e,t){return t&&(Pk(t)==="object"||typeof t=="function")?t:bk(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(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 Al=function(e){gk(r,e);var t=wk(r);function r(n){Ok(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}(X);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 yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sk(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}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&&Ml(e,t)}function Ik(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:$k(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(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 xt=function(e){Ek(r,e);var t=Bk(r);function r(n){Tk(this,r);var o;return o=t.call(this,n),o.props=new Al(n==null?void 0:n.props),o}return Sk(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}(Q);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 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 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 Ak(e,t,r){return t&&vO(e.prototype,t),r&&vO(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&&Dl(e,t)}function Dk(e,t){return t&&(Fk(t)==="object"||typeof t=="function")?t:jk(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(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 zk=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 Al(n==null?void 0:n.props),o}return Ak(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(oe),hO={Designer:xt,Runtime:zk,Property:Al};function Gk(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 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&&Fl(e,t)}function Yk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:Gk(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(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 Ll=function(e){Hk(r,e);var t=Wk(r);function r(n){Vk(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 Ol(l)}))!==null&&a!==void 0?a:[new Ol({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(X);function Kk(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 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 Qk(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}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&&xl(e,t)}function Zk(e,t){return t&&(e3(t)==="object"||typeof t=="function")?t:Kk(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(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 zt=function(e){Jk(r,e);var t=n3(r);function r(n){Xk(this,r);var o;return o=t.call(this,n),o.props=new Ll(n==null?void 0:n.props),o}return Qk(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}(Q);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 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 _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 i3(e,t,r){return t&&_O(e.prototype,t),r&&_O(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&&zl(e,t)}function c3(e,t){return t&&(f3(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 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 s3=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 Ll(n==null?void 0:n.props),o}return i3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(oe),pO={Designer:zt,Runtime:s3,Property:Ll};function y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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&&Gl(e,t)}function d3(e,t){return t&&(_3(t)==="object"||typeof t=="function")?t:y3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(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 Vl=function(e){h3(r,e);var t=b3(r);function r(n){v3(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}(X);function O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m3(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}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&&Hl(e,t)}function R3(e,t){return t&&(w3(t)==="object"||typeof t=="function")?t:O3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(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 Gt=function(e){P3(r,e);var t=T3(r);function r(n){g3(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return m3(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}(Q);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 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 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 I3(e,t,r){return t&&OO(e.prototype,t),r&&OO(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&&Yl(e,t)}function C3(e,t){return t&&(B3(t)==="object"||typeof t=="function")?t:S3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(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 A3=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 Vl(n==null?void 0:n.props),o}return I3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(oe),gO={Designer:Gt,Runtime:A3,Property:Vl};function M3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function D3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function F3(e,t){return t&&(L3(t)==="object"||typeof t=="function")?t:M3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var L3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z3(e){var t=x3();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 F3(this,o)}}var G3=function e(t){mO(this,e),this.dataCode=t.dataCode},Ul=function(e){D3(r,e);var t=z3(r);function r(n){mO(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 G3(l)}))!==null&&a!==void 0?a:[],o}return r}(X);function V3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Y3(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function q3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function U3(e,t){return t&&(W3(t)==="object"||typeof t=="function")?t:V3(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var W3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X3(e){var t=K3();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 U3(this,o)}}var Vt=function(e){q3(r,e);var t=X3(r);function r(n){H3(this,r);var o;return o=t.call(this,n),o.props=new Ul(n==null?void 0:n.props),o}return Y3(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}(Q);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 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 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 Z3(e,t,r){return t&&RO(e.prototype,t),r&&RO(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&&Kl(e,t)}function tA(e,t){return t&&(nA(t)==="object"||typeof t=="function")?t:Q3(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(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 iA=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 Ul(n==null?void 0:n.props),o}return Z3(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(oe),wO={Designer:Vt,Runtime:iA,Property:Ul};function Xr(){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 uA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xl(e,t)}function SO(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){cA(e,o,r[o])})}return e}function fA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:uA(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 lA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EO(e){var t=lA();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 fA(this,o)}}var sA=function(e){TO(r,e);var t=EO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:SO({},Xr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:SO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Xr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(L),Jr=function(e){TO(r,e);var t=EO(r);function r(n){$O(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 Dn(n==null?void 0:n.fillPayload),o.formBind=new Pp(n==null?void 0:n.formBind),o.fillBack=new pa(n==null?void 0:n.fillBack),o}return r}(X);Jr.Rules=sA;function yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vA(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 hA(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function dA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _A(e,t){return t&&(pA(t)==="object"||typeof t=="function")?t:yA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(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 OA(e){var t=bA();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 _A(this,o)}}var Ht=function(e){dA(r,e);var t=OA(r);function r(n){vA(this,r);var o;return o=t.call(this,n),o.props=new Jr(n==null?void 0:n.props),o}return hA(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}(Q);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 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 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 PA(e,t,r){return t&&NO(e.prototype,t),r&&NO(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&&Jl(e,t)}function wA(e,t){return t&&($A(t)==="object"||typeof t=="function")?t:gA(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(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 EA=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 Jr(n==null?void 0:n.props),o}return PA(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(oe),CO={Designer:Ht,Runtime:EA,Property:Jr};function IA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function jO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kO(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){NA(e,o,r[o])})}return e}function CA(e,t){return t&&(BA(t)==="object"||typeof t=="function")?t:IA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var BA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jA();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 CA(this,o)}}var kA=function(e){jO(r,e);var t=AO(r);function r(n){BO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:kO({},Xr())},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:kO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Xr())},o}return r}(L),no=function(e){jO(r,e);var t=AO(r);function r(n){BO(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 Dn(n==null?void 0:n.fillPayload),o.listPageBind=new va(n==null?void 0:n.listPageBind),o.fillBack=new pa(n==null?void 0:n.fillBack),o}return r}(X);no.Rules=kA;function AA(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 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 DA(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(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&&es(e,t)}function LA(e,t){return t&&(xA(t)==="object"||typeof t=="function")?t:AA(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(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 GA(e){var t=zA();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 LA(this,o)}}var Yt=function(e){FA(r,e);var t=GA(r);function r(n){MA(this,r);var o;return o=t.call(this,n),o.props=new no(n==null?void 0:n.props),o}return DA(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}(Q);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 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 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 YA(e,t,r){return t&&DO(e.prototype,t),r&&DO(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&&ts(e,t)}function UA(e,t){return t&&(WA(t)==="object"||typeof t=="function")?t:VA(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(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 QA=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 no(n==null?void 0:n.props),o}return YA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(oe),FO={Designer:Yt,Runtime:QA,Property:no};function JA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(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&&os(e,t)}function ZA(e,t){return t&&(e2(t)==="object"||typeof t=="function")?t:JA(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var e2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function is(e){var t=t2();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 ZA(this,o)}}var n2=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(L),r2=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(pe),qt=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(x);qt.Rules=n2,qt.RuntimeRules=r2;function o2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i2(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 u2(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function c2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f2(e,t){return t&&(a2(t)==="object"||typeof t=="function")?t:o2(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var a2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s2(e){var t=l2();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 f2(this,o)}}var xO=function(e){c2(r,e);var t=s2(r);function r(n){i2(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return u2(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(B);xO.setting=[];function y2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h2(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(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&&cs(e,t)}function _2(e,t){return t&&(p2(t)==="object"||typeof t=="function")?t:y2(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var p2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O2(e){var t=b2();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 _2(this,o)}}var g2=function(e){d2(r,e);var t=O2(r);function r(n){v2(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return h2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(H),GO={Designer:xO,Runtime:g2,Property:qt};function m2(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 fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(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&&fs(e,t)}function P2(e,t){return t&&(R2(t)==="object"||typeof t=="function")?t:m2(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var R2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YO(e){var t=w2();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 $2=function(e){HO(r,e);var t=YO(r);function r(n){VO(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),ao=function(e){HO(r,e);var t=YO(r);function r(n){VO(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}(x);ao.Rules=$2;function T2(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 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 E2(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(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&&as(e,t)}function N2(e,t){return t&&(C2(t)==="object"||typeof t=="function")?t:T2(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var C2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j2(e){var t=B2();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 N2(this,o)}}var UO=function(e){I2(r,e);var t=j2(r);function r(n){S2(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return E2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(B);UO.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 k2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M2(e,t,r){return t&&WO(e.prototype,t),r&&WO(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(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&&ls(e,t)}function F2(e,t){return t&&(L2(t)==="object"||typeof t=="function")?t:k2(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var L2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=x2();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 F2(this,o)}}var G2=function(e){D2(r,e);var t=z2(r);function r(n){A2(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return M2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(H),KO={Designer:UO,Runtime:G2,Property:ao};function V2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(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&&ss(e,t)}function H2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:V2(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var Y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JO(e){var t=q2();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 H2(this,o)}}var U2=function(e){QO(r,e);var t=JO(r);function r(n){XO(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),vo=function(e){QO(r,e);var t=JO(r);function r(n){XO(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 zp(a)}))!==null&&f!==void 0?f:[],o}return r}(x);vo.Rules=U2;function W2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X2(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(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&&ys(e,t)}function J2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:W2(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var Z2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tM(e){var t=eM();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J2(this,o)}}var eg=function(e){Q2(r,e);var t=tM(r);function r(n){K2(this,r);var o;return o=t.call(this,n),o.props=new vo(n==null?void 0:n.props),o}return X2(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}(B);eg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oM(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 iM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function uM(e,t){return t&&(cM(t)==="object"||typeof t=="function")?t:nM(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var cM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aM(e){var t=fM();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 uM(this,o)}}var lM=function(e){iM(r,e);var t=aM(r);function r(n){rM(this,r);var o;return o=t.call(this,n),o.props=new vo(n==null?void 0:n.props),o}return oM(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(H),ng={Designer:eg,Runtime:lM,Property:vo};function sM(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 po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yM(e,t){return t&&(vM(t)==="object"||typeof t=="function")?t:sM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var vM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ig(e){var t=hM();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 yM(this,o)}}var dM=function(e){og(r,e);var t=ig(r);function r(n){rg(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),bo=function(e){og(r,e);var t=ig(r);function r(n){rg(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.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 J(_)}))!==null&&b!==void 0?b:[],o}return r}(X);bo.Rules=dM;function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bM(e,t,r){return t&&ug(e.prototype,t),r&&ug(e,r),e}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function OM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function gM(e,t){return t&&(mM(t)==="object"||typeof t=="function")?t:_M(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var mM=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 RM(e){var t=PM();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 gM(this,o)}}var rt=function(e){OM(r,e);var t=RM(r);function r(n){pM(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return bM(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}(Q);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 wM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TM(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 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&&_s(e,t)}function EM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:wM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var IM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=NM();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 EM(this,o)}}var BM=function(e){SM(r,e);var t=CM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return TM(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(oe),fg={Designer:rt,Runtime:BM,Property:bo};function jM(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 mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(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&&ps(e,t)}function kM(e,t){return t&&(AM(t)==="object"||typeof t=="function")?t:jM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var AM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sg(e){var t=MM();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 kM(this,o)}}var DM=function(e){lg(r,e);var t=sg(r);function r(n){ag(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),Po=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.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ot.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:ot.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:ot.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 J(_)}))!==null&&b!==void 0?b:[],o}return r}(X);Po.Rules=DM;function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LM(e,t){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 xM(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function zM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function GM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:FM(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var VM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YM(e){var t=HM();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 GM(this,o)}}var ot=function(e){zM(r,e);var t=YM(r);function r(n){LM(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return xM(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}(Q);ot.controlEventKeys=["on_click","on_click_finish"],ot.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 qM(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 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 WM(e,t,r){return t&&vg(e.prototype,t),r&&vg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function KM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:qM(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var QM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=JM();return function(){var n=wo(e),o;if(t){var i=wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var eD=function(e){KM(r,e);var t=ZM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return WM(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(oe),hg={Designer:ot,Runtime:eD,Property:Po};function tD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function _g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function nD(e,t){return t&&(rD(t)==="object"||typeof t=="function")?t:tD(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var rD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pg(e){var t=oD();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 nD(this,o)}}var iD=function(e){_g(r,e);var t=pg(r);function r(){dg(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),To=function(e){_g(r,e);var t=pg(r);function r(n){dg(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 Gb(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}(X);To.Rules=iD;function uD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fD(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(e)}function aD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function lD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:uD(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(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 vD(e){var t=yD();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 lD(this,o)}}var Ut=function(e){aD(r,e);var t=vD(r);function r(n){cD(this,r);var o;return o=t.call(this,n),o.props=new To(n==null?void 0:n.props),o}return fD(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}(Q);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 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 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 _D(e,t,r){return t&&Og(e.prototype,t),r&&Og(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&&Ps(e,t)}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:hD(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(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 PD=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 To(n==null?void 0:n.props),o}return _D(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(oe),gg={Designer:Ut,Runtime:PD,Property:To};function RD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Rs(e,t)}function TD(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:RD(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(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 ws=function(e){$D(r,e);var t=ID(r);function r(n){wD(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}(X);function ND(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BD(e,t,r){return t&&mg(e.prototype,t),r&&mg(e,r),e}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&&$s(e,t)}function kD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:ND(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(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 Wt=function(e){jD(r,e);var t=DD(r);function r(n){CD(this,r);var o;return o=t.call(this,n),o.props=new ws(n==null?void 0:n.props),o}return BD(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}(Q);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 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 Pg(e,t){for(var r=0;r<t.length;r++){var 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&&Pg(e.prototype,t),r&&Pg(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&&Ts(e,t)}function GD(e,t){return t&&(VD(t)==="object"||typeof t=="function")?t:FD(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(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 qD=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 ws(n==null?void 0:n.props),o}return xD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(oe),Rg={Designer:Wt,Runtime:qD,Property:ws};function UD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Ss(e,t)}function XD(e,t){return t&&(QD(t)==="object"||typeof t=="function")?t:UD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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 Es=function(e){KD(r,e);var t=ZD(r);function r(n){WD(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",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(x);function eF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nF(e,t,r){return t&&wg(e.prototype,t),r&&wg(e,r),e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function rF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function oF(e,t){return t&&(iF(t)==="object"||typeof t=="function")?t:eF(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(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 cF(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 ko=function(e){rF(r,e);var t=cF(r);function r(n){tF(this,r);var o;return o=t.call(this,n),o.props=new Es(n==null?void 0:n.props),o}return nF(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(B);ko.controlEventKeys=["on_click"],ko.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 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 $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 lF(e,t,r){return t&&$g(e.prototype,t),r&&$g(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(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&&Ns(e,t)}function yF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:fF(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(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=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yF(this,o)}}var _F=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 Es(n==null?void 0:n.props),o}return lF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(H),Kt={Designer:ko,Runtime:_F,Property:Es},pF=Object.freeze({__proto__:null,Text:Bb,Link:Ab,Button:Fb,Divider:Ub,Title:Zb,CreateFormListButton:iO,BatchSubmissionListButton:sO,SubmissionRecordListButton:hO,ExportListButton:pO,ExportRecordListButton:gO,ImportRecordListButton:wO,FormSelectButton:CO,ListSelectButton:FO,Pagination:GO,Dashboard:KO,ListViewSelect:ng,TextOcrButton:fg,InvoiceCheckButton:hg,BatchPrintListButton:gg,BatchPrintRecordListButton:Rg,OperationButton:Kt});function bF(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 OF(e,t){return t&&(gF(t)==="object"||typeof t=="function")?t:bF(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var gF=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 ks(e){var t=mF();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 OF(this,o)}}var PF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(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}(W),RF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(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}(j),it=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.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 ba(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:ut.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);it.Rules=PF,it.RuntimeRules=RF;function wF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TF(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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&&As(e,t)}function EF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:wF(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var IF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=NF();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 EF(this,o)}}var ut=function(e){SF(r,e);var t=CF(r);function r(n){$F(this,r);var o;return o=t.call(this,n),o.props=new it(n==null?void 0:n.props),o}return TF(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);ut.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ut.controlFieldType=c.FieldTypes.VARCHAR,ut.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 BF(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 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 kF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function AF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function MF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:BF(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var DF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LF(e){var t=FF();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 MF(this,o)}}var Eg=function(e){AF(r,e);var t=LF(r);function r(n){jF(this,r);var o;return o=t.call(this,n),o.props=new it(n==null?void 0:n.props),o}return kF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);Eg.controlFieldType=c.FieldTypes.VARCHAR;var Ig={Designer:ut,Runtime:Eg,Property:it};function xF(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 Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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 zF(e,t){return t&&(GF(t)==="object"||typeof t=="function")?t:xF(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var GF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=VF();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 zF(this,o)}}var HF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(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),YF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(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}(j),Xt=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.options=ae((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 V(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;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 J(d))})),o}return r}(E);Xt.Rules=HF,Xt.RuntimeRules=YF;function qF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WF(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function KF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function XF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:qF(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var QF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZF(e){var t=JF();return function(){var n=xo(e),o;if(t){var i=xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XF(this,o)}}var Qt=function(e){KF(r,e);var t=ZF(r);function r(n){UF(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return WF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(I);Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=c.FieldTypes.ARRAY,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:"limit-select",visible:!0},{key:"options-order",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 tL(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 nL(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function rL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:eL(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var iL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cL(e){var t=uL();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 oL(this,o)}}var Bg=function(e){rL(r,e);var t=cL(r);function r(n){tL(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return nL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Bg.controlFieldType=c.FieldTypes.ARRAY;var jg={Designer:Qt,Runtime:Bg,Property:Xt};function fL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&Vs(e,t)}function aL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:fL(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(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 Mg(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 yL=function(e){Ag(r,e);var t=Mg(r);function r(n){return kg(this,r),t.call(this,n)}return r}(Ie),Vo=function(e){Ag(r,e);var t=Mg(r);function r(n){kg(this,r);var o;o=t.call(this,n);var i;o.options=ae((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 V(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:Jt.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 J(_))})),o}return r}(E);Vo.Rules=yL;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 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 dL(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(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&&Hs(e,t)}function pL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:vL(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var bL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gL(e){var t=OL();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 pL(this,o)}}var Jt=function(e){_L(r,e);var t=gL(r);function r(n){hL(this,r);var o;return o=t.call(this,n),o.props=new Vo(n==null?void 0:n.props),o}return dL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(I);Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=c.FieldTypes.VARCHAR,Jt.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 mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RL(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function wL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $L(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:mL(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var TL=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 EL(e){var t=SL();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 $L(this,o)}}var Lg=function(e){wL(r,e);var t=EL(r);function r(n){PL(this,r);var o;return o=t.call(this,n),o.props=new Vo(n==null?void 0:n.props),o}return RL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);Lg.controlFieldType=c.FieldTypes.VARCHAR;var xg={Designer:Jt,Runtime:Lg,Property:Vo};function IL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function Us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function NL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:IL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var CL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=BL();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 NL(this,o)}}var jL=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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}(W),kL=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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}(j),Zt=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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?_:en.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 ba(n==null?void 0:n.regularRules),o}return r}(E);Zt.Rules=jL,Zt.RuntimeRules=kL;function AL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ML(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 DL(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function Uo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Uo=Reflect.get:Uo=function(o,i,u){var f=xL(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 ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(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&&Xs(e,t)}function LL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:AL(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function xL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ct(e),e!==null););return e}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 VL(e){var t=GL();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 LL(this,o)}}var en=function(e){FL(r,e);var t=VL(r);function r(o){ML(this,r);var i;return i=t.call(this,o),i.props=new Zt(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Uo(ct(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},DL(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(I);en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=c.FieldTypes.DECIMAL,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:"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 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 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 qL(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(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&&Qs(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:HL(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}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=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var Vg=function(e){UL(r,e);var t=QL(r);function r(n){YL(this,r);var o;return o=t.call(this,n),o.props=new Zt(n==null?void 0:n.props),o}return qL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Vg.controlFieldType=c.FieldTypes.DECIMAL;var Hg={Designer:en,Runtime:Vg,Property:Zt};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 Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function e4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t4(e,t){return t&&(n4(t)==="object"||typeof t=="function")?t:JL(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var n4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o4(e){var t=r4();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 t4(this,o)}}var Zs=function(e){e4(r,e);var t=o4(r);function r(n){ZL(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:Qo.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 mr(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 i4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 c4(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Xo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xo=Reflect.get:Xo=function(o,i,u){var f=l4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Xo(e,t,r||e)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(e)}function f4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function a4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:i4(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function l4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ft(e),e!==null););return e}var s4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v4(e){var t=y4();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 a4(this,o)}}var Qo=function(e){f4(r,e);var t=v4(r);function r(o){u4(this,r);var i;return i=t.call(this,o),i.props=new Zs(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Xo(ft(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},c4(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);Qo.controlFieldType=c.FieldTypes.TIMESTAMP,Qo.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 h4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _4(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function p4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function b4(e,t){return t&&(O4(t)==="object"||typeof t=="function")?t:h4(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var O4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b4(this,o)}}var Ug=function(e){p4(r,e);var t=m4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),o.props=new Zs(n==null?void 0:n.props),o}return _4(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Ug.controlFieldType=c.FieldTypes.TIMESTAMP;var Wg={Designer:Qo,Runtime:Ug,Property:Zs};function P4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function Xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function R4(e,t){return t&&(w4(t)==="object"||typeof t=="function")?t:P4(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var w4=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 Qg(e){var t=$4();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 R4(this,o)}}var T4=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(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}(j),ei=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o,i;o=t.call(this,n),o.dataBind=new Mp(n==null?void 0:n.dataBind),o.defaultValue=new Dp(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:ni.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new mr(b)}))!==null&&p!==void 0?p:[],o}return r}(E);ei.RuntimeRules=T4;function S4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E4(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 I4(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function ti(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ti=Reflect.get:ti=function(o,i,u){var f=B4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ti(e,t,r||e)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function N4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:S4(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function B4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=at(e),e!==null););return e}var j4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A4(e){var t=k4();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 C4(this,o)}}var ni=function(e){N4(r,e);var t=A4(r);function r(o){E4(this,r);var i;return i=t.call(this,o),i.props=new ei(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ti(at(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},I4(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);ni.controlFieldType=c.FieldTypes.TIMESCOPE,ni.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 M4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F4(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function x4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:M4(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(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 V4(e){var t=G4();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 x4(this,o)}}var em=function(e){L4(r,e);var t=V4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),o.props=new ei(n==null?void 0:n.props),o}return F4(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);em.controlFieldType=c.FieldTypes.TIMESCOPE;var tm={Designer:ni,Runtime:em,Property:ei};function H4(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 Y4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:H4(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var q4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=U4();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 Y4(this,o)}}var W4=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}(W),K4=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}(j),tn=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:nn.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);tn.Rules=W4,tn.RuntimeRules=K4;function X4(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 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 J4(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:X4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var t5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r5(e){var t=n5();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 e5(this,o)}}var nn=function(e){Z4(r,e);var t=r5(r);function r(n){Q4(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return J4(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);nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=c.FieldTypes.TEXT,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:"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 o5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u5(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function c5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function f5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:o5(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(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 s5(e){var t=l5();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 f5(this,o)}}var om=function(e){c5(r,e);var t=s5(r);function r(n){i5(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return u5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);om.controlFieldType=c.FieldTypes.TEXT;var im={Designer:nn,Runtime:om,Property:tn};function y5(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 ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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 v5(e,t){return t&&(h5(t)==="object"||typeof t=="function")?t:y5(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var h5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hy(e){var t=d5();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 v5(this,o)}}var _5=function(e){yy(r,e);var t=hy(r);function r(n){sy(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}(W),p5=function(e){yy(r,e);var t=hy(r);function r(n){sy(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}(j),rn=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.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;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(E);rn.Rules=_5,rn.RuntimeRules=p5;function b5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 g5(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function m5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function P5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:b5(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var R5=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 $5(e){var t=w5();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 P5(this,o)}}var on=function(e){m5(r,e);var t=$5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return g5(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(I);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:"rich-text",visible:!0},{key:"super-setting",visible:!0}];function T5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 E5(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function I5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function N5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:T5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(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 j5(e){var t=B5();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 N5(this,o)}}var fm=function(e){I5(r,e);var t=j5(r);function r(n){S5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return E5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);fm.controlFieldType=c.FieldTypes.TEXT;var am={Designer:on,Runtime:fm,Property:rn};function k5(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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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 A5(e,t){return t&&(M5(t)==="object"||typeof t=="function")?t:k5(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var M5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ym(e){var t=D5();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 A5(this,o)}}var F5=function(e){sm(r,e);var t=ym(r);function r(n){return lm(this,r),t.call(this,n)}return r}(Ie),si=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.options=ae((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 V(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:vi.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 J(v))})),o}return r}(E);si.Rules=F5;function L5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x5(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 z5(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function G5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function V5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:L5(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var H5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q5(e){var t=Y5();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 V5(this,o)}}var vi=function(e){G5(r,e);var t=q5(r);function r(n){x5(this,r);var o;return o=t.call(this,n),o.props=new si(n==null?void 0:n.props),o}return z5(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);vi.controlFieldType=c.FieldTypes.VARCHAR,vi.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 U5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W5(e,t){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 K5(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function X5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(J5(t)==="object"||typeof t=="function")?t:U5(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(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 e6(e){var t=Z5();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 Q5(this,o)}}var dm=function(e){X5(r,e);var t=e6(r);function r(n){W5(this,r);var o;return o=t.call(this,n),o.props=new si(n==null?void 0:n.props),o}return K5(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);dm.controlFieldType=c.FieldTypes.VARCHAR;var _m={Designer:vi,Runtime:dm,Property:si};function t6(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 di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(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 n6(e,t){return t&&(r6(t)==="object"||typeof t=="function")?t:t6(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var r6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=o6();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 n6(this,o)}}var i6=function(e){my(r,e);var t=Ry(r);function r(n){return gy(this,r),t.call(this,n)}return r}(Ie),u6=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}return r}(j),un=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.options=ae((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 V(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:pi.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 J(y))})),o}return r}(E);un.Rules=i6,un.RuntimeRules=u6;function c6(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 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 a6(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function l6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function s6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:c6(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var y6=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=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s6(this,o)}}var pi=function(e){l6(r,e);var t=h6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return a6(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);pi.controlFieldType=c.FieldTypes.ARRAY,pi.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 d6(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 p6(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function b6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:d6(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var g6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=m6();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 O6(this,o)}}var Om=function(e){b6(r,e);var t=P6(r);function r(n){_6(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return p6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Om.controlFieldType=c.FieldTypes.ARRAY;var gm={Designer:pi,Runtime:Om,Property:un};function R6(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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&Ty(e,t)}function w6(e,t){return t&&($6(t)==="object"||typeof t=="function")?t:R6(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(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 Rm(e){var t=T6();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 w6(this,o)}}var S6=function(e){Pm(r,e);var t=Rm(r);function r(n){mm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),gi=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.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:Pi.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 J(p))})),o}return r}(E);gi.RuntimeRules=S6;function E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N6(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function C6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function B6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:E6(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var j6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A6(e){var t=k6();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 B6(this,o)}}var Pi=function(e){C6(r,e);var t=A6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),o.props=new gi(n==null?void 0:n.props),o}return N6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);Pi.controlFieldType=c.FieldTypes.EMPLOYEES,Pi.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 M6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(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 F6(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function L6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function x6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:M6(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var z6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V6(e){var t=G6();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 x6(this,o)}}var Tm=function(e){L6(r,e);var t=V6(r);function r(n){D6(this,r);var o;return o=t.call(this,n),o.props=new gi(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);Tm.controlFieldType=c.FieldTypes.EMPLOYEES;var Sm={Designer:Pi,Runtime:Tm,Property:gi};function H6(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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function Ny(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function Y6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:H6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var q6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=U6();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 Y6(this,o)}}var W6=10485760,K6=104857600,X6=1048576e3,Q6=function(e){Ny(r,e);var t=By(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:X6,message:h.getMessage("attachmentMaxSize")},o}return r}(W),J6=function(e){Ny(r,e);var t=By(r);function r(n){Iy(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}(j),lt=function(e){Ny(r,e);var t=By(r);function r(n){Iy(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:K6;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:st.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);lt.Rules=Q6,lt.RuntimeRules=J6;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 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 t7(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&jy(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:Z6(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(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=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var st=function(e){n7(r,e);var t=u7(r);function r(n){e7(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return t7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);st.controlEventKeys=["on_change"],st.controlFieldType=c.FieldTypes.FILE,st.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 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 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 a7(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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&&ky(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:c7(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(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=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s7(this,o)}}var Ay=function(e){l7(r,e);var t=h7(r);function r(n){f7(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return a7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ay.controlFieldType=c.FieldTypes.FILE;var Nm={Designer:st,Runtime:Ay,Property:lt};function d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _7(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 p7(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(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&&My(e,t)}function O7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:d7(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(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=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O7(this,o)}}var Dy=function(e){b7(r,e);var t=P7(r);function r(n){_7(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 p7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(st);Dy.controlFieldType=c.FieldTypes.IMAGE,Dy.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 R7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $7(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:R7(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var E7=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 N7(e){var t=I7();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 S7(this,o)}}var C7=function(e){T7(r,e);var t=N7(r);function r(n){w7(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 $7(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ay);function B7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function A7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:B7(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var M7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F7(e){var t=D7();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 A7(this,o)}}var L7=function(e){k7(r,e);var t=F7(r);function r(n){return j7(this,r),t.call(this,n)}return r}(lt),jm={Designer:Dy,Runtime:C7,Property:L7};function x7(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 z7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function 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 G7(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){z7(e,o,r[o])})}return e}function V7(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 H7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):V7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Y7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:x7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=U7();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 Y7(this,o)}}var W7=function(e){zy(r,e);var t=Vy(r);function r(n){xy(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),K7=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="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[H7(G7({},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}(j),cn=function(e){zy(r,e);var t=Vy(r);function r(n){xy(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 kp(n==null?void 0:n.dataBind);var s;o.datasourceBind=new V((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Mn({value:"name"})]});var y;o.defaultValue=new Ap((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ae(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:fn.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);cn.Rules=W7,cn.RuntimeRules=K7;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 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 J7(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=t8(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 yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(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&&Hy(e,t)}function e8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:X7(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function t8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yt(e),e!==null););return e}var n8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o8(e){var t=r8();return function(){var n=yt(e),o;if(t){var i=yt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e8(this,o)}}var fn=function(e){Z7(r,e);var t=o8(r);function r(o){Q7(this,r);var i;return i=t.call(this,o),i.props=new cn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ci(yt(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},J7(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=c.FieldTypes.MONEY,fn.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 i8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 c8(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 f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:i8(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var l8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y8(e){var t=s8();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 a8(this,o)}}var Mm=function(e){f8(r,e);var t=y8(r);function r(n){u8(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return c8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);Mm.controlFieldType=c.FieldTypes.MONEY;var Dm={Designer:fn,Runtime:Mm,Property:cn};function v8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(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&&Wy(e,t)}function h8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:v8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var d8=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 Ky(e){var t=_8();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 h8(this,o)}}var p8=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(W),b8=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(j),an=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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 Pr(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Pr});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:ln.controlName,o}return r}(E);an.Rules=p8,an.RuntimeRules=b8;function Xy(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 O8(e){if(Array.isArray(e))return Xy(e)}function g8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P8(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function ki(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ki=Reflect.get:ki=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}},ki(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function w8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $8(){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 T8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:g8(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function S8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}function E8(e){return O8(e)||w8(e)||N8(e)||$8()}var I8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N8(e,t){if(!!e){if(typeof e=="string")return Xy(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 Xy(e,t)}}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 B8(e){var t=C8();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 T8(this,o)}}var ln=function(e){R8(r,e);var t=B8(r);function r(o){m8(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.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 Pr});(f=this.props.explain).push.apply(f,E8(l))}}ki(vt(r.prototype),"postUpdate",this).call(this,i,u)},P8(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(I);ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=c.FieldTypes.DECIMAL,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:"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 j8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A8(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function M8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function D8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:j8(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var F8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x8(e){var t=L8();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 D8(this,o)}}var xm=function(e){M8(r,e);var t=x8(r);function r(n){k8(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return A8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);xm.controlFieldType=c.FieldTypes.DECIMAL;var zm={Designer:ln,Runtime:xm,Property:an};function z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function Vm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function G8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:z8(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(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 Hm(e){var t=H8();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 G8(this,o)}}var Y8=function(e){Vm(r,e);var t=Hm(r);function r(n){Gm(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}(j),Di=function(e){Vm(r,e);var t=Hm(r);function r(n){Gm(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:Li.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 Fp((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);Di.RuntimeRules=Y8;function q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W8(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(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&&ev(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:q8(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(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=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X8(this,o)}}var Li=function(e){K8(r,e);var t=Z8(r);function r(n){U8(this,r);var o;return o=t.call(this,n),o.props=new Di(n==null?void 0:n.props),o}return W8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);Li.controlFieldType=c.FieldTypes.ADDRESS,Li.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 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 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 nx(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(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&&tv(e,t)}function ox(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:ex(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(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=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ox(this,o)}}var Um=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 Di(n==null?void 0:n.props),o}return nx(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);Um.controlFieldType=c.FieldTypes.ADDRESS;var Wm={Designer:Li,Runtime:Um,Property:Di};function fx(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 zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(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&&nv(e,t)}function ax(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:fx(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var lx=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 Qm(e){var t=sx();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 ax(this,o)}}var yx=function(e){Xm(r,e);var t=Qm(r);function r(n){Km(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Gi=function(e){Xm(r,e);var t=Qm(r);function r(n){Km(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:Hi.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 J(_))})),o}return r}(E);Gi.RuntimeRules=yx;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 Jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dx(e,t,r){return t&&Jm(e.prototype,t),r&&Jm(e,r),e}function Vi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vi=Reflect.get:Vi=function(o,i,u){var f=bx(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Vi(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&&rv(e,t)}function px(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:vx(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function bx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}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=ht(e),o;if(t){var i=ht(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return px(this,o)}}var Hi=function(e){_x(r,e);var t=mx(r);function r(o){hx(this,r);var i;return i=t.call(this,o),i.props=new Gi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Vi(ht(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},dx(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);Hi.controlFieldType=c.FieldTypes.DEPARTMENTS,Hi.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 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 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 wx(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(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&&(Sx(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)}var Sx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ex(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ex();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 Tx(this,o)}}var e0=function(e){$x(r,e);var t=Ix(r);function r(n){Rx(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return wx(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);e0.controlFieldType=c.FieldTypes.DEPARTMENTS;var t0={Designer:Hi,Runtime:e0,Property:Gi};function Nx(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 qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&iv(e,t)}function jx(e,t){return t&&(kx(t)==="object"||typeof t=="function")?t:Nx(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(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=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var uv=function(e){Bx(r,e);var t=Mx(r);function r(n){Cx(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:sn.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 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 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 Lx(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(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&&cv(e,t)}function zx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:Dx(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(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=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zx(this,o)}}var sn=function(e){xx(r,e);var t=Hx(r);function r(n){Fx(this,r);var o;return o=t.call(this,n),o.props=new uv(n==null?void 0:n.props),o}return Lx(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);sn.controlEventKeys=["on_change"],sn.controlFieldType=c.FieldTypes.AUTO_NUMBER,sn.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 Yx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qx(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 Ux(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(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&&fv(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:Yx(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(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=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kx(this,o)}}var o0=function(e){Wx(r,e);var t=Jx(r);function r(n){qx(this,r);var o;return o=t.call(this,n),o.props=new uv(n==null?void 0:n.props),o}return Ux(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);o0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var i0={Designer:sn,Runtime:o0,Property:uv};function Zx(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 Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&sv(e,t)}function e9(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:Zx(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var t9=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 yv(e){var t=n9();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 e9(this,o)}}var r9=function(e){lv(r,e);var t=yv(r);function r(n){av(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}(W),o9=function(e){lv(r,e);var t=yv(r);function r(n){av(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}(j),yn=function(e){lv(r,e);var t=yv(r);function r(n){av(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 Lp(n==null?void 0:n.dataBind),o.defaultValue=new xp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:vn.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);yn.Rules=r9,yn.RuntimeRules=o9;function i9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u9(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 c9(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function Xi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xi=Reflect.get:Xi=function(o,i,u){var f=l9(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 dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function f9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:i9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function l9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var s9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v9(e){var t=y9();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 a9(this,o)}}var vn=function(e){f9(r,e);var t=v9(r);function r(o){u9(this,r);var i;return i=t.call(this,o),i.props=new yn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Xi(dt(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},c9(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);vn.controlEventKeys=["on_change"],vn.controlFieldType=c.FieldTypes.CALC,vn.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 h9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _9(e,t,r){return t&&c0(e.prototype,t),r&&c0(e,r),e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&hv(e,t)}function b9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:h9(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var O9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=g9();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var f0=function(e){p9(r,e);var t=m9(r);function r(n){d9(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);f0.controlFieldType=c.FieldTypes.CALC;var a0={Designer:vn,Runtime:f0,Property:yn};function P9(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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function s0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function R9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:P9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(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 y0(e){var t=$9();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 R9(this,o)}}var T9=function(e){s0(r,e);var t=y0(r);function r(n){l0(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}(j),Zi=function(e){s0(r,e);var t=y0(r);function r(n){l0(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:tu.controlName,o}return r}(E);Zi.RuntimeRules=T9;function S9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I9(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function N9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function C9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:S9(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var B9=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 k9(e){var t=j9();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 C9(this,o)}}var tu=function(e){N9(r,e);var t=k9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),o.props=new Zi(n==null?void 0:n.props),o}return I9(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);tu.controlFieldType=c.FieldTypes.DECIMAL_RANGE,tu.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 A9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M9(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 D9(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function L9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:A9(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 z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G9(e){var t=z9();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 L9(this,o)}}var d0=function(e){F9(r,e);var t=G9(r);function r(n){M9(this,r);var o;return o=t.call(this,n),o.props=new Zi(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);d0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var _0={Designer:tu,Runtime:d0,Property:Zi};function V9(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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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 H9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:V9(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(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 O0(e){var t=q9();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 H9(this,o)}}var U9=function(e){b0(r,e);var t=O0(r);function r(n){p0(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}(j),ou=function(e){b0(r,e);var t=O0(r);function r(n){p0(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:uu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new mr(_)}))!==null&&b!==void 0?b:[],o}return r}(E);ou.RuntimeRules=U9;function W9(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 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 X9(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function Q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function J9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:W9(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var Z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J9(this,o)}}var uu=function(e){Q9(r,e);var t=tz(r);function r(n){K9(this,r);var o;return o=t.call(this,n),o.props=new ou(n==null?void 0:n.props),o}return X9(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);uu.controlFieldType=c.FieldTypes.ARRAY,uu.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 nz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rz(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 oz(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 iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:nz(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var cz=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 az(e){var t=fz();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 uz(this,o)}}var P0=function(e){iz(r,e);var t=az(r);function r(n){rz(this,r);var o;return o=t.call(this,n),o.props=new ou(n==null?void 0:n.props),o}return oz(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);P0.controlFieldType=c.FieldTypes.ARRAY;var R0={Designer:uu,Runtime:P0,Property:ou};function lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function Pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function sz(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:lz(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var yz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wv(e){var t=vz();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 sz(this,o)}}var hz=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(W),dz=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(j),hn=function(e){Pv(r,e);var t=wv(r);function r(n){mv(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:dn.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);hn.Rules=hz,hn.RuntimeRules=dz;function _z(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 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 bz(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:_z(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var mz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rz(e){var t=Pz();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gz(this,o)}}var dn=function(e){Oz(r,e);var t=Rz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return bz(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);dn.controlFieldType=c.FieldTypes.ANY,dn.controlEventKeys=[],dn.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 wz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $z(e,t){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 Tz(e,t,r){return t&&$0(e.prototype,t),r&&$0(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&Tv(e,t)}function Ez(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:wz(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var T0=function(e){Sz(r,e);var t=Cz(r);function r(n){$z(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return Tz(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);T0.controlFieldType=c.FieldTypes.ANY;var S0={Designer:dn,Runtime:T0,Property:hn};function Bz(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Sv(e,t)}function jz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Bz(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(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 N0(e){var t=Az();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 jz(this,o)}}var Mz=function(e){I0(r,e);var t=N0(r);function r(n){E0(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),yu=function(e){I0(r,e);var t=N0(r);function r(n){E0(this,r);var o;o=t.call(this,n);var i;o.options=ae((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 va(n==null?void 0:n.listPageBind),o.datasourceBind=new V(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:hu.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 J(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(E);yu.Rules=Mz;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 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 Lz(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Ev(e,t)}function zz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:Dz(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var Gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hz(e){var t=Vz();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 zz(this,o)}}var hu=function(e){xz(r,e);var t=Hz(r);function r(n){Fz(this,r);var o;return o=t.call(this,n),o.props=new yu(n==null?void 0:n.props),o}return Lz(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);hu.controlFieldType=c.FieldTypes.VARCHAR,hu.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 Yz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uz(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&Iv(e,t)}function Kz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:Yz(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var Xz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Qz();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kz(this,o)}}var j0=function(e){Wz(r,e);var t=Jz(r);function r(n){qz(this,r);var o;return o=t.call(this,n),o.props=new yu(n==null?void 0:n.props),o}return Uz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);j0.controlFieldType=c.FieldTypes.VARCHAR;var k0={Designer:hu,Runtime:j0,Property:yu};function Zz(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 _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:Zz(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 Cv=function(e){tG(r,e);var t=iG(r);function r(n){return eG(this,r),t.call(this,n)}return r}(it);function uG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cG(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 fG(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 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&&Bv(e,t)}function lG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:uG(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var sG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vG(e){var t=yG();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 lG(this,o)}}var M0=function(e){aG(r,e);var t=vG(r);function r(n){cG(this,r);var o;return o=t.call(this,n),o.props=new Cv(n==null?void 0:n.props),o}return fG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(ut);M0.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 hG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _G(e,t,r){return t&&D0(e.prototype,t),r&&D0(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 bG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:hG(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var OG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mG(e){var t=gG();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 bG(this,o)}}var F0=function(e){pG(r,e);var t=mG(r);function r(n){dG(this,r);var o;return o=t.call(this,n),o.props=new Cv(n==null?void 0:n.props),o}return _G(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);F0.controlFieldType=c.FieldTypes.VARCHAR;var L0={Designer:M0,Runtime:F0,Property:Cv};function x0(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 PG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:x0(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}var RG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dv(e){var t=wG();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 PG(this,o)}}var $G=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")}],Vn.call(x0(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}(W),TG=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}(j),_n=function(e){Av(r,e);var t=Dv(r);function r(n){kv(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 _;o.datasourceBind=new Cp((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{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 J(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);_n.Rules=$G,_n.RuntimeRules=TG;function SG(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 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 IG(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function NG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function CG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:SG(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var BG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kG(e){var t=jG();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 CG(this,o)}}var Ne=function(e){NG(r,e);var t=kG(r);function r(n){EG(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return IG(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 AG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(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 DG(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 FG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:AG(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var xG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GG(e){var t=zG();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 LG(this,o)}}var V0=function(e){FG(r,e);var t=GG(r);function r(n){MG(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return DG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);V0.controlFieldType=c.FieldTypes.ARRAY;var H0={Designer:Ne,Runtime:V0,Property:_n};function Y0(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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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 VG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:Y0(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var HG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vv(e){var t=YG();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 VG(this,o)}}var qG=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.externalScope={type:"any"},Vn.call(Y0(o),n,_t.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(W),UG=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}(j),pn=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.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 _;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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new J(g))})),o}return r}(E);pn.Rules=qG,pn.RuntimeRules=UG;function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XG(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&Hv(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:WG(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var ZG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tV(e){var t=eV();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JG(this,o)}}var _t=function(e){QG(r,e);var t=tV(r);function r(n){KG(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return XG(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 nV(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 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 oV(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(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&&Yv(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:nV(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var cV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aV(e){var t=fV();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 uV(this,o)}}var W0=function(e){iV(r,e);var t=aV(r);function r(n){rV(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return oV(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);W0.controlFieldType=c.FieldTypes.EMPLOYEES;var K0={Designer:_t,Runtime:W0,Property:pn};function lV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function Q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:lV(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(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 J0(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 hV=function(e){Q0(r,e);var t=J0(r);function r(n){X0(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}(W),Tu=function(e){Q0(r,e);var t=J0(r);function r(n){X0(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:bn.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 Lb(n==null?void 0:n.signatureConfig),o}return r}(E);Tu.Rules=hV;function dV(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 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 pV(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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&&Uv(e,t)}function OV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:dV(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var gV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PV(e){var t=mV();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 OV(this,o)}}var bn=function(e){bV(r,e);var t=PV(r);function r(n){_V(this,r);var o;return o=t.call(this,n),o.props=new Tu(n==null?void 0:n.props),o}return pV(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);bn.controlEventKeys=["on_click","on_click_finish"],bn.controlFieldType=c.FieldTypes.VARCHAR,bn.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 RV(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 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 $V(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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&&Wv(e,t)}function SV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:RV(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var EV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=IV();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 SV(this,o)}}var tP=function(e){TV(r,e);var t=NV(r);function r(n){wV(this,r);var o;return o=t.call(this,n),o.props=new Tu(n==null?void 0:n.props),o}return $V(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);tP.controlFieldType=c.FieldTypes.VARCHAR;var nP={Designer:bn,Runtime:tP,Property:Tu};function CV(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 BV(e,t){return t&&(jV(t)==="object"||typeof t=="function")?t:CV(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var jV=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 Jv(e){var t=kV();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 BV(this,o)}}var AV=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(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}(W),MV=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}(j),On=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.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:"\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:W6;var _;o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o.wpsSetting=new xb(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);On.Rules=AV,On.RuntimeRules=MV;function DV(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 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 LV(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 zV(e,t){return t&&(GV(t)==="object"||typeof t=="function")?t:DV(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var GV=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=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zV(this,o)}}var gn=function(e){xV(r,e);var t=HV(r);function r(n){FV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return LV(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);gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=c.FieldTypes.FILE,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.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 YV(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 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 UV(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&eh(e,t)}function KV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:YV(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var XV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JV(e){var t=QV();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KV(this,o)}}var iP=function(e){WV(r,e);var t=JV(r);function r(n){qV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return UV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);iP.controlFieldType=c.FieldTypes.FILE;var uP={Designer:gn,Runtime:iP,Property:On};function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function ZV(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:cP(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var eH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tH();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 ZV(this,o)}}var nH=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.businessScope={type:"any"},Vn.call(cP(o),n,bt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(W),rH=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),mn=function(e){nh(r,e);var t=oh(r);function r(n){th(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:bt.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 Ct((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{attributes:bt.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(R){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new J(R))})),o}return r}(E);mn.Rules=nH,mn.RuntimeRules=rH;function oH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uH(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function ju(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ju=Reflect.get:ju=function(o,i,u){var f=aH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ju(e,t,r||e)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function cH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function fH(e,t){return t&&(lH(t)==="object"||typeof t=="function")?t:oH(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function aH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}var lH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yH(e){var t=sH();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 fH(this,o)}}var bt=function(e){cH(r,e);var t=yH(r);function r(o){iH(this,r);var i;return i=t.call(this,o),i.props=new mn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ju(pt(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},uH(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);bt.controlFieldType=c.FieldTypes.DEPARTMENTS,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.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 vH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dH(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}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&&uh(e,t)}function pH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:vH(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var bH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gH(e){var t=OH();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 pH(this,o)}}var lP=function(e){_H(r,e);var t=gH(r);function r(n){hH(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return dH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);lP.controlFieldType=c.FieldTypes.DEPARTMENTS;var sP={Designer:bt,Runtime:lP,Property:mn},mH=Object.freeze({__proto__:null,Input:Ig,Checkbox:jg,Radio:xg,Number:Hg,DatePicker:Wg,DateRange:tm,Textarea:im,RichText:am,Select:_m,SelectMultiple:gm,Employee:Sm,Image:jm,Attachment:Nm,Amount:Dm,Score:zm,Address:Wm,Department:t0,AutoNumber:i0,Calc:a0,SearchNumberRange:_0,SearchDateRange:R0,VueFormItem:S0,SelectRelation:k0,SearchInput:L0,Tree:H0,Employee2:K0,ElectronicSignature:nP,WPS:uP,Department2:sP});function PH(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 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 wH(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&ch(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:PH(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(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=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TH(this,o)}}var vP=function(e){$H(r,e);var t=IH(r);function r(n){return RH(this,r),t.call(this,n)}return wH(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(D);vP.excludes=[c.CONTROL_TYPE.GRID];function NH(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 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 BH(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(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&&fh(e,t)}function kH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:NH(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var AH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DH(e){var t=MH();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 kH(this,o)}}var FH=function(e){jH(r,e);var t=DH(r);function r(n){return CH(this,r),t.call(this,n)}return BH(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(G),dP={Designer:vP,Runtime:FH,Property:M};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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&ah(e,t)}function GH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:LH(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var VH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YH(e){var t=HH();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 GH(this,o)}}var qH=24,Ce=function(e){zH(r,e);var t=YH(r);function r(n){xH(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:qH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(M);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 _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 KH(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function XH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QH(e,t){return t&&(JH(t)==="object"||typeof t=="function")?t:UH(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var JH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eY(e){var t=ZH();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 QH(this,o)}}var Pn=function(e){XH(r,e);var t=eY(r);function r(n){WH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return KH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(D);Pn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Pn.childrenMaxLength=1;function tY(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 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 rY(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&sh(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:tY(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var uY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fY(e){var t=cY();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 iY(this,o)}}var yh=function(e){oY(r,e);var t=fY(r);function r(n){nY(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return rY(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(G),xu={Designer:Pn,Runtime:yh,Property:Ce};function aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&vh(e,t)}function yY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:aY(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(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=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yY(this,o)}}var Gu=function(e){sY(r,e);var t=dY(r);function r(n){lY(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 _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 bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bY(e,t,r){return t&&bP(e.prototype,t),r&&bP(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&&hh(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:_Y(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(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 Hu=function(e){OY(r,e);var t=RY(r);function r(n){pY(this,r);var o;return o=t.call(this,n),o.props=new Gu(n==null?void 0:n.props),o}return bY(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);Hu.excludes=[c.CONTROL_TYPE.ROW],Hu.setting=[{key:"col-setting",visible:!0}];function wY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TY(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&dh(e,t)}function EY(e,t){return t&&(IY(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 IY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CY(e){var t=NY();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 EY(this,o)}}var gP=function(e){SY(r,e);var t=CY(r);function r(n){$Y(this,r);var o;return o=t.call(this,n),o.props=new Gu(n==null?void 0:n.props),o}return TY(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(G),mP={Designer:Hu,Runtime:gP,Property:Gu};function BY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jY(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 kY(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&_h(e,t)}function MY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:BY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var DY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LY(e){var t=FY();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MY(this,o)}}var xY=4,Uu=function(e){AY(r,e);var t=LY(r);function r(n){return jY(this,r),t.call(this,n)}return kY(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}(Hu);Uu.excludes=[c.CONTROL_TYPE.GRID_ROW],Uu.setting=[],Uu.childrenMaxLength=xY;function zY(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 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 VY(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function YY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:zY(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var qY=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 WY(e){var t=UY();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 YY(this,o)}}var KY=function(e){HY(r,e);var t=WY(r);function r(n){return GY(this,r),t.call(this,n)}return VY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(gP);function XY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function JY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function ZY(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:XY(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(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=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZY(this,o)}}var rq=function(e){JY(r,e);var t=nq(r);function r(n){return QY(this,r),t.call(this,n)}return r}(Gu),Oh={Designer:Uu,Runtime:KY,Property:rq};function oq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function $P(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:oq(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(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 TP(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 fq=function(e){$P(r,e);var t=TP(r);function r(){wP(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),Qu=function(e){$P(r,e);var t=TP(r);function r(n){wP(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);Qu.Rules=fq;function aq(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 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 sq(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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&&mh(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:aq(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var hq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=dq();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 vq(this,o)}}var Ph=function(e){yq(r,e);var t=_q(r);function r(n){lq(this,r);var o;return o=t.call(this,n),o.props=new Qu(n==null?void 0:n.props),o}return sq(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(D);Ph.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}],Ph.excludes=[c.CONTROL_TYPE.CARD_GROUP];function pq(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 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 Oq(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function gq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function mq(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:pq(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var Pq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wq(e){var t=Rq();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 mq(this,o)}}var $q=function(e){gq(r,e);var t=wq(r);function r(n){bq(this,r);var o;return o=t.call(this,n),o.props=new Qu(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(G),IP={Designer:Ph,Runtime:$q,Property:Qu};function Tq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NP(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 CP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:Tq(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var Eq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BP(e){var t=Iq();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 Sq(this,o)}}var Nq=function(e){CP(r,e);var t=BP(r);function r(n){NP(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),tc=function(e){CP(r,e);var t=BP(r);function r(n){NP(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);tc.Rules=Nq;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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&$h(e,t)}function kq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:Cq(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(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=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kq(this,o)}}var ue=function(e){jq(r,e);var t=Dq(r);function r(n){Bq(this,r);var o;return o=t.call(this,n),o.props=new tc(n==null?void 0:n.props),o}return r}(D);ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.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],ue.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 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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&Th(e,t)}function zq(e,t){return t&&(Gq(t)==="object"||typeof t=="function")?t:Fq(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(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=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zq(this,o)}}var jP=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 tc(n==null?void 0:n.props),o}return r}(G);jP.controlType="subtable-column";var Sh={Designer:ue,Runtime:jP,Property:tc};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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&Eh(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:Yq(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(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=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wq(this,o)}}var Ih=function(e){Uq(r,e);var t=Qq(r);function r(n){return qq(this,r),t.call(this,n)}return r}(M);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 ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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&&Nh(e,t)}function tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Jq(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(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=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tU(this,o)}}var Be=function(e){eU(r,e);var t=oU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return r}(D);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 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 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 cU(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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&&Ch(e,t)}function aU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:iU(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var lU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yU(e){var t=sU();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 aU(this,o)}}var vU=function(e){fU(r,e);var t=yU(r);function r(n){uU(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return cU(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(G),AP={Designer:Be,Runtime:vU,Property:Ih};function hU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:hU(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 OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=OU();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 jh=function(e){_U(r,e);var t=gU(r);function r(n){dU(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 V(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 mU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function wU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:mU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var $U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SU(e){var t=TU();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 wU(this,o)}}var je=function(e){RU(r,e);var t=SU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),o.props=new jh(n==null?void 0:n.props),o}return r}(D);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 EU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IU(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 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&&Ah(e,t)}function CU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:EU(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(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 MP=function(e){NU(r,e);var t=kU(r);function r(n){IU(this,r);var o;return o=t.call(this,n),o.props=new jh(n==null?void 0:n.props),o}return r}(G);MP.controlType="gridtable-column";var DP={Designer:je,Runtime:MP,Property:jh};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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function DU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function FU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:AU(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var LU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zU(e){var t=xU();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 FU(this,o)}}var Dh=function(e){DU(r,e);var t=zU(r);function r(n){return MU(this,r),t.call(this,n)}return r}(M);function GU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function LP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function VU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:GU(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(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 xP(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 qU=function(e){LP(r,e);var t=xP(r);function r(n){FP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},o}return r}(L),yc=function(e){LP(r,e);var t=xP(r);function r(n){FP(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:_c.controlName,o}return r}(M);yc.Rules=qU;function UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KU(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function XU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function QU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:UU(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var JU=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 eW(e){var t=ZU();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 QU(this,o)}}var Rn=function(e){XU(r,e);var t=eW(r);function r(n){WU(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return KU(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);Rn.excludes=[c.CONTROL_TYPE.TAB],Rn.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 tW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rW(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:tW(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}var uW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=cW();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 iW(this,o)}}var aW=function(e){oW(r,e);var t=fW(r);function r(n){nW(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return rW(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(G),VP={Designer:Rn,Runtime:aW,Property:yc};function lW(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 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 yW(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}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&&zh(e,t)}function hW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:lW(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(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 _c=function(e){vW(r,e);var t=pW(r);function r(n){sW(this,r);var o;o=t.call(this,n),o.props=new Dh(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Rn,new Rn],o}return yW(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(D);_c.excludes=[c.CONTROL_TYPE.TAB],_c.setting=[{key:"super-setting",visible:!0}];function bW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(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 gW(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&Gh(e,t)}function PW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:bW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(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=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PW(this,o)}}var TW=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 Dh(n==null?void 0:n.props),o}return gW(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(G),qP={Designer:_c,Runtime:TW,Property:Dh};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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&Vh(e,t)}function NW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:SW(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(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=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NW(this,o)}}var UP=function(e){IW(r,e);var t=jW(r);function r(n){return EW(this,r),t.call(this,n)}return r}(M);function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MW(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function DW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function FW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:kW(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var LW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zW(e){var t=xW();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 FW(this,o)}}var KP=function(e){DW(r,e);var t=zW(r);function r(n){AW(this,r);var o;return o=t.call(this,n),o.props=new UP({}),o.children=(n==null?void 0:n.children)||[new Pn({props:new Ce({span:12})}),new Pn({props:new Ce({span:12})})],o}return MW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(D);KP.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 GW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HW(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function YW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:GW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var UW=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 KW(e){var t=WW();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 qW(this,o)}}var XW=function(e){YW(r,e);var t=KW(r);function r(n){VW(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new yh({props:new Ce({span:12})}),new yh({props:new Ce({span:12})})],o}return HW(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(G),QP={Designer:KP,Runtime:XW,Property:UP};function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function Uh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:JP(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var JW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kh(e){var t=ZW();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 QW(this,o)}}var Pc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Pc||(Pc={}));var eK=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),tK=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Pc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),Gn.call(JP(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),wn=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;o=t.call(this,n),o.datasourceBind=new V(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:Pc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new Tp(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);wn.Rules=tK,wn.RuntimeRules=eK;function nK(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 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 oK(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function iK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function uK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:nK(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var cK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aK(e){var t=fK();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 uK(this,o)}}var wc=function(e){iK(r,e);var t=aK(r);function r(n){rK(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return oK(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);wc.excludes=[c.CONTROL_TYPE.ROW],wc.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"],wc.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 lK(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 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 yK(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function vK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function hK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:lK(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var dK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pK(e){var t=_K();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 hK(this,o)}}var bK=function(e){vK(r,e);var t=pK(r);function r(n){sK(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return yK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(G),Jh={Designer:wc,Runtime:bK,Property:wn};function OK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tR(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 nR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:OK(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(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 rR(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 RK=function(e){nR(r,e);var t=rR(r);function r(n){tR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),Sc=function(e){nR(r,e);var t=rR(r);function r(n){tR(this,r);var o;o=t.call(this,n);var i;o.save=new he((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new he((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new he((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 he((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 he(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new V(n==null?void 0:n.datasourceBind),o}return r}(M);Sc.RuntimeRules=RK;function wK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TK(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 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&&ed(e,t)}function EK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:wK(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var IK=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 CK(e){var t=NK();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 EK(this,o)}}var iR=function(e){SK(r,e);var t=CK(r);function r(n){$K(this,r);var o;return o=t.call(this,n),o.props=new Sc(n==null?void 0:n.props),o}return TK(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);iR.excludes=[];function BK(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 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 kK(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function AK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function MK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:BK(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var DK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LK(e){var t=FK();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MK(this,o)}}var xK=function(e){AK(r,e);var t=LK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),o.props=new Sc(n==null?void 0:n.props),o}return kK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(G),nd={Designer:iR,Runtime:xK,Property:Sc};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 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 VK(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&rd(e,t)}function YK(e,t){return t&&(qK(t)==="object"||typeof t=="function")?t:zK(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(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=Nc(e),o;if(t){var i=Nc(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){return GK(this,r),t.call(this,n)}return VK(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 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 fR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JK(e,t,r){return t&&fR(e.prototype,t),r&&fR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:XK(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var tX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rX(e){var t=nX();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 eX(this,o)}}var oX=function(e){ZK(r,e);var t=rX(r);function r(n){return QK(this,r),t.call(this,n)}return JK(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(G);function iX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uX(e,t){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 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&&id(e,t)}function fX(e,t){return t&&(aX(t)==="object"||typeof t=="function")?t:iX(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var aX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=lX();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 fX(this,o)}}var yX=function(e){cX(r,e);var t=sX(r);function r(n){uX(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),aR={Designer:KK,Runtime:oX,Property:yX};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 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 dX(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&ud(e,t)}function pX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:vX(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(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=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var mX=function(e){_X(r,e);var t=gX(r);function r(n){return hX(this,r),t.call(this,n)}return dX(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 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 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 wX(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&cd(e,t)}function TX(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:PX(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var SX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=EX();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 TX(this,o)}}var NX=function(e){$X(r,e);var t=IX(r);function r(n){return RX(this,r),t.call(this,n)}return wX(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(G);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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&fd(e,t)}function kX(e,t){return t&&(AX(t)==="object"||typeof t=="function")?t:CX(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var AX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DX(e){var t=MX();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 FX=function(e){jX(r,e);var t=DX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new Vb(n==null?void 0:n.flexConfig),o}return r}(M),yR={Designer:mX,Runtime:NX,Property:FX};function LX(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 vR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zX(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function VX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:LX(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var HX=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 qX(e){var t=YX();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 VX(this,o)}}var UX=function(e){GX(r,e);var t=qX(r);function r(n){return xX(this,r),t.call(this,n)}return zX(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 WX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KX(e,t){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 XX(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&ld(e,t)}function JX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:WX(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var ZX=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 tQ(e){var t=eQ();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 JX(this,o)}}var nQ=function(e){QX(r,e);var t=tQ(r);function r(n){return KX(this,r),t.call(this,n)}return XX(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(G);function rQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(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 iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uQ(e,t){return t&&(cQ(t)==="object"||typeof t=="function")?t:rQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var cQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aQ(e){var t=fQ();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 uQ(this,o)}}var lQ=function(e){iQ(r,e);var t=aQ(r);function r(n){return oQ(this,r),t.call(this,n)}return r}(M),dR={Designer:UX,Runtime:nQ,Property:lQ};function sQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vQ(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function hQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function dQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:sQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var _Q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bQ(e){var t=pQ();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 dQ(this,o)}}var OQ=function(e){hQ(r,e);var t=bQ(r);function r(n){return yQ(this,r),t.call(this,n)}return vQ(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 gQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PQ(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&vd(e,t)}function wQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:gQ(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var $Q=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 SQ(e){var t=TQ();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 wQ(this,o)}}var EQ=function(e){RQ(r,e);var t=SQ(r);function r(n){return mQ(this,r),t.call(this,n)}return PQ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(G);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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&hd(e,t)}function BQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:IQ(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(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=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BQ(this,o)}}var MQ=function(e){CQ(r,e);var t=AQ(r);function r(n){NQ(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),bR={Designer:OQ,Runtime:EQ,Property:MQ},DQ=Object.freeze({__proto__:null,Grid:dP,Col:xu,Row:mP,GridRow:Oh,CardGroup:IP,SubTableColumn:Sh,SubTableRow:AP,GridTableColumn:DP,Tab:qP,TabPane:VP,Toolbox:QP,ListView:Jh,DataView:nd,Page:aR,AdvancedContainer:yR,PositioningContainer:dR,Position:bR});function FQ(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&pd(e,t)}function LQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:FQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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 bd(e){var t=zQ();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 LQ(this,o)}}var GQ=function(e){_d(r,e);var t=bd(r);function r(n){dd(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),VQ=function(e){_d(r,e);var t=bd(r);function r(n){dd(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),$n=function(e){_d(r,e);var t=bd(r);function r(n,o){dd(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:Hc.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:zb;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 V(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 R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!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 C;i.serverPagination=(C=o==null?void 0:o.serverPagination)!==null&&C!==void 0?C:!1;var Z;i.isShowCaptionTip=(Z=o==null?void 0:o.isShowCaptionTip)!==null&&Z!==void 0?Z:!1;var A;return i.captionTip=(A=o==null?void 0:o.captionTip)!==null&&A!==void 0?A:"",i}return r}(Mt);$n.Rules=GQ,$n.RuntimeRules=VQ;function OR(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 gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YQ(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&Od(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:OR(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(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=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var Hc=function(e){qQ(r,e);var t=XQ(r);function r(o){HQ(this,r);var i,u;return i=t.call(this,o),i.props=new $n(OR(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 ue,new ue,new ue]),i}var n=r.prototype;return n.addColumn=function(i,u){var f=i!==void 0&&typeof i!="number"?i:new ue,a=typeof i=="number"?i:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f},YQ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Zn);Hc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Hc.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 mR(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 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 JQ(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function ZQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function eJ(e,t){return t&&(tJ(t)==="object"||typeof t=="function")?t:mR(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var tJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rJ(e){var t=nJ();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eJ(this,o)}}var oJ=function(e){ZQ(r,e);var t=rJ(r);function r(o){QQ(this,r);var i;return i=t.call(this,o),i.props=new $n(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},JQ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(Ya),RR={Designer:Hc,Runtime:oJ,Property:$n};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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&md(e,t)}function fJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:iJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var aJ=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 sJ(e){var t=lJ();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 fJ(this,o)}}var Pd=function(e){cJ(r,e);var t=sJ(r);function r(n,o){uJ(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 yJ(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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&Rd(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:yJ(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var hJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TR(e){var t=dJ();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 vJ(this,o)}}var _J=function(e){$R(r,e);var t=TR(r);function r(n){wR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(nr),Wc=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.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}(F);Wc.Rules=_J;function pJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function gJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:pJ(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var mJ=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 RJ(e){var t=PJ();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 gJ(this,o)}}var ke=function(e){OJ(r,e);var t=RJ(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),o.props=new Wc(n==null?void 0:n.props),o}return r}(Y);ke.controlType="order-column",ke.controlName="\u5E8F\u53F7",ke.controlIcon="order-column",ke.setting=[{key:"column-fixed",visible:!0}];function wJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&$d(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:wJ(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var EJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=IJ();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 SJ(this,o)}}var Td=function(e){TJ(r,e);var t=NJ(r);function r(n){$J(this,r);var o;return o=t.call(this,n),o.props=new Wc(n==null?void 0:n.props),o}return r}(q);Td.controlType="order-column",Td.controlFieldType=c.FieldTypes.DECIMAL;var SR={Designer:ke,Runtime:Td,Property:Wc};function CJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&Sd(e,t)}function kJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:CJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var AJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=MJ();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 kJ(this,o)}}var Ed=function(e){jJ(r,e);var t=DJ(r);function r(n){BJ(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.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Me.controlName;var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return r}(F);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LJ(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=qJ(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 Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ae(e)}function xJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function zJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof 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){LJ(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:ER(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function qJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ae(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=Ae(e),o;if(t){var i=Ae(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var Me=function(e){xJ(r,e);var t=KJ(r);function r(o){FJ(this,r);var i;return i=t.call(this,o),i.props=new Ed(o==null?void 0:o.props),se(ER(i),"children",o==null?void 0:o.children),i}var n=r.prototype;return n.toDataBindModel=function(){var i=Tn(Ae(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){zJ(u,ko)&&(i.props[u.props.command]=u.props)}),i},n.toSchema=function(){var i=Tn(Ae(r.prototype),"toSchema",this).call(this);return HJ(GJ({},i),{children:this.children.map(function(u){return u.toSchema()})})},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:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];function IR(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Nd(e,t)}function JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:IR(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var ZJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JJ(this,o)}}var Cd=function(e){QJ(r,e);var t=tZ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),o.props=new Ed(n==null?void 0:n.props),se(IR(o),"children",n==null?void 0:n.children),o}return r}(q);Cd.controlType="operation-column",Cd.controlFieldType=c.FieldTypes.FILE;var NR={Designer:Me,Runtime:Cd,Property:Ed};function Bd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CR(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 nZ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){CR(i,n,o,u,f,"next",a)}function f(a){CR(i,n,o,u,f,"throw",a)}u(void 0)})}}function rZ(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 oZ(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function iZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sn=Reflect.get:Sn=function(o,i,u){var f=sZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Sn(e,t,r||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(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&&jd(e,t)}function cZ(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){iZ(e,o,r[o])})}return e}function fZ(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 aZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:Bd(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function sZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}var yZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hZ(e){var t=vZ();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 lZ(this,o)}}var dZ=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}}},jR=function(e){uZ(r,e);var t=hZ(r);function r(o){rZ(this,r);var i;return i=t.call(this,o),i.props=new Pd(Bd(i),o==null?void 0:o.props),se(Bd(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ke,new Me]),i}var n=r.prototype;return n.toSchema=function(){var i=Sn(De(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return aZ(cZ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return Sn(De(r.prototype),"validate",f)};return nZ(function(){return dZ(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]}})})()},oZ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Zn);jR.setting=[{key:"list-fixed-header",visible:!0}];function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(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 pZ(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&kd(e,t)}function OZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:kR(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(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=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OZ(this,o)}}var RZ=function(e){bZ(r,e);var t=PZ(r);function r(o){_Z(this,r);var i;return i=t.call(this,o),i.props=new Pd(kR(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{}},pZ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(Ya),MR={Designer:jR,Runtime:RZ,Property:Pd},wZ=Object.freeze({__proto__:null,SubTable:RR,GridTable:MR});function $Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DR(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 FR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:$Z(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var SZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LR(e){var t=EZ();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 TZ(this,o)}}var IZ=function(e){FR(r,e);var t=LR(r);function r(n){return DR(this,r),t.call(this,n)}return r}(Xa),tf=function(e){FR(r,e);var t=LR(r);function r(n){DR(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 V(n==null?void 0:n.datasourceBind);var f;o.options=ae((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);tf.Rules=IZ;function NZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(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&&Md(e,t)}function jZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:NZ(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(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=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jZ(this,o)}}var Fe=function(e){BZ(r,e);var t=MZ(r);function r(n){CZ(this,r);var o;return o=t.call(this,n),o.props=new tf(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 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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&Dd(e,t)}function xZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:DZ(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(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=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var Fd=function(e){LZ(r,e);var t=VZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),o.props=new tf(n==null?void 0:n.props),o}return r}(q);Fd.controlType="varchar-column",Fd.controlFieldType=c.FieldTypes.VARCHAR;var xR={Designer:Fe,Runtime:Fd,Property:tf};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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:HZ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var WZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XZ(e){var t=KZ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UZ(this,o)}}var xd=function(e){qZ(r,e);var t=XZ(r);function r(n){YZ(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 QZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uf=Reflect.get:uf=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}},uf(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function eee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:QZ(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function tee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var nee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oee(e){var t=ree();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 eee(this,o)}}var Le=function(e){ZZ(r,e);var t=oee(r);function r(o){JZ(this,r);var i;return i=t.call(this,o),i.props=new xd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=uf(Ot(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 iee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uee(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 cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:iee(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var aee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function see(e){var t=lee();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 fee(this,o)}}var Vd=function(e){cee(r,e);var t=see(r);function r(n){uee(this,r);var o;return o=t.call(this,n),o.props=new xd(n==null?void 0:n.props),o}return r}(q);Vd.controlType="text-column",Vd.controlFieldType=c.FieldTypes.TEXT;var zR={Designer:Le,Runtime:Vd,Property:xd};function yee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function dee(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:yee(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var _ee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bee(e){var t=pee();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 dee(this,o)}}var Yd=function(e){hee(r,e);var t=bee(r);function r(n){vee(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 V(n==null?void 0:n.datasourceBind);var s;return o.options=ae((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(F);function Oee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?af=Reflect.get:af=function(o,i,u){var f=Ree(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},af(e,t,r||e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(e)}function mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:Oee(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function Ree(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tee(e){var t=$ee();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 Pee(this,o)}}var xe=function(e){mee(r,e);var t=Tee(r);function r(o){gee(this,r);var i;return i=t.call(this,o),i.props=new Yd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=af(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}(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 See(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function Iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function Nee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:See(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var Cee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jee(e){var t=Bee();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 Nee(this,o)}}var Wd=function(e){Iee(r,e);var t=jee(r);function r(n){Eee(this,r);var o;return o=t.call(this,n),o.props=new Yd(n==null?void 0:n.props),o}return r}(q);Wd.controlType="decimal-column",Wd.controlFieldType=c.FieldTypes.DECIMAL;var GR={Designer:xe,Runtime:Wd,Property:Yd};function kee(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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:kee(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var Fee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xee(e){var t=Lee();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 Dee(this,o)}}var Xd=function(e){Mee(r,e);var t=xee(r);function r(n){Aee(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 zee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var f=Yee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},yf(e,t,r||e)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(e)}function Vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:zee(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function Yee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var qee=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 Wee(e){var t=Uee();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 Hee(this,o)}}var ze=function(e){Vee(r,e);var t=Wee(r);function r(o){Gee(this,r);var i;return i=t.call(this,o),i.props=new Xd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=yf(mt(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 Kee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function Jee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:Kee(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var Zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jee(this,o)}}var Zd=function(e){Qee(r,e);var t=tte(r);function r(n){Xee(this,r);var o;return o=t.call(this,n),o.props=new Xd(n==null?void 0:n.props),o}return r}(q);Zd.controlType="timescope-column",Zd.controlFieldType=c.FieldTypes.TIMESCOPE;var VR={Designer:ze,Runtime:Zd,Property:Xd};function nte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&e_(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:nte(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var ute=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cte();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 ite(this,o)}}var t_=function(e){ote(r,e);var t=fte(r);function r(n){rte(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 ate(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?df=Reflect.get:df=function(o,i,u){var f=vte(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},df(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(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&&n_(e,t)}function yte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:ate(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function vte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}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=Pt(e),o;if(t){var i=Pt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yte(this,o)}}var Ge=function(e){ste(r,e);var t=_te(r);function r(o){lte(this,r);var i;return i=t.call(this,o),i.props=new t_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=df(Pt(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 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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&r_(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:pte(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(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=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gte(this,o)}}var o_=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 t_(n==null?void 0:n.props),o}return r}(q);o_.controlType="timestamp-column",o_.controlFieldType=c.FieldTypes.TIMESTAMP;var HR={Designer:Ge,Runtime:o_,Property:t_};function wte(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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function qR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $te(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:wte(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var Tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UR(e){var t=Ste();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 $te(this,o)}}var Ete=function(e){qR(r,e);var t=UR(r);function r(n){return YR(this,r),t.call(this,n)}return r}(Xa),bf=function(e){qR(r,e);var t=UR(r);function r(n){YR(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 V(n==null?void 0:n.datasourceBind);var f;return o.options=ae((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(F);bf.Rules=Ete;function Ite(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nte(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 Cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bte(e,t){return t&&(jte(t)==="object"||typeof t=="function")?t:Ite(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var jte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kte();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 Bte(this,o)}}var Ve=function(e){Cte(r,e);var t=Ate(r);function r(n){Nte(this,r);var o;return o=t.call(this,n),o.props=new bf(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 Mte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dte(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 Fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lte(e,t){return t&&(xte(t)==="object"||typeof t=="function")?t:Mte(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var xte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gte(e){var t=zte();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 Lte(this,o)}}var f_=function(e){Fte(r,e);var t=Gte(r);function r(n){Dte(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return r}(q);f_.controlType="array-column",f_.controlFieldType=c.FieldTypes.ARRAY;var WR={Designer:Ve,Runtime:f_,Property:bf};function Vte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hte(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 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&&a_(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:Vte(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var Ute=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kte(e){var t=Wte();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 qte(this,o)}}var l_=function(e){Yte(r,e);var t=Kte(r);function r(n){Hte(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 Xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qte(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=ene(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 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&&s_(e,t)}function Zte(e,t){return t&&(tne(t)==="object"||typeof t=="function")?t:Xte(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function ene(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var tne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rne(e){var t=nne();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 Zte(this,o)}}var He=function(e){Jte(r,e);var t=rne(r);function r(o){Qte(this,r);var i;return i=t.call(this,o),i.props=new l_(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}(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 one(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(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 une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:one(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lne(e){var t=ane();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 cne(this,o)}}var v_=function(e){une(r,e);var t=lne(r);function r(n){ine(this,r);var o;return o=t.call(this,n),o.props=new l_(n==null?void 0:n.props),o}return r}(q);v_.controlType="department-column",v_.controlFieldType=c.FieldTypes.DEPARTMENTS;var KR={Designer:He,Runtime:v_,Property:l_};function sne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yne(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 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&&h_(e,t)}function hne(e,t){return t&&(dne(t)==="object"||typeof t=="function")?t:sne(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var dne=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 pne(e){var t=_ne();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 hne(this,o)}}var d_=function(e){vne(r,e);var t=pne(r);function r(n){yne(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 bne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function One(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 gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mne(e,t){return t&&(Pne(t)==="object"||typeof t=="function")?t:bne(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var Pne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wne(e){var t=Rne();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 mne(this,o)}}var Ye=function(e){gne(r,e);var t=wne(r);function r(n){One(this,r);var o;return o=t.call(this,n),o.props=new d_(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 $ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tne(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 Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function Ene(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:$ne(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var Ine=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cne(e){var t=Nne();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 Ene(this,o)}}var b_=function(e){Sne(r,e);var t=Cne(r);function r(n){Tne(this,r);var o;return o=t.call(this,n),o.props=new d_(n==null?void 0:n.props),o}return r}(q);b_.controlType="auto-number-column",b_.controlFieldType=c.FieldTypes.AUTO_NUMBER;var XR={Designer:Ye,Runtime:b_,Property:d_};function Bne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(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 kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ane(e,t){return t&&(Mne(t)==="object"||typeof t=="function")?t:Bne(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var Mne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fne(e){var t=Dne();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 Ane(this,o)}}var g_=function(e){kne(r,e);var t=Fne(r);function r(n){jne(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 Lne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xne(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 zne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:Lne(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var Vne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Hne();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 Gne(this,o)}}var qe=function(e){zne(r,e);var t=Yne(r);function r(n){xne(this,r);var o;return o=t.call(this,n),o.props=new g_(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 qne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:qne(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var Xne=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 Jne(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 Kne(this,o)}}var R_=function(e){Wne(r,e);var t=Jne(r);function r(n){Une(this,r);var o;return o=t.call(this,n),o.props=new g_(n==null?void 0:n.props),o}return r}(q);R_.controlType="file-column",R_.controlFieldType=c.FieldTypes.FILE;var QR={Designer:qe,Runtime:R_,Property:g_};function Zne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ere(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 tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:Zne(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var rre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();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 nre(this,o)}}var $_=function(e){tre(r,e);var t=ire(r);function r(n){ere(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 ure(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cre(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 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&&T_(e,t)}function are(e,t){return t&&(lre(t)==="object"||typeof t=="function")?t:ure(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var lre=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 yre(e){var t=sre();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 are(this,o)}}var Ue=function(e){fre(r,e);var t=yre(r);function r(n){cre(this,r);var o;return o=t.call(this,n),o.props=new $_(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 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 Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _re(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:vre(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var pre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=bre();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 _re(this,o)}}var E_=function(e){dre(r,e);var t=Ore(r);function r(n){hre(this,r);var o;return o=t.call(this,n),o.props=new $_(n==null?void 0:n.props),o}return r}(q);E_.controlType="image-column",E_.controlFieldType=c.FieldTypes.IMAGE;var JR={Designer:Ue,Runtime:E_,Property:$_};function gre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mre(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&&I_(e,t)}function Rre(e,t){return t&&(wre(t)==="object"||typeof t=="function")?t:gre(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var wre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tre(e){var t=$re();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 Rre(this,o)}}var N_=function(e){Pre(r,e);var t=Tre(r);function r(n){mre(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 Sre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ere(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 Ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nre(e,t){return t&&(Cre(t)==="object"||typeof t=="function")?t:Sre(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var Cre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jre(e){var t=Bre();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 Nre(this,o)}}var We=function(e){Ire(r,e);var t=jre(r);function r(n){Ere(this,r);var o;return o=t.call(this,n),o.props=new N_(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 kre(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Mre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:kre(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}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=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dre(this,o)}}var j_=function(e){Mre(r,e);var t=xre(r);function r(n){Are(this,r);var o;return o=t.call(this,n),o.props=new N_(n==null?void 0:n.props),o}return r}(q);j_.controlType="people-column",j_.controlFieldType=c.FieldTypes.EMPLOYEES;var ZR={Designer:We,Runtime:j_,Property:N_};function zre(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(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&&k_(e,t)}function Hre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:zre(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(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=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hre(this,o)}}var A_=function(e){Vre(r,e);var t=Ure(r);function r(n){Gre(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 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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(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&&M_(e,t)}function Qre(e,t){return t&&(Jre(t)==="object"||typeof t=="function")?t:Wre(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(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=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 Ke=function(e){Xre(r,e);var t=eoe(r);function r(n){Kre(this,r);var o;return o=t.call(this,n),o.props=new A_(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 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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ooe(e,t){return t&&(ioe(t)==="object"||typeof t=="function")?t:toe(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}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=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ooe(this,o)}}var F_=function(e){roe(r,e);var t=coe(r);function r(n){noe(this,r);var o;return o=t.call(this,n),o.props=new A_(n==null?void 0:n.props),o}return r}(q);F_.controlType="location-column",F_.controlFieldType=c.FieldTypes.ADDRESS;var ew={Designer:Ke,Runtime:F_,Property:A_};function foe(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&L_(e,t)}function soe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:foe(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(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=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return soe(this,o)}}var x_=function(e){loe(r,e);var t=hoe(r);function r(n){aoe(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}(F);function tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function En(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?En=Reflect.get:En=function(o,i,u){var f=Roe(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 Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(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&&z_(e,t)}function boe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ooe(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){_oe(e,o,r[o])})}return e}function goe(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 moe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):goe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Poe(e,t){return t&&(woe(t)==="object"||typeof t=="function")?t:tw(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function Roe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}var woe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Toe(e){var t=$oe();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 Poe(this,o)}}var Soe=1,me=function(t){poe(n,t);var r=Toe(n);function n(i){doe(this,n);var u;u=r.call(this,i);var f=boe(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new x_(i==null?void 0:i.props),se(tw(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=En(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=En(Xe(n.prototype),"toSchema",this).call(this);return moe(Ooe({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(Y);me.controlType="custom-column",me.controlName="\u81EA\u5B9A\u4E49",me.controlIcon="custom-column",me.excludes=[],me.childrenMaxLength=Soe,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 nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function Ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Noe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:nw(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var Coe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function joe(e){var t=Boe();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 Noe(this,o)}}var rw=function(e){Ioe(r,e);var t=joe(r);function r(n){Eoe(this,r);var o;return o=t.call(this,n),o.props=new x_(n==null?void 0:n.props),se(nw(o),"children",n==null?void 0:n.children),o}return r}(q);rw.controlType="custom-column";var ow={Designer:me,Runtime:rw,Property:x_};function koe(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 zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Moe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Doe(e,t){return t&&(Foe(t)==="object"||typeof t=="function")?t:koe(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Foe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xoe(e){var t=Loe();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 Doe(this,o)}}var H_=function(e){Moe(r,e);var t=xoe(r);function r(n){Aoe(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}(F);function zoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Voe(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yoe(e,t){return t&&(qoe(t)==="object"||typeof t=="function")?t:zoe(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var qoe=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 Woe(e){var t=Uoe();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 Yoe(this,o)}}var Pe=function(e){Hoe(r,e);var t=Woe(r);function r(n){Goe(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return Voe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(Y);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 Koe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Qoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Joe(e,t){return t&&(Zoe(t)==="object"||typeof t=="function")?t:Koe(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var Zoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tie(e){var t=eie();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Joe(this,o)}}var U_=function(e){Qoe(r,e);var t=tie(r);function r(n){Xoe(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return r}(q);U_.controlType="employee-column",U_.controlFieldType=c.FieldTypes.EMPLOYEES;var uw={Designer:Pe,Runtime:U_,Property:H_},nie=Object.freeze({__proto__:null,VarcharColumn:xR,TextColumn:zR,DecimalColumn:GR,TimescopeColumn:VR,TimestampColumn:HR,ArrayColumn:WR,DepartmentColumn:KR,AutoNumberColumn:XR,FileColumn:QR,ImageColumn:JR,PeopleColumn:ZR,LocationColumn:ew,CustomColumn:ow,OrderColumn:SR,OperationColumn:NR,EmployeeColumn:uw});function rie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&W_(e,t)}function oie(e,t){return t&&(iie(t)==="object"||typeof t=="function")?t:rie(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var iie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=uie();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 oie(this,o)}}var cie=function(e){fw(r,e);var t=aw(r);function r(n){cw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),Yf=function(e){fw(r,e);var t=aw(r);function r(n){cw(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 he((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new he((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 he(v)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(ur);Yf.RuntimeRules=cie;function fie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function sie(e,t){return t&&(yie(t)==="object"||typeof t=="function")?t:fie(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var yie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hie(e){var t=vie();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sie(this,o)}}var X_=function(e){lie(r,e);var t=hie(r);function r(n){aie(this,r);var o;return o=t.call(this,n),o.props=new Yf(n==null?void 0:n.props),o}return r}(Sb);X_.controlType="simple-search",X_.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 die(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ie(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 pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bie(e,t){return t&&(Oie(t)==="object"||typeof t=="function")?t:die(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var Oie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mie(e){var t=gie();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 bie(this,o)}}var lw=function(e){pie(r,e);var t=mie(r);function r(n){_ie(this,r);var o;o=t.call(this,n),o.props=new Yf(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}(Eb);lw.controlType="simple-search";var sw={Designer:X_,Runtime:lw,Property:Yf},Pie=Object.freeze({__proto__:null,SimpleSearch:sw});function J_(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 Rie(e){if(Array.isArray(e))return e}function wie(e){if(Array.isArray(e))return J_(e)}function $ie(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tie(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 Sie(){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 Eie(){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 Iie(e,t){return Rie(e)||Tie(e,t)||vw(e,t)||Sie()}function yw(e){return wie(e)||$ie(e)||vw(e)||Eie()}function vw(e,t){if(!!e){if(typeof e=="string")return J_(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 J_(e,t)}}var Nie=function(e,t){var r=Array.isArray(e),n=r?e:[e];Gie(t==null?void 0:t.events),Mie(n),Die(n);var o=Aie(n),i=Fie(o,t),u=Ee(te(i,function(f){return kie(f,t)}));return r?u:u[0]},Cie=[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"],Bie=["subtable","grid-table"],jie=["simple-search"];function kie(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Cie.includes(i.type)?i.controlType="base":i.controlType="form",Bie.includes(i.type)&&(i.controlType="list"),jie.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),U(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),U(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),U(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"&&(U(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(U(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 C=new Sh.Designer;C.props.widthType=P.header_width_config==="1"?"auto":"px",C.props.width=P.header_width===""?200:Number(P.header_width),C.props.caption=U(P.field_name)?P.field_name.zh:P.field_name;var Z=C.toSchema();Z.id=P.header_id;var A=i.children[0].children[$].children[0];return A&&(Z.children=[A]),Z}),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=U(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 xu.Designer;$.props.span=y;var C=$.toSchema();return C.children.push(P),C})}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&&(hw(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={};_&&(hw(i,t),i.id=_.id,d.amount=_.props.data_bind,i.props.range_min=Se(_.props.range_min),i.props.range_max=Se(_.props.range_max),g.amount=Se(_.props.value),i.props.required=_.props.required,i.props.is_hide=_.props.is_hide,i.props.default_state=_.props.default_state,i.props.caption=U(_.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 R=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=U(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=U(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};R&&(S.min=R.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=U(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"),Vie(i,t==null?void 0:t.control_events),i}function hw(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 Aie(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new nd.Designer,n=r.toSchema();return n.children=e,[n]}function Mie(e){e.forEach(function(t){t.children&&zie(t.children)})}function Die(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 Fie(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=Iie(l,3),y=s[0],v=s[1],p=s[2];Lie(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,xie(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,R=(g=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&g!==void 0?g:[],m=new Jh.Designer;m.props.datasourceBind=new V({dataCode:_,svcCode:d,orders:dp(R)}),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=U(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 Lie(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=U(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 xie(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:U(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=U(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 V({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 zie(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 Gie(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 Vie(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,yw(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,yw(t[e.id].on_blur))}}}var Hie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Yie(i)}));return r?o:o[0]};function Yie(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 ne({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var qie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Uie(i)}));return r?o:o[0]};function Uie(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 Wie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Kie(i)}));return r?o:o[0]};function Kie(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 Xie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Jie(i)}));return r?o:o[0]},Qie=[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(Qie.includes(r.type))return r;var n=new Oh.Designer,o=new xu.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Zie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return eue(i)}));return r?o:o[0]};function eue(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 tue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return nue(i)});return r?o:o[0]};function nue(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return oue(i)});return r?o:o[0]};function Re(e,t){e.field_code&&(e.field_type=t)}function oue(e,t){var r,n=(r={},k(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),k(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),k(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),k(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),k(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),k(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),k(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 iue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return uue(i)});return r?o:o[0]};function uue(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 cue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return fue(i)});return r?o:o[0]};function fue(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 aue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return lue(i)});return r?o:o[0]};function lue(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.children=[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var u,f,a,l,s,y,v=new Kt.Designer;v.props.code="view",v.props.command="view",v.props.content=(u=r.props)===null||u===void 0?void 0:u.check.content,v.props.priorityProcess=(f=r.props)===null||f===void 0?void 0:f.check.priority_process,v.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,v.props.formKey=(l=r.props)===null||l===void 0?void 0:l.check.form_key,!((s=r.props)===null||s===void 0)&&s.check.is_show&&r.children.push(v.toSchema()),(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 p,b,_,O,d,g,R=new Kt.Designer;R.props.code="edit",R.props.command="edit",R.props.content=(p=r.props)===null||p===void 0?void 0:p.edit.content,R.props.priorityProcess=(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,R.props.openType=(_=r.props)===null||_===void 0?void 0:_.edit.open_type,R.props.formKey=(O=r.props)===null||O===void 0?void 0:O.edit.form_key,!((d=r.props)===null||d===void 0)&&d.edit.is_show&&r.children.push(R.toSchema()),(g=r.props)===null||g===void 0||delete g.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var m,S,P,$,C,Z,A=new Kt.Designer;A.props.code="delete",A.props.command="delete",A.props.content=(m=r.props)===null||m===void 0?void 0:m.delete.content,A.props.priorityProcess=(S=r.props)===null||S===void 0?void 0:S.delete.priority_process,A.props.openType=(P=r.props)===null||P===void 0?void 0:P.delete.open_type,A.props.formKey=($=r.props)===null||$===void 0?void 0:$.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((C=r.props)===null||C===void 0)&&C.delete.is_show&&r.children.push(A.toSchema()),(Z=r.props)===null||Z===void 0||delete Z.delete}}}),e}var dw={"v1.0":Nie,"v2.0":Hie,"v2.1":qie,"v2.2":Wie,"v2.3":Xie,"v2.4":Zie,"v2.5":tue,"v2.6":rue,"v2.7":iue,"v2.8":cue,"v2.9":aue,"v2.10":function(){}};function sue(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 yue(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function Wf(e){return e.replace(/^v/,"")}function Kf(e){return Number(Wf(e))}var wt=Object.keys(dw).map(function(e){return Wf(e)}).sort(function(e,t){return Number(e)-Number(t)}),In=wt[wt.length-1],vue=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:In;sue(this,e),this.schemaVersion=r,this.toVersion=n,Kf(n)>Kf(In)?_e("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(In)):(!wt.includes(Wf(n))||!wt.includes(Wf(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=dw[a],b=f;if(typeof p=="function"){var _=p(f,o);_&&(b=_)}return b},n);return Nt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},yue(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 Kf(this.toVersion)}},{key:"_schemaVersion",get:function(){return Kf(this.schemaVersion)}},{key:"version",get:function(){return In}}],[{key:"version",get:function(){return In}}]),e}();const Xf=[],Z_={exports:{}};let ep=!1;const hue=window.module,due=window.exports,_ue=window.require;function pue(e){return ep||(window.module=Z_,window.exports=Z_.exports,window.require=function(t){return e[t]},ep=!0),function(){window.module=hue,window.exports=due,window.require=_ue,ep=!1}}function bue(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=pue(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=Xf.findIndex(l=>l===r);Xf.splice(a,1),Xf.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(Z_.exports),f()},document.head.appendChild(i)});return Xf.push(r),r}function tp(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 pw(e,t,r={fetch:tp}){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 pw(e,t)}function Oue(e,t){return Nn(this,null,function*(){return yield Promise.all(e.map(r=>Qf(r,t)))})}function np(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 B{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends x{}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 gue(e,t,r){return Nn(this,null,function*(){const n=new Map;return e.length===0||(yield Promise.all(e.map(o=>Nn(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=np(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 mue(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 Pue(e,t){return Nn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield tp(`${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=np(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=Wm,c.AddressValue=Fp,c.AdvancedContainer=yR,c.Amount=Dm,c.AmountDataBind=kp,c.AmountValue=Ap,c.ArrayColumn=WR,c.Attachment=Nm,c.AutoNumber=i0,c.AutoNumberColumn=XR,c.BaseControlProperty=E,c.BaseControlPropertyRules=W,c.BaseControlPropertyRuntimeRules=j,c.BaseStyle=Gp,c.BatchPrintListButton=gg,c.BatchPrintRecordListButton=Rg,c.BatchSubmissionListButton=sO,c.Button=Fb,c.Calc=a0,c.CalcDataBind=Lp,c.CalcScriptEchoItem=KS,c.CalcValue=xp,c.CardGroup=IP,c.Checkbox=jg,c.Col=xu,c.ColumnControlProperty=F,c.ColumnControlPropertyRules=nr,c.ColumnOptionAndDataSourcePropertyRules=Xa,c.CreateFormListButton=iO,c.CustomAttributeItem=Np,c.CustomColumn=ow,c.CustomPermissionItem=VE,c.DEFAULT_LOCALE=op,c.Dashboard=KO,c.DataBind=ne,c.DataSourceBind=V,c.DataSourceDataSetValue=Ip,c.DataSourceOrderItem=da,c.DataSourceParamItem=xE,c.DataView=nd,c.DatePicker=Wg,c.DateRange=tm,c.DecimalColumn=GR,c.Department=t0,c.Department2=sP,c.DepartmentColumn=KR,c.DepartmentEntity=Qe,c.DesignerColumnControl=Y,c.DesignerControl=B,c.DesignerFormControl=I,c.DesignerLayoutControl=D,c.DesignerListControl=Zn,c.DesignerSearchControl=Sb,c.DesignerWrapControl=lB,c.DisplayBoListItem=Mn,c.Divider=Ub,c.ElectronicSignature=nP,c.ElectronicSignatureConfig=Lb,c.Employee=Sm,c.Employee2=K0,c.EmployeeColumn=uw,c.EventLogic=bp,c.Explain=Pr,c.ExportListButton=pO,c.ExportRecordListButton=gO,c.ExportTemplate=Ol,c.FieldBindItem=wp,c.FieldFilterCondition=ha,c.FieldFilterConditions=Ep,c.FieldTypeToColumnType=QS,c.FileColumn=QR,c.FillBackBind=pa,c.FillPayloadBind=Dn,c.FlexStyleConfig=Vb,c.FormBind=An,c.FormSelectBind=Pp,c.FormSelectButton=CO,c.Grid=dP,c.GridRow=Oh,c.GridTable=MR,c.GridTableColumn=DP,c.Image=jm,c.ImageColumn=JR,c.ImageOptionSetting=jp,c.ImportRecordListButton=wO,c.Input=Ig,c.InvoiceCheckButton=hg,c.JSONCopy=ve,c.Language=zE,c.LayoutControlProperty=M,c.LeftVariable=Sp,c.LimitDate=mr,c.Link=Ab,c.ListBind=va,c.ListControlProperty=Mt,c.ListSelectButton=FO,c.ListView=Jh,c.ListViewSelect=ng,c.LocationColumn=ew,c.MultistageFillingItem=J,c.Number=Hg,c.ObjectDataBind=Fn,c.OperationButton=Kt,c.OperationColumn=NR,c.OperationItem=he,c.OptionAndDataSourcePropertyRules=Ie,c.OptionSetting=Oa,c.OrderColumn=SR,c.Page=aR,c.Pagination=GO,c.PeopleColumn=ZR,c.Position=bR,c.PositioningContainer=dR,c.PrintTemplate=Gb,c.Property=x,c.PropertyRules=L,c.PropertyRuntimeRules=pe,c.Radio=xg,c.RangeDataBind=Mp,c.RangeDateValue=Dp,c.RegisterControls=jn,c.RegularRules=ba,c.RichText=am,c.RightVariable=Je,c.Row=mP,c.RulesMessage=h,c.RuntimeColumnControl=q,c.RuntimeControl=H,c.RuntimeFormControl=N,c.RuntimeLayoutControl=G,c.RuntimeListControl=Ya,c.RuntimeSearchControl=Eb,c.RuntimeWrapControl=bB,c.SUBTABLE_DEFAULT_MAX_HEIGHT=zb,c.Score=zm,c.SearchControlProperty=ur,c.SearchDateRange=R0,c.SearchInput=L0,c.SearchNumberRange=_0,c.Select=_m,c.SelectMultiple=gm,c.SelectRelation=k0,c.SimpleSearch=sw,c.SubListItem=$p,c.SubListPageConfig=Tp,c.SubTable=RR,c.SubTableColumn=Sh,c.SubTableRow=AP,c.SubmissionRecordListButton=hO,c.SuperDataSourceBind=Ct,c.Tab=qP,c.TabPane=VP,c.Text=Bb,c.TextColumn=zR,c.TextOcrButton=fg,c.Textarea=im,c.TimescopeColumn=VR,c.TimestampColumn=HR,c.Title=Zb,c.Toolbox=QP,c.Tree=H0,c.TreeDataSourceBind=Cp,c.UndersignedPerson=bl,c.UserEntity=Cn,c.VarcharColumn=xR,c.VersionBuilder=vue,c.ViewOperationItem=zp,c.VueFormItem=S0,c.WPS=uP,c.WPSSetting=xb,c.Watcher=pp,c.WpsOperationItem=gl,c.WrapControlProperty=rl,c.baseControls=pF,c.camelizeKeys=dp,c.columnControls=nie,c.controlHooksEmitter=Xp,c.createValidator=Kp,c.debounce=wE,c.decamelizeKeys=Ee,c.defineArrayParent=sb,c.defineControlArrayToProperty=se,c.defineParent=Ma,c.error=_e,c.formControls=mH,c.genNonDuplicateId=ie,c.getHackerControl=np,c.getNotRepeatItems=hp,c.initExpression=Dt,c.initImageOptions=GE,c.initOptionAndDataSourceRules=Gn,c.initOptions=ae,c.initSuperDataSourceRules=Vn,c.isArray=Te,c.isBuiltInControls=TE,c.isFunction=bE,c.isJSONArray=PE,c.isJSONObject=RE,c.isLanguageObject=U,c.isNumber=aa,c.isNumberAndEmptyStringArray=mE,c.isNumberArray=gE,c.isObject=pE,c.isPlainObject=fa,c.isString=vp,c.isStringArray=OE,c.layoutControls=DQ,c.listControls=wZ,c.loadRemoteControl=Qf,c.loadRemoteControls=Oue,c.loadScriptFromFetch=pw,c.loadScriptFromTag=bue,c.log=Nt,c.logerror=lp,c.loop=te,c.loopFormSchema=ua,c.nativeFetch=tp,c.noop=XS,c.referenceError=ia,c.registerByteluckControls=Pue,c.registerCustomControls=gue,c.searchControls=Pie,c.setPropertyDontEnum=lb,c.toNumberOrEmpty=Se,c.updateValueFromKeys=yp,c.upgradeCustomControlSchema=mue,c.wait=$E,c.warn=$e,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var Nn=(c,we,Qe)=>new Promise((Zf,Cn)=>{var ea=ye=>{try{Tt(Qe.next(ye))}catch(St){Cn(St)}},ta=ye=>{try{Tt(Qe.throw(ye))}catch(St){Cn(St)}},Tt=ye=>ye.done?Zf(ye.value):Promise.resolve(ye.value).then(ea,ta);Tt((Qe=Qe.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 Qe=function e(){we(this,e)};function Zf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Cn=function e(){Zf(this,e)},ea="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ta="\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",Pw="{caption}\u5FC5\u586B",Rw="\u8BF7\u8F93\u5165\u6807\u9898",ww="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",$w="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Tw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Sw="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ew="\u8BF7\u7ED1\u5B9A\u5217\u8868",Iw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Nw="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Cw="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Bw="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",kw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Aw="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Mw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Dw="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fw="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Lw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xw="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",zw="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Gw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Vw="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hw="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Yw="\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",Uw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ww="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Kw="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xw="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Qw="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Jw="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zw="\u8BF7\u9009\u62E9\u7701",e$="\u8BF7\u9009\u62E9\u5E02",t$="\u8BF7\u9009\u62E9\u533A",n$="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",r$="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",o$="\u8BF7\u8F93\u5165\u5217\u5BBD",i$="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",u$="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",c$="\u8BF7\u9009\u62E9\u63A7\u4EF6",f$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",a$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",l$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",s$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",y$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",v$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",h$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",d$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",p$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",b$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",O$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",g$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",m$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",P$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",R$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",w$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",T$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",S$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",E$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",I$={isNotNumber:ea,isNotString:ta,isNotObject:Tt,isNotArray:ye,isNotBoolean:St,runtimeRequired:Pw,pleaseEnterCaption:Rw,pleaseEnterCaptionTip:ww,pleaseEnterPlaceholder:$w,pleaseEnterFieldCode:Tw,pleaseEnterForm:Sw,pleaseEnterList:Ew,pleaseEnterProcess:Iw,pleaseEnterLabel:Nw,pleaseEnterValue:Cw,bizKeyNotBindFiled:Bw,pleaseEnterNumberRange:jw,pleaseEnterAValueGreaterThanMin:kw,pleaseEnterAValueLessThanMax:Aw,numberRangeSetError:Mw,stringRangeError:Dw,attachmentMaxSize:Fw,pleaseEnterTotalScoreSetting:Lw,theTotalScoreMustNotBeLessThan1:xw,scoreDefaultValueRange:zw,attachmentLimitError:Gw,PleaseReselectTheOptionalQuantity:Vw,TheMaximumLengthIsGreaterThanTheMinimumLength:Hw,TheMinimumLengthIsGreaterThanTheMaximumLength:Yw,PleaseSelectTheCorrectOptionSettings:qw,optionIdIsRepeat:Uw,optionIsRequired:Ww,pleaseEnterDataCode:Kw,pleaseEnterValueFieldCode:Xw,pleaseEnterSvcCode:Qw,pleaseBindAtLeastOneDisplayValue:Jw,pleaseSelectProvince:Zw,pleaseSelectCity:e$,pleaseSelectDistrict:t$,limitRowsCannotBeLessThan0:n$,TheNumberOfRowsCannotBeLessThanMinRows:r$,pleaseEnterColumnWidth:o$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:i$,pleaseCompleteAllRulesAndConditions:u$,pleaseSelectControl:c$,pleaseSelectAtLeastOneColumn:f$,pleaseSelectFillBackMode:a$,pleaseSelectDashboard:l$,rootNodeIsRequired:s$,theViewNameCannotBeEmpty:y$,pleaseSelectOcrType:v$,pleaseSelectAtLeastOneFieldToFillIn:h$,pleaseChooseAtLeastOne:d$,pleaseEnterButtonContent:_$,pleaseEnterDataCodeInDataSetting:p$,pleaseEnterValueFieldCodeInDataSetting:b$,pleaseEnterSvcCodeInDataSetting:O$,pleaseBindAtLeastOneDisplayValueInDataSetting:g$,rootNodeIsRequiredInDataSetting:m$,pleaseEnterMaxHeight:P$,pleaseEnter:R$,pleaseEnterWatermark:w$,pleaseEnterFileName:$$,pleaseUploadAtLeastOnePrintTemplate:T$,pleaseAssignBusiness:S$,pleaseAssignExternal:E$},N$="Please enter a number",C$="Please enter a string",B$="Please enter an object",j$="Please enter an array",k$="Please enter a boolean",A$="{caption} Required",M$="Please enter the title",D$="Please enter the bubble prompt",F$="Please enter the prompt text",L$="Please bind data items",x$="Please bind the form",z$="Please bind the list",G$="Please bind the process",V$="Please enter the displayed value",H$="Please enter the stored value",Y$="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}",U$="Please enter a value greater than or equal to {min}",W$="Please enter a value less than or equal to {max}",K$="The value range is set incorrectly",X$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Q$="The attachment size must be between 0MB and 1000MB",J$="Please fill in the total score setting",Z$="The total score cannot be less than 1",eT="The default value must be between {min} and {max}",tT="The number of attachments uploaded must be between {min} and {max}",nT="Please re-select the optional quantity",rT="The maximum length of the control must be greater than the minimum length",oT="The minimum length of the control must be less than the maximum length",iT="Please select the correct option setting",uT="Option ID cannot be repeated",cT="Please enter at least one option",fT="Please bind the data source",aT="Please bind the stored value",lT="Please bind the service",sT="At least one display value must be bound",yT="Please select a province",vT="Please select a city",hT="Please select a district",dT="The minimum number of lines to fill in cannot be less than 0",_T="The number of rows cannot be less than {min} rows",pT="Please enter the column width",bT="Please set the logical relationship of all rule conditions",OT="Please complete all rules and conditions",gT="please select control",mT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",PT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",RT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$T="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",TT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ST="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ET="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",IT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",NT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",CT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",BT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",kT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",AT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",MT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",DT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",FT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",LT={isNotNumber:N$,isNotString:C$,isNotObject:B$,isNotArray:j$,isNotBoolean:k$,runtimeRequired:A$,pleaseEnterCaption:M$,pleaseEnterCaptionTip:D$,pleaseEnterPlaceholder:F$,pleaseEnterFieldCode:L$,pleaseEnterForm:x$,pleaseEnterList:z$,pleaseEnterProcess:G$,pleaseEnterLabel:V$,pleaseEnterValue:H$,bizKeyNotBindFiled:Y$,pleaseEnterNumberRange:q$,pleaseEnterAValueGreaterThanMin:U$,pleaseEnterAValueLessThanMax:W$,numberRangeSetError:K$,stringRangeError:X$,attachmentMaxSize:Q$,pleaseEnterTotalScoreSetting:J$,theTotalScoreMustNotBeLessThan1:Z$,scoreDefaultValueRange:eT,attachmentLimitError:tT,PleaseReselectTheOptionalQuantity:nT,TheMaximumLengthIsGreaterThanTheMinimumLength:rT,TheMinimumLengthIsGreaterThanTheMaximumLength:oT,PleaseSelectTheCorrectOptionSettings:iT,optionIdIsRepeat:uT,optionIsRequired:cT,pleaseEnterDataCode:fT,pleaseEnterValueFieldCode:aT,pleaseEnterSvcCode:lT,pleaseBindAtLeastOneDisplayValue:sT,pleaseSelectProvince:yT,pleaseSelectCity:vT,pleaseSelectDistrict:hT,limitRowsCannotBeLessThan0:dT,TheNumberOfRowsCannotBeLessThanMinRows:_T,pleaseEnterColumnWidth:pT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bT,pleaseCompleteAllRulesAndConditions:OT,pleaseSelectControl:gT,pleaseSelectDashboard:mT,theViewNameCannotBeEmpty:PT,pleaseSelectOcrType:RT,pleaseSelectAtLeastOneFieldToFillIn:wT,pleaseChooseAtLeastOne:$T,pleaseEnterButtonContent:TT,pleaseEnterDataCodeInDataSetting:ST,pleaseEnterValueFieldCodeInDataSetting:ET,pleaseEnterSvcCodeInDataSetting:IT,pleaseBindAtLeastOneDisplayValueInDataSetting:NT,rootNodeIsRequiredInDataSetting:CT,pleaseEnterMaxHeight:BT,pleaseEnter:jT,pleaseEnterWatermark:kT,pleaseEnterFileName:AT,pleaseUploadAtLeastOnePrintTemplate:MT,pleaseAssignBusiness:DT,pleaseAssignExternal:FT},xT="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zT="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VT="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HT="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YT="{caption}\u5FC5\u9808",qT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KT="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XT="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QT="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JT="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZT="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eS="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tS="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",nS="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",uS="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cS="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",aS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lS="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sS="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",yS="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vS="\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",hS="\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",dS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_S="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",bS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",PS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",RS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$S="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",TS="\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",ES="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",NS="please select control",CS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",BS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",kS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",AS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",MS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",DS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",FS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",LS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",xS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",GS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",VS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",HS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",YS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",US="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",WS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",KS={isNotNumber:xT,isNotString:zT,isNotObject:GT,isNotArray:VT,isNotBoolean:HT,runtimeRequired:YT,pleaseEnterCaption:qT,pleaseEnterCaptionTip:UT,pleaseEnterPlaceholder:WT,pleaseEnterFieldCode:KT,pleaseEnterForm:XT,pleaseEnterList:QT,pleaseEnterProcess:JT,pleaseEnterLabel:ZT,pleaseEnterValue:eS,bizKeyNotBindFiled:tS,pleaseEnterNumberRange:nS,pleaseEnterAValueGreaterThanMin:rS,pleaseEnterAValueLessThanMax:oS,numberRangeSetError:iS,stringRangeError:uS,attachmentMaxSize:cS,pleaseEnterTotalScoreSetting:fS,theTotalScoreMustNotBeLessThan1:aS,scoreDefaultValueRange:lS,attachmentLimitError:sS,PleaseReselectTheOptionalQuantity:yS,TheMaximumLengthIsGreaterThanTheMinimumLength:vS,TheMinimumLengthIsGreaterThanTheMaximumLength:hS,PleaseSelectTheCorrectOptionSettings:dS,optionIdIsRepeat:_S,optionIsRequired:pS,pleaseEnterDataCode:bS,pleaseEnterValueFieldCode:OS,pleaseEnterSvcCode:gS,pleaseBindAtLeastOneDisplayValue:mS,pleaseSelectProvince:PS,pleaseSelectCity:RS,pleaseSelectDistrict:wS,limitRowsCannotBeLessThan0:$S,TheNumberOfRowsCannotBeLessThanMinRows:TS,pleaseEnterColumnWidth:SS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ES,pleaseCompleteAllRulesAndConditions:IS,pleaseSelectControl:NS,pleaseSelectDashboard:CS,theViewNameCannotBeEmpty:BS,pleaseSelectOcrType:jS,pleaseSelectAtLeastOneFieldToFillIn:kS,pleaseChooseAtLeastOne:AS,pleaseEnterButtonContent:MS,pleaseEnterDataCodeInDataSetting:DS,pleaseEnterValueFieldCodeInDataSetting:FS,pleaseEnterSvcCodeInDataSetting:LS,pleaseBindAtLeastOneDisplayValueInDataSetting:xS,rootNodeIsRequiredInDataSetting:zS,pleaseEnterMaxHeight:GS,pleaseEnter:VS,pleaseEnterWatermark:HS,pleaseEnterFileName:YS,pleaseUploadAtLeastOnePrintTemplate:qS,pleaseAssignBusiness:US,pleaseAssignExternal:WS},XS={zhCN:I$,enUS:LT,jaJP:KS};function QS(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 JS=function e(t){QS(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},op="zh-CN",ZS=function(){};function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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 K,eE=(K={},ee(K,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),ee(K,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),ee(K,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),ee(K,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),ee(K,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),ee(K,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),ee(K,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),ee(K,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),ee(K,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),ee(K,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),ee(K,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),ee(K,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),ee(K,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),K);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var ip="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",tE=ip+"0123456789";function ie(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ip:tE,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}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 nE(e){if(Array.isArray(e))return na(e)}function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(){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 Bn(e,t,r){return oE()?Bn=Reflect.construct:Bn=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},Bn.apply(null,arguments)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}function iE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function uE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cE(){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 fE(e,t){return t&&(aE(t)==="object"||typeof t=="function")?t:rE(e)}function It(e,t){return It=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},It(e,t)}function fp(e){return nE(e)||uE(e)||lE(e)||cE()}var aE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lE(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 ra(e){var t=typeof Map=="function"?new Map:void 0;return ra=function(n){if(n===null||!iE(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 Bn(n,arguments,Et(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),It(o,n)},ra(e)}function sE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sE();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 fE(this,o)}}var oa=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=oa).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(fp(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=oa).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(fp(o)))}function yE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ia=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?yE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(ra(Error)),vE=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ia);function _e(e){throw new ia(e)}function ua(e){throw new vE(e)}function lp(e){oa.error(new ia(e))}function ca(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":ca(r==null?void 0:r.children,t);break;case"search":ca(r==null?void 0:r.children,t);break;case"form":t(r)}})}var hE=Object.prototype.toString;function sp(e,t){return hE.call(e)==="[object "+t+"]"}function dE(e){return sp(e,"String")}function _E(e){return sp(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();_E(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&&!dE(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 bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(){bE(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]:op;return new pE({locale:r,messages:XS})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();h.$i18n=h.resetI18n();function yp(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 OE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},fa={exports:{}};(function(e){(function(t){var r=function(d,g,R){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],R));else{m={};for(var $ in g)Object.prototype.hasOwnProperty.call(g,$)&&(m[d($,R)]=r(d,g[$],R))}return m},n=function(d,g){g=g||{};var R=g.separator||"_",m=g.split||/(?=[A-Z])/;return d.split(m).join(R)},o=function(d){return b(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,R){return R?R.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 R=g&&"process"in g?g.process:g;return typeof R!="function"?d:function(m,S){return R(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})(OE)})(fa);function ve(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function U(e){return aa(e)&&"zh"in e}function aa(e){return Object.prototype.toString.call(e)==="[object Object]"}function gE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Te(e){return Array.isArray(e)}function vp(e){return typeof e=="string"}function la(e){return typeof e=="number"}function mE(e){return typeof e=="function"}function PE(e){return Te(e)&&e.every(function(t){return vp(t)})}function RE(e){return Te(e)&&e.every(function(t){return la(t)})}function wE(e){return Te(e)&&e.every(function(t){return la(t)||t===""})}function $E(e){return/^\[.*?]$/.test(e)}function TE(e){return/^{.*?}$/.test(e)}function Se(e){return isNaN(parseFloat(e))?"":Number(e)}function hp(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 EE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function te(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=te(n.children,t)),t(o)})),r}function dp(e){return fa.exports.camelizeKeys(e)}function Ee(e){return fa.exports.decamelizeKeys(e)}function IE(e){return Object.values(c.CONTROL_TYPE).includes(e)}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 NE(e){if(Array.isArray(e))return sa(e)}function _p(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 CE(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_p(i,n,o,u,f,"next",a)}function f(a){_p(i,n,o,u,f,"throw",a)}u(void 0)})}}function BE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kE(){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 ya(e){return NE(e)||jE(e)||AE(e)||kE()}function AE(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 ME=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}}},pp=function(){function e(){BE(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 CE(function(){var a,l,s,y,v,p,b,_,O,d,g,R;return ME(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&&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(ya(i))),[4,O.apply(null,ya(i))];case 4:return d=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(ya(i),[d])),l.push(d),d===!1?[3,7]:[3,6];case 5:return g=m.sent(),lp(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return R=m.sent(),v=!0,p=R,[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 DE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var FE=[{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"}],bp=function(){function e(){DE(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}();bp.events=FE;function LE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Op=[],jn=function(){function e(r){LE(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}();jn.staticControls=Op,jn.staticRegisteredTypes=new Set(Op.map(function(e){return e.Designer.controlType})),jn.staticRegisteredConfigs=new Map;function gp(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 kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function ce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&va(e,t)}function mp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function xE(e,t){return t&&(zE(t)==="object"||typeof t=="function")?t:gp(e)}function va(e,t){return va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},va(e,t)}var zE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=GE();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 xE(this,o)}}var ne=function e(t){w(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:""},An=function e(t){w(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:""},Pp=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(An),Rp=function e(t){w(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},ha=function e(t){w(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 Rp(u)}))!==null&&i!==void 0?i:[]},wp=function e(t){w(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},$p=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(An),Tp=function e(t){w(this,e);var r,n;this.type="sublist-page",this.formBind=new An(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new wp(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 $p(u)}))!==null&&i!==void 0?i:[]},Sp=function e(t){w(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Je=function e(t){w(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:[]},Ep=function e(t){var r=this;w(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ie();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 da(f);(s=r.children)===null||s===void 0||s.push(y)}}))},da=function e(t){w(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie();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 Sp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Je(t==null?void 0:t.rightVariableBo)},J=function e(t){w(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:""},Mn=function e(t){w(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},_a=function e(t){w(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},Ip=function e(t){w(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},VE=function e(t){w(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 _a(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 Ip(l)}))!==null&&a!==void 0?a:[]};function pa(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 Ep(i):new da(i)}))!==null&&r!==void 0?r:[],mp(this,V)||mp(this,Dn)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new _a(i)}))!==null&&o!==void 0?o:[]}}var V=function e(t){var r=this;w(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 Mn(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:"",pa.call(this,t)},Np=function e(t){w(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 Mn(u)}))!==null&&i!==void 0?i:[]},Ct=function(e){ce(r,e);var t=fe(r);function r(n){w(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 Np(f)}))!==null&&u!==void 0?u:[],o}return r}(V),Cp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this,n),o.rootNode=new Je(n==null?void 0:n.rootNode),o}return r}(Ct),Bp=function e(t){w(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 J(u)}))!==null&&i!==void 0?i:[]},Dn=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this,n),pa.call(gp(o),n),o}return r}(Bp),ba=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(Bp),HE=function e(t){w(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:""},Oa=function e(t){w(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:""},ga=function e(t){w(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie(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},jp=function(e){ce(r,e);var t=fe(r);function r(n){w(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}(ga);function ae(e){var t;return(t=e==null?void 0:e.map(function(r){return new ga(r)}))!==null&&t!==void 0?t:[]}function YE(e){var t;return(t=e==null?void 0:e.map(function(r){return new jp(r)}))!==null&&t!==void 0?t:[]}var Fn=function e(){w(this,e)},kp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.amount=new ne(n==null?void 0:n.amount),o.currency=new ne(n==null?void 0:n.currency),o}return r}(Fn),Ap=function e(t){w(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},Mp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.min=new ne(n==null?void 0:n.min),o.max=new ne(n==null?void 0:n.max),o}return r}(Fn),Dp=function e(t){w(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:""},Fp=function e(t){w(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:""},Lp=function(e){ce(r,e);var t=fe(r);function r(n){w(this,r);var o;return o=t.call(this),o.result=new ne(n==null?void 0:n.result),o.unit=new ne(n==null?void 0:n.unit),o}return r}(Fn),xp=function e(t){w(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 he=function e(t){w(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},zp=function e(t){w(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ie(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 Rp(u)}))!==null&&i!==void 0?i:[],pa.call(this,t)},qE=function e(t){w(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:ie(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},Gp=function e(t){w(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 UE(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 WE(){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 WE()?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&&jt(l,u.prototype),l},Ln.apply(null,arguments)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function KE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function XE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function QE(e,t){return t&&(JE(t)==="object"||typeof t=="function")?t:UE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}var JE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pa(e){var t=typeof Map=="function"?new Map:void 0;return Pa=function(n){if(n===null||!XE(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,Bt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),jt(o,n)},Pa(e)}function ZE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eI(e){var t=ZE();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 QE(this,o)}}var F=function e(t){ma(this,e),this.isHide={type:"boolean"}},pe=function(e){KE(r,e);var t=eI(r);function r(n){return ma(this,r),t.call(this)}return r}(Pa(Array)),x=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ma(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Gp(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};x.Rules=F,x.RuntimeRules=pe;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 tI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xn(e,t)}function nI(){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 zn(e,t,r){return nI()?zn=Reflect.construct:zn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&xn(l,u.prototype),l},zn.apply(null,arguments)}function rI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wa(e){var t=typeof Map=="function"?new Map:void 0;return wa=function(n){if(n===null||!rI(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 zn(n,arguments,Ra(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),xn(o,n)},wa(e)}var oI=/%[sdj%]/g,Vp=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Vp=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function $a(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 re(){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(oI,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 iI(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function z(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||iI(t)&&typeof e=="string"&&!e)}function uI(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 Hp(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 cI(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Yp=function(e){tI(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}(wa(Error));function fI(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 Yp(O,$a(O))):y()},b=cI(e);Hp(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 Yp(l,$a(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var _=e[b];i.indexOf(b)!==-1?Hp(_,r,p):uI(_,r,p)})});return s.catch(function(y){return y}),s}function qp(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 Up(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 Wp(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||z(t,i||e.type))&&n.push(re(o.messages.required,e.fullField))}function aI(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(re(o.messages.whitespace,e.fullField))}var Ta={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(Ta.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ta.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ta.hex)}};function lI(e,t,r,n,o){if(e.required&&t===void 0){Wp(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(re(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(re(o.messages.types[u],e.fullField,e.type))}function sI(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(re(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(re(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(re(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(re(o.messages[s].range,e.fullField,e.min,e.max))}var Ze="enum";function yI(e,t,r,n,o){e[Ze]=Array.isArray(e[Ze])?e[Ze]:[],e[Ze].indexOf(t)===-1&&n.push(re(o.messages[Ze],e.fullField,e[Ze].join(", ")))}function vI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(re(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(re(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var T={required:Wp,whitespace:aI,type:lI,range:sI,enum:yI,pattern:vI};function hI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t,"string")&&!e.required)return r();T.required(e,t,n,i,o,"string"),z(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 dI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(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(t===""&&(t=void 0),z(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(z(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 bI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),z(t)||T.type(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(z(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 gI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();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 mI(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 PI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T.type(e,t,n,i,o)}r(i)}var RI="enum";function wI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o),t!==void 0&&T[RI](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(z(t,"string")&&!e.required)return r();T.required(e,t,n,i,o),z(t,"string")||T.pattern(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(z(t,"date")&&!e.required)return r();if(T.required(e,t,n,i,o),!z(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 SI(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 Sa(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(z(t,i)&&!e.required)return r();T.required(e,t,n,u,o,i),z(t,i)||T.type(e,t,n,u,o)}r(u)}function EI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(z(t)&&!e.required)return r();T.required(e,t,n,i,o)}r(i)}var At={string:hI,method:dI,number:_I,boolean:pI,regexp:bI,integer:OI,float:gI,array:mI,object:PI,enum:wI,pattern:$I,date:TI,url:Sa,hex:Sa,email:Sa,required:SI,any:EI};function Ea(){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 Ia=Ea();function be(e){this.rules=null,this._messages=Ia,this.define(e)}be.prototype={messages:function(t){return t&&(this._messages=Up(Ea(),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 R(m){if(Array.isArray(m)){var S;d=(S=d).concat.apply(S,m)}else d.push(m)}for(O=0;O<_.length;O++)R(_[O]);d.length?g=$a(d):(d=null,g=null),f(d,g)}if(u.messages){var l=this.messages();l===Ia&&(l=Ea()),Up(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=le({},i)),y=i[_]=d.transform(y)),typeof d=="function"?d={validator:d}:d=le({},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 fI(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 R(P,$){return le(le({},$),{},{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(qp(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(qp(d)):u.error&&($=[u.error(d,re(u.messages.required,d.field))]),O($);var C={};if(d.defaultField)for(var Z in _.value)_.value.hasOwnProperty(Z)&&(C[Z]=d.defaultField);C=le(le({},C),_.rule.fields);for(var A in C)if(C.hasOwnProperty(A)){var wue=Array.isArray(C[A])?C[A]:[C[A]];C[A]=wue.map(R.bind(null,A))}var mw=new be(C);mw.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),mw.validate(_.value,_.rule.options||u,function(rp){var $t=[];$&&$.length&&$t.push.apply($t,$),rp&&rp.length&&$t.push.apply($t,rp),O($t.length?$t: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&&!At.hasOwnProperty(t.type))throw new Error(re("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}},be.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},be.warning=Vp,be.messages=Ia,be.validators=At;var II={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 Kp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new be(e);return r.messages(Object.assign(II,t)),r}var Xp=new pp;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 NI(e){if(Array.isArray(e))return e}function CI(e){if(Array.isArray(e))return Na(e)}function Qp(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 Jp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Qp(i,n,o,u,f,"next",a)}function f(a){Qp(i,n,o,u,f,"throw",a)}u(void 0)})}}function BI(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 jI(e,t,r){return t&&Zp(e.prototype,t),r&&Zp(e,r),e}function kI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AI(){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 MI(){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 nb(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){kI(e,o,r[o])})}return e}function DI(e){return NI(e)||tb(e)||rb(e)||AI()}function Ca(e){return CI(e)||tb(e)||rb(e)||MI()}function rb(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)}}var ob=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}}},B=function(){function t(n){var o=this;BI(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=ub,this.removeSetting=ib,this._callControlHooks("preInstance",n);var i=eb(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||ua("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:ie(10),this.name=u,this.icon=f;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:a,this.props=new x(n==null?void 0:n.props,(eb(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 d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d: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=DI(i),l=a[0],s=a.slice(1);return(f=Xp).emit.apply(f,[l,this].concat(Ca(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),yp(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Jp(function(){var i,u,f;return ob(this,function(a){switch(a.label){case 0:return i=nb({},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 Jp(function(){var f,a,l,s;return ob(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:nb({},u.rules),Array.isArray(i)&&i.forEach(function(v){a.hasOwnProperty(v)&&delete a[v]}),l=Kp(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: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,Ca(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},jI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();B.controlName="\u63A7\u4EF6",B.controlIcon="icon",B.controlType="control",B.controlEventKeys=[],B.controlCustomEvents=[],B.setting=[],B.__is_control__=!0,B.removeSettingItem=ib,B.updateSettingItem=ub;function ib(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 ub(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,Ca(t.showItems))}}}})}function FI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LI(e,t,r){return t&&cb(e.prototype,t),r&&cb(e,r),e}function xI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var H=function(){function t(r){FI(this,t),this.customEvents=[],this.parent=null;var n=xI(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ua("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ie(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new x(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 LI(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 Gn(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=hp(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 Vn(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 fb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function qn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}function zI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function GI(e,t){return t&&(VI(t)==="object"||typeof t=="function")?t:fb(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ba(e,t)}var VI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Un(e){var t=HI();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GI(this,o)}}var W=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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(zI(n.dataBind,ne))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),j=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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){qn(r,e);var t=Un(r);function r(n){Hn(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 ne(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}(x);E.Rules=W,E.RuntimeRules=j;var Ie=function(e){qn(r,e);var t=Un(r);function r(n){Hn(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")}],Gn.call(fb(o),n),o}return r}(W);function YI(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 Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function UI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ja(e,t)}function WI(e,t){return t&&(KI(t)==="object"||typeof t=="function")?t:YI(e)}function ja(e,t){return ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ja(e,t)}var KI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QI(e){var t=XI();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 WI(this,o)}}var I=function(e){UI(r,e);var t=QI(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}(B);I.controlEventKeys=["on_change","on_focus","on_blur"];function JI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZI(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 eN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ka(e,t)}function tN(e,t){return t&&(nN(t)==="object"||typeof t=="function")?t:JI(e)}function ka(e,t){return ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ka(e,t)}var nN=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 oN(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 tN(this,o)}}var N=function(e){eN(r,e);var t=oN(r);function r(n){ZI(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 iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uN(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 cN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fN(e,t){return t&&(aN(t)==="object"||typeof t=="function")?t:iN(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Aa(e,t)}var aN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sN(e){var t=lN();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 fN(this,o)}}var M=function(e){cN(r,e);var t=sN(r);function r(n){return uN(this,r),t.call(this,n)}return r}(x);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 yN(e){if(Array.isArray(e))return Ma(e)}function vN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hN(){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){return yN(e)||vN(e)||dN(e)||hN()}function dN(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 lb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Da(e,t){e.parent=t,lb(e,"parent")}function sb(e,t){e.forEach(function(r){Da(r,t)})}var yb=Symbol("targetKey");function vb(e){var t;return(t=e[yb])!==null&&t!==void 0?t:e}function hb(e,t){return sb(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===yb?n:(a=Reflect).get.apply(a,[n,o].concat(ab(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(ab(f)));return aa(i)&&Da(i,t),s}})}function se(e,t,r,n){var o=n!=null?n:e,i=hb(vb(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=hb(vb(f),o)},enumerable:!0})}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 _N(e){if(Array.isArray(e))return Fa(e)}function db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _b(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){_b(i,n,o,u,f,"next",a)}function f(a){_b(i,n,o,u,f,"throw",a)}u(void 0)})}}function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function et(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(o,i,u){var f=EN(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 Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(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&&La(e,t)}function mN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function PN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RN(){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 wN(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){ON(e,o,r[o])})}return e}function $N(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 TN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$N(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function SN(e,t){return t&&(IN(t)==="object"||typeof t=="function")?t:db(e)}function La(e,t){return La=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},La(e,t)}function EN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Oe(e),e!==null););return e}function pb(e){return _N(e)||PN(e)||NN(e)||RN()}var IN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NN(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)}}function CN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BN(e){var t=CN();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 jN=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}}},kN=1e4,D=function(t){gN(n,t);var r=BN(n);function n(i){bN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=mN(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),se(db(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 et(Oe(n.prototype),"validate",a)};return pN(function(){return jN(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=et(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 pb(l).concat(pb(v))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=et(Oe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return TN(wN({},u),{children:f})},n}(B);D.excludes=!1,D.childrenMaxLength=kN;function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function MN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xa(e,t)}function DN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:bb(e)}function xa(e,t){return xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xa(e,t)}var FN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xN(e){var t=LN();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 DN(this,o)}}var G=function(e){MN(r,e);var t=xN(r);function r(n){AN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new M(n==null?void 0:n.props),se(bb(o),"children",n==null?void 0:n.children),o}return r}(H);function Ob(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(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&&za(e,t)}function VN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:Ob(e)}function za(e,t){return za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},za(e,t)}var HN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=YN();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 VN(this,o)}}var Mt=function(e){GN(r,e);var t=qN(r);function r(n,o){zN(this,r);var i;return i=t.call(this,o),se(Ob(i),"headers",o==null?void 0:o.headers,n),i}return r}(x);function Ga(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 UN(e){if(Array.isArray(e))return Ga(e)}function gb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mb(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 WN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){mb(i,n,o,u,f,"next",a)}function f(a){mb(i,n,o,u,f,"throw",a)}u(void 0)})}}function KN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(o,i,u){var f=nC(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},tt(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(e)}function QN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Va(e,t)}function JN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ZN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pb(e){for(var t=1;t<arguments.length;t++){var 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){XN(e,o,r[o])})}return e}function eC(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 Rb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eC(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function tC(e,t){return t&&(rC(t)==="object"||typeof t=="function")?t:gb(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Va(e,t)}function nC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function wb(e){return UN(e)||JN(e)||oC(e)||ZN()}var rC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oC(e,t){if(!!e){if(typeof e=="string")return Ga(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 Ga(e,t)}}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uC(e){var t=iC();return function(){var n=ge(e),o;if(t){var i=ge(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tC(this,o)}}var cC=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}}},Zn=function(e){QN(r,e);var t=uC(r);function r(o){KN(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Mt(gb(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 tt(ge(r.prototype),"validate",f)};return WN(function(){return cC(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=tt(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 wb(a).concat(wb(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=tt(ge(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Rb(Pb({},i),{props:Rb(Pb({},this.props),{headers:u})})},r}(B);Zn.controlFieldType=c.FieldTypes.LIST;function Ha(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 $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 aC(e,t,r){return t&&$b(e.prototype,t),r&&$b(e,r),e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(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&&Ya(e,t)}function sC(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:Ha(e)}function Ya(e,t){return Ya=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ya(e,t)}var yC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hC(e){var t=vC();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 sC(this,o)}}var qa=function(e){lC(r,e);var t=hC(r);function r(n){fC(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Mt(Ha(o),n==null?void 0:n.props),se(Ha(o),"children",n==null?void 0:n.children),o}return aC(r,[{key:"length",get:function(){return this.children.length}}]),r}(H);function Tb(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 tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&Ka(e,t)}function dC(e,t){return t&&(_C(t)==="object"||typeof t=="function")?t:Tb(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}var _C=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 Xa(e){var t=pC();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 dC(this,o)}}var nr=function(e){Wa(r,e);var t=Xa(r);function r(n){Ua(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),L=function(e){Wa(r,e);var t=Xa(r);function r(n){Ua(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 ne(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}(x);L.Rules=nr;var Qa=function(e){Wa(r,e);var t=Xa(r);function r(n){Ua(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")}],Gn.call(Tb(o),n),o}return r}(nr);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(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 gC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function mC(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:bC(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var PC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wC(e){var t=RC();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 mC(this,o)}}var Y=function(e){gC(r,e);var t=wC(r);function r(n){OC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new L(n==null?void 0:n.props),o}return r}(B);function $C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(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 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&&Za(e,t)}function EC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:$C(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}var IC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=NC();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 EC(this,o)}}var q=function(e){SC(r,e);var t=CC(r);function r(n){TC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new L(n==null?void 0:n.props),o}return r}(H);function BC(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 ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function kC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}function AC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:BC(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var MC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DC();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 AC(this,o)}}var ur=function(e){kC(r,e);var t=FC(r);function r(n){jC(this,r);var o;return o=t.call(this,n),o.dataBind=new ne(n==null?void 0:n.dataBind),o}return r}(M);function LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(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&&tl(e,t)}function GC(e,t){return t&&(VC(t)==="object"||typeof t=="function")?t:LC(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(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 YC(e){var t=HC();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 GC(this,o)}}var Sb=function(e){zC(r,e);var t=YC(r);function r(n){xC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ur(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 UC(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 WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nl(e,t)}function KC(e,t){return t&&(XC(t)==="object"||typeof t=="function")?t:qC(e)}function nl(e,t){return nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nl(e,t)}var XC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=QC();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 KC(this,o)}}var Eb=function(e){WC(r,e);var t=JC(r);function r(n){UC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ur(n==null?void 0:n.props),o}return r}(G);function ZC(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 ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function tB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nB(e,t){return t&&(rB(t)==="object"||typeof t=="function")?t:ZC(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 oB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=oB();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 nB(this,o)}}var ol=function(e){tB(r,e);var t=iB(r);function r(n){return eB(this,r),t.call(this,n)}return r}(M);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){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 fB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aB(e,t){return t&&(lB(t)==="object"||typeof t=="function")?t:uB(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(e,t)}var lB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sB();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 aB(this,o)}}var vB=function(e){fB(r,e);var t=yB(r);function r(n){cB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new ol(n==null?void 0:n.props),o}return r}(D);function hB(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 sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&ul(e,t)}function pB(e,t){return t&&(bB(t)==="object"||typeof t=="function")?t:hB(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(e,t)}var bB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gB(e){var t=OB();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 pB(this,o)}}var mB=function(e){_B(r,e);var t=gB(r);function r(n){dB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new ol(n==null?void 0:n.props),o}return r}(G);function PB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RB(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 wB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $B(e,t){return t&&(TB(t)==="object"||typeof t=="function")?t:PB(e)}function cl(e,t){return cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cl(e,t)}var TB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EB(e){var t=SB();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 $B(this,o)}}var fl=function(e){wB(r,e);var t=EB(r);function r(n){RB(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}(x);function IB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CB(e,t,r){return t&&Ib(e.prototype,t),r&&Ib(e,r),e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(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&&al(e,t)}function jB(e,t){return t&&(kB(t)==="object"||typeof t=="function")?t:IB(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var kB=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 MB(e){var t=AB();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 jB(this,o)}}var Nb=function(e){BB(r,e);var t=MB(r);function r(n){NB(this,r);var o;return o=t.call(this,n),o.props=new fl(n==null?void 0:n.props),o}return CB(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(B);Nb.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 DB(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 Cb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LB(e,t,r){return t&&Cb(e.prototype,t),r&&Cb(e,r),e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&ll(e,t)}function zB(e,t){return t&&(GB(t)==="object"||typeof t=="function")?t:DB(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var GB=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=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zB(this,o)}}var YB=function(e){xB(r,e);var t=HB(r);function r(n){FB(this,r);var o;return o=t.call(this,n),o.props=new fl(n==null?void 0:n.props),o}return LB(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(H),Bb={Designer:Nb,Runtime:YB,Property:fl};function qB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UB(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 WB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KB(e,t){return t&&(XB(t)==="object"||typeof t=="function")?t:qB(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(e,t)}var XB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QB();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 KB(this,o)}}var yl=function(e){WB(r,e);var t=JB(r);function r(n){UB(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}(x);function ZB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t1(e,t,r){return t&&jb(e.prototype,t),r&&jb(e,r),e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function n1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r1(e,t){return t&&(o1(t)==="object"||typeof t=="function")?t:ZB(e)}function vl(e,t){return vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vl(e,t)}var o1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u1(e){var t=i1();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 r1(this,o)}}var hl=function(e){n1(r,e);var t=u1(r);function r(n){e1(this,r);var o;return o=t.call(this,n),o.props=new yl(n==null?void 0:n.props),o}return t1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(B);hl.controlEventKeys=["on_click"],hl.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 c1(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 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 a1(e,t,r){return t&&kb(e.prototype,t),r&&kb(e,r),e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(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 s1(e,t){return t&&(y1(t)==="object"||typeof t=="function")?t:c1(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var y1=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=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s1(this,o)}}var d1=function(e){l1(r,e);var t=h1(r);function r(n){f1(this,r);var o;return o=t.call(this,n),o.props=new yl(n==null?void 0:n.props),o}return a1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(H),Ab={Designer:hl,Runtime:d1,Property:yl};function _1(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 br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(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&&_l(e,t)}function O1(e,t){return t&&(g1(t)==="object"||typeof t=="function")?t:_1(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(e,t)}var g1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P1(e){var t=m1();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 O1(this,o)}}var X=function(e){b1(r,e);var t=P1(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}(x);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var r=0;r<t.length;r++){var 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&&Mb(e.prototype,t),r&&Mb(e,r),e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function T1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S1(e,t){return t&&(E1(t)==="object"||typeof t=="function")?t:R1(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(e,t)}var E1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N1(e){var t=I1();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 S1(this,o)}}var Q=function(e){T1(r,e);var t=N1(r);function r(n){w1(this,r);var o;return o=t.call(this,n),o.props=new X(n==null?void 0:n.props),o}return $1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(B);Q.controlEventKeys=["on_click"],Q.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 C1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B1(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 j1(e,t,r){return t&&Db(e.prototype,t),r&&Db(e,r),e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function k1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A1(e,t){return t&&(M1(t)==="object"||typeof t=="function")?t:C1(e)}function bl(e,t){return bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bl(e,t)}var M1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F1(e){var t=D1();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 A1(this,o)}}var oe=function(e){k1(r,e);var t=F1(r);function r(n){B1(this,r);var o;return o=t.call(this,n),o.props=new X(n==null?void 0:n.props),o}return j1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(H),Fb={Designer:Q,Runtime:oe,Property:X};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 mr=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:ie(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 Pr=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie();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 Ol=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 Je((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 Je((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 Je((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:""},Lb=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 Ol(a)}))!==null&&o!==void 0?o:[new Ol];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:""},gl=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ie(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},ml=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:""},xb=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 ml(t==null?void 0:t.watermark),this.autoRename=new ml(t==null?void 0:t.autoRename)},zb=480;function Dt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Gb=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:[]},Vb=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 L1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x1(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 z1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G1(e,t){return t&&(V1(t)==="object"||typeof t=="function")?t:L1(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var V1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=H1();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 G1(this,o)}}var Rl=function(e){z1(r,e);var t=Y1(r);function r(n){x1(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}(x);function q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U1(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 W1(e,t,r){return t&&Hb(e.prototype,t),r&&Hb(e,r),e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function K1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X1(e,t){return t&&(Q1(t)==="object"||typeof t=="function")?t:q1(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var Q1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z1(e){var t=J1();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 X1(this,o)}}var Yb=function(e){K1(r,e);var t=Z1(r);function r(n){U1(this,r);var o;return o=t.call(this,n),o.props=new Rl(n==null?void 0:n.props),o}return W1(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(B);Yb.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tj(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 nj(e,t,r){return t&&qb(e.prototype,t),r&&qb(e,r),e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(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&&$l(e,t)}function oj(e,t){return t&&(ij(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 ij=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cj(e){var t=uj();return function(){var n=$r(e),o;if(t){var i=$r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oj(this,o)}}var fj=function(e){rj(r,e);var t=cj(r);function r(n){tj(this,r);var o;return o=t.call(this,n),o.props=new Rl(n==null?void 0:n.props),o}return nj(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(H),Ub={Designer:Yb,Runtime:fj,Property:Rl};function aj(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 Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function Kb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:aj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(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 Xb(e){var t=yj();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 lj(this,o)}}var vj=function(e){Kb(r,e);var t=Xb(r);function r(n){Wb(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),Sr=function(e){Kb(r,e);var t=Xb(r);function r(n){Wb(this,r);var o;o=t.call(this,n),o.dataBind=new ne(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:nt==null?void 0:nt.controlName)!==null&&f!==void 0?f:"",o}return r}(x);Sr.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 dj(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 _j(e,t,r){return t&&Qb(e.prototype,t),r&&Qb(e,r),e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&Sl(e,t)}function bj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:hj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(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=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bj(this,o)}}var nt=function(e){pj(r,e);var t=mj(r);function r(n){dj(this,r);var o;return o=t.call(this,n),o.props=new Sr(n==null?void 0:n.props),o}return _j(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(B);nt.controlFieldType=c.FieldTypes.AUTO_NUMBER,nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];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 Jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wj(e,t,r){return t&&Jb(e.prototype,t),r&&Jb(e,r),e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function $j(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function Tj(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:Pj(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}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=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tj(this,o)}}var Nj=function(e){$j(r,e);var t=Ij(r);function r(n){Rj(this,r);var o;return o=t.call(this,n),o.props=new Sr(n==null?void 0:n.props),o}return wj(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(H),Zb={Designer:nt,Runtime:Nj,Property:Sr};function Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function tO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function Bj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:Cj(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(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 nO(e){var t=kj();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 Bj(this,o)}}var Aj=function(e){tO(r,e);var t=nO(r);function r(n){eO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")},o}return r}(F),Cr=function(e){tO(r,e);var t=nO(r);function r(n){eO(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}(X);Cr.Rules=Aj;function Mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fj(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(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&&Nl(e,t)}function xj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:Mj(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(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 Vj(e){var t=Gj();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 xj(this,o)}}var Ft=function(e){Lj(r,e);var t=Vj(r);function r(n){Dj(this,r);var o;return o=t.call(this,n),o.props=new Cr(n==null?void 0:n.props),o}return Fj(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}(Q);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 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 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 qj(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function Uj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cl(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:Hj(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(e,t)}var Kj=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 Qj(e){var t=Xj();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 Wj(this,o)}}var Jj=function(e){Uj(r,e);var t=Qj(r);function r(n){Yj(this,r);var o;return o=t.call(this,n),o.props=new Cr(n==null?void 0:n.props),o}return qj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(oe),iO={Designer:Ft,Runtime:Jj,Property:Cr};function Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bl(e,t)}function ek(e,t){return t&&(tk(t)==="object"||typeof t=="function")?t:Zj(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(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 fO(e){var t=nk();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 ek(this,o)}}var rk=function(e){cO(r,e);var t=fO(r);function r(n){uO(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),Ar=function(e){cO(r,e);var t=fO(r);function r(n){uO(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}(X);Ar.Rules=rk;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 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 uk(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}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&&jl(e,t)}function fk(e,t){return t&&(ak(t)==="object"||typeof t=="function")?t:ok(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(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 Lt=function(e){ck(r,e);var t=sk(r);function r(n){ik(this,r);var o;return o=t.call(this,n),o.props=new Ar(n==null?void 0:n.props),o}return uk(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}(Q);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 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 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 hk(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(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&&kl(e,t)}function _k(e,t){return t&&(pk(t)==="object"||typeof t=="function")?t:yk(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(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 _k(this,o)}}var gk=function(e){dk(r,e);var t=Ok(r);function r(n){vk(this,r);var o;return o=t.call(this,n),o.props=new Ar(n==null?void 0:n.props),o}return hk(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(oe),sO={Designer:Lt,Runtime:gk,Property:Ar};function mk(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 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&&Al(e,t)}function wk(e,t){return t&&($k(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 $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 Ml=function(e){Rk(r,e);var t=Sk(r);function r(n){Pk(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}(X);function Ek(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 yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nk(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}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&&Dl(e,t)}function Bk(e,t){return t&&(jk(t)==="object"||typeof t=="function")?t:Ek(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(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 xt=function(e){Ck(r,e);var t=Ak(r);function r(n){Ik(this,r);var o;return o=t.call(this,n),o.props=new Ml(n==null?void 0:n.props),o}return Nk(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}(Q);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 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 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 Fk(e,t,r){return t&&vO(e.prototype,t),r&&vO(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&&Fl(e,t)}function xk(e,t){return t&&(zk(t)==="object"||typeof t=="function")?t:Mk(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(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 Hk=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 Ml(n==null?void 0:n.props),o}return Fk(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(oe),hO={Designer:xt,Runtime:Hk,Property:Ml};function Yk(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 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&&Ll(e,t)}function Wk(e,t){return t&&(Kk(t)==="object"||typeof t=="function")?t:Yk(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(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 xl=function(e){Uk(r,e);var t=Qk(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: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 gl(l)}))!==null&&a!==void 0?a:[new gl({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(X);function Jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e3(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}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&&zl(e,t)}function n3(e,t){return t&&(r3(t)==="object"||typeof t=="function")?t:Jk(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(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 zt=function(e){t3(r,e);var t=i3(r);function r(n){Zk(this,r);var o;return o=t.call(this,n),o.props=new xl(n==null?void 0:n.props),o}return e3(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}(Q);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 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 _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 f3(e,t,r){return t&&_O(e.prototype,t),r&&_O(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&&Gl(e,t)}function l3(e,t){return t&&(s3(t)==="object"||typeof t=="function")?t:u3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(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 h3=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 xl(n==null?void 0:n.props),o}return f3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(oe),pO={Designer:zt,Runtime:h3,Property:xl};function d3(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 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&&Vl(e,t)}function b3(e,t){return t&&(O3(t)==="object"||typeof t=="function")?t:d3(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(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 Hl=function(e){p3(r,e);var t=m3(r);function r(n){_3(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}(X);function P3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R3(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 w3(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function $3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function T3(e,t){return t&&(S3(t)==="object"||typeof t=="function")?t:P3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var S3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=E3();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 T3(this,o)}}var Gt=function(e){$3(r,e);var t=I3(r);function r(n){R3(this,r);var o;return o=t.call(this,n),o.props=new Hl(n==null?void 0:n.props),o}return w3(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}(Q);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 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 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 B3(e,t,r){return t&&OO(e.prototype,t),r&&OO(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&&ql(e,t)}function k3(e,t){return t&&(A3(t)==="object"||typeof t=="function")?t:N3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(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 F3=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 Hl(n==null?void 0:n.props),o}return B3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(oe),gO={Designer:Gt,Runtime:F3,Property:Hl};function L3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function x3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}function z3(e,t){return t&&(G3(t)==="object"||typeof t=="function")?t:L3(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var G3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H3(e){var t=V3();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 z3(this,o)}}var Y3=function e(t){mO(this,e),this.dataCode=t.dataCode},Wl=function(e){x3(r,e);var t=H3(r);function r(n){mO(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 Y3(l)}))!==null&&a!==void 0?a:[],o}return r}(X);function q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U3(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 W3(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function K3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function X3(e,t){return t&&(Q3(t)==="object"||typeof t=="function")?t:q3(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var Q3=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 Z3(e){var t=J3();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 X3(this,o)}}var Vt=function(e){K3(r,e);var t=Z3(r);function r(n){U3(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return W3(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}(Q);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 eA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tA(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 nA(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(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&&Xl(e,t)}function oA(e,t){return t&&(iA(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 iA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cA(e){var t=uA();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 oA(this,o)}}var fA=function(e){rA(r,e);var t=cA(r);function r(n){tA(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return nA(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(oe),wO={Designer:Vt,Runtime:fA,Property:Wl};function Xr(){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 aA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ql(e,t)}function SO(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){lA(e,o,r[o])})}return e}function sA(e,t){return t&&(yA(t)==="object"||typeof t=="function")?t:aA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(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 EO(e){var t=vA();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 sA(this,o)}}var hA=function(e){TO(r,e);var t=EO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:SO({},Xr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:SO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Xr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(F),Jr=function(e){TO(r,e);var t=EO(r);function r(n){$O(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 Dn(n==null?void 0:n.fillPayload),o.formBind=new Pp(n==null?void 0:n.formBind),o.fillBack=new ba(n==null?void 0:n.fillBack),o}return r}(X);Jr.Rules=hA;function dA(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 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 pA(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function bA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}function OA(e,t){return t&&(gA(t)==="object"||typeof t=="function")?t:dA(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var gA=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 PA(e){var t=mA();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 OA(this,o)}}var Ht=function(e){bA(r,e);var t=PA(r);function r(n){_A(this,r);var o;return o=t.call(this,n),o.props=new Jr(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}(Q);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 RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wA(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 $A(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function TA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function SA(e,t){return t&&(EA(t)==="object"||typeof t=="function")?t:RA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var EA=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 NA(e){var t=IA();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 SA(this,o)}}var CA=function(e){TA(r,e);var t=NA(r);function r(n){wA(this,r);var o;return o=t.call(this,n),o.props=new Jr(n==null?void 0:n.props),o}return $A(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(oe),CO={Designer:Ht,Runtime:CA,Property:Jr};function BA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function jO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function kO(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){jA(e,o,r[o])})}return e}function kA(e,t){return t&&(AA(t)==="object"||typeof t=="function")?t:BA(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(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 AO(e){var t=MA();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 kA(this,o)}}var DA=function(e){jO(r,e);var t=AO(r);function r(n){BO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:kO({},Xr())},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:kO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Xr())},o}return r}(F),no=function(e){jO(r,e);var t=AO(r);function r(n){BO(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 Dn(n==null?void 0:n.fillPayload),o.listPageBind=new ha(n==null?void 0:n.listPageBind),o.fillBack=new ba(n==null?void 0:n.fillBack),o}return r}(X);no.Rules=DA;function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LA(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 xA(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function zA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function GA(e,t){return t&&(VA(t)==="object"||typeof t=="function")?t:FA(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var VA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YA(e){var t=HA();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 GA(this,o)}}var Yt=function(e){zA(r,e);var t=YA(r);function r(n){LA(this,r);var o;return o=t.call(this,n),o.props=new no(n==null?void 0:n.props),o}return xA(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}(Q);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 qA(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 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 WA(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function KA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XA(e,t){return t&&(QA(t)==="object"||typeof t=="function")?t:qA(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var QA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZA(e){var t=JA();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 XA(this,o)}}var e2=function(e){KA(r,e);var t=ZA(r);function r(n){UA(this,r);var o;return o=t.call(this,n),o.props=new no(n==null?void 0:n.props),o}return WA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(oe),FO={Designer:Yt,Runtime:e2,Property:no};function t2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function os(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:t2(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var r2=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 us(e){var t=o2();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 n2(this,o)}}var i2=function(e){os(r,e);var t=us(r);function r(n){return rs(this,r),t.call(this,n)}return r}(F),u2=function(e){os(r,e);var t=us(r);function r(n){return rs(this,r),t.call(this,n)}return r}(pe),qt=function(e){os(r,e);var t=us(r);function r(n){return rs(this,r),t.call(this,n)}return r}(x);qt.Rules=i2,qt.RuntimeRules=u2;function c2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a2(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function l2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function s2(e,t){return t&&(y2(t)==="object"||typeof t=="function")?t:c2(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h2(e){var t=v2();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 s2(this,o)}}var xO=function(e){l2(r,e);var t=h2(r);function r(n){f2(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return a2(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(B);xO.setting=[];function d2(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 zO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p2(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function b2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function O2(e,t){return t&&(g2(t)==="object"||typeof t=="function")?t:d2(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var g2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P2(e){var t=m2();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 O2(this,o)}}var R2=function(e){b2(r,e);var t=P2(r);function r(n){_2(this,r);var o;return o=t.call(this,n),o.props=new qt(n==null?void 0:n.props),o}return p2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(H),GO={Designer:xO,Runtime:R2,Property:qt};function w2(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 fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(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&&as(e,t)}function $2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:w2(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(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 YO(e){var t=S2();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 $2(this,o)}}var E2=function(e){HO(r,e);var t=YO(r);function r(n){VO(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),ao=function(e){HO(r,e);var t=YO(r);function r(n){VO(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}(x);ao.Rules=E2;function I2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 C2(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function B2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function j2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:I2(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var k2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M2(e){var t=A2();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 j2(this,o)}}var UO=function(e){B2(r,e);var t=M2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return C2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(B);UO.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 D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L2(e,t,r){return t&&WO(e.prototype,t),r&&WO(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function x2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function z2(e,t){return t&&(G2(t)==="object"||typeof t=="function")?t:D2(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var G2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H2(e){var t=V2();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 z2(this,o)}}var Y2=function(e){x2(r,e);var t=H2(r);function r(n){F2(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return L2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(H),KO={Designer:UO,Runtime:Y2,Property:ao};function q2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(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&&ys(e,t)}function U2(e,t){return t&&(W2(t)==="object"||typeof t=="function")?t:q2(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(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 JO(e){var t=K2();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 U2(this,o)}}var X2=function(e){QO(r,e);var t=JO(r);function r(n){XO(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),vo=function(e){QO(r,e);var t=JO(r);function r(n){XO(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 zp(a)}))!==null&&f!==void 0?f:[],o}return r}(x);vo.Rules=X2;function Q2(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 ZO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z2(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(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 tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:Q2(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 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=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var eg=function(e){eM(r,e);var t=oM(r);function r(n){J2(this,r);var o;return o=t.call(this,n),o.props=new vo(n==null?void 0:n.props),o}return Z2(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}(B);eg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function iM(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 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 cM(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 fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function aM(e,t){return t&&(lM(t)==="object"||typeof t=="function")?t:iM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var lM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sM();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 aM(this,o)}}var vM=function(e){fM(r,e);var t=yM(r);function r(n){uM(this,r);var o;return o=t.call(this,n),o.props=new vo(n==null?void 0:n.props),o}return cM(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(H),ng={Designer:eg,Runtime:vM,Property:vo};function hM(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 po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:hM(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var _M=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 ig(e){var t=pM();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 bM=function(e){og(r,e);var t=ig(r);function r(n){rg(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),bo=function(e){og(r,e);var t=ig(r);function r(n){rg(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.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 J(_)}))!==null&&b!==void 0?b:[],o}return r}(X);bo.Rules=bM;function OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mM(e,t,r){return t&&ug(e.prototype,t),r&&ug(e,r),e}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(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&&_s(e,t)}function RM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:OM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var wM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TM(e){var t=$M();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 RM(this,o)}}var rt=function(e){PM(r,e);var t=TM(r);function r(n){gM(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return mM(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}(Q);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 SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(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 IM(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 NM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:SM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var BM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kM(e){var t=jM();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 CM(this,o)}}var AM=function(e){NM(r,e);var t=kM(r);function r(n){EM(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return IM(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(oe),fg={Designer:rt,Runtime:AM,Property:bo};function MM(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 mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(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&&bs(e,t)}function DM(e,t){return t&&(FM(t)==="object"||typeof t=="function")?t:MM(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(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 sg(e){var t=LM();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 DM(this,o)}}var xM=function(e){lg(r,e);var t=sg(r);function r(n){ag(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),Po=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.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ot.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:ot.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:ot.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 J(_)}))!==null&&b!==void 0?b:[],o}return r}(X);Po.Rules=xM;function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VM(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(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&&Os(e,t)}function YM(e,t){return t&&(qM(t)==="object"||typeof t=="function")?t:zM(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var qM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WM(e){var t=UM();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 YM(this,o)}}var ot=function(e){HM(r,e);var t=WM(r);function r(n){GM(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return VM(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}(Q);ot.controlEventKeys=["on_click","on_click_finish"],ot.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 KM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XM(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 QM(e,t,r){return t&&vg(e.prototype,t),r&&vg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(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&&gs(e,t)}function ZM(e,t){return t&&(eD(t)==="object"||typeof t=="function")?t:KM(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var eD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nD(e){var t=tD();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 ZM(this,o)}}var rD=function(e){JM(r,e);var t=nD(r);function r(n){XM(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return QM(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(oe),hg={Designer:ot,Runtime:rD,Property:Po};function oD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function _g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function iD(e,t){return t&&(uD(t)==="object"||typeof t=="function")?t:oD(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(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 pg(e){var t=cD();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 iD(this,o)}}var fD=function(e){_g(r,e);var t=pg(r);function r(){dg(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),To=function(e){_g(r,e);var t=pg(r);function r(n){dg(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 Gb(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}(X);To.Rules=fD;function aD(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 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 sD(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}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&&Ps(e,t)}function vD(e,t){return t&&(hD(t)==="object"||typeof t=="function")?t:aD(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var hD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _D(e){var t=dD();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 Ut=function(e){yD(r,e);var t=_D(r);function r(n){lD(this,r);var o;return o=t.call(this,n),o.props=new To(n==null?void 0:n.props),o}return sD(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}(Q);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 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 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 OD(e,t,r){return t&&Og(e.prototype,t),r&&Og(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&&Rs(e,t)}function mD(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:pD(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(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 $D=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 To(n==null?void 0:n.props),o}return OD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(oe),gg={Designer:Ut,Runtime:$D,Property:To};function TD(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 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&&ws(e,t)}function ID(e,t){return t&&(ND(t)==="object"||typeof t=="function")?t:TD(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(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 $s=function(e){ED(r,e);var t=BD(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}(X);function jD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AD(e,t,r){return t&&mg(e.prototype,t),r&&mg(e,r),e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function MD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function DD(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:jD(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var FD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xD(e){var t=LD();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 DD(this,o)}}var Wt=function(e){MD(r,e);var t=xD(r);function r(n){kD(this,r);var o;return o=t.call(this,n),o.props=new $s(n==null?void 0:n.props),o}return AD(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}(Q);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 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 Pg(e,t){for(var r=0;r<t.length;r++){var 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&&Pg(e.prototype,t),r&&Pg(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&&Ss(e,t)}function YD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:zD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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 KD=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 $s(n==null?void 0:n.props),o}return VD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(oe),Rg={Designer:Wt,Runtime:KD,Property:$s};function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(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 $g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function QD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:XD(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var JD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZD();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 QD(this,o)}}var eF=function(e){$g(r,e);var t=Tg(r);function r(n){wg(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(F),jo=function(e){$g(r,e);var t=Tg(r);function r(n){wg(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",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(x);jo.Rules=eF;function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nF(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 rF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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&&Is(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:tF(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var uF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fF(e){var t=cF();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 iF(this,o)}}var Ao=function(e){oF(r,e);var t=fF(r);function r(n){nF(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return rF(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(B);Ao.controlEventKeys=["on_click"],Ao.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 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 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 sF(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(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&&Ns(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:aF(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var hF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _F(e){var t=dF();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 vF(this,o)}}var pF=function(e){yF(r,e);var t=_F(r);function r(n){lF(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return sF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(H),Kt={Designer:Ao,Runtime:pF,Property:jo},bF=Object.freeze({__proto__:null,Text:Bb,Link:Ab,Button:Fb,Divider:Ub,Title:Zb,CreateFormListButton:iO,BatchSubmissionListButton:sO,SubmissionRecordListButton:hO,ExportListButton:pO,ExportRecordListButton:gO,ImportRecordListButton:wO,FormSelectButton:CO,ListSelectButton:FO,Pagination:GO,Dashboard:KO,ListViewSelect:ng,TextOcrButton:fg,InvoiceCheckButton:hg,BatchPrintListButton:gg,BatchPrintRecordListButton:Rg,OperationButton:Kt});function OF(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 Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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 gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:OF(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(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 ks(e){var t=PF();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 gF(this,o)}}var RF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(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}(W),wF=function(e){Bs(r,e);var t=ks(r);function r(n){Cs(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}(j),it=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.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 Oa(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:ut.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);it.Rules=RF,it.RuntimeRules=wF;function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SF(e,t,r){return t&&Ig(e.prototype,t),r&&Ig(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function EF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:$F(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var NF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BF(e){var t=CF();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 IF(this,o)}}var ut=function(e){EF(r,e);var t=BF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),o.props=new it(n==null?void 0:n.props),o}return SF(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);ut.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ut.controlFieldType=c.FieldTypes.VARCHAR,ut.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 jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kF(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 AF(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function MF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function DF(e,t){return t&&(FF(t)==="object"||typeof t=="function")?t:jF(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var FF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xF(e){var t=LF();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 DF(this,o)}}var Cg=function(e){MF(r,e);var t=xF(r);function r(n){kF(this,r);var o;return o=t.call(this,n),o.props=new it(n==null?void 0:n.props),o}return AF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);Cg.controlFieldType=c.FieldTypes.VARCHAR;var Bg={Designer:ut,Runtime:Cg,Property:it};function zF(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 GF(e,t){return t&&(VF(t)==="object"||typeof t=="function")?t:zF(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(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 xs(e){var t=HF();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 GF(this,o)}}var YF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(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),qF=function(e){Fs(r,e);var t=xs(r);function r(n){Ds(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}(j),Xt=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.options=ae((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 V(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;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 J(d))})),o}return r}(E);Xt.Rules=YF,Xt.RuntimeRules=qF;function UF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KF(e,t,r){return t&&jg(e.prototype,t),r&&jg(e,r),e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function XF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function QF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:UF(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var JF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eL(e){var t=ZF();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 QF(this,o)}}var Qt=function(e){XF(r,e);var t=eL(r);function r(n){WF(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return KF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(I);Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=c.FieldTypes.ARRAY,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:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];function tL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nL(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 rL(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 oL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function iL(e,t){return t&&(uL(t)==="object"||typeof t=="function")?t:tL(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var uL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fL(e){var t=cL();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 iL(this,o)}}var Ag=function(e){oL(r,e);var t=fL(r);function r(n){nL(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return rL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Ag.controlFieldType=c.FieldTypes.ARRAY;var Mg={Designer:Qt,Runtime:Ag,Property:Xt};function aL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dg(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 Fg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lL(e,t){return t&&(sL(t)==="object"||typeof t=="function")?t:aL(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var sL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yL();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 lL(this,o)}}var vL=function(e){Fg(r,e);var t=Lg(r);function r(n){return Dg(this,r),t.call(this,n)}return r}(Ie),Ho=function(e){Fg(r,e);var t=Lg(r);function r(n){Dg(this,r);var o;o=t.call(this,n);var i;o.options=ae((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 V(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:Jt.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 J(_))})),o}return r}(E);Ho.Rules=vL;function hL(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 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 _L(e,t,r){return t&&xg(e.prototype,t),r&&xg(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(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 bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:hL(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(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=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 Jt=function(e){pL(r,e);var t=mL(r);function r(n){dL(this,r);var o;return o=t.call(this,n),o.props=new Ho(n==null?void 0:n.props),o}return _L(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(I);Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=c.FieldTypes.VARCHAR,Jt.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 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 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 wL(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(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&&(SL(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)}var SL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IL(e){var t=EL();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 TL(this,o)}}var Gg=function(e){$L(r,e);var t=IL(r);function r(n){RL(this,r);var o;return o=t.call(this,n),o.props=new Ho(n==null?void 0:n.props),o}return wL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);Gg.controlFieldType=c.FieldTypes.VARCHAR;var Vg={Designer:Jt,Runtime:Gg,Property:Ho};function NL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function Us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function CL(e,t){return t&&(BL(t)==="object"||typeof t=="function")?t:NL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var BL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ks(e){var t=jL();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 CL(this,o)}}var kL=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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}(W),AL=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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}(j),Zt=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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?_:en.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 Oa(n==null?void 0:n.regularRules),o}return r}(E);Zt.Rules=kL,Zt.RuntimeRules=AL;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 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 FL(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function Wo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wo=Reflect.get:Wo=function(o,i,u){var f=zL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Wo(e,t,r||e)}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(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&&Xs(e,t)}function xL(e,t){return t&&(GL(t)==="object"||typeof t=="function")?t:ML(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function zL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ct(e),e!==null););return e}var GL=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=ct(e),o;if(t){var i=ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xL(this,o)}}var en=function(e){LL(r,e);var t=HL(r);function r(o){DL(this,r);var i;return i=t.call(this,o),i.props=new Zt(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Wo(ct(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},FL(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(I);en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=c.FieldTypes.DECIMAL,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:"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 YL(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 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 UL(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function WL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KL(e,t){return t&&(XL(t)==="object"||typeof t=="function")?t:YL(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 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=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KL(this,o)}}var qg=function(e){WL(r,e);var t=JL(r);function r(n){qL(this,r);var o;return o=t.call(this,n),o.props=new Zt(n==null?void 0:n.props),o}return UL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);qg.controlFieldType=c.FieldTypes.DECIMAL;var Ug={Designer:en,Runtime:qg,Property:Zt};function ZL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e4(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 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&&Js(e,t)}function n4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:ZL(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var r4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i4(e){var t=o4();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 n4(this,o)}}var Zs=function(e){t4(r,e);var t=i4(r);function r(n){e4(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:Jo.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 mr(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 u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f4(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function Qo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qo=Reflect.get:Qo=function(o,i,u){var f=s4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Qo(e,t,r||e)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(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&&ey(e,t)}function l4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:u4(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function s4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ft(e),e!==null););return e}var y4=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 h4(e){var t=v4();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 l4(this,o)}}var Jo=function(e){a4(r,e);var t=h4(r);function r(o){c4(this,r);var i;return i=t.call(this,o),i.props=new Zs(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Qo(ft(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},f4(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);Jo.controlFieldType=c.FieldTypes.TIMESTAMP,Jo.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 d4(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 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 p4(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function b4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:d4(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(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 P4(e){var t=m4();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 O4(this,o)}}var Xg=function(e){b4(r,e);var t=P4(r);function r(n){_4(this,r);var o;return o=t.call(this,n),o.props=new Zs(n==null?void 0:n.props),o}return p4(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Xg.controlFieldType=c.FieldTypes.TIMESTAMP;var Qg={Designer:Jo,Runtime:Xg,Property:Zs};function R4(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 ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function Zg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function w4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:R4(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var $4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function em(e){var t=T4();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 w4(this,o)}}var S4=function(e){Zg(r,e);var t=em(r);function r(n){Jg(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}(j),ti=function(e){Zg(r,e);var t=em(r);function r(n){Jg(this,r);var o,i;o=t.call(this,n),o.dataBind=new Mp(n==null?void 0:n.dataBind),o.defaultValue=new Dp(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:ri.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new mr(b)}))!==null&&p!==void 0?p:[],o}return r}(E);ti.RuntimeRules=S4;function E4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N4(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}function ni(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(o,i,u){var f=j4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ni(e,t,r||e)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function B4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:E4(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function j4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=at(e),e!==null););return e}var k4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M4(e){var t=A4();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 B4(this,o)}}var ri=function(e){C4(r,e);var t=M4(r);function r(o){I4(this,r);var i;return i=t.call(this,o),i.props=new ti(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ni(at(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},N4(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);ri.controlFieldType=c.FieldTypes.TIMESCOPE,ri.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 D4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 L4(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function x4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:D4(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(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 H4(e){var t=V4();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 z4(this,o)}}var rm=function(e){x4(r,e);var t=H4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),o.props=new ti(n==null?void 0:n.props),o}return L4(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);rm.controlFieldType=c.FieldTypes.TIMESCOPE;var om={Designer:ri,Runtime:rm,Property:ti};function Y4(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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 q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:Y4(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var U4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fy(e){var t=W4();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 q4(this,o)}}var K4=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}(W),X4=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}(j),tn=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:nn.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);tn.Rules=K4,tn.RuntimeRules=X4;function Q4(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 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 Z4(e,t,r){return t&&im(e.prototype,t),r&&im(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function t5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:Q4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var n5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o5(e){var t=r5();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t5(this,o)}}var nn=function(e){e5(r,e);var t=o5(r);function r(n){J4(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return Z4(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);nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=c.FieldTypes.TEXT,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:"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 i5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 c5(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&ly(e,t)}function a5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:i5(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var l5=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 y5(e){var t=s5();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 a5(this,o)}}var cm=function(e){f5(r,e);var t=y5(r);function r(n){u5(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return c5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);cm.controlFieldType=c.FieldTypes.TEXT;var fm={Designer:nn,Runtime:cm,Property:tn};function v5(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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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 h5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:v5(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var d5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hy(e){var t=_5();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 h5(this,o)}}var p5=function(e){yy(r,e);var t=hy(r);function r(n){sy(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}(W),b5=function(e){yy(r,e);var t=hy(r);function r(n){sy(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}(j),rn=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.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;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(E);rn.Rules=p5,rn.RuntimeRules=b5;function O5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(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 m5(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function P5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function R5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:O5(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var w5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T5(e){var t=$5();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 R5(this,o)}}var on=function(e){P5(r,e);var t=T5(r);function r(n){g5(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"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(I);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:"rich-text",visible:!0},{key:"super-setting",visible:!0}];function S5(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 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 I5(e,t,r){return t&&lm(e.prototype,t),r&&lm(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&_y(e,t)}function C5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:S5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var B5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k5(e){var t=j5();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 C5(this,o)}}var sm=function(e){N5(r,e);var t=k5(r);function r(n){E5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return I5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);sm.controlFieldType=c.FieldTypes.TEXT;var ym={Designer:on,Runtime:sm,Property:rn};function A5(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 si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&py(e,t)}function M5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:A5(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var D5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dm(e){var t=F5();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 M5(this,o)}}var L5=function(e){hm(r,e);var t=dm(r);function r(n){return vm(this,r),t.call(this,n)}return r}(Ie),yi=function(e){hm(r,e);var t=dm(r);function r(n){vm(this,r);var o;o=t.call(this,n);var i;o.options=ae((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 V(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;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 J(v))})),o}return r}(E);yi.Rules=L5;function x5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 G5(e,t,r){return t&&_m(e.prototype,t),r&&_m(e,r),e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function H5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:x5(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var Y5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U5(e){var t=q5();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 H5(this,o)}}var hi=function(e){V5(r,e);var t=U5(r);function r(n){z5(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return G5(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);hi.controlFieldType=c.FieldTypes.VARCHAR,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,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function W5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K5(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 X5(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(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&&Oy(e,t)}function J5(e,t){return t&&(Z5(t)==="object"||typeof t=="function")?t:W5(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var Z5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t6(e){var t=e6();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J5(this,o)}}var bm=function(e){Q5(r,e);var t=t6(r);function r(n){K5(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return X5(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);bm.controlFieldType=c.FieldTypes.VARCHAR;var Om={Designer:hi,Runtime:bm,Property:yi};function n6(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 _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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 r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:n6(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(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 Ry(e){var t=i6();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 r6(this,o)}}var u6=function(e){my(r,e);var t=Ry(r);function r(n){return gy(this,r),t.call(this,n)}return r}(Ie),c6=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}return r}(j),un=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.options=ae((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 V(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:bi.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 J(y))})),o}return r}(E);un.Rules=u6,un.RuntimeRules=c6;function f6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(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 l6(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&wy(e,t)}function y6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:f6(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var v6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d6(e){var t=h6();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 y6(this,o)}}var bi=function(e){s6(r,e);var t=d6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return l6(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);bi.controlFieldType=c.FieldTypes.ARRAY,bi.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 _6(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 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 b6(e,t,r){return t&&mm(e.prototype,t),r&&mm(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&&$y(e,t)}function g6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:_6(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(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 Pm=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 un(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Pm.controlFieldType=c.FieldTypes.ARRAY;var Rm={Designer:bi,Runtime:Pm,Property:un};function w6(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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function $m(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function $6(e,t){return t&&(T6(t)==="object"||typeof t=="function")?t:w6(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var T6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=S6();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 $6(this,o)}}var E6=function(e){$m(r,e);var t=Tm(r);function r(n){wm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),mi=function(e){$m(r,e);var t=Tm(r);function r(n){wm(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:Ri.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 J(p))})),o}return r}(E);mi.RuntimeRules=E6;function I6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(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 C6(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:I6(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var k6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M6(e){var t=A6();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 j6(this,o)}}var Ri=function(e){B6(r,e);var t=M6(r);function r(n){N6(this,r);var o;return o=t.call(this,n),o.props=new mi(n==null?void 0:n.props),o}return C6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);Ri.controlFieldType=c.FieldTypes.EMPLOYEES,Ri.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 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 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 L6(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(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&&Ey(e,t)}function z6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:D6(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(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=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z6(this,o)}}var Im=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 mi(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);Im.controlFieldType=c.FieldTypes.EMPLOYEES;var Nm={Designer:Ri,Runtime:Im,Property:mi};function Y6(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 $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function Ny(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:Y6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var U6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function By(e){var t=W6();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 q6(this,o)}}var K6=10485760,X6=104857600,Q6=1048576e3,J6=function(e){Ny(r,e);var t=By(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:Q6,message:h.getMessage("attachmentMaxSize")},o}return r}(W),Z6=function(e){Ny(r,e);var t=By(r);function r(n){Iy(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}(j),lt=function(e){Ny(r,e);var t=By(r);function r(n){Iy(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:X6;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:st.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);lt.Rules=J6,lt.RuntimeRules=Z6;function e7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(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 n7(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:e7(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var i7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c7(e){var t=u7();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 st=function(e){r7(r,e);var t=c7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);st.controlEventKeys=["on_change"],st.controlFieldType=c.FieldTypes.FILE,st.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 f7(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 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 l7(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function s7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y7(e,t){return t&&(v7(t)==="object"||typeof t=="function")?t:f7(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}var v7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d7(e){var t=h7();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 y7(this,o)}}var Ay=function(e){s7(r,e);var t=d7(r);function r(n){a7(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return l7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ay.controlFieldType=c.FieldTypes.FILE;var jm={Designer:st,Runtime:Ay,Property:lt};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 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 b7(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function O7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:_7(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var m7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R7(e){var t=P7();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 g7(this,o)}}var Dy=function(e){O7(r,e);var t=R7(r);function r(n){p7(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 b7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(st);Dy.controlFieldType=c.FieldTypes.IMAGE,Dy.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 w7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(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 T7(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function S7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E7(e,t){return t&&(I7(t)==="object"||typeof t=="function")?t:w7(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var I7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C7(e){var t=N7();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 E7(this,o)}}var B7=function(e){S7(r,e);var t=C7(r);function r(n){$7(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 T7(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ay);function j7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(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 A7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M7(e,t){return t&&(D7(t)==="object"||typeof t=="function")?t:j7(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var D7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=F7();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 M7(this,o)}}var x7=function(e){A7(r,e);var t=L7(r);function r(n){return k7(this,r),t.call(this,n)}return r}(lt),Mm={Designer:Dy,Runtime:B7,Property:x7};function z7(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 G7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function 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 V7(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){G7(e,o,r[o])})}return e}function H7(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 Y7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:z7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var U7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vy(e){var t=W7();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 q7(this,o)}}var K7=function(e){zy(r,e);var t=Vy(r);function r(n){xy(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),X7=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="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[Y7(V7({},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}(j),cn=function(e){zy(r,e);var t=Vy(r);function r(n){xy(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 kp(n==null?void 0:n.dataBind);var s;o.datasourceBind=new V((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Mn({value:"name"})]});var y;o.defaultValue=new Ap((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ae(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:fn.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);cn.Rules=K7,cn.RuntimeRules=X7;function Q7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z7(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(e,r),e}function Bi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(o,i,u){var f=n8(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Bi(e,t,r||e)}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function t8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Q7(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function n8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yt(e),e!==null););return e}var r8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();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 t8(this,o)}}var fn=function(e){e8(r,e);var t=i8(r);function r(o){J7(this,r);var i;return i=t.call(this,o),i.props=new cn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Bi(yt(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},Z7(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=c.FieldTypes.MONEY,fn.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 u8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f8(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function a8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function l8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:u8(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var s8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=y8();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 l8(this,o)}}var Lm=function(e){a8(r,e);var t=v8(r);function r(n){c8(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);Lm.controlFieldType=c.FieldTypes.MONEY;var xm={Designer:fn,Runtime:Lm,Property:cn};function h8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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&&Wy(e,t)}function d8(e,t){return t&&(_8(t)==="object"||typeof t=="function")?t:h8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var _8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ky(e){var t=p8();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 d8(this,o)}}var b8=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(W),O8=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(j),an=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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 Pr(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Pr});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:ln.controlName,o}return r}(E);an.Rules=b8,an.RuntimeRules=O8;function Xy(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 g8(e){if(Array.isArray(e))return Xy(e)}function m8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(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 R8(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function Ai(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ai=Reflect.get:Ai=function(o,i,u){var f=E8(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ai(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function w8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function $8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function T8(){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 S8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:m8(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function E8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}function I8(e){return g8(e)||$8(e)||C8(e)||T8()}var N8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C8(e,t){if(!!e){if(typeof e=="string")return Xy(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 Xy(e,t)}}function B8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=B8();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 S8(this,o)}}var ln=function(e){w8(r,e);var t=j8(r);function r(o){P8(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.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 Pr});(f=this.props.explain).push.apply(f,I8(l))}}Ai(vt(r.prototype),"postUpdate",this).call(this,i,u)},R8(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(I);ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=c.FieldTypes.DECIMAL,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:"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 k8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A8(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 M8(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 D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function F8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:k8(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var L8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=x8();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 F8(this,o)}}var Vm=function(e){D8(r,e);var t=z8(r);function r(n){A8(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);Vm.controlFieldType=c.FieldTypes.DECIMAL;var Hm={Designer:ln,Runtime:Vm,Property:an};function G8(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function qm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:G8(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(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 Um(e){var t=Y8();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 V8(this,o)}}var q8=function(e){qm(r,e);var t=Um(r);function r(n){Ym(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}(j),Fi=function(e){qm(r,e);var t=Um(r);function r(n){Ym(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:xi.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 Fp((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);Fi.RuntimeRules=q8;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 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 K8(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function X8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function Q8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:U8(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var J8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Z8();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 Q8(this,o)}}var xi=function(e){X8(r,e);var t=ex(r);function r(n){W8(this,r);var o;return o=t.call(this,n),o.props=new Fi(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);xi.controlFieldType=c.FieldTypes.ADDRESS,xi.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 tx(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 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 rx(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function ox(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:tx(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var ux=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fx(e){var t=cx();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 ix(this,o)}}var Xm=function(e){ox(r,e);var t=fx(r);function r(n){nx(this,r);var o;return o=t.call(this,n),o.props=new Fi(n==null?void 0:n.props),o}return rx(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);Xm.controlFieldType=c.FieldTypes.ADDRESS;var Qm={Designer:xi,Runtime:Xm,Property:Fi};function ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Zm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function lx(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:ax(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(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 e0(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 vx=function(e){Zm(r,e);var t=e0(r);function r(n){Jm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Vi=function(e){Zm(r,e);var t=e0(r);function r(n){Jm(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:Yi.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 J(_))})),o}return r}(E);Vi.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 dx(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 _x(e,t,r){return t&&t0(e.prototype,t),r&&t0(e,r),e}function Hi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hi=Reflect.get:Hi=function(o,i,u){var f=Ox(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 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&&rv(e,t)}function bx(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:hx(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function Ox(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}var gx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Px(e){var t=mx();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 bx(this,o)}}var Yi=function(e){px(r,e);var t=Px(r);function r(o){dx(this,r);var i;return i=t.call(this,o),i.props=new Vi(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.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},_x(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);Yi.controlFieldType=c.FieldTypes.DEPARTMENTS,Yi.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 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 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 $x(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&ov(e,t)}function Sx(e,t){return t&&(Ex(t)==="object"||typeof t=="function")?t:Rx(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(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=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sx(this,o)}}var r0=function(e){Tx(r,e);var t=Nx(r);function r(n){wx(this,r);var o;return o=t.call(this,n),o.props=new Vi(n==null?void 0:n.props),o}return $x(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);r0.controlFieldType=c.FieldTypes.DEPARTMENTS;var o0={Designer:Yi,Runtime:r0,Property:Vi};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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(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&&iv(e,t)}function kx(e,t){return t&&(Ax(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 Ax=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dx(e){var t=Mx();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 kx(this,o)}}var uv=function(e){jx(r,e);var t=Dx(r);function r(n){Bx(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:sn.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 Fx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xx(e,t,r){return t&&i0(e.prototype,t),r&&i0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function Gx(e,t){return t&&(Vx(t)==="object"||typeof t=="function")?t:Fx(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(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 Yx(e){var t=Hx();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 Gx(this,o)}}var sn=function(e){zx(r,e);var t=Yx(r);function r(n){Lx(this,r);var o;return o=t.call(this,n),o.props=new uv(n==null?void 0:n.props),o}return xx(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);sn.controlEventKeys=["on_change"],sn.controlFieldType=c.FieldTypes.AUTO_NUMBER,sn.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 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 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 Wx(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&fv(e,t)}function Xx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:qx(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var Qx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zx(e){var t=Jx();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var c0=function(e){Kx(r,e);var t=Zx(r);function r(n){Ux(this,r);var o;return o=t.call(this,n),o.props=new uv(n==null?void 0:n.props),o}return Wx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);c0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var f0={Designer:sn,Runtime:c0,Property:uv};function e9(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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&sv(e,t)}function t9(e,t){return t&&(n9(t)==="object"||typeof t=="function")?t:e9(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var n9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yv(e){var t=r9();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 t9(this,o)}}var o9=function(e){lv(r,e);var t=yv(r);function r(n){av(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}(W),i9=function(e){lv(r,e);var t=yv(r);function r(n){av(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}(j),yn=function(e){lv(r,e);var t=yv(r);function r(n){av(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 Lp(n==null?void 0:n.dataBind),o.defaultValue=new xp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:vn.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);yn.Rules=o9,yn.RuntimeRules=i9;function u9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f9(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function Qi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qi=Reflect.get:Qi=function(o,i,u){var f=s9(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Qi(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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 l9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:u9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function s9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var y9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h9(e){var t=v9();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 l9(this,o)}}var vn=function(e){a9(r,e);var t=h9(r);function r(o){c9(this,r);var i;return i=t.call(this,o),i.props=new yn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Qi(dt(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},f9(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);vn.controlEventKeys=["on_change"],vn.controlFieldType=c.FieldTypes.CALC,vn.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 d9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _9(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 p9(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:d9(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var g9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P9(e){var t=m9();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 O9(this,o)}}var s0=function(e){b9(r,e);var t=P9(r);function r(n){_9(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);s0.controlFieldType=c.FieldTypes.CALC;var y0={Designer:vn,Runtime:s0,Property:yn};function R9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function h0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function w9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:R9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var $9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=T9();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 w9(this,o)}}var S9=function(e){h0(r,e);var t=d0(r);function r(n){v0(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}(j),eu=function(e){h0(r,e);var t=d0(r);function r(n){v0(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:nu.controlName,o}return r}(E);eu.RuntimeRules=S9;function E9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I9(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 N9(e,t,r){return t&&_0(e.prototype,t),r&&_0(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 B9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:E9(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var j9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A9(e){var t=k9();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 B9(this,o)}}var nu=function(e){C9(r,e);var t=A9(r);function r(n){I9(this,r);var o;return o=t.call(this,n),o.props=new eu(n==null?void 0:n.props),o}return N9(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(I);nu.controlFieldType=c.FieldTypes.DECIMAL_RANGE,nu.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 M9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F9(e,t,r){return t&&p0(e.prototype,t),r&&p0(e,r),e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function L9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:M9(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=G9();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 x9(this,o)}}var b0=function(e){L9(r,e);var t=V9(r);function r(n){D9(this,r);var o;return o=t.call(this,n),o.props=new eu(n==null?void 0:n.props),o}return F9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);b0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var O0={Designer:nu,Runtime:b0,Property:eu};function H9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g0(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 m0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y9(e,t){return t&&(q9(t)==="object"||typeof t=="function")?t:H9(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 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 P0(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 W9=function(e){m0(r,e);var t=P0(r);function r(n){g0(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}(j),iu=function(e){m0(r,e);var t=P0(r);function r(n){g0(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:cu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new mr(_)}))!==null&&b!==void 0?b:[],o}return r}(E);iu.RuntimeRules=W9;function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Q9(e,t,r){return t&&R0(e.prototype,t),r&&R0(e,r),e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function Z9(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:K9(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var ez=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tz();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 Z9(this,o)}}var cu=function(e){J9(r,e);var t=nz(r);function r(n){X9(this,r);var o;return o=t.call(this,n),o.props=new iu(n==null?void 0:n.props),o}return Q9(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);cu.controlFieldType=c.FieldTypes.ARRAY,cu.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 rz(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 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 iz(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&gv(e,t)}function cz(e,t){return t&&(fz(t)==="object"||typeof t=="function")?t:rz(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(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=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cz(this,o)}}var $0=function(e){uz(r,e);var t=lz(r);function r(n){oz(this,r);var o;return o=t.call(this,n),o.props=new iu(n==null?void 0:n.props),o}return iz(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);$0.controlFieldType=c.FieldTypes.ARRAY;var T0={Designer:cu,Runtime:$0,Property:iu};function sz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function yz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:sz(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(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 wv(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 dz=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(W),_z=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(j),hn=function(e){Pv(r,e);var t=wv(r);function r(n){mv(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:dn.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);hn.Rules=dz,hn.RuntimeRules=_z;function pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oz(e,t,r){return t&&S0(e.prototype,t),r&&S0(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&$v(e,t)}function mz(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:pz(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(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=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mz(this,o)}}var dn=function(e){gz(r,e);var t=wz(r);function r(n){bz(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return Oz(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);dn.controlFieldType=c.FieldTypes.ANY,dn.controlEventKeys=[],dn.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 $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 E0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sz(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Tv(e,t)}function Iz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:$z(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iz(this,o)}}var I0=function(e){Ez(r,e);var t=Bz(r);function r(n){Tz(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return Sz(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);I0.controlFieldType=c.FieldTypes.ANY;var N0={Designer:dn,Runtime:I0,Property:hn};function jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(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&&Sv(e,t)}function kz(e,t){return t&&(Az(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 Az=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 j0(e){var t=Mz();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 kz(this,o)}}var Dz=function(e){B0(r,e);var t=j0(r);function r(n){C0(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),vu=function(e){B0(r,e);var t=j0(r);function r(n){C0(this,r);var o;o=t.call(this,n);var i;o.options=ae((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 ha(n==null?void 0:n.listPageBind),o.datasourceBind=new V(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:du.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 J(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(E);vu.Rules=Dz;function Fz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xz(e,t,r){return t&&k0(e.prototype,t),r&&k0(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function Gz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Fz(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(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 Yz(e){var t=Hz();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 Gz(this,o)}}var du=function(e){zz(r,e);var t=Yz(r);function r(n){Lz(this,r);var o;return o=t.call(this,n),o.props=new vu(n==null?void 0:n.props),o}return xz(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);du.controlFieldType=c.FieldTypes.VARCHAR,du.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 qz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uz(e,t){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 Wz(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&Iv(e,t)}function Xz(e,t){return t&&(Qz(t)==="object"||typeof t=="function")?t:qz(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(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=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var M0=function(e){Kz(r,e);var t=Zz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),o.props=new vu(n==null?void 0:n.props),o}return Wz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);M0.controlFieldType=c.FieldTypes.VARCHAR;var D0={Designer:du,Runtime:M0,Property:vu};function eG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tG(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 nG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function rG(e,t){return t&&(oG(t)==="object"||typeof t=="function")?t:eG(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var oG=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 uG(e){var t=iG();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 rG(this,o)}}var Cv=function(e){nG(r,e);var t=uG(r);function r(n){return tG(this,r),t.call(this,n)}return r}(it);function cG(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 F0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aG(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(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&&Bv(e,t)}function sG(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:cG(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var yG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hG(e){var t=vG();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 sG(this,o)}}var L0=function(e){lG(r,e);var t=hG(r);function r(n){fG(this,r);var o;return o=t.call(this,n),o.props=new Cv(n==null?void 0:n.props),o}return aG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(ut);L0.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 dG(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 x0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pG(e,t,r){return t&&x0(e.prototype,t),r&&x0(e,r),e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function bG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function OG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:dG(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var gG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PG(e){var t=mG();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 OG(this,o)}}var z0=function(e){bG(r,e);var t=PG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),o.props=new Cv(n==null?void 0:n.props),o}return pG(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);z0.controlFieldType=c.FieldTypes.VARCHAR;var G0={Designer:L0,Runtime:z0,Property:Cv};function V0(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(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 RG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:V0(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 Dv(e){var t=$G();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 RG(this,o)}}var TG=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")}],Vn.call(V0(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}(W),SG=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}(j),_n=function(e){Av(r,e);var t=Dv(r);function r(n){kv(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 _;o.datasourceBind=new Cp((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{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 J(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);_n.Rules=TG,_n.RuntimeRules=SG;function EG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NG(e,t,r){return t&&H0(e.prototype,t),r&&H0(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&Fv(e,t)}function BG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:EG(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var jG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AG(e){var t=kG();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 BG(this,o)}}var Ne=function(e){CG(r,e);var t=AG(r);function r(n){IG(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return NG(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 MG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FG(e,t,r){return t&&Y0(e.prototype,t),r&&Y0(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&Lv(e,t)}function xG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:MG(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var zG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VG(e){var t=GG();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 xG(this,o)}}var q0=function(e){LG(r,e);var t=VG(r);function r(n){DG(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return FG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);q0.controlFieldType=c.FieldTypes.ARRAY;var U0={Designer:Ne,Runtime:q0,Property:_n};function W0(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 HG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:W0(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(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 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 HG(this,o)}}var UG=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.externalScope={type:"any"},Vn.call(W0(o),n,_t.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(W),WG=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}(j),pn=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.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 _;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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new J(g))})),o}return r}(E);pn.Rules=UG,pn.RuntimeRules=WG;function KG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QG(e,t,r){return t&&K0(e.prototype,t),r&&K0(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function JG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function ZG(e,t){return t&&(eV(t)==="object"||typeof t=="function")?t:KG(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var eV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nV(e){var t=tV();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZG(this,o)}}var _t=function(e){JG(r,e);var t=nV(r);function r(n){XG(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return QG(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 rV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iV(e,t,r){return t&&X0(e.prototype,t),r&&X0(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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&&Yv(e,t)}function cV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:rV(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var fV=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 lV(e){var t=aV();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 cV(this,o)}}var Q0=function(e){uV(r,e);var t=lV(r);function r(n){oV(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return iV(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);Q0.controlFieldType=c.FieldTypes.EMPLOYEES;var J0={Designer:_t,Runtime:Q0,Property:pn};function sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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&&qv(e,t)}function yV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:sV(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(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 tP(e){var t=hV();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 yV(this,o)}}var dV=function(e){eP(r,e);var t=tP(r);function r(n){Z0(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}(W),Su=function(e){eP(r,e);var t=tP(r);function r(n){Z0(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:bn.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 Lb(n==null?void 0:n.signatureConfig),o}return r}(E);Su.Rules=dV;function _V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pV(e,t){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 bV(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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&&Uv(e,t)}function gV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:_V(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var mV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=PV();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gV(this,o)}}var bn=function(e){OV(r,e);var t=RV(r);function r(n){pV(this,r);var o;return o=t.call(this,n),o.props=new Su(n==null?void 0:n.props),o}return bV(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);bn.controlEventKeys=["on_click","on_click_finish"],bn.controlFieldType=c.FieldTypes.VARCHAR,bn.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 wV(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 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 TV(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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&&Wv(e,t)}function EV(e,t){return t&&(IV(t)==="object"||typeof t=="function")?t:wV(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var IV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CV(e){var t=NV();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 EV(this,o)}}var oP=function(e){SV(r,e);var t=CV(r);function r(n){$V(this,r);var o;return o=t.call(this,n),o.props=new Su(n==null?void 0:n.props),o}return TV(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);oP.controlFieldType=c.FieldTypes.VARCHAR;var iP={Designer:bn,Runtime:oP,Property:Su};function BV(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 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&&Qv(e,t)}function jV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:BV(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(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 Jv(e){var t=AV();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 jV(this,o)}}var MV=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(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}(W),DV=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}(j),On=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.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:"\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:K6;var _;o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o.wpsSetting=new xb(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);On.Rules=MV,On.RuntimeRules=DV;function FV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xV(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&Zv(e,t)}function GV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:FV(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(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 YV(e){var t=HV();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 GV(this,o)}}var gn=function(e){zV(r,e);var t=YV(r);function r(n){LV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return xV(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);gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=c.FieldTypes.FILE,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.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 qV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WV(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function KV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function XV(e,t){return t&&(QV(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 QV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZV(e){var t=JV();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XV(this,o)}}var fP=function(e){KV(r,e);var t=ZV(r);function r(n){UV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return WV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);fP.controlFieldType=c.FieldTypes.FILE;var aP={Designer:gn,Runtime:fP,Property:On};function lP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:lP(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var tH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=nH();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 eH(this,o)}}var rH=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],o.businessScope={type:"any"},Vn.call(lP(o),n,bt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(W),oH=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),mn=function(e){nh(r,e);var t=oh(r);function r(n){th(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:bt.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 Ct((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{attributes:bt.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(R){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new J(R))})),o}return r}(E);mn.Rules=rH,mn.RuntimeRules=oH;function iH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cH(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function ku(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ku=Reflect.get:ku=function(o,i,u){var f=lH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ku(e,t,r||e)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(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&&ih(e,t)}function aH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:iH(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function lH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}var sH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vH(e){var t=yH();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 aH(this,o)}}var bt=function(e){fH(r,e);var t=vH(r);function r(o){uH(this,r);var i;return i=t.call(this,o),i.props=new mn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ku(pt(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},cH(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);bt.controlFieldType=c.FieldTypes.DEPARTMENTS,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.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 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 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 _H(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&uh(e,t)}function bH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:hH(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(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=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bH(this,o)}}var vP=function(e){pH(r,e);var t=mH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return _H(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);vP.controlFieldType=c.FieldTypes.DEPARTMENTS;var hP={Designer:bt,Runtime:vP,Property:mn},PH=Object.freeze({__proto__:null,Input:Bg,Checkbox:Mg,Radio:Vg,Number:Ug,DatePicker:Qg,DateRange:om,Textarea:fm,RichText:ym,Select:Om,SelectMultiple:Rm,Employee:Nm,Image:Mm,Attachment:jm,Amount:xm,Score:Hm,Address:Qm,Department:o0,AutoNumber:f0,Calc:y0,SearchNumberRange:O0,SearchDateRange:T0,VueFormItem:N0,SelectRelation:D0,SearchInput:G0,Tree:U0,Employee2:J0,ElectronicSignature:iP,WPS:aP,Department2:hP});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 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 $H(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function TH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function SH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:RH(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var EH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=IH();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 SH(this,o)}}var _P=function(e){TH(r,e);var t=NH(r);function r(n){return wH(this,r),t.call(this,n)}return $H(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(D);_P.excludes=[c.CONTROL_TYPE.GRID];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 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 jH(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&fh(e,t)}function AH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:CH(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(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=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AH(this,o)}}var LH=function(e){kH(r,e);var t=FH(r);function r(n){return BH(this,r),t.call(this,n)}return jH(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(G),bP={Designer:_P,Runtime:LH,Property:M};function xH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&ah(e,t)}function VH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:xH(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(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=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VH(this,o)}}var UH=24,Ce=function(e){GH(r,e);var t=qH(r);function r(n){zH(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:UH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(M);function WH(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 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 XH(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:WH(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var ZH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=eY();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 JH(this,o)}}var Pn=function(e){QH(r,e);var t=tY(r);function r(n){KH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return XH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(D);Pn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Pn.childrenMaxLength=1;function nY(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 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 oY(e,t,r){return t&&gP(e.prototype,t),r&&gP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&sh(e,t)}function uY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:nY(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var cY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aY(e){var t=fY();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 uY(this,o)}}var yh=function(e){iY(r,e);var t=aY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return oY(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(G),zu={Designer:Pn,Runtime:yh,Property:Ce};function lY(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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&vh(e,t)}function vY(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:lY(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var hY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=dY();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vY(this,o)}}var Vu=function(e){yY(r,e);var t=_Y(r);function r(n){sY(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 pY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OY(e,t,r){return t&&mP(e.prototype,t),r&&mP(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function gY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mY(e,t){return t&&(PY(t)==="object"||typeof t=="function")?t:pY(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var PY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wY(e){var t=RY();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 mY(this,o)}}var Yu=function(e){gY(r,e);var t=wY(r);function r(n){bY(this,r);var o;return o=t.call(this,n),o.props=new Vu(n==null?void 0:n.props),o}return OY(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);Yu.excludes=[c.CONTROL_TYPE.ROW],Yu.setting=[{key:"col-setting",visible:!0}];function $Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(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 SY(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&dh(e,t)}function IY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:$Y(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(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=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IY(this,o)}}var RP=function(e){EY(r,e);var t=BY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),o.props=new Vu(n==null?void 0:n.props),o}return SY(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(G),wP={Designer:Yu,Runtime:RP,Property:Vu};function jY(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 $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 AY(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&_h(e,t)}function DY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:jY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(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=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var zY=4,Wu=function(e){MY(r,e);var t=xY(r);function r(n){return kY(this,r),t.call(this,n)}return AY(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}(Yu);Wu.excludes=[c.CONTROL_TYPE.GRID_ROW],Wu.setting=[],Wu.childrenMaxLength=zY;function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HY(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&ph(e,t)}function qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:GY(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var UY=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 KY(e){var t=WY();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 XY=function(e){YY(r,e);var t=KY(r);function r(n){return VY(this,r),t.call(this,n)}return HY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(RP);function QY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(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 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&&bh(e,t)}function eq(e,t){return t&&(tq(t)==="object"||typeof t=="function")?t:QY(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var tq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rq(e){var t=nq();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eq(this,o)}}var oq=function(e){ZY(r,e);var t=rq(r);function r(n){return JY(this,r),t.call(this,n)}return r}(Vu),Oh={Designer:Wu,Runtime:XY,Property:oq};function iq(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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(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&&gh(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:iq(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var cq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IP(e){var t=fq();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 uq(this,o)}}var aq=function(e){EP(r,e);var t=IP(r);function r(){SP(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),Ju=function(e){EP(r,e);var t=IP(r);function r(n){SP(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);Ju.Rules=aq;function lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yq(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&mh(e,t)}function hq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:lq(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var dq=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 pq(e){var t=_q();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 hq(this,o)}}var Ph=function(e){vq(r,e);var t=pq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return yq(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(D);Ph.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}],Ph.excludes=[c.CONTROL_TYPE.CARD_GROUP];function bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oq(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 gq(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&Rh(e,t)}function Pq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:bq(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var Rq=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 $q(e){var t=wq();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 Pq(this,o)}}var Tq=function(e){mq(r,e);var t=$q(r);function r(n){Oq(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return gq(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(G),BP={Designer:Ph,Runtime:Tq,Property:Ju};function Sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function kP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function Eq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:Sq(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var Iq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AP(e){var t=Nq();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 Eq(this,o)}}var Cq=function(e){kP(r,e);var t=AP(r);function r(n){jP(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),nc=function(e){kP(r,e);var t=AP(r);function r(n){jP(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);nc.Rules=Cq;function Bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jq(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 kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function Aq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:Bq(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var Mq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fq(e){var t=Dq();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 Aq(this,o)}}var ue=function(e){kq(r,e);var t=Fq(r);function r(n){jq(this,r);var o;return o=t.call(this,n),o.props=new nc(n==null?void 0:n.props),o}return r}(D);ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.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],ue.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 Lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function zq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function Gq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:Lq(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var Vq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yq(e){var t=Hq();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 Gq(this,o)}}var MP=function(e){zq(r,e);var t=Yq(r);function r(n){xq(this,r);var o;return o=t.call(this,n),o.props=new nc(n==null?void 0:n.props),o}return r}(G);MP.controlType="subtable-column";var Sh={Designer:ue,Runtime:MP,Property:nc};function qq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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&&Eh(e,t)}function Kq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:qq(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var Xq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jq(e){var t=Qq();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kq(this,o)}}var Ih=function(e){Wq(r,e);var t=Jq(r);function r(n){return Uq(this,r),t.call(this,n)}return r}(M);function Zq(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 uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:Zq(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 oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iU(e){var t=oU();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 nU(this,o)}}var Be=function(e){tU(r,e);var t=iU(r);function r(n){eU(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return r}(D);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 uU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cU(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 fU(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function aU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function lU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:uU(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var sU=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 vU(e){var t=yU();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 lU(this,o)}}var hU=function(e){aU(r,e);var t=vU(r);function r(n){cU(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return fU(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(G),FP={Designer:Be,Runtime:hU,Property:Ih};function dU(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function pU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function bU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:dU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var OU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mU(e){var t=gU();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 bU(this,o)}}var jh=function(e){pU(r,e);var t=mU(r);function r(n){_U(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 V(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 PU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function $U(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:PU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var TU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EU(e){var t=SU();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $U(this,o)}}var je=function(e){wU(r,e);var t=EU(r);function r(n){RU(this,r);var o;return o=t.call(this,n),o.props=new jh(n==null?void 0:n.props),o}return r}(D);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 IU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NU(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 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&&Ah(e,t)}function BU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:IU(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var jU=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 AU(e){var t=kU();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 BU(this,o)}}var LP=function(e){CU(r,e);var t=AU(r);function r(n){NU(this,r);var o;return o=t.call(this,n),o.props=new jh(n==null?void 0:n.props),o}return r}(G);LP.controlType="gridtable-column";var xP={Designer:je,Runtime:LP,Property:jh};function MU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Mh(e,t)}function LU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:MU(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(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 Dh=function(e){FU(r,e);var t=GU(r);function r(n){return DU(this,r),t.call(this,n)}return r}(M);function VU(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 yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Fh(e,t)}function HU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:VU(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var YU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VP(e){var t=qU();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 HU(this,o)}}var UU=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}return r}(F),vc=function(e){GP(r,e);var t=VP(r);function r(n){zP(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:pc.controlName,o}return r}(M);vc.Rules=UU;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 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 XU(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(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&&Lh(e,t)}function JU(e,t){return t&&(ZU(t)==="object"||typeof t=="function")?t:WU(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(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=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JU(this,o)}}var Rn=function(e){QU(r,e);var t=tW(r);function r(n){KU(this,r);var o;return o=t.call(this,n),o.props=new vc(n==null?void 0:n.props),o}return XU(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);Rn.excludes=[c.CONTROL_TYPE.TAB],Rn.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 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 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 oW(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&xh(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:nW(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(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=dc(e),o;if(t){var i=dc(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 vc(n==null?void 0:n.props),o}return oW(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(G),qP={Designer:Rn,Runtime:lW,Property:vc};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 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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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&&zh(e,t)}function dW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:sW(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var _W=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bW(e){var t=pW();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 dW(this,o)}}var pc=function(e){hW(r,e);var t=bW(r);function r(n){yW(this,r);var o;o=t.call(this,n),o.props=new Dh(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Rn,new Rn],o}return vW(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(D);pc.excludes=[c.CONTROL_TYPE.TAB],pc.setting=[{key:"super-setting",visible:!0}];function OW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mW(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&Gh(e,t)}function RW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:OW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(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=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var SW=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 Dh(n==null?void 0:n.props),o}return mW(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(G),KP={Designer:pc,Runtime:SW,Property:Dh};function EW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Vh(e,t)}function CW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:EW(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(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 XP=function(e){NW(r,e);var t=kW(r);function r(n){return IW(this,r),t.call(this,n)}return r}(M);function AW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MW(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 DW(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&Hh(e,t)}function LW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:AW(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var xW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GW(e){var t=zW();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 LW(this,o)}}var JP=function(e){FW(r,e);var t=GW(r);function r(n){MW(this,r);var o;return o=t.call(this,n),o.props=new XP({}),o.children=(n==null?void 0:n.children)||[new Pn({props:new Ce({span:12})}),new Pn({props:new Ce({span:12})})],o}return DW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(D);JP.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 VW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YW(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function qW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function UW(e,t){return t&&(WW(t)==="object"||typeof t=="function")?t:VW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var WW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XW(e){var t=KW();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 UW(this,o)}}var QW=function(e){qW(r,e);var t=XW(r);function r(n){HW(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new yh({props:new Ce({span:12})}),new yh({props:new Ce({span:12})})],o}return YW(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(G),eR={Designer:JP,Runtime:QW,Property:XP};function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function Uh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:tR(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(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 Kh(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 Rc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Rc||(Rc={}));var tK=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),nK=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Rc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),Gn.call(tR(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),wn=function(e){Uh(r,e);var t=Kh(r);function r(n){qh(this,r);var o;o=t.call(this,n),o.datasourceBind=new V(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:Rc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new Tp(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);wn.Rules=nK,wn.RuntimeRules=tK;function rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iK(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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&&Xh(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:rK(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var fK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lK(e){var t=aK();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 cK(this,o)}}var $c=function(e){uK(r,e);var t=lK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return iK(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);$c.excludes=[c.CONTROL_TYPE.ROW],$c.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"],$c.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 sK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vK(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&Qh(e,t)}function dK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:sK(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var _K=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 bK(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 dK(this,o)}}var OK=function(e){hK(r,e);var t=bK(r);function r(n){yK(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return vK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(G),Jh={Designer:$c,Runtime:OK,Property:wn};function gK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function iR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:gK(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(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 uR(e){var t=RK();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 mK(this,o)}}var wK=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),Ec=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o;o=t.call(this,n);var i;o.save=new he((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new he((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new he((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 he((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 he(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new V(n==null?void 0:n.datasourceBind),o}return r}(M);Ec.RuntimeRules=wK;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 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 SK(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&ed(e,t)}function IK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:$K(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(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=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var fR=function(e){EK(r,e);var t=BK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),o.props=new Ec(n==null?void 0:n.props),o}return SK(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);fR.excludes=[];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 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 AK(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&td(e,t)}function DK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:jK(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(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=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DK(this,o)}}var zK=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 Ec(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(G),nd={Designer:fR,Runtime:zK,Property:Ec};function GK(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 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 HK(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&rd(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:GK(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(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=Cc(e),o;if(t){var i=Cc(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){return VK(this,r),t.call(this,n)}return HK(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 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 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 ZK(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&od(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:QK(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(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=Bc(e),o;if(t){var i=Bc(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:"controlType",get:function(){return"page"}}]),r}(G);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 jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function fX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function aX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:uX(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var lX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=sX();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aX(this,o)}}var vX=function(e){fX(r,e);var t=yX(r);function r(n){cX(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),yR={Designer:XK,Runtime:iX,Property:vX};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 vR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _X(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&ud(e,t)}function bX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:hX(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(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=kc(e),o;if(t){var i=kc(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){return dX(this,r),t.call(this,n)}return _X(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 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 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 $X(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&cd(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:RX(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(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=Ac(e),o;if(t){var i=Ac(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:"controlType",get:function(){return"AdvancedContainer"}}]),r}(G);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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(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&&fd(e,t)}function AX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:BX(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(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=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AX(this,o)}}var LX=function(e){kX(r,e);var t=FX(r);function r(n){jX(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new Vb(n==null?void 0:n.flexConfig),o}return r}(M),dR={Designer:PX,Runtime:CX,Property:LX};function xX(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 _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 GX(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&ad(e,t)}function HX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:xX(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(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=Dc(e),o;if(t){var i=Dc(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 zX(this,r),t.call(this,n)}return GX(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 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 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 QX(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(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&&ld(e,t)}function ZX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:KX(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(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=Fc(e),o;if(t){var i=Fc(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:"controlType",get:function(){return"PositioningContainer"}}]),r}(G);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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(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&&sd(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:oQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var fQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lQ(e){var t=aQ();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 cQ(this,o)}}var sQ=function(e){uQ(r,e);var t=lQ(r);function r(n){return iQ(this,r),t.call(this,n)}return r}(M),bR={Designer:WX,Runtime:rQ,Property:sQ};function yQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vQ(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 hQ(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&yd(e,t)}function _Q(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:yQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(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=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 gQ=function(e){dQ(r,e);var t=OQ(r);function r(n){return vQ(this,r),t.call(this,n)}return hQ(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 mQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&vd(e,t)}function $Q(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:mQ(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(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=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Q(this,o)}}var IQ=function(e){wQ(r,e);var t=EQ(r);function r(n){return PQ(this,r),t.call(this,n)}return RQ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(G);function NQ(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function jQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:NQ(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var kQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MQ(e){var t=AQ();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 jQ(this,o)}}var DQ=function(e){BQ(r,e);var t=MQ(r);function r(n){CQ(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),mR={Designer:gQ,Runtime:IQ,Property:DQ},FQ=Object.freeze({__proto__:null,Grid:bP,Col:zu,Row:wP,GridRow:Oh,CardGroup:BP,SubTableColumn:Sh,SubTableRow:FP,GridTableColumn:xP,Tab:KP,TabPane:qP,Toolbox:eR,ListView:Jh,DataView:nd,Page:yR,AdvancedContainer:dR,PositioningContainer:bR,Position:mR});function LQ(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&pd(e,t)}function xQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:LQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var zQ=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 bd(e){var t=GQ();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 xQ(this,o)}}var VQ=function(e){_d(r,e);var t=bd(r);function r(n){dd(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),HQ=function(e){_d(r,e);var t=bd(r);function r(n){dd(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),$n=function(e){_d(r,e);var t=bd(r);function r(n,o){dd(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:Yc.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:zb;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 V(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 R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!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 C;i.serverPagination=(C=o==null?void 0:o.serverPagination)!==null&&C!==void 0?C:!1;var Z;i.isShowCaptionTip=(Z=o==null?void 0:o.isShowCaptionTip)!==null&&Z!==void 0?Z:!1;var A;return i.captionTip=(A=o==null?void 0:o.captionTip)!==null&&A!==void 0?A:"",i}return r}(Mt);$n.Rules=VQ,$n.RuntimeRules=HQ;function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qQ(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&Od(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:PR(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(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=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var Yc=function(e){UQ(r,e);var t=QQ(r);function r(o){YQ(this,r);var i,u;return i=t.call(this,o),i.props=new $n(PR(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 ue,new ue,new ue]),i}var n=r.prototype;return n.addColumn=function(i,u){var f=i!==void 0&&typeof i!="number"?i:new ue,a=typeof i=="number"?i:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f},qQ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Zn);Yc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Yc.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 wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(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 ZQ(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&gd(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:wR(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(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=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var iJ=function(e){eJ(r,e);var t=oJ(r);function r(o){JQ(this,r);var i;return i=t.call(this,o),i.props=new $n(wR(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},ZQ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(qa),TR={Designer:Yc,Runtime:iJ,Property:$n};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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&md(e,t)}function aJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:uJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(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=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aJ(this,o)}}var Pd=function(e){fJ(r,e);var t=yJ(r);function r(n,o){cJ(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 vJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function ER(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:vJ(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var dJ=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 IR(e){var t=_J();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 hJ(this,o)}}var pJ=function(e){ER(r,e);var t=IR(r);function r(n){SR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(nr),Kc=function(e){ER(r,e);var t=IR(r);function r(n){SR(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}(L);Kc.Rules=pJ;function bJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OJ(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 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&&wd(e,t)}function mJ(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:bJ(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var PJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=RJ();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 mJ(this,o)}}var ke=function(e){gJ(r,e);var t=wJ(r);function r(n){OJ(this,r);var o;return o=t.call(this,n),o.props=new Kc(n==null?void 0:n.props),o}return r}(Y);ke.controlType="order-column",ke.controlName="\u5E8F\u53F7",ke.controlIcon="order-column",ke.setting=[{key:"column-fixed",visible:!0}];function $J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TJ(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 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&&$d(e,t)}function EJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:$J(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var IJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CJ(e){var t=NJ();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 EJ(this,o)}}var Td=function(e){SJ(r,e);var t=CJ(r);function r(n){TJ(this,r);var o;return o=t.call(this,n),o.props=new Kc(n==null?void 0:n.props),o}return r}(q);Td.controlType="order-column",Td.controlFieldType=c.FieldTypes.DECIMAL;var NR={Designer:ke,Runtime:Td,Property:Kc};function BJ(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 kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:BJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var MJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FJ(e){var t=DJ();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 AJ(this,o)}}var Ed=function(e){kJ(r,e);var t=FJ(r);function r(n){jJ(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",o.widthType="px";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Me.controlName;var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return r}(L);function CR(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 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 Tn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tn=Reflect.get:Tn=function(o,i,u){var f=UJ(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 Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ae(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&&Id(e,t)}function GJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function VJ(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 HJ(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 YJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function qJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:CR(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function UJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ae(e),e!==null););return e}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=Ae(e),o;if(t){var i=Ae(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}var Me=function(e){zJ(r,e);var t=XJ(r);function r(o){LJ(this,r);var i;return i=t.call(this,o),i.props=new Ed(o==null?void 0:o.props),se(CR(i),"children",o==null?void 0:o.children),i}var n=r.prototype;return n.toDataBindModel=function(){var i=Tn(Ae(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){GJ(u,Ao)&&(i.props[u.props.command]=u.props)}),i},n.toSchema=function(){var i=Tn(Ae(r.prototype),"toSchema",this).call(this);return YJ(VJ({},i),{children:this.children.map(function(u){return u.toSchema()})})},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:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",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 QJ(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 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&&Nd(e,t)}function ZJ(e,t){return t&&(eZ(t)==="object"||typeof t=="function")?t:BR(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var eZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tZ();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 ZJ(this,o)}}var Cd=function(e){JJ(r,e);var t=nZ(r);function r(n){QJ(this,r);var o;return o=t.call(this,n),o.props=new Ed(n==null?void 0:n.props),se(BR(o),"children",n==null?void 0:n.children),o}return r}(q);Cd.controlType="operation-column",Cd.controlFieldType=c.FieldTypes.FILE;var jR={Designer:Me,Runtime:Cd,Property:Ed};function Bd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kR(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 rZ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){kR(i,n,o,u,f,"next",a)}function f(a){kR(i,n,o,u,f,"throw",a)}u(void 0)})}}function oZ(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 iZ(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function uZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sn=Reflect.get:Sn=function(o,i,u){var f=yZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Sn(e,t,r||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(e)}function cZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function fZ(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){uZ(e,o,r[o])})}return e}function aZ(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 lZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):aZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function sZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:Bd(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function yZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}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=De(e),o;if(t){var i=De(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var _Z=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}}},MR=function(e){cZ(r,e);var t=dZ(r);function r(o){oZ(this,r);var i;return i=t.call(this,o),i.props=new Pd(Bd(i),o==null?void 0:o.props),se(Bd(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ke,new Me]),i}var n=r.prototype;return n.toSchema=function(){var i=Sn(De(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return lZ(fZ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return Sn(De(r.prototype),"validate",f)};return rZ(function(){return _Z(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]}})})()},iZ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Zn);MR.setting=[{key:"list-fixed-header",visible:!0}];function DR(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 FR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bZ(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function OZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:DR(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var mZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RZ(e){var t=PZ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gZ(this,o)}}var wZ=function(e){OZ(r,e);var t=RZ(r);function r(o){pZ(this,r);var i;return i=t.call(this,o),i.props=new Pd(DR(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{}},bZ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(qa),LR={Designer:MR,Runtime:wZ,Property:Pd},$Z=Object.freeze({__proto__:null,SubTable:TR,GridTable:LR});function TZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xR(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 zR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:TZ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(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 GR(e){var t=IZ();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SZ(this,o)}}var NZ=function(e){zR(r,e);var t=GR(r);function r(n){return xR(this,r),t.call(this,n)}return r}(Qa),nf=function(e){zR(r,e);var t=GR(r);function r(n){xR(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 V(n==null?void 0:n.datasourceBind);var f;o.options=ae((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}(L);nf.Rules=NZ;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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function jZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function kZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:CZ(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var AZ=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 DZ(e){var t=MZ();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 kZ(this,o)}}var Fe=function(e){jZ(r,e);var t=DZ(r);function r(n){BZ(this,r);var o;return o=t.call(this,n),o.props=new nf(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 FZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function zZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:FZ(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var GZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=VZ();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 zZ(this,o)}}var Fd=function(e){xZ(r,e);var t=HZ(r);function r(n){LZ(this,r);var o;return o=t.call(this,n),o.props=new nf(n==null?void 0:n.props),o}return r}(q);Fd.controlType="varchar-column",Fd.controlFieldType=c.FieldTypes.VARCHAR;var VR={Designer:Fe,Runtime:Fd,Property:nf};function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&Ld(e,t)}function WZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:YZ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(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=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var xd=function(e){UZ(r,e);var t=QZ(r);function r(n){qZ(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}(L);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 cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var f=nee(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 Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:JZ(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function nee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();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 tee(this,o)}}var Le=function(e){eee(r,e);var t=iee(r);function r(o){ZZ(this,r);var i;return i=t.call(this,o),i.props=new xd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=cf(Ot(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 uee(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function aee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:uee(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function see(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=see();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 aee(this,o)}}var Vd=function(e){fee(r,e);var t=yee(r);function r(n){cee(this,r);var o;return o=t.call(this,n),o.props=new xd(n==null?void 0:n.props),o}return r}(q);Vd.controlType="text-column",Vd.controlFieldType=c.FieldTypes.TEXT;var HR={Designer:Le,Runtime:Vd,Property:xd};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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:vee(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var pee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=bee();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 _ee(this,o)}}var Yd=function(e){dee(r,e);var t=Oee(r);function r(n){hee(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 V(n==null?void 0:n.datasourceBind);var s;return o.options=ae((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(L);function gee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mee(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=wee(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 gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(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&&qd(e,t)}function Ree(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:gee(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function wee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var $ee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function See(e){var t=Tee();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 Ree(this,o)}}var xe=function(e){Pee(r,e);var t=See(r);function r(o){mee(this,r);var i;return i=t.call(this,o),i.props=new Yd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=lf(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}(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 Eee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iee(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 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&&Ud(e,t)}function Cee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:Eee(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var Bee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jee();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 Cee(this,o)}}var Wd=function(e){Nee(r,e);var t=kee(r);function r(n){Iee(this,r);var o;return o=t.call(this,n),o.props=new Yd(n==null?void 0:n.props),o}return r}(q);Wd.controlType="decimal-column",Wd.controlFieldType=c.FieldTypes.DECIMAL;var YR={Designer:xe,Runtime:Wd,Property:Yd};function Aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(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 Dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:Aee(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var Lee=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 zee(e){var t=xee();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 Fee(this,o)}}var Xd=function(e){Dee(r,e);var t=zee(r);function r(n){Mee(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}(L);function Gee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vf=Reflect.get:vf=function(o,i,u){var f=qee(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 mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(e)}function Hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function Yee(e,t){return t&&(Uee(t)==="object"||typeof t=="function")?t:Gee(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function qee(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 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=mt(e),o;if(t){var i=mt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yee(this,o)}}var ze=function(e){Hee(r,e);var t=Kee(r);function r(o){Vee(this,r);var i;return i=t.call(this,o),i.props=new Xd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=vf(mt(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 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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&Jd(e,t)}function Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:Xee(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(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=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zee(this,o)}}var Zd=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 Xd(n==null?void 0:n.props),o}return r}(q);Zd.controlType="timescope-column",Zd.controlFieldType=c.FieldTypes.TIMESCOPE;var qR={Designer:ze,Runtime:Zd,Property:Xd};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&&e_(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:rte(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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 t_=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.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}(L);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 _f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_f=Reflect.get:_f=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}},_f(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(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&&n_(e,t)}function vte(e,t){return t&&(dte(t)==="object"||typeof t=="function")?t:lte(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function hte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var dte=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 pte(e){var t=_te();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 vte(this,o)}}var Ge=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 t_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=_f(Pt(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 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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&r_(e,t)}function mte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:bte(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(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=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mte(this,o)}}var o_=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 t_(n==null?void 0:n.props),o}return r}(q);o_.controlType="timestamp-column",o_.controlFieldType=c.FieldTypes.TIMESTAMP;var UR={Designer:Ge,Runtime:o_,Property:t_};function $te(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(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&&i_(e,t)}function Tte(e,t){return t&&(Ste(t)==="object"||typeof t=="function")?t:$te(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var Ste=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ete();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 Tte(this,o)}}var Ite=function(e){KR(r,e);var t=XR(r);function r(n){return WR(this,r),t.call(this,n)}return r}(Qa),Of=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.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 V(n==null?void 0:n.datasourceBind);var f;return o.options=ae((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(L);Of.Rules=Ite;function Nte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cte(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 Bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:Nte(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var kte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mte(e){var t=Ate();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 jte(this,o)}}var Ve=function(e){Bte(r,e);var t=Mte(r);function r(n){Cte(this,r);var o;return o=t.call(this,n),o.props=new Of(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 Dte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:Dte(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var zte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vte(e){var t=Gte();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 xte(this,o)}}var f_=function(e){Lte(r,e);var t=Vte(r);function r(n){Fte(this,r);var o;return o=t.call(this,n),o.props=new Of(n==null?void 0:n.props),o}return r}(q);f_.controlType="array-column",f_.controlFieldType=c.FieldTypes.ARRAY;var QR={Designer:Ve,Runtime:f_,Property:Of};function Hte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ute(e,t){return t&&(Wte(t)==="object"||typeof t=="function")?t:Hte(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var Wte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xte(e){var t=Kte();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 Ute(this,o)}}var l_=function(e){qte(r,e);var t=Xte(r);function r(n){Yte(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}(L);function Qte(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 Rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rf=Reflect.get:Rf=function(o,i,u){var f=tne(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 Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(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&&s_(e,t)}function ene(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:Qte(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function tne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var nne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=Rt(e),o;if(t){var i=Rt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ene(this,o)}}var He=function(e){Zte(r,e);var t=one(r);function r(o){Jte(this,r);var i;return i=t.call(this,o),i.props=new l_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Rf(Rt(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 ine(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fne(e,t){return t&&(ane(t)==="object"||typeof t=="function")?t:ine(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var ane=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 sne(e){var t=lne();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 fne(this,o)}}var v_=function(e){cne(r,e);var t=sne(r);function r(n){une(this,r);var o;return o=t.call(this,n),o.props=new l_(n==null?void 0:n.props),o}return r}(q);v_.controlType="department-column",v_.controlFieldType=c.FieldTypes.DEPARTMENTS;var JR={Designer:He,Runtime:v_,Property:l_};function yne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(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 hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dne(e,t){return t&&(_ne(t)==="object"||typeof t=="function")?t:yne(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var _ne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bne(e){var t=pne();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 d_=function(e){hne(r,e);var t=bne(r);function r(n){vne(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}(L);function One(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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&__(e,t)}function Pne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:One(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var Rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ne(e){var t=wne();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 Pne(this,o)}}var Ye=function(e){mne(r,e);var t=$ne(r);function r(n){gne(this,r);var o;return o=t.call(this,n),o.props=new d_(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 Tne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sne(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 Ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function Ine(e,t){return t&&(Nne(t)==="object"||typeof t=="function")?t:Tne(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var Nne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bne(e){var t=Cne();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 Ine(this,o)}}var b_=function(e){Ene(r,e);var t=Bne(r);function r(n){Sne(this,r);var o;return o=t.call(this,n),o.props=new d_(n==null?void 0:n.props),o}return r}(q);b_.controlType="auto-number-column",b_.controlFieldType=c.FieldTypes.AUTO_NUMBER;var ZR={Designer:Ye,Runtime:b_,Property:d_};function jne(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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function Ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mne(e,t){return t&&(Dne(t)==="object"||typeof t=="function")?t:jne(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var Dne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lne(e){var t=Fne();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 Mne(this,o)}}var g_=function(e){Ane(r,e);var t=Lne(r);function r(n){kne(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}(L);function xne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zne(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 Gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vne(e,t){return t&&(Hne(t)==="object"||typeof t=="function")?t:xne(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var Hne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qne(e){var t=Yne();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 Vne(this,o)}}var qe=function(e){Gne(r,e);var t=qne(r);function r(n){zne(this,r);var o;return o=t.call(this,n),o.props=new g_(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 Une(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wne(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 Kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function Xne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:Une(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var Qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zne(e){var t=Jne();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 Xne(this,o)}}var R_=function(e){Kne(r,e);var t=Zne(r);function r(n){Wne(this,r);var o;return o=t.call(this,n),o.props=new g_(n==null?void 0:n.props),o}return r}(q);R_.controlType="file-column",R_.controlFieldType=c.FieldTypes.FILE;var ew={Designer:qe,Runtime:R_,Property:g_};function ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(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 nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:ere(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ire();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 rre(this,o)}}var $_=function(e){nre(r,e);var t=ure(r);function r(n){tre(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}(L);function cre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fre(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 are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lre(e,t){return t&&(sre(t)==="object"||typeof t=="function")?t:cre(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vre(e){var t=yre();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 lre(this,o)}}var Ue=function(e){are(r,e);var t=vre(r);function r(n){fre(this,r);var o;return o=t.call(this,n),o.props=new $_(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 hre(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 _re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pre(e,t){return t&&(bre(t)==="object"||typeof t=="function")?t:hre(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var bre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ore();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 pre(this,o)}}var E_=function(e){_re(r,e);var t=gre(r);function r(n){dre(this,r);var o;return o=t.call(this,n),o.props=new $_(n==null?void 0:n.props),o}return r}(q);E_.controlType="image-column",E_.controlFieldType=c.FieldTypes.IMAGE;var tw={Designer:Ue,Runtime:E_,Property:$_};function mre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pre(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 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&&I_(e,t)}function wre(e,t){return t&&($re(t)==="object"||typeof t=="function")?t:mre(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var $re=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Tre();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 wre(this,o)}}var N_=function(e){Rre(r,e);var t=Sre(r);function r(n){Pre(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}(L);function Ere(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cre(e,t){return t&&(Bre(t)==="object"||typeof t=="function")?t:Ere(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var Bre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jre();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 Cre(this,o)}}var We=function(e){Nre(r,e);var t=kre(r);function r(n){Ire(this,r);var o;return o=t.call(this,n),o.props=new N_(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 Are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mre(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 Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fre(e,t){return t&&(Lre(t)==="object"||typeof t=="function")?t:Are(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var Lre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zre(e){var t=xre();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 Fre(this,o)}}var j_=function(e){Dre(r,e);var t=zre(r);function r(n){Mre(this,r);var o;return o=t.call(this,n),o.props=new N_(n==null?void 0:n.props),o}return r}(q);j_.controlType="people-column",j_.controlFieldType=c.FieldTypes.EMPLOYEES;var nw={Designer:We,Runtime:j_,Property:N_};function Gre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vre(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 Hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function Yre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:Gre(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var qre=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 Wre(e){var t=Ure();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 Yre(this,o)}}var A_=function(e){Hre(r,e);var t=Wre(r);function r(n){Vre(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}(L);function Kre(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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Qre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jre(e,t){return t&&(Zre(t)==="object"||typeof t=="function")?t:Kre(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var Zre=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 toe(e){var t=eoe();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 Jre(this,o)}}var Ke=function(e){Qre(r,e);var t=toe(r);function r(n){Xre(this,r);var o;return o=t.call(this,n),o.props=new A_(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 noe(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&D_(e,t)}function ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:noe(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(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=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ioe(this,o)}}var F_=function(e){ooe(r,e);var t=foe(r);function r(n){roe(this,r);var o;return o=t.call(this,n),o.props=new A_(n==null?void 0:n.props),o}return r}(q);F_.controlType="location-column",F_.controlFieldType=c.FieldTypes.ADDRESS;var rw={Designer:Ke,Runtime:F_,Property:A_};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 xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&L_(e,t)}function yoe(e,t){return t&&(voe(t)==="object"||typeof t=="function")?t:aoe(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(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 doe(e){var t=hoe();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 yoe(this,o)}}var x_=function(e){soe(r,e);var t=doe(r);function r(n){loe(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}(L);function ow(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 poe(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=woe(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 Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(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&&z_(e,t)}function Ooe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function goe(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){poe(e,o,r[o])})}return e}function moe(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 Poe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):moe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Roe(e,t){return t&&($oe(t)==="object"||typeof t=="function")?t:ow(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function woe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}var $oe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=Toe();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 Eoe=1,me=function(t){boe(n,t);var r=Soe(n);function n(i){_oe(this,n);var u;u=r.call(this,i);var f=Ooe(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new x_(i==null?void 0:i.props),se(ow(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=En(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=En(Xe(n.prototype),"toSchema",this).call(this);return Poe(goe({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(Y);me.controlType="custom-column",me.controlName="\u81EA\u5B9A\u4E49",me.controlIcon="custom-column",me.excludes=[],me.childrenMaxLength=Eoe,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 iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ioe(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 Noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Coe(e,t){return t&&(Boe(t)==="object"||typeof t=="function")?t:iw(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var Boe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function joe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=joe();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 Coe(this,o)}}var uw=function(e){Noe(r,e);var t=koe(r);function r(n){Ioe(this,r);var o;return o=t.call(this,n),o.props=new x_(n==null?void 0:n.props),se(iw(o),"children",n==null?void 0:n.children),o}return r}(q);uw.controlType="custom-column";var cw={Designer:me,Runtime:uw,Property:x_};function Aoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Moe(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 Doe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Foe(e,t){return t&&(Loe(t)==="object"||typeof t=="function")?t:Aoe(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Loe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zoe(e){var t=xoe();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 Foe(this,o)}}var H_=function(e){Doe(r,e);var t=zoe(r);function r(n){Moe(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}(L);function Goe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hoe(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(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&&Y_(e,t)}function qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:Goe(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(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=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qoe(this,o)}}var Pe=function(e){Yoe(r,e);var t=Koe(r);function r(n){Voe(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return Hoe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(Y);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 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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&q_(e,t)}function Zoe(e,t){return t&&(eie(t)==="object"||typeof t=="function")?t:Xoe(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(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=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zoe(this,o)}}var U_=function(e){Joe(r,e);var t=nie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return r}(q);U_.controlType="employee-column",U_.controlFieldType=c.FieldTypes.EMPLOYEES;var aw={Designer:Pe,Runtime:U_,Property:H_},rie=Object.freeze({__proto__:null,VarcharColumn:VR,TextColumn:HR,DecimalColumn:YR,TimescopeColumn:qR,TimestampColumn:UR,ArrayColumn:QR,DepartmentColumn:JR,AutoNumberColumn:ZR,FileColumn:ew,ImageColumn:tw,PeopleColumn:nw,LocationColumn:rw,CustomColumn:cw,OrderColumn:NR,OperationColumn:jR,EmployeeColumn:aw});function oie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function sw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function iie(e,t){return t&&(uie(t)==="object"||typeof t=="function")?t:oie(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var uie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cie();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 iie(this,o)}}var fie=function(e){sw(r,e);var t=yw(r);function r(n){lw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pe),qf=function(e){sw(r,e);var t=yw(r);function r(n){lw(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 he((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new he((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 he(v)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(ur);qf.RuntimeRules=fie;function aie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lie(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 sie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function yie(e,t){return t&&(vie(t)==="object"||typeof t=="function")?t:aie(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var vie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function die(e){var t=hie();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 yie(this,o)}}var X_=function(e){sie(r,e);var t=die(r);function r(n){lie(this,r);var o;return o=t.call(this,n),o.props=new qf(n==null?void 0:n.props),o}return r}(Sb);X_.controlType="simple-search",X_.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 _ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pie(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 bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:_ie(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var gie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pie(e){var t=mie();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 Oie(this,o)}}var vw=function(e){bie(r,e);var t=Pie(r);function r(n){pie(this,r);var o;o=t.call(this,n),o.props=new qf(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}(Eb);vw.controlType="simple-search";var hw={Designer:X_,Runtime:vw,Property:qf},Rie=Object.freeze({__proto__:null,SimpleSearch:hw});function J_(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 wie(e){if(Array.isArray(e))return e}function $ie(e){if(Array.isArray(e))return J_(e)}function Tie(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sie(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 Eie(){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 Iie(){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 Nie(e,t){return wie(e)||Sie(e,t)||_w(e,t)||Eie()}function dw(e){return $ie(e)||Tie(e)||_w(e)||Iie()}function _w(e,t){if(!!e){if(typeof e=="string")return J_(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 J_(e,t)}}var Cie=function(e,t){var r=Array.isArray(e),n=r?e:[e];Vie(t==null?void 0:t.events),Die(n),Fie(n);var o=Mie(n),i=Lie(o,t),u=Ee(te(i,function(f){return Aie(f,t)}));return r?u:u[0]},Bie=[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"],jie=["subtable","grid-table"],kie=["simple-search"];function Aie(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Bie.includes(i.type)?i.controlType="base":i.controlType="form",jie.includes(i.type)&&(i.controlType="list"),kie.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),U(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),U(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),U(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"&&(U(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(U(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 C=new Sh.Designer;C.props.widthType=P.header_width_config==="1"?"auto":"px",C.props.width=P.header_width===""?200:Number(P.header_width),C.props.caption=U(P.field_name)?P.field_name.zh:P.field_name;var Z=C.toSchema();Z.id=P.header_id;var A=i.children[0].children[$].children[0];return A&&(Z.children=[A]),Z}),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=U(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 zu.Designer;$.props.span=y;var C=$.toSchema();return C.children.push(P),C})}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&&(pw(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={};_&&(pw(i,t),i.id=_.id,d.amount=_.props.data_bind,i.props.range_min=Se(_.props.range_min),i.props.range_max=Se(_.props.range_max),g.amount=Se(_.props.value),i.props.required=_.props.required,i.props.is_hide=_.props.is_hide,i.props.default_state=_.props.default_state,i.props.caption=U(_.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 R=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=U(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=U(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};R&&(S.min=R.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=U(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"),Hie(i,t==null?void 0:t.control_events),i}function pw(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 Mie(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new nd.Designer,n=r.toSchema();return n.children=e,[n]}function Die(e){e.forEach(function(t){t.children&&Gie(t.children)})}function Fie(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 Lie(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=Nie(l,3),y=s[0],v=s[1],p=s[2];xie(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,zie(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,R=(g=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&g!==void 0?g:[],m=new Jh.Designer;m.props.datasourceBind=new V({dataCode:_,svcCode:d,orders:dp(R)}),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=U(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 xie(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=U(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 zie(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:U(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=U(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 V({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 Gie(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 Vie(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 Hie(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,dw(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,dw(t[e.id].on_blur))}}}var Yie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return qie(i)}));return r?o:o[0]};function qie(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 ne({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(te(n,function(i){return Wie(i)}));return r?o:o[0]};function Wie(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 Kie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Xie(i)}));return r?o:o[0]};function Xie(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 Qie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return Zie(i)}));return r?o:o[0]},Jie=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Zie(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Jie.includes(r.type))return r;var n=new Oh.Designer,o=new zu.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var eue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(te(n,function(i){return tue(i)}));return r?o:o[0]};function tue(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 nue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return rue(i)});return r?o:o[0]};function rue(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return iue(i)});return r?o:o[0]};function Re(e,t){e.field_code&&(e.field_type=t)}function iue(e,t){var r,n=(r={},k(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),k(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),k(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),k(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),k(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),k(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),k(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 uue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return cue(i)});return r?o:o[0]};function cue(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 fue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return aue(i)});return r?o:o[0]};function aue(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 lue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=te(n,function(i){return sue(i)});return r?o:o[0]};function sue(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.children=[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var u,f,a,l,s,y,v=new Kt.Designer;v.props.code="view",v.props.command="view",v.props.content=(u=r.props)===null||u===void 0?void 0:u.check.content,v.props.priorityProcess=(f=r.props)===null||f===void 0?void 0:f.check.priority_process,v.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,v.props.formKey=(l=r.props)===null||l===void 0?void 0:l.check.form_key,!((s=r.props)===null||s===void 0)&&s.check.is_show&&r.children.push(v.toSchema()),(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 p,b,_,O,d,g,R=new Kt.Designer;R.props.code="edit",R.props.command="edit",R.props.content=(p=r.props)===null||p===void 0?void 0:p.edit.content,R.props.priorityProcess=(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,R.props.openType=(_=r.props)===null||_===void 0?void 0:_.edit.open_type,R.props.formKey=(O=r.props)===null||O===void 0?void 0:O.edit.form_key,!((d=r.props)===null||d===void 0)&&d.edit.is_show&&r.children.push(R.toSchema()),(g=r.props)===null||g===void 0||delete g.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var m,S,P,$,C,Z,A=new Kt.Designer;A.props.code="delete",A.props.command="delete",A.props.content=(m=r.props)===null||m===void 0?void 0:m.delete.content,A.props.priorityProcess=(S=r.props)===null||S===void 0?void 0:S.delete.priority_process,A.props.openType=(P=r.props)===null||P===void 0?void 0:P.delete.open_type,A.props.formKey=($=r.props)===null||$===void 0?void 0:$.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((C=r.props)===null||C===void 0)&&C.delete.is_show&&r.children.push(A.toSchema()),(Z=r.props)===null||Z===void 0||delete Z.delete}}}),e}var bw={"v1.0":Cie,"v2.0":Yie,"v2.1":Uie,"v2.2":Kie,"v2.3":Qie,"v2.4":eue,"v2.5":nue,"v2.6":oue,"v2.7":uue,"v2.8":fue,"v2.9":lue,"v2.10":function(){}};function yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vue(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function Kf(e){return e.replace(/^v/,"")}function Xf(e){return Number(Kf(e))}var wt=Object.keys(bw).map(function(e){return Kf(e)}).sort(function(e,t){return Number(e)-Number(t)}),In=wt[wt.length-1],hue=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:In;yue(this,e),this.schemaVersion=r,this.toVersion=n,Xf(n)>Xf(In)?_e("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(In)):(!wt.includes(Kf(n))||!wt.includes(Kf(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=bw[a],b=f;if(typeof p=="function"){var _=p(f,o);_&&(b=_)}return b},n);return Nt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},vue(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 Xf(this.toVersion)}},{key:"_schemaVersion",get:function(){return Xf(this.schemaVersion)}},{key:"version",get:function(){return In}}],[{key:"version",get:function(){return In}}]),e}();const Qf=[],Z_={exports:{}};let ep=!1;const due=window.module,_ue=window.exports,pue=window.require;function bue(e){return ep||(window.module=Z_,window.exports=Z_.exports,window.require=function(t){return e[t]},ep=!0),function(){window.module=due,window.exports=_ue,window.require=pue,ep=!1}}function Oue(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=bue(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=Qf.findIndex(l=>l===r);Qf.splice(a,1),Qf.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(Z_.exports),f()},document.head.appendChild(i)});return Qf.push(r),r}function tp(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 gw(e,t,r={fetch:tp}){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 Jf(e,t){return gw(e,t)}function gue(e,t){return Nn(this,null,function*(){return yield Promise.all(e.map(r=>Jf(r,t)))})}function np(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 B{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends x{}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 mue(e,t,r){return Nn(this,null,function*(){const n=new Map;return e.length===0||(yield Promise.all(e.map(o=>Nn(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 Jf(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=np(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 Pue(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 Nn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield tp(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Jf(`${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=np(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=Qm,c.AddressValue=Fp,c.AdvancedContainer=dR,c.Amount=xm,c.AmountDataBind=kp,c.AmountValue=Ap,c.ArrayColumn=QR,c.Attachment=jm,c.AutoNumber=f0,c.AutoNumberColumn=ZR,c.BaseControlProperty=E,c.BaseControlPropertyRules=W,c.BaseControlPropertyRuntimeRules=j,c.BaseStyle=Gp,c.BatchPrintListButton=gg,c.BatchPrintRecordListButton=Rg,c.BatchSubmissionListButton=sO,c.Button=Fb,c.Calc=y0,c.CalcDataBind=Lp,c.CalcScriptEchoItem=JS,c.CalcValue=xp,c.CardGroup=BP,c.Checkbox=Mg,c.Col=zu,c.ColumnControlProperty=L,c.ColumnControlPropertyRules=nr,c.ColumnOptionAndDataSourcePropertyRules=Qa,c.CreateFormListButton=iO,c.CustomAttributeItem=Np,c.CustomColumn=cw,c.CustomPermissionItem=qE,c.DEFAULT_LOCALE=op,c.Dashboard=KO,c.DataBind=ne,c.DataSourceBind=V,c.DataSourceDataSetValue=Ip,c.DataSourceOrderItem=_a,c.DataSourceParamItem=VE,c.DataView=nd,c.DatePicker=Qg,c.DateRange=om,c.DecimalColumn=YR,c.Department=o0,c.Department2=hP,c.DepartmentColumn=JR,c.DepartmentEntity=Qe,c.DesignerColumnControl=Y,c.DesignerControl=B,c.DesignerFormControl=I,c.DesignerLayoutControl=D,c.DesignerListControl=Zn,c.DesignerSearchControl=Sb,c.DesignerWrapControl=vB,c.DisplayBoListItem=Mn,c.Divider=Ub,c.ElectronicSignature=iP,c.ElectronicSignatureConfig=Lb,c.Employee=Nm,c.Employee2=J0,c.EmployeeColumn=aw,c.EventLogic=bp,c.Explain=Pr,c.ExportListButton=pO,c.ExportRecordListButton=gO,c.ExportTemplate=gl,c.FieldBindItem=wp,c.FieldFilterCondition=da,c.FieldFilterConditions=Ep,c.FieldTypeToColumnType=eE,c.FileColumn=ew,c.FillBackBind=ba,c.FillPayloadBind=Dn,c.FlexStyleConfig=Vb,c.FormBind=An,c.FormSelectBind=Pp,c.FormSelectButton=CO,c.Grid=bP,c.GridRow=Oh,c.GridTable=LR,c.GridTableColumn=xP,c.Image=Mm,c.ImageColumn=tw,c.ImageOptionSetting=jp,c.ImportRecordListButton=wO,c.Input=Bg,c.InvoiceCheckButton=hg,c.JSONCopy=ve,c.Language=HE,c.LayoutControlProperty=M,c.LeftVariable=Sp,c.LimitDate=mr,c.Link=Ab,c.ListBind=ha,c.ListControlProperty=Mt,c.ListSelectButton=FO,c.ListView=Jh,c.ListViewSelect=ng,c.LocationColumn=rw,c.MultistageFillingItem=J,c.Number=Ug,c.ObjectDataBind=Fn,c.OperationButton=Kt,c.OperationColumn=jR,c.OperationItem=he,c.OptionAndDataSourcePropertyRules=Ie,c.OptionSetting=ga,c.OrderColumn=NR,c.Page=yR,c.Pagination=GO,c.PeopleColumn=nw,c.Position=mR,c.PositioningContainer=bR,c.PrintTemplate=Gb,c.Property=x,c.PropertyRules=F,c.PropertyRuntimeRules=pe,c.Radio=Vg,c.RangeDataBind=Mp,c.RangeDateValue=Dp,c.RegisterControls=jn,c.RegularRules=Oa,c.RichText=ym,c.RightVariable=Je,c.Row=wP,c.RulesMessage=h,c.RuntimeColumnControl=q,c.RuntimeControl=H,c.RuntimeFormControl=N,c.RuntimeLayoutControl=G,c.RuntimeListControl=qa,c.RuntimeSearchControl=Eb,c.RuntimeWrapControl=mB,c.SUBTABLE_DEFAULT_MAX_HEIGHT=zb,c.Score=Hm,c.SearchControlProperty=ur,c.SearchDateRange=T0,c.SearchInput=G0,c.SearchNumberRange=O0,c.Select=Om,c.SelectMultiple=Rm,c.SelectRelation=D0,c.SimpleSearch=hw,c.SubListItem=$p,c.SubListPageConfig=Tp,c.SubTable=TR,c.SubTableColumn=Sh,c.SubTableRow=FP,c.SubmissionRecordListButton=hO,c.SuperDataSourceBind=Ct,c.Tab=KP,c.TabPane=qP,c.Text=Bb,c.TextColumn=HR,c.TextOcrButton=fg,c.Textarea=fm,c.TimescopeColumn=qR,c.TimestampColumn=UR,c.Title=Zb,c.Toolbox=eR,c.Tree=U0,c.TreeDataSourceBind=Cp,c.UndersignedPerson=Ol,c.UserEntity=Cn,c.VarcharColumn=VR,c.VersionBuilder=hue,c.ViewOperationItem=zp,c.VueFormItem=N0,c.WPS=aP,c.WPSSetting=xb,c.Watcher=pp,c.WpsOperationItem=ml,c.WrapControlProperty=ol,c.baseControls=bF,c.camelizeKeys=dp,c.columnControls=rie,c.controlHooksEmitter=Xp,c.createValidator=Kp,c.debounce=SE,c.decamelizeKeys=Ee,c.defineArrayParent=sb,c.defineControlArrayToProperty=se,c.defineParent=Da,c.error=_e,c.formControls=PH,c.genNonDuplicateId=ie,c.getHackerControl=np,c.getNotRepeatItems=hp,c.initExpression=Dt,c.initImageOptions=YE,c.initOptionAndDataSourceRules=Gn,c.initOptions=ae,c.initSuperDataSourceRules=Vn,c.isArray=Te,c.isBuiltInControls=IE,c.isFunction=mE,c.isJSONArray=$E,c.isJSONObject=TE,c.isLanguageObject=U,c.isNumber=la,c.isNumberAndEmptyStringArray=wE,c.isNumberArray=RE,c.isObject=gE,c.isPlainObject=aa,c.isString=vp,c.isStringArray=PE,c.layoutControls=FQ,c.listControls=$Z,c.loadRemoteControl=Jf,c.loadRemoteControls=gue,c.loadScriptFromFetch=gw,c.loadScriptFromTag=Oue,c.log=Nt,c.logerror=lp,c.loop=te,c.loopFormSchema=ca,c.nativeFetch=tp,c.noop=ZS,c.referenceError=ua,c.registerByteluckControls=Rue,c.registerCustomControls=mue,c.searchControls=Rie,c.setPropertyDontEnum=lb,c.toNumberOrEmpty=Se,c.updateValueFromKeys=yp,c.upgradeCustomControlSchema=Pue,c.wait=EE,c.warn=$e,Object.defineProperty(c,"__esModule",{value:!0})});